d3d10core: Get rid of the "partial stub" FIXME in d3d10_device_CreateTexture2D().
[wine/multimedia.git] / configure
blob0deacd10b809c4394eb69e9b73d0c9f74411413a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.36.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.36'
584 PACKAGE_STRING='Wine 1.7.36'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
736 CPPBIN
737 ac_ct_CXX
738 CXXFLAGS
740 OBJEXT
741 EXEEXT
742 ac_ct_CC
743 CPPFLAGS
744 LDFLAGS
745 CFLAGS
747 SET_MAKE
748 host_os
749 host_vendor
750 host_cpu
751 host
752 build_os
753 build_vendor
754 build_cpu
755 build
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_netapi
822 with_openal
823 with_opencl
824 with_opengl
825 with_osmesa
826 with_oss
827 with_pcap
828 with_png
829 with_pthread
830 with_sane
831 with_tiff
832 with_v4l
833 with_xcomposite
834 with_xcursor
835 with_xinerama
836 with_xinput
837 with_xinput2
838 with_xml
839 with_xrandr
840 with_xrender
841 with_xshape
842 with_xshm
843 with_xslt
844 with_xxf86vm
845 with_zlib
846 with_wine_tools
847 with_wine64
848 enable_largefile
849 with_x
850 enable_acledit
851 enable_aclui
852 enable_activeds
853 enable_actxprxy
854 enable_advapi32
855 enable_advpack
856 enable_amstream
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_2
864 enable_api_ms_win_core_fibers_l1_1_0
865 enable_api_ms_win_core_fibers_l1_1_1
866 enable_api_ms_win_core_file_l1_2_0
867 enable_api_ms_win_core_file_l2_1_0
868 enable_api_ms_win_core_file_l2_1_1
869 enable_api_ms_win_core_handle_l1_1_0
870 enable_api_ms_win_core_heap_l1_2_0
871 enable_api_ms_win_core_heap_obsolete_l1_1_0
872 enable_api_ms_win_core_interlocked_l1_2_0
873 enable_api_ms_win_core_io_l1_1_1
874 enable_api_ms_win_core_kernel32_legacy_l1_1_0
875 enable_api_ms_win_core_libraryloader_l1_1_1
876 enable_api_ms_win_core_localization_l1_2_0
877 enable_api_ms_win_core_localization_l1_2_1
878 enable_api_ms_win_core_localization_obsolete_l1_1_0
879 enable_api_ms_win_core_localregistry_l1_1_0
880 enable_api_ms_win_core_memory_l1_1_1
881 enable_api_ms_win_core_namedpipe_l1_2_0
882 enable_api_ms_win_core_processenvironment_l1_2_0
883 enable_api_ms_win_core_processthreads_l1_1_0
884 enable_api_ms_win_core_processthreads_l1_1_1
885 enable_api_ms_win_core_processthreads_l1_1_2
886 enable_api_ms_win_core_profile_l1_1_0
887 enable_api_ms_win_core_psapi_l1_1_0
888 enable_api_ms_win_core_registry_l1_1_0
889 enable_api_ms_win_core_rtlsupport_l1_2_0
890 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
891 enable_api_ms_win_core_string_l1_1_0
892 enable_api_ms_win_core_synch_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_1
895 enable_api_ms_win_core_threadpool_legacy_l1_1_0
896 enable_api_ms_win_core_timezone_l1_1_0
897 enable_api_ms_win_core_url_l1_1_0
898 enable_api_ms_win_core_util_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_1
901 enable_api_ms_win_core_winrt_l1_1_0
902 enable_api_ms_win_core_winrt_string_l1_1_0
903 enable_api_ms_win_core_xstate_l2_1_0
904 enable_api_ms_win_downlevel_advapi32_l1_1_0
905 enable_api_ms_win_downlevel_advapi32_l2_1_0
906 enable_api_ms_win_downlevel_normaliz_l1_1_0
907 enable_api_ms_win_downlevel_ole32_l1_1_0
908 enable_api_ms_win_downlevel_shell32_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l2_1_0
911 enable_api_ms_win_downlevel_user32_l1_1_0
912 enable_api_ms_win_downlevel_version_l1_1_0
913 enable_api_ms_win_eventing_provider_l1_1_0
914 enable_api_ms_win_ntuser_dc_access_l1_1_0
915 enable_api_ms_win_security_base_l1_1_0
916 enable_api_ms_win_security_base_l1_2_0
917 enable_api_ms_win_security_sddl_l1_1_0
918 enable_api_ms_win_service_core_l1_1_1
919 enable_api_ms_win_service_management_l1_1_0
920 enable_api_ms_win_service_winsvc_l1_2_0
921 enable_apphelp
922 enable_appwiz_cpl
923 enable_atl
924 enable_atl100
925 enable_atl110
926 enable_atl80
927 enable_atl90
928 enable_authz
929 enable_avicap32
930 enable_avifil32
931 enable_avrt
932 enable_bcrypt
933 enable_browseui
934 enable_cabinet
935 enable_capi2032
936 enable_cards
937 enable_cfgmgr32
938 enable_clusapi
939 enable_combase
940 enable_comcat
941 enable_comctl32
942 enable_comdlg32
943 enable_compstui
944 enable_comsvcs
945 enable_connect
946 enable_credui
947 enable_crtdll
948 enable_crypt32
949 enable_cryptdlg
950 enable_cryptdll
951 enable_cryptext
952 enable_cryptnet
953 enable_cryptui
954 enable_ctapi32
955 enable_ctl3d32
956 enable_d2d1
957 enable_d3d10
958 enable_d3d10_1
959 enable_d3d10core
960 enable_d3d11
961 enable_d3d8
962 enable_d3d9
963 enable_d3dcompiler_33
964 enable_d3dcompiler_34
965 enable_d3dcompiler_35
966 enable_d3dcompiler_36
967 enable_d3dcompiler_37
968 enable_d3dcompiler_38
969 enable_d3dcompiler_39
970 enable_d3dcompiler_40
971 enable_d3dcompiler_41
972 enable_d3dcompiler_42
973 enable_d3dcompiler_43
974 enable_d3dim
975 enable_d3drm
976 enable_d3dx10_33
977 enable_d3dx10_34
978 enable_d3dx10_35
979 enable_d3dx10_36
980 enable_d3dx10_37
981 enable_d3dx10_38
982 enable_d3dx10_39
983 enable_d3dx10_40
984 enable_d3dx10_41
985 enable_d3dx10_42
986 enable_d3dx10_43
987 enable_d3dx11_42
988 enable_d3dx11_43
989 enable_d3dx9_24
990 enable_d3dx9_25
991 enable_d3dx9_26
992 enable_d3dx9_27
993 enable_d3dx9_28
994 enable_d3dx9_29
995 enable_d3dx9_30
996 enable_d3dx9_31
997 enable_d3dx9_32
998 enable_d3dx9_33
999 enable_d3dx9_34
1000 enable_d3dx9_35
1001 enable_d3dx9_36
1002 enable_d3dx9_37
1003 enable_d3dx9_38
1004 enable_d3dx9_39
1005 enable_d3dx9_40
1006 enable_d3dx9_41
1007 enable_d3dx9_42
1008 enable_d3dx9_43
1009 enable_d3dxof
1010 enable_dbgeng
1011 enable_dbghelp
1012 enable_dciman32
1013 enable_ddraw
1014 enable_ddrawex
1015 enable_devenum
1016 enable_dhcpcsvc
1017 enable_difxapi
1018 enable_dinput
1019 enable_dinput8
1020 enable_dispex
1021 enable_dmband
1022 enable_dmcompos
1023 enable_dmime
1024 enable_dmloader
1025 enable_dmscript
1026 enable_dmstyle
1027 enable_dmsynth
1028 enable_dmusic
1029 enable_dmusic32
1030 enable_dnsapi
1031 enable_dplay
1032 enable_dplayx
1033 enable_dpnaddr
1034 enable_dpnet
1035 enable_dpnhpast
1036 enable_dpnlobby
1037 enable_dpvoice
1038 enable_dpwsockx
1039 enable_drmclien
1040 enable_dsound
1041 enable_dssenh
1042 enable_dswave
1043 enable_dwmapi
1044 enable_dwrite
1045 enable_dxdiagn
1046 enable_dxgi
1047 enable_dxva2
1048 enable_evr
1049 enable_explorerframe
1050 enable_ext_ms_win_gdi_devcaps_l1_1_0
1051 enable_faultrep
1052 enable_fltlib
1053 enable_fntcache
1054 enable_fontsub
1055 enable_fusion
1056 enable_fwpuclnt
1057 enable_gameux
1058 enable_gdi32
1059 enable_gdiplus
1060 enable_glu32
1061 enable_gphoto2_ds
1062 enable_gpkcsp
1063 enable_hal
1064 enable_hhctrl_ocx
1065 enable_hid
1066 enable_hlink
1067 enable_hnetcfg
1068 enable_httpapi
1069 enable_iccvid
1070 enable_icmp
1071 enable_ieframe
1072 enable_imaadp32_acm
1073 enable_imagehlp
1074 enable_imm32
1075 enable_inetcomm
1076 enable_inetcpl_cpl
1077 enable_inetmib1
1078 enable_infosoft
1079 enable_initpki
1080 enable_inkobj
1081 enable_inseng
1082 enable_iphlpapi
1083 enable_itircl
1084 enable_itss
1085 enable_joy_cpl
1086 enable_jscript
1087 enable_jsproxy
1088 enable_kernel32
1089 enable_ksuser
1090 enable_ktmw32
1091 enable_loadperf
1092 enable_localspl
1093 enable_localui
1094 enable_lz32
1095 enable_mapi32
1096 enable_mapistub
1097 enable_mciavi32
1098 enable_mcicda
1099 enable_mciqtz32
1100 enable_mciseq
1101 enable_mciwave
1102 enable_mf
1103 enable_mfplat
1104 enable_mfreadwrite
1105 enable_mgmtapi
1106 enable_midimap
1107 enable_mlang
1108 enable_mmcndmgr
1109 enable_mmdevapi
1110 enable_mountmgr_sys
1111 enable_mpr
1112 enable_mprapi
1113 enable_msacm32_drv
1114 enable_msacm32
1115 enable_msadp32_acm
1116 enable_msasn1
1117 enable_mscat32
1118 enable_mscms
1119 enable_mscoree
1120 enable_msctf
1121 enable_msdaps
1122 enable_msdmo
1123 enable_msftedit
1124 enable_msg711_acm
1125 enable_msgsm32_acm
1126 enable_mshtml_tlb
1127 enable_mshtml
1128 enable_msi
1129 enable_msident
1130 enable_msimg32
1131 enable_msimsg
1132 enable_msimtf
1133 enable_msisip
1134 enable_msisys_ocx
1135 enable_msls31
1136 enable_msnet32
1137 enable_mspatcha
1138 enable_msrle32
1139 enable_mssign32
1140 enable_mssip32
1141 enable_mstask
1142 enable_msvcirt
1143 enable_msvcm80
1144 enable_msvcm90
1145 enable_msvcp100
1146 enable_msvcp110
1147 enable_msvcp120
1148 enable_msvcp120_app
1149 enable_msvcp60
1150 enable_msvcp70
1151 enable_msvcp71
1152 enable_msvcp80
1153 enable_msvcp90
1154 enable_msvcr100
1155 enable_msvcr110
1156 enable_msvcr120
1157 enable_msvcr120_app
1158 enable_msvcr70
1159 enable_msvcr71
1160 enable_msvcr80
1161 enable_msvcr90
1162 enable_msvcrt
1163 enable_msvcrt20
1164 enable_msvcrt40
1165 enable_msvcrtd
1166 enable_msvfw32
1167 enable_msvidc32
1168 enable_mswsock
1169 enable_msxml
1170 enable_msxml2
1171 enable_msxml3
1172 enable_msxml4
1173 enable_msxml6
1174 enable_nddeapi
1175 enable_ndis_sys
1176 enable_netapi32
1177 enable_netcfgx
1178 enable_netprofm
1179 enable_newdev
1180 enable_normaliz
1181 enable_npmshtml
1182 enable_npptools
1183 enable_ntdll
1184 enable_ntdsapi
1185 enable_ntoskrnl_exe
1186 enable_ntprint
1187 enable_objsel
1188 enable_odbc32
1189 enable_odbccp32
1190 enable_odbccu32
1191 enable_ole32
1192 enable_oleacc
1193 enable_oleaut32
1194 enable_olecli32
1195 enable_oledb32
1196 enable_oledlg
1197 enable_olepro32
1198 enable_olesvr32
1199 enable_olethk32
1200 enable_openal32
1201 enable_opencl
1202 enable_opengl32
1203 enable_packager
1204 enable_pdh
1205 enable_photometadatahandler
1206 enable_pidgen
1207 enable_powrprof
1208 enable_printui
1209 enable_prntvpt
1210 enable_propsys
1211 enable_psapi
1212 enable_pstorec
1213 enable_qcap
1214 enable_qedit
1215 enable_qmgr
1216 enable_qmgrprxy
1217 enable_quartz
1218 enable_query
1219 enable_rasapi32
1220 enable_rasdlg
1221 enable_regapi
1222 enable_resutils
1223 enable_riched20
1224 enable_riched32
1225 enable_rpcrt4
1226 enable_rsabase
1227 enable_rsaenh
1228 enable_rstrtmgr
1229 enable_rtutils
1230 enable_samlib
1231 enable_sane_ds
1232 enable_scarddlg
1233 enable_sccbase
1234 enable_schannel
1235 enable_schedsvc
1236 enable_scrrun
1237 enable_scsiport_sys
1238 enable_secur32
1239 enable_security
1240 enable_sensapi
1241 enable_serialui
1242 enable_setupapi
1243 enable_sfc
1244 enable_sfc_os
1245 enable_shdoclc
1246 enable_shdocvw
1247 enable_shell32
1248 enable_shfolder
1249 enable_shlwapi
1250 enable_slbcsp
1251 enable_slc
1252 enable_snmpapi
1253 enable_softpub
1254 enable_spoolss
1255 enable_stdole2_tlb
1256 enable_stdole32_tlb
1257 enable_sti
1258 enable_svrapi
1259 enable_sxs
1260 enable_t2embed
1261 enable_tapi32
1262 enable_taskschd
1263 enable_traffic
1264 enable_twain_32
1265 enable_unicows
1266 enable_updspapi
1267 enable_url
1268 enable_urlmon
1269 enable_usbd_sys
1270 enable_user32
1271 enable_userenv
1272 enable_usp10
1273 enable_uxtheme
1274 enable_vbscript
1275 enable_vcomp
1276 enable_vcomp100
1277 enable_vcomp90
1278 enable_vdmdbg
1279 enable_version
1280 enable_vssapi
1281 enable_wbemdisp
1282 enable_wbemprox
1283 enable_webservices
1284 enable_wer
1285 enable_wevtapi
1286 enable_wiaservc
1287 enable_windowscodecs
1288 enable_windowscodecsext
1289 enable_winealsa_drv
1290 enable_winecoreaudio_drv
1291 enable_wined3d
1292 enable_winegstreamer
1293 enable_winejoystick_drv
1294 enable_winemac_drv
1295 enable_winemapi
1296 enable_winemp3_acm
1297 enable_wineoss_drv
1298 enable_wineps_drv
1299 enable_wineqtdecoder
1300 enable_winex11_drv
1301 enable_wing32
1302 enable_winhttp
1303 enable_wininet
1304 enable_winmm
1305 enable_winnls32
1306 enable_winscard
1307 enable_winspool_drv
1308 enable_winsta
1309 enable_wintab32
1310 enable_wintrust
1311 enable_wlanapi
1312 enable_wldap32
1313 enable_wmi
1314 enable_wmiutils
1315 enable_wmp
1316 enable_wmvcore
1317 enable_wnaspi32
1318 enable_wpcap
1319 enable_ws2_32
1320 enable_wshom_ocx
1321 enable_wsnmp32
1322 enable_wsock32
1323 enable_wtsapi32
1324 enable_wuapi
1325 enable_wuaueng
1326 enable_x3daudio1_7
1327 enable_xapofx1_1
1328 enable_xapofx1_5
1329 enable_xaudio2_7
1330 enable_xinput1_1
1331 enable_xinput1_2
1332 enable_xinput1_3
1333 enable_xinput1_4
1334 enable_xinput9_1_0
1335 enable_xmllite
1336 enable_xolehlp
1337 enable_xpsprint
1338 enable_xpssvcs
1339 enable_documentation
1340 enable_fonts
1341 enable_include
1342 enable_libs_port
1343 enable_libs_wine
1344 enable_libs_wpp
1345 enable_loader
1346 enable_arp
1347 enable_aspnet_regiis
1348 enable_attrib
1349 enable_cabarc
1350 enable_cacls
1351 enable_clock
1352 enable_cmd
1353 enable_conhost
1354 enable_control
1355 enable_cscript
1356 enable_dpnsvr
1357 enable_dxdiag
1358 enable_eject
1359 enable_expand
1360 enable_explorer
1361 enable_extrac32
1362 enable_findstr
1363 enable_hh
1364 enable_hostname
1365 enable_icinfo
1366 enable_iexplore
1367 enable_ipconfig
1368 enable_lodctr
1369 enable_mofcomp
1370 enable_mshta
1371 enable_msiexec
1372 enable_net
1373 enable_netsh
1374 enable_netstat
1375 enable_ngen
1376 enable_notepad
1377 enable_oleview
1378 enable_ping
1379 enable_plugplay
1380 enable_presentationfontcache
1381 enable_progman
1382 enable_reg
1383 enable_regasm
1384 enable_regedit
1385 enable_regsvcs
1386 enable_regsvr32
1387 enable_rpcss
1388 enable_rundll32
1389 enable_sc
1390 enable_schtasks
1391 enable_sdbinst
1392 enable_secedit
1393 enable_servicemodelreg
1394 enable_services
1395 enable_spoolsv
1396 enable_start
1397 enable_svchost
1398 enable_systeminfo
1399 enable_taskkill
1400 enable_tasklist
1401 enable_taskmgr
1402 enable_termsv
1403 enable_uninstaller
1404 enable_unlodctr
1405 enable_view
1406 enable_wevtutil
1407 enable_wineboot
1408 enable_winebrowser
1409 enable_winecfg
1410 enable_wineconsole
1411 enable_winedbg
1412 enable_winedevice
1413 enable_winefile
1414 enable_winemenubuilder
1415 enable_winemine
1416 enable_winemsibuilder
1417 enable_winepath
1418 enable_winetest
1419 enable_winhlp32
1420 enable_winver
1421 enable_wmic
1422 enable_wordpad
1423 enable_write
1424 enable_wscript
1425 enable_wusa
1426 enable_xcopy
1427 enable_server
1428 enable_tools
1430 ac_precious_vars='build_alias
1431 host_alias
1432 target_alias
1434 CFLAGS
1435 LDFLAGS
1436 LIBS
1437 CPPFLAGS
1439 CXXFLAGS
1442 XMKMF
1443 XML2_CFLAGS
1444 XML2_LIBS
1445 XSLT_CFLAGS
1446 XSLT_LIBS
1447 DBUS_CFLAGS
1448 DBUS_LIBS
1449 HAL_CFLAGS
1450 HAL_LIBS
1451 GNUTLS_CFLAGS
1452 GNUTLS_LIBS
1453 SANE_CFLAGS
1454 SANE_LIBS
1455 GPHOTO2_CFLAGS
1456 GPHOTO2_LIBS
1457 GPHOTO2_PORT_CFLAGS
1458 GPHOTO2_PORT_LIBS
1459 LCMS2_CFLAGS
1460 LCMS2_LIBS
1461 FREETYPE_CFLAGS
1462 FREETYPE_LIBS
1463 GSTREAMER_CFLAGS
1464 GSTREAMER_LIBS
1465 CAPI20_CFLAGS
1466 CAPI20_LIBS
1467 FONTCONFIG_CFLAGS
1468 FONTCONFIG_LIBS
1469 JPEG_CFLAGS
1470 JPEG_LIBS
1471 PNG_CFLAGS
1472 PNG_LIBS
1473 TIFF_CFLAGS
1474 TIFF_LIBS
1475 MPG123_CFLAGS
1476 MPG123_LIBS'
1479 # Initialize some variables set by options.
1480 ac_init_help=
1481 ac_init_version=false
1482 ac_unrecognized_opts=
1483 ac_unrecognized_sep=
1484 # The variables have the same names as the options, with
1485 # dashes changed to underlines.
1486 cache_file=/dev/null
1487 exec_prefix=NONE
1488 no_create=
1489 no_recursion=
1490 prefix=NONE
1491 program_prefix=NONE
1492 program_suffix=NONE
1493 program_transform_name=s,x,x,
1494 silent=
1495 site=
1496 srcdir=
1497 verbose=
1498 x_includes=NONE
1499 x_libraries=NONE
1501 # Installation directory options.
1502 # These are left unexpanded so users can "make install exec_prefix=/foo"
1503 # and all the variables that are supposed to be based on exec_prefix
1504 # by default will actually change.
1505 # Use braces instead of parens because sh, perl, etc. also accept them.
1506 # (The list follows the same order as the GNU Coding Standards.)
1507 bindir='${exec_prefix}/bin'
1508 sbindir='${exec_prefix}/sbin'
1509 libexecdir='${exec_prefix}/libexec'
1510 datarootdir='${prefix}/share'
1511 datadir='${datarootdir}'
1512 sysconfdir='${prefix}/etc'
1513 sharedstatedir='${prefix}/com'
1514 localstatedir='${prefix}/var'
1515 includedir='${prefix}/include'
1516 oldincludedir='/usr/include'
1517 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1518 infodir='${datarootdir}/info'
1519 htmldir='${docdir}'
1520 dvidir='${docdir}'
1521 pdfdir='${docdir}'
1522 psdir='${docdir}'
1523 libdir='${exec_prefix}/lib'
1524 localedir='${datarootdir}/locale'
1525 mandir='${datarootdir}/man'
1527 ac_prev=
1528 ac_dashdash=
1529 for ac_option
1531 # If the previous option needs an argument, assign it.
1532 if test -n "$ac_prev"; then
1533 eval $ac_prev=\$ac_option
1534 ac_prev=
1535 continue
1538 case $ac_option in
1539 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1540 *=) ac_optarg= ;;
1541 *) ac_optarg=yes ;;
1542 esac
1544 # Accept the important Cygnus configure options, so we can diagnose typos.
1546 case $ac_dashdash$ac_option in
1548 ac_dashdash=yes ;;
1550 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1551 ac_prev=bindir ;;
1552 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1553 bindir=$ac_optarg ;;
1555 -build | --build | --buil | --bui | --bu)
1556 ac_prev=build_alias ;;
1557 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1558 build_alias=$ac_optarg ;;
1560 -cache-file | --cache-file | --cache-fil | --cache-fi \
1561 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1562 ac_prev=cache_file ;;
1563 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1564 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1565 cache_file=$ac_optarg ;;
1567 --config-cache | -C)
1568 cache_file=config.cache ;;
1570 -datadir | --datadir | --datadi | --datad)
1571 ac_prev=datadir ;;
1572 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1573 datadir=$ac_optarg ;;
1575 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1576 | --dataroo | --dataro | --datar)
1577 ac_prev=datarootdir ;;
1578 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1579 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1580 datarootdir=$ac_optarg ;;
1582 -disable-* | --disable-*)
1583 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1584 # Reject names that are not valid shell variable names.
1585 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1586 as_fn_error $? "invalid feature name: $ac_useropt"
1587 ac_useropt_orig=$ac_useropt
1588 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1589 case $ac_user_opts in
1591 "enable_$ac_useropt"
1592 "*) ;;
1593 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1594 ac_unrecognized_sep=', ';;
1595 esac
1596 eval enable_$ac_useropt=no ;;
1598 -docdir | --docdir | --docdi | --doc | --do)
1599 ac_prev=docdir ;;
1600 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1601 docdir=$ac_optarg ;;
1603 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1604 ac_prev=dvidir ;;
1605 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1606 dvidir=$ac_optarg ;;
1608 -enable-* | --enable-*)
1609 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1610 # Reject names that are not valid shell variable names.
1611 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1612 as_fn_error $? "invalid feature name: $ac_useropt"
1613 ac_useropt_orig=$ac_useropt
1614 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1615 case $ac_user_opts in
1617 "enable_$ac_useropt"
1618 "*) ;;
1619 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1620 ac_unrecognized_sep=', ';;
1621 esac
1622 eval enable_$ac_useropt=\$ac_optarg ;;
1624 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1625 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1626 | --exec | --exe | --ex)
1627 ac_prev=exec_prefix ;;
1628 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1629 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1630 | --exec=* | --exe=* | --ex=*)
1631 exec_prefix=$ac_optarg ;;
1633 -gas | --gas | --ga | --g)
1634 # Obsolete; use --with-gas.
1635 with_gas=yes ;;
1637 -help | --help | --hel | --he | -h)
1638 ac_init_help=long ;;
1639 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1640 ac_init_help=recursive ;;
1641 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1642 ac_init_help=short ;;
1644 -host | --host | --hos | --ho)
1645 ac_prev=host_alias ;;
1646 -host=* | --host=* | --hos=* | --ho=*)
1647 host_alias=$ac_optarg ;;
1649 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1650 ac_prev=htmldir ;;
1651 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1652 | --ht=*)
1653 htmldir=$ac_optarg ;;
1655 -includedir | --includedir | --includedi | --included | --include \
1656 | --includ | --inclu | --incl | --inc)
1657 ac_prev=includedir ;;
1658 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1659 | --includ=* | --inclu=* | --incl=* | --inc=*)
1660 includedir=$ac_optarg ;;
1662 -infodir | --infodir | --infodi | --infod | --info | --inf)
1663 ac_prev=infodir ;;
1664 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1665 infodir=$ac_optarg ;;
1667 -libdir | --libdir | --libdi | --libd)
1668 ac_prev=libdir ;;
1669 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1670 libdir=$ac_optarg ;;
1672 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1673 | --libexe | --libex | --libe)
1674 ac_prev=libexecdir ;;
1675 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1676 | --libexe=* | --libex=* | --libe=*)
1677 libexecdir=$ac_optarg ;;
1679 -localedir | --localedir | --localedi | --localed | --locale)
1680 ac_prev=localedir ;;
1681 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1682 localedir=$ac_optarg ;;
1684 -localstatedir | --localstatedir | --localstatedi | --localstated \
1685 | --localstate | --localstat | --localsta | --localst | --locals)
1686 ac_prev=localstatedir ;;
1687 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1688 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1689 localstatedir=$ac_optarg ;;
1691 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1692 ac_prev=mandir ;;
1693 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1694 mandir=$ac_optarg ;;
1696 -nfp | --nfp | --nf)
1697 # Obsolete; use --without-fp.
1698 with_fp=no ;;
1700 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1701 | --no-cr | --no-c | -n)
1702 no_create=yes ;;
1704 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1705 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1706 no_recursion=yes ;;
1708 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1709 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1710 | --oldin | --oldi | --old | --ol | --o)
1711 ac_prev=oldincludedir ;;
1712 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1713 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1714 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1715 oldincludedir=$ac_optarg ;;
1717 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1718 ac_prev=prefix ;;
1719 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1720 prefix=$ac_optarg ;;
1722 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1723 | --program-pre | --program-pr | --program-p)
1724 ac_prev=program_prefix ;;
1725 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1726 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1727 program_prefix=$ac_optarg ;;
1729 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1730 | --program-suf | --program-su | --program-s)
1731 ac_prev=program_suffix ;;
1732 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1733 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1734 program_suffix=$ac_optarg ;;
1736 -program-transform-name | --program-transform-name \
1737 | --program-transform-nam | --program-transform-na \
1738 | --program-transform-n | --program-transform- \
1739 | --program-transform | --program-transfor \
1740 | --program-transfo | --program-transf \
1741 | --program-trans | --program-tran \
1742 | --progr-tra | --program-tr | --program-t)
1743 ac_prev=program_transform_name ;;
1744 -program-transform-name=* | --program-transform-name=* \
1745 | --program-transform-nam=* | --program-transform-na=* \
1746 | --program-transform-n=* | --program-transform-=* \
1747 | --program-transform=* | --program-transfor=* \
1748 | --program-transfo=* | --program-transf=* \
1749 | --program-trans=* | --program-tran=* \
1750 | --progr-tra=* | --program-tr=* | --program-t=*)
1751 program_transform_name=$ac_optarg ;;
1753 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1754 ac_prev=pdfdir ;;
1755 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1756 pdfdir=$ac_optarg ;;
1758 -psdir | --psdir | --psdi | --psd | --ps)
1759 ac_prev=psdir ;;
1760 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1761 psdir=$ac_optarg ;;
1763 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1764 | -silent | --silent | --silen | --sile | --sil)
1765 silent=yes ;;
1767 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1768 ac_prev=sbindir ;;
1769 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1770 | --sbi=* | --sb=*)
1771 sbindir=$ac_optarg ;;
1773 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1774 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1775 | --sharedst | --shareds | --shared | --share | --shar \
1776 | --sha | --sh)
1777 ac_prev=sharedstatedir ;;
1778 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1779 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1780 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1781 | --sha=* | --sh=*)
1782 sharedstatedir=$ac_optarg ;;
1784 -site | --site | --sit)
1785 ac_prev=site ;;
1786 -site=* | --site=* | --sit=*)
1787 site=$ac_optarg ;;
1789 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1790 ac_prev=srcdir ;;
1791 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1792 srcdir=$ac_optarg ;;
1794 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1795 | --syscon | --sysco | --sysc | --sys | --sy)
1796 ac_prev=sysconfdir ;;
1797 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1798 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1799 sysconfdir=$ac_optarg ;;
1801 -target | --target | --targe | --targ | --tar | --ta | --t)
1802 ac_prev=target_alias ;;
1803 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1804 target_alias=$ac_optarg ;;
1806 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1807 verbose=yes ;;
1809 -version | --version | --versio | --versi | --vers | -V)
1810 ac_init_version=: ;;
1812 -with-* | --with-*)
1813 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1814 # Reject names that are not valid shell variable names.
1815 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1816 as_fn_error $? "invalid package name: $ac_useropt"
1817 ac_useropt_orig=$ac_useropt
1818 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1819 case $ac_user_opts in
1821 "with_$ac_useropt"
1822 "*) ;;
1823 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1824 ac_unrecognized_sep=', ';;
1825 esac
1826 eval with_$ac_useropt=\$ac_optarg ;;
1828 -without-* | --without-*)
1829 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1830 # Reject names that are not valid shell variable names.
1831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1832 as_fn_error $? "invalid package name: $ac_useropt"
1833 ac_useropt_orig=$ac_useropt
1834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1835 case $ac_user_opts in
1837 "with_$ac_useropt"
1838 "*) ;;
1839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1840 ac_unrecognized_sep=', ';;
1841 esac
1842 eval with_$ac_useropt=no ;;
1844 --x)
1845 # Obsolete; use --with-x.
1846 with_x=yes ;;
1848 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1849 | --x-incl | --x-inc | --x-in | --x-i)
1850 ac_prev=x_includes ;;
1851 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1852 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1853 x_includes=$ac_optarg ;;
1855 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1856 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1857 ac_prev=x_libraries ;;
1858 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1859 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1860 x_libraries=$ac_optarg ;;
1862 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1863 Try \`$0 --help' for more information"
1866 *=*)
1867 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1868 # Reject names that are not valid shell variable names.
1869 case $ac_envvar in #(
1870 '' | [0-9]* | *[!_$as_cr_alnum]* )
1871 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1872 esac
1873 eval $ac_envvar=\$ac_optarg
1874 export $ac_envvar ;;
1877 # FIXME: should be removed in autoconf 3.0.
1878 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1879 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1880 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1881 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1884 esac
1885 done
1887 if test -n "$ac_prev"; then
1888 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1889 as_fn_error $? "missing argument to $ac_option"
1892 if test -n "$ac_unrecognized_opts"; then
1893 case $enable_option_checking in
1894 no) ;;
1895 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1896 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1897 esac
1900 # Check all directory arguments for consistency.
1901 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1902 datadir sysconfdir sharedstatedir localstatedir includedir \
1903 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1904 libdir localedir mandir
1906 eval ac_val=\$$ac_var
1907 # Remove trailing slashes.
1908 case $ac_val in
1909 */ )
1910 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1911 eval $ac_var=\$ac_val;;
1912 esac
1913 # Be sure to have absolute directory names.
1914 case $ac_val in
1915 [\\/$]* | ?:[\\/]* ) continue;;
1916 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1917 esac
1918 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1919 done
1921 # There might be people who depend on the old broken behavior: `$host'
1922 # used to hold the argument of --host etc.
1923 # FIXME: To remove some day.
1924 build=$build_alias
1925 host=$host_alias
1926 target=$target_alias
1928 # FIXME: To remove some day.
1929 if test "x$host_alias" != x; then
1930 if test "x$build_alias" = x; then
1931 cross_compiling=maybe
1932 elif test "x$build_alias" != "x$host_alias"; then
1933 cross_compiling=yes
1937 ac_tool_prefix=
1938 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1940 test "$silent" = yes && exec 6>/dev/null
1943 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1944 ac_ls_di=`ls -di .` &&
1945 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1946 as_fn_error $? "working directory cannot be determined"
1947 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1948 as_fn_error $? "pwd does not report name of working directory"
1951 # Find the source files, if location was not specified.
1952 if test -z "$srcdir"; then
1953 ac_srcdir_defaulted=yes
1954 # Try the directory containing this script, then the parent directory.
1955 ac_confdir=`$as_dirname -- "$as_myself" ||
1956 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1957 X"$as_myself" : 'X\(//\)[^/]' \| \
1958 X"$as_myself" : 'X\(//\)$' \| \
1959 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1960 $as_echo X"$as_myself" |
1961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1962 s//\1/
1965 /^X\(\/\/\)[^/].*/{
1966 s//\1/
1969 /^X\(\/\/\)$/{
1970 s//\1/
1973 /^X\(\/\).*/{
1974 s//\1/
1977 s/.*/./; q'`
1978 srcdir=$ac_confdir
1979 if test ! -r "$srcdir/$ac_unique_file"; then
1980 srcdir=..
1982 else
1983 ac_srcdir_defaulted=no
1985 if test ! -r "$srcdir/$ac_unique_file"; then
1986 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1987 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1989 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1990 ac_abs_confdir=`(
1991 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1992 pwd)`
1993 # When building in place, set srcdir=.
1994 if test "$ac_abs_confdir" = "$ac_pwd"; then
1995 srcdir=.
1997 # Remove unnecessary trailing slashes from srcdir.
1998 # Double slashes in file names in object file debugging info
1999 # mess up M-x gdb in Emacs.
2000 case $srcdir in
2001 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2002 esac
2003 for ac_var in $ac_precious_vars; do
2004 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2005 eval ac_env_${ac_var}_value=\$${ac_var}
2006 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2007 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2008 done
2011 # Report the --help message.
2013 if test "$ac_init_help" = "long"; then
2014 # Omit some internal or obsolete options to make the list less imposing.
2015 # This message is too long to be a string in the A/UX 3.1 sh.
2016 cat <<_ACEOF
2017 \`configure' configures Wine 1.7.36 to adapt to many kinds of systems.
2019 Usage: $0 [OPTION]... [VAR=VALUE]...
2021 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2022 VAR=VALUE. See below for descriptions of some of the useful variables.
2024 Defaults for the options are specified in brackets.
2026 Configuration:
2027 -h, --help display this help and exit
2028 --help=short display options specific to this package
2029 --help=recursive display the short help of all the included packages
2030 -V, --version display version information and exit
2031 -q, --quiet, --silent do not print \`checking ...' messages
2032 --cache-file=FILE cache test results in FILE [disabled]
2033 -C, --config-cache alias for \`--cache-file=config.cache'
2034 -n, --no-create do not create output files
2035 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2037 Installation directories:
2038 --prefix=PREFIX install architecture-independent files in PREFIX
2039 [$ac_default_prefix]
2040 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2041 [PREFIX]
2043 By default, \`make install' will install all the files in
2044 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2045 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2046 for instance \`--prefix=\$HOME'.
2048 For better control, use the options below.
2050 Fine tuning of the installation directories:
2051 --bindir=DIR user executables [EPREFIX/bin]
2052 --sbindir=DIR system admin executables [EPREFIX/sbin]
2053 --libexecdir=DIR program executables [EPREFIX/libexec]
2054 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2055 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2056 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2057 --libdir=DIR object code libraries [EPREFIX/lib]
2058 --includedir=DIR C header files [PREFIX/include]
2059 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2060 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2061 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2062 --infodir=DIR info documentation [DATAROOTDIR/info]
2063 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2064 --mandir=DIR man documentation [DATAROOTDIR/man]
2065 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2066 --htmldir=DIR html documentation [DOCDIR]
2067 --dvidir=DIR dvi documentation [DOCDIR]
2068 --pdfdir=DIR pdf documentation [DOCDIR]
2069 --psdir=DIR ps documentation [DOCDIR]
2070 _ACEOF
2072 cat <<\_ACEOF
2074 X features:
2075 --x-includes=DIR X include files are in DIR
2076 --x-libraries=DIR X library files are in DIR
2078 System types:
2079 --build=BUILD configure for building on BUILD [guessed]
2080 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2081 _ACEOF
2084 if test -n "$ac_init_help"; then
2085 case $ac_init_help in
2086 short | recursive ) echo "Configuration of Wine 1.7.36:";;
2087 esac
2088 cat <<\_ACEOF
2090 Optional Features:
2091 --disable-option-checking ignore unrecognized --enable/--with options
2092 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2093 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2094 --disable-win16 do not include Win16 support
2095 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2096 binaries)
2097 --disable-tests do not build the regression tests
2098 --enable-maintainer-mode
2099 enable maintainer-specific build rules
2100 --disable-largefile omit support for large files
2102 Optional Packages:
2103 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2104 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2105 --without-alsa do not use the Alsa sound support
2106 --without-capi do not use CAPI (ISDN support)
2107 --without-cms do not use CMS (color management support)
2108 --without-coreaudio do not use the CoreAudio sound support
2109 --without-cups do not use CUPS
2110 --without-curses do not use (n)curses
2111 --without-dbus do not use DBus (dynamic device support)
2112 --without-fontconfig do not use fontconfig
2113 --without-freetype do not use the FreeType library
2114 --without-gettext do not use gettext
2115 --with-gettextpo use the GetTextPO library to rebuild po files
2116 --without-gphoto do not use gphoto (Digital Camera support)
2117 --without-glu do not use the GLU library
2118 --without-gnutls do not use GnuTLS (schannel support)
2119 --without-gsm do not use libgsm (GSM 06.10 codec support)
2120 --without-gstreamer do not use GStreamer (codecs support)
2121 --without-hal do not use HAL (dynamic device support)
2122 --without-jpeg do not use JPEG
2123 --without-ldap do not use LDAP
2124 --without-mpg123 do not use the mpg123 library
2125 --without-netapi do not use the Samba NetAPI library
2126 --without-openal do not use OpenAL
2127 --without-opencl do not use OpenCL
2128 --without-opengl do not use OpenGL
2129 --without-osmesa do not use the OSMesa library
2130 --without-oss do not use the OSS sound support
2131 --without-pcap do not use the Packet Capture library
2132 --without-png do not use PNG
2133 --without-pthread do not use the pthread library
2134 --without-sane do not use SANE (scanner support)
2135 --without-tiff do not use TIFF
2136 --without-v4l do not use v4l1 (v4l support)
2137 --without-xcomposite do not use the Xcomposite extension
2138 --without-xcursor do not use the Xcursor extension
2139 --without-xinerama do not use Xinerama (multi-monitor support)
2140 --without-xinput do not use the Xinput extension
2141 --without-xinput2 do not use the Xinput 2 extension
2142 --without-xml do not use XML
2143 --without-xrandr do not use Xrandr (resolution changes)
2144 --without-xrender do not use the Xrender extension
2145 --without-xshape do not use the Xshape extension
2146 --without-xshm do not use XShm (shared memory extension)
2147 --without-xslt do not use XSLT
2148 --without-xxf86vm do not use XFree video mode extension
2149 --without-zlib do not use Zlib (data compression)
2150 --with-wine-tools=DIR use Wine tools from directory DIR
2151 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2152 --with-x use the X Window System
2154 Some influential environment variables:
2155 CC C compiler command
2156 CFLAGS C compiler flags
2157 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2158 nonstandard directory <lib dir>
2159 LIBS libraries to pass to the linker, e.g. -l<library>
2160 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2161 you have headers in a nonstandard directory <include dir>
2162 CXX C++ compiler command
2163 CXXFLAGS C++ compiler flags
2164 CPP C preprocessor
2165 XMKMF Path to xmkmf, Makefile generator for X Window System
2166 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2167 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2168 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2169 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2170 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2171 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2172 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2173 HAL_LIBS Linker flags for hal, overriding pkg-config
2174 GNUTLS_CFLAGS
2175 C compiler flags for gnutls, overriding pkg-config
2176 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2177 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2178 SANE_LIBS Linker flags for libsane, overriding pkg-config
2179 GPHOTO2_CFLAGS
2180 C compiler flags for libgphoto2, overriding pkg-config
2181 GPHOTO2_LIBS
2182 Linker flags for libgphoto2, overriding pkg-config
2183 GPHOTO2_PORT_CFLAGS
2184 C compiler flags for libgphoto2_port, overriding pkg-config
2185 GPHOTO2_PORT_LIBS
2186 Linker flags for libgphoto2_port, overriding pkg-config
2187 LCMS2_CFLAGS
2188 C compiler flags for lcms2, overriding pkg-config
2189 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2190 FREETYPE_CFLAGS
2191 C compiler flags for freetype2, overriding pkg-config
2192 FREETYPE_LIBS
2193 Linker flags for freetype2, overriding pkg-config
2194 GSTREAMER_CFLAGS
2195 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2196 GSTREAMER_LIBS
2197 Linker flags for gstreamer-app-0.10, overriding pkg-config
2198 CAPI20_CFLAGS
2199 C compiler flags for capi20, overriding pkg-config
2200 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2201 FONTCONFIG_CFLAGS
2202 C compiler flags for fontconfig, overriding pkg-config
2203 FONTCONFIG_LIBS
2204 Linker flags for fontconfig, overriding pkg-config
2205 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2206 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2207 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2208 PNG_LIBS Linker flags for libpng, overriding pkg-config
2209 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2210 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2211 MPG123_CFLAGS
2212 C compiler flags for libmpg123, overriding pkg-config
2213 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2215 Use these variables to override the choices made by `configure' or to help
2216 it to find libraries and programs with nonstandard names/locations.
2218 Report bugs to <wine-devel@winehq.org>.
2219 Wine home page: <http://www.winehq.org>.
2220 _ACEOF
2221 ac_status=$?
2224 if test "$ac_init_help" = "recursive"; then
2225 # If there are subdirs, report their specific --help.
2226 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2227 test -d "$ac_dir" ||
2228 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2229 continue
2230 ac_builddir=.
2232 case "$ac_dir" in
2233 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2235 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2236 # A ".." for each directory in $ac_dir_suffix.
2237 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2238 case $ac_top_builddir_sub in
2239 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2240 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2241 esac ;;
2242 esac
2243 ac_abs_top_builddir=$ac_pwd
2244 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2245 # for backward compatibility:
2246 ac_top_builddir=$ac_top_build_prefix
2248 case $srcdir in
2249 .) # We are building in place.
2250 ac_srcdir=.
2251 ac_top_srcdir=$ac_top_builddir_sub
2252 ac_abs_top_srcdir=$ac_pwd ;;
2253 [\\/]* | ?:[\\/]* ) # Absolute name.
2254 ac_srcdir=$srcdir$ac_dir_suffix;
2255 ac_top_srcdir=$srcdir
2256 ac_abs_top_srcdir=$srcdir ;;
2257 *) # Relative name.
2258 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2259 ac_top_srcdir=$ac_top_build_prefix$srcdir
2260 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2261 esac
2262 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2264 cd "$ac_dir" || { ac_status=$?; continue; }
2265 # Check for guested configure.
2266 if test -f "$ac_srcdir/configure.gnu"; then
2267 echo &&
2268 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2269 elif test -f "$ac_srcdir/configure"; then
2270 echo &&
2271 $SHELL "$ac_srcdir/configure" --help=recursive
2272 else
2273 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2274 fi || ac_status=$?
2275 cd "$ac_pwd" || { ac_status=$?; break; }
2276 done
2279 test -n "$ac_init_help" && exit $ac_status
2280 if $ac_init_version; then
2281 cat <<\_ACEOF
2282 Wine configure 1.7.36
2283 generated by GNU Autoconf 2.69
2285 Copyright (C) 2012 Free Software Foundation, Inc.
2286 This configure script is free software; the Free Software Foundation
2287 gives unlimited permission to copy, distribute and modify it.
2288 _ACEOF
2289 exit
2292 ## ------------------------ ##
2293 ## Autoconf initialization. ##
2294 ## ------------------------ ##
2296 # ac_fn_c_try_compile LINENO
2297 # --------------------------
2298 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2299 ac_fn_c_try_compile ()
2301 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2302 rm -f conftest.$ac_objext
2303 if { { ac_try="$ac_compile"
2304 case "(($ac_try" in
2305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2306 *) ac_try_echo=$ac_try;;
2307 esac
2308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2309 $as_echo "$ac_try_echo"; } >&5
2310 (eval "$ac_compile") 2>conftest.err
2311 ac_status=$?
2312 if test -s conftest.err; then
2313 grep -v '^ *+' conftest.err >conftest.er1
2314 cat conftest.er1 >&5
2315 mv -f conftest.er1 conftest.err
2317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2318 test $ac_status = 0; } && {
2319 test -z "$ac_c_werror_flag" ||
2320 test ! -s conftest.err
2321 } && test -s conftest.$ac_objext; then :
2322 ac_retval=0
2323 else
2324 $as_echo "$as_me: failed program was:" >&5
2325 sed 's/^/| /' conftest.$ac_ext >&5
2327 ac_retval=1
2329 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2330 as_fn_set_status $ac_retval
2332 } # ac_fn_c_try_compile
2334 # ac_fn_cxx_try_compile LINENO
2335 # ----------------------------
2336 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2337 ac_fn_cxx_try_compile ()
2339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2340 rm -f conftest.$ac_objext
2341 if { { ac_try="$ac_compile"
2342 case "(($ac_try" in
2343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2344 *) ac_try_echo=$ac_try;;
2345 esac
2346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2347 $as_echo "$ac_try_echo"; } >&5
2348 (eval "$ac_compile") 2>conftest.err
2349 ac_status=$?
2350 if test -s conftest.err; then
2351 grep -v '^ *+' conftest.err >conftest.er1
2352 cat conftest.er1 >&5
2353 mv -f conftest.er1 conftest.err
2355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2356 test $ac_status = 0; } && {
2357 test -z "$ac_cxx_werror_flag" ||
2358 test ! -s conftest.err
2359 } && test -s conftest.$ac_objext; then :
2360 ac_retval=0
2361 else
2362 $as_echo "$as_me: failed program was:" >&5
2363 sed 's/^/| /' conftest.$ac_ext >&5
2365 ac_retval=1
2367 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2368 as_fn_set_status $ac_retval
2370 } # ac_fn_cxx_try_compile
2372 # ac_fn_c_try_link LINENO
2373 # -----------------------
2374 # Try to link conftest.$ac_ext, and return whether this succeeded.
2375 ac_fn_c_try_link ()
2377 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2378 rm -f conftest.$ac_objext conftest$ac_exeext
2379 if { { ac_try="$ac_link"
2380 case "(($ac_try" in
2381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2382 *) ac_try_echo=$ac_try;;
2383 esac
2384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2385 $as_echo "$ac_try_echo"; } >&5
2386 (eval "$ac_link") 2>conftest.err
2387 ac_status=$?
2388 if test -s conftest.err; then
2389 grep -v '^ *+' conftest.err >conftest.er1
2390 cat conftest.er1 >&5
2391 mv -f conftest.er1 conftest.err
2393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2394 test $ac_status = 0; } && {
2395 test -z "$ac_c_werror_flag" ||
2396 test ! -s conftest.err
2397 } && test -s conftest$ac_exeext && {
2398 test "$cross_compiling" = yes ||
2399 test -x conftest$ac_exeext
2400 }; then :
2401 ac_retval=0
2402 else
2403 $as_echo "$as_me: failed program was:" >&5
2404 sed 's/^/| /' conftest.$ac_ext >&5
2406 ac_retval=1
2408 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2409 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2410 # interfere with the next link command; also delete a directory that is
2411 # left behind by Apple's compiler. We do this before executing the actions.
2412 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2413 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2414 as_fn_set_status $ac_retval
2416 } # ac_fn_c_try_link
2418 # ac_fn_c_try_cpp LINENO
2419 # ----------------------
2420 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2421 ac_fn_c_try_cpp ()
2423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2424 if { { ac_try="$ac_cpp conftest.$ac_ext"
2425 case "(($ac_try" in
2426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2427 *) ac_try_echo=$ac_try;;
2428 esac
2429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2430 $as_echo "$ac_try_echo"; } >&5
2431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2432 ac_status=$?
2433 if test -s conftest.err; then
2434 grep -v '^ *+' conftest.err >conftest.er1
2435 cat conftest.er1 >&5
2436 mv -f conftest.er1 conftest.err
2438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2439 test $ac_status = 0; } > conftest.i && {
2440 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2441 test ! -s conftest.err
2442 }; then :
2443 ac_retval=0
2444 else
2445 $as_echo "$as_me: failed program was:" >&5
2446 sed 's/^/| /' conftest.$ac_ext >&5
2448 ac_retval=1
2450 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2451 as_fn_set_status $ac_retval
2453 } # ac_fn_c_try_cpp
2455 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2456 # -------------------------------------------------------
2457 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2458 # the include files in INCLUDES and setting the cache variable VAR
2459 # accordingly.
2460 ac_fn_c_check_header_mongrel ()
2462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2463 if eval \${$3+:} false; then :
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2465 $as_echo_n "checking for $2... " >&6; }
2466 if eval \${$3+:} false; then :
2467 $as_echo_n "(cached) " >&6
2469 eval ac_res=\$$3
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2471 $as_echo "$ac_res" >&6; }
2472 else
2473 # Is the header compilable?
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2475 $as_echo_n "checking $2 usability... " >&6; }
2476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2479 #include <$2>
2480 _ACEOF
2481 if ac_fn_c_try_compile "$LINENO"; then :
2482 ac_header_compiler=yes
2483 else
2484 ac_header_compiler=no
2486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2488 $as_echo "$ac_header_compiler" >&6; }
2490 # Is the header present?
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2492 $as_echo_n "checking $2 presence... " >&6; }
2493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2494 /* end confdefs.h. */
2495 #include <$2>
2496 _ACEOF
2497 if ac_fn_c_try_cpp "$LINENO"; then :
2498 ac_header_preproc=yes
2499 else
2500 ac_header_preproc=no
2502 rm -f conftest.err conftest.i conftest.$ac_ext
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2504 $as_echo "$ac_header_preproc" >&6; }
2506 # So? What about this header?
2507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2508 yes:no: )
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2510 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2512 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2514 no:yes:* )
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2516 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2518 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2520 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2522 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2524 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2525 ( $as_echo "## ------------------------------------ ##
2526 ## Report this to wine-devel@winehq.org ##
2527 ## ------------------------------------ ##"
2528 ) | sed "s/^/$as_me: WARNING: /" >&2
2530 esac
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2532 $as_echo_n "checking for $2... " >&6; }
2533 if eval \${$3+:} false; then :
2534 $as_echo_n "(cached) " >&6
2535 else
2536 eval "$3=\$ac_header_compiler"
2538 eval ac_res=\$$3
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2540 $as_echo "$ac_res" >&6; }
2542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2544 } # ac_fn_c_check_header_mongrel
2546 # ac_fn_c_try_run LINENO
2547 # ----------------------
2548 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2549 # that executables *can* be run.
2550 ac_fn_c_try_run ()
2552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2553 if { { ac_try="$ac_link"
2554 case "(($ac_try" in
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2557 esac
2558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2559 $as_echo "$ac_try_echo"; } >&5
2560 (eval "$ac_link") 2>&5
2561 ac_status=$?
2562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2563 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2564 { { case "(($ac_try" in
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2567 esac
2568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2569 $as_echo "$ac_try_echo"; } >&5
2570 (eval "$ac_try") 2>&5
2571 ac_status=$?
2572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2573 test $ac_status = 0; }; }; then :
2574 ac_retval=0
2575 else
2576 $as_echo "$as_me: program exited with status $ac_status" >&5
2577 $as_echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.$ac_ext >&5
2580 ac_retval=$ac_status
2582 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2584 as_fn_set_status $ac_retval
2586 } # ac_fn_c_try_run
2588 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2589 # -------------------------------------------------------
2590 # Tests whether HEADER exists and can be compiled using the include files in
2591 # INCLUDES, setting the cache variable VAR accordingly.
2592 ac_fn_c_check_header_compile ()
2594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2596 $as_echo_n "checking for $2... " >&6; }
2597 if eval \${$3+:} false; then :
2598 $as_echo_n "(cached) " >&6
2599 else
2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2603 #include <$2>
2604 _ACEOF
2605 if ac_fn_c_try_compile "$LINENO"; then :
2606 eval "$3=yes"
2607 else
2608 eval "$3=no"
2610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2612 eval ac_res=\$$3
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2614 $as_echo "$ac_res" >&6; }
2615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2617 } # ac_fn_c_check_header_compile
2619 # ac_fn_c_check_func LINENO FUNC VAR
2620 # ----------------------------------
2621 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2622 ac_fn_c_check_func ()
2624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2626 $as_echo_n "checking for $2... " >&6; }
2627 if eval \${$3+:} false; then :
2628 $as_echo_n "(cached) " >&6
2629 else
2630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2631 /* end confdefs.h. */
2632 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2634 #define $2 innocuous_$2
2636 /* System header to define __stub macros and hopefully few prototypes,
2637 which can conflict with char $2 (); below.
2638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2639 <limits.h> exists even on freestanding compilers. */
2641 #ifdef __STDC__
2642 # include <limits.h>
2643 #else
2644 # include <assert.h>
2645 #endif
2647 #undef $2
2649 /* Override any GCC internal prototype to avoid an error.
2650 Use char because int might match the return type of a GCC
2651 builtin and then its argument prototype would still apply. */
2652 #ifdef __cplusplus
2653 extern "C"
2654 #endif
2655 char $2 ();
2656 /* The GNU C library defines this for functions which it implements
2657 to always fail with ENOSYS. Some functions are actually named
2658 something starting with __ and the normal name is an alias. */
2659 #if defined __stub_$2 || defined __stub___$2
2660 choke me
2661 #endif
2664 main ()
2666 return $2 ();
2668 return 0;
2670 _ACEOF
2671 if ac_fn_c_try_link "$LINENO"; then :
2672 eval "$3=yes"
2673 else
2674 eval "$3=no"
2676 rm -f core conftest.err conftest.$ac_objext \
2677 conftest$ac_exeext conftest.$ac_ext
2679 eval ac_res=\$$3
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2681 $as_echo "$ac_res" >&6; }
2682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2684 } # ac_fn_c_check_func
2686 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2687 # ----------------------------------------------------
2688 # Tries to find if the field MEMBER exists in type AGGR, after including
2689 # INCLUDES, setting cache variable VAR accordingly.
2690 ac_fn_c_check_member ()
2692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2694 $as_echo_n "checking for $2.$3... " >&6; }
2695 if eval \${$4+:} false; then :
2696 $as_echo_n "(cached) " >&6
2697 else
2698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2699 /* end confdefs.h. */
2702 main ()
2704 static $2 ac_aggr;
2705 if (ac_aggr.$3)
2706 return 0;
2708 return 0;
2710 _ACEOF
2711 if ac_fn_c_try_compile "$LINENO"; then :
2712 eval "$4=yes"
2713 else
2714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2715 /* end confdefs.h. */
2718 main ()
2720 static $2 ac_aggr;
2721 if (sizeof ac_aggr.$3)
2722 return 0;
2724 return 0;
2726 _ACEOF
2727 if ac_fn_c_try_compile "$LINENO"; then :
2728 eval "$4=yes"
2729 else
2730 eval "$4=no"
2732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2736 eval ac_res=\$$4
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2738 $as_echo "$ac_res" >&6; }
2739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2741 } # ac_fn_c_check_member
2743 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2744 # -------------------------------------------
2745 # Tests whether TYPE exists after having included INCLUDES, setting cache
2746 # variable VAR accordingly.
2747 ac_fn_c_check_type ()
2749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2751 $as_echo_n "checking for $2... " >&6; }
2752 if eval \${$3+:} false; then :
2753 $as_echo_n "(cached) " >&6
2754 else
2755 eval "$3=no"
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757 /* end confdefs.h. */
2760 main ()
2762 if (sizeof ($2))
2763 return 0;
2765 return 0;
2767 _ACEOF
2768 if ac_fn_c_try_compile "$LINENO"; then :
2769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h. */
2773 main ()
2775 if (sizeof (($2)))
2776 return 0;
2778 return 0;
2780 _ACEOF
2781 if ac_fn_c_try_compile "$LINENO"; then :
2783 else
2784 eval "$3=yes"
2786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2790 eval ac_res=\$$3
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2792 $as_echo "$ac_res" >&6; }
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2795 } # ac_fn_c_check_type
2796 cat >config.log <<_ACEOF
2797 This file contains any messages produced by compilers while
2798 running configure, to aid debugging if configure makes a mistake.
2800 It was created by Wine $as_me 1.7.36, which was
2801 generated by GNU Autoconf 2.69. Invocation command line was
2803 $ $0 $@
2805 _ACEOF
2806 exec 5>>config.log
2808 cat <<_ASUNAME
2809 ## --------- ##
2810 ## Platform. ##
2811 ## --------- ##
2813 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2814 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2815 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2816 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2817 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2819 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2820 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2822 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2823 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2824 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2825 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2826 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2827 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2828 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2830 _ASUNAME
2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 for as_dir in $PATH
2835 IFS=$as_save_IFS
2836 test -z "$as_dir" && as_dir=.
2837 $as_echo "PATH: $as_dir"
2838 done
2839 IFS=$as_save_IFS
2841 } >&5
2843 cat >&5 <<_ACEOF
2846 ## ----------- ##
2847 ## Core tests. ##
2848 ## ----------- ##
2850 _ACEOF
2853 # Keep a trace of the command line.
2854 # Strip out --no-create and --no-recursion so they do not pile up.
2855 # Strip out --silent because we don't want to record it for future runs.
2856 # Also quote any args containing shell meta-characters.
2857 # Make two passes to allow for proper duplicate-argument suppression.
2858 ac_configure_args=
2859 ac_configure_args0=
2860 ac_configure_args1=
2861 ac_must_keep_next=false
2862 for ac_pass in 1 2
2864 for ac_arg
2866 case $ac_arg in
2867 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2868 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2869 | -silent | --silent | --silen | --sile | --sil)
2870 continue ;;
2871 *\'*)
2872 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2873 esac
2874 case $ac_pass in
2875 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2877 as_fn_append ac_configure_args1 " '$ac_arg'"
2878 if test $ac_must_keep_next = true; then
2879 ac_must_keep_next=false # Got value, back to normal.
2880 else
2881 case $ac_arg in
2882 *=* | --config-cache | -C | -disable-* | --disable-* \
2883 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2884 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2885 | -with-* | --with-* | -without-* | --without-* | --x)
2886 case "$ac_configure_args0 " in
2887 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2888 esac
2890 -* ) ac_must_keep_next=true ;;
2891 esac
2893 as_fn_append ac_configure_args " '$ac_arg'"
2895 esac
2896 done
2897 done
2898 { ac_configure_args0=; unset ac_configure_args0;}
2899 { ac_configure_args1=; unset ac_configure_args1;}
2901 # When interrupted or exit'd, cleanup temporary files, and complete
2902 # config.log. We remove comments because anyway the quotes in there
2903 # would cause problems or look ugly.
2904 # WARNING: Use '\'' to represent an apostrophe within the trap.
2905 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2906 trap 'exit_status=$?
2907 # Save into config.log some information that might help in debugging.
2909 echo
2911 $as_echo "## ---------------- ##
2912 ## Cache variables. ##
2913 ## ---------------- ##"
2914 echo
2915 # The following way of writing the cache mishandles newlines in values,
2917 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2918 eval ac_val=\$$ac_var
2919 case $ac_val in #(
2920 *${as_nl}*)
2921 case $ac_var in #(
2922 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2923 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2924 esac
2925 case $ac_var in #(
2926 _ | IFS | as_nl) ;; #(
2927 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2928 *) { eval $ac_var=; unset $ac_var;} ;;
2929 esac ;;
2930 esac
2931 done
2932 (set) 2>&1 |
2933 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2934 *${as_nl}ac_space=\ *)
2935 sed -n \
2936 "s/'\''/'\''\\\\'\'''\''/g;
2937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2938 ;; #(
2940 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2942 esac |
2943 sort
2945 echo
2947 $as_echo "## ----------------- ##
2948 ## Output variables. ##
2949 ## ----------------- ##"
2950 echo
2951 for ac_var in $ac_subst_vars
2953 eval ac_val=\$$ac_var
2954 case $ac_val in
2955 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2956 esac
2957 $as_echo "$ac_var='\''$ac_val'\''"
2958 done | sort
2959 echo
2961 if test -n "$ac_subst_files"; then
2962 $as_echo "## ------------------- ##
2963 ## File substitutions. ##
2964 ## ------------------- ##"
2965 echo
2966 for ac_var in $ac_subst_files
2968 eval ac_val=\$$ac_var
2969 case $ac_val in
2970 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2971 esac
2972 $as_echo "$ac_var='\''$ac_val'\''"
2973 done | sort
2974 echo
2977 if test -s confdefs.h; then
2978 $as_echo "## ----------- ##
2979 ## confdefs.h. ##
2980 ## ----------- ##"
2981 echo
2982 cat confdefs.h
2983 echo
2985 test "$ac_signal" != 0 &&
2986 $as_echo "$as_me: caught signal $ac_signal"
2987 $as_echo "$as_me: exit $exit_status"
2988 } >&5
2989 rm -f core *.core core.conftest.* &&
2990 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2991 exit $exit_status
2993 for ac_signal in 1 2 13 15; do
2994 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2995 done
2996 ac_signal=0
2998 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2999 rm -f -r conftest* confdefs.h
3001 $as_echo "/* confdefs.h */" > confdefs.h
3003 # Predefined preprocessor variables.
3005 cat >>confdefs.h <<_ACEOF
3006 #define PACKAGE_NAME "$PACKAGE_NAME"
3007 _ACEOF
3009 cat >>confdefs.h <<_ACEOF
3010 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3011 _ACEOF
3013 cat >>confdefs.h <<_ACEOF
3014 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3015 _ACEOF
3017 cat >>confdefs.h <<_ACEOF
3018 #define PACKAGE_STRING "$PACKAGE_STRING"
3019 _ACEOF
3021 cat >>confdefs.h <<_ACEOF
3022 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3023 _ACEOF
3025 cat >>confdefs.h <<_ACEOF
3026 #define PACKAGE_URL "$PACKAGE_URL"
3027 _ACEOF
3030 # Let the site file select an alternate cache file if it wants to.
3031 # Prefer an explicitly selected file to automatically selected ones.
3032 ac_site_file1=NONE
3033 ac_site_file2=NONE
3034 if test -n "$CONFIG_SITE"; then
3035 # We do not want a PATH search for config.site.
3036 case $CONFIG_SITE in #((
3037 -*) ac_site_file1=./$CONFIG_SITE;;
3038 */*) ac_site_file1=$CONFIG_SITE;;
3039 *) ac_site_file1=./$CONFIG_SITE;;
3040 esac
3041 elif test "x$prefix" != xNONE; then
3042 ac_site_file1=$prefix/share/config.site
3043 ac_site_file2=$prefix/etc/config.site
3044 else
3045 ac_site_file1=$ac_default_prefix/share/config.site
3046 ac_site_file2=$ac_default_prefix/etc/config.site
3048 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3050 test "x$ac_site_file" = xNONE && continue
3051 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3053 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3054 sed 's/^/| /' "$ac_site_file" >&5
3055 . "$ac_site_file" \
3056 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3058 as_fn_error $? "failed to load site script $ac_site_file
3059 See \`config.log' for more details" "$LINENO" 5; }
3061 done
3063 if test -r "$cache_file"; then
3064 # Some versions of bash will fail to source /dev/null (special files
3065 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3066 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3068 $as_echo "$as_me: loading cache $cache_file" >&6;}
3069 case $cache_file in
3070 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3071 *) . "./$cache_file";;
3072 esac
3074 else
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3076 $as_echo "$as_me: creating cache $cache_file" >&6;}
3077 >$cache_file
3080 # Check that the precious variables saved in the cache have kept the same
3081 # value.
3082 ac_cache_corrupted=false
3083 for ac_var in $ac_precious_vars; do
3084 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3085 eval ac_new_set=\$ac_env_${ac_var}_set
3086 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3087 eval ac_new_val=\$ac_env_${ac_var}_value
3088 case $ac_old_set,$ac_new_set in
3089 set,)
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3091 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3092 ac_cache_corrupted=: ;;
3093 ,set)
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3095 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3096 ac_cache_corrupted=: ;;
3097 ,);;
3099 if test "x$ac_old_val" != "x$ac_new_val"; then
3100 # differences in whitespace do not lead to failure.
3101 ac_old_val_w=`echo x $ac_old_val`
3102 ac_new_val_w=`echo x $ac_new_val`
3103 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3105 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3106 ac_cache_corrupted=:
3107 else
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3109 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3110 eval $ac_var=\$ac_old_val
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3113 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3115 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3116 fi;;
3117 esac
3118 # Pass precious variables to config.status.
3119 if test "$ac_new_set" = set; then
3120 case $ac_new_val in
3121 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3122 *) ac_arg=$ac_var=$ac_new_val ;;
3123 esac
3124 case " $ac_configure_args " in
3125 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3126 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3127 esac
3129 done
3130 if $ac_cache_corrupted; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3134 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3135 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3137 ## -------------------- ##
3138 ## Main body of script. ##
3139 ## -------------------- ##
3141 ac_ext=c
3142 ac_cpp='$CPP $CPPFLAGS'
3143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3149 ac_config_headers="$ac_config_headers include/config.h"
3151 ac_aux_dir=
3152 for ac_dir in tools "$srcdir"/tools; do
3153 if test -f "$ac_dir/install-sh"; then
3154 ac_aux_dir=$ac_dir
3155 ac_install_sh="$ac_aux_dir/install-sh -c"
3156 break
3157 elif test -f "$ac_dir/install.sh"; then
3158 ac_aux_dir=$ac_dir
3159 ac_install_sh="$ac_aux_dir/install.sh -c"
3160 break
3161 elif test -f "$ac_dir/shtool"; then
3162 ac_aux_dir=$ac_dir
3163 ac_install_sh="$ac_aux_dir/shtool install -c"
3164 break
3166 done
3167 if test -z "$ac_aux_dir"; then
3168 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3171 # These three variables are undocumented and unsupported,
3172 # and are intended to be withdrawn in a future Autoconf release.
3173 # They can cause serious problems if a builder's source tree is in a directory
3174 # whose full name contains unusual characters.
3175 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3176 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3177 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3181 libwine_version="1.0"
3185 # Check whether --enable-win16 was given.
3186 if test "${enable_win16+set}" = set; then :
3187 enableval=$enable_win16;
3190 # Check whether --enable-win64 was given.
3191 if test "${enable_win64+set}" = set; then :
3192 enableval=$enable_win64;
3195 # Check whether --enable-tests was given.
3196 if test "${enable_tests+set}" = set; then :
3197 enableval=$enable_tests;
3200 # Check whether --enable-maintainer-mode was given.
3201 if test "${enable_maintainer_mode+set}" = set; then :
3202 enableval=$enable_maintainer_mode;
3207 # Check whether --with-alsa was given.
3208 if test "${with_alsa+set}" = set; then :
3209 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3213 # Check whether --with-capi was given.
3214 if test "${with_capi+set}" = set; then :
3215 withval=$with_capi;
3219 # Check whether --with-cms was given.
3220 if test "${with_cms+set}" = set; then :
3221 withval=$with_cms;
3225 # Check whether --with-coreaudio was given.
3226 if test "${with_coreaudio+set}" = set; then :
3227 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3231 # Check whether --with-cups was given.
3232 if test "${with_cups+set}" = set; then :
3233 withval=$with_cups;
3237 # Check whether --with-curses was given.
3238 if test "${with_curses+set}" = set; then :
3239 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3243 # Check whether --with-dbus was given.
3244 if test "${with_dbus+set}" = set; then :
3245 withval=$with_dbus;
3249 # Check whether --with-fontconfig was given.
3250 if test "${with_fontconfig+set}" = set; then :
3251 withval=$with_fontconfig;
3255 # Check whether --with-freetype was given.
3256 if test "${with_freetype+set}" = set; then :
3257 withval=$with_freetype;
3261 # Check whether --with-gettext was given.
3262 if test "${with_gettext+set}" = set; then :
3263 withval=$with_gettext;
3267 # Check whether --with-gettextpo was given.
3268 if test "${with_gettextpo+set}" = set; then :
3269 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3273 # Check whether --with-gphoto was given.
3274 if test "${with_gphoto+set}" = set; then :
3275 withval=$with_gphoto;
3279 # Check whether --with-glu was given.
3280 if test "${with_glu+set}" = set; then :
3281 withval=$with_glu;
3285 # Check whether --with-gnutls was given.
3286 if test "${with_gnutls+set}" = set; then :
3287 withval=$with_gnutls;
3291 # Check whether --with-gsm was given.
3292 if test "${with_gsm+set}" = set; then :
3293 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3297 # Check whether --with-gstreamer was given.
3298 if test "${with_gstreamer+set}" = set; then :
3299 withval=$with_gstreamer;
3303 # Check whether --with-hal was given.
3304 if test "${with_hal+set}" = set; then :
3305 withval=$with_hal;
3309 # Check whether --with-jpeg was given.
3310 if test "${with_jpeg+set}" = set; then :
3311 withval=$with_jpeg;
3315 # Check whether --with-ldap was given.
3316 if test "${with_ldap+set}" = set; then :
3317 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3321 # Check whether --with-mpg123 was given.
3322 if test "${with_mpg123+set}" = set; then :
3323 withval=$with_mpg123;
3327 # Check whether --with-netapi was given.
3328 if test "${with_netapi+set}" = set; then :
3329 withval=$with_netapi;
3333 # Check whether --with-openal was given.
3334 if test "${with_openal+set}" = set; then :
3335 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3339 # Check whether --with-opencl was given.
3340 if test "${with_opencl+set}" = set; then :
3341 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3345 # Check whether --with-opengl was given.
3346 if test "${with_opengl+set}" = set; then :
3347 withval=$with_opengl;
3351 # Check whether --with-osmesa was given.
3352 if test "${with_osmesa+set}" = set; then :
3353 withval=$with_osmesa;
3357 # Check whether --with-oss was given.
3358 if test "${with_oss+set}" = set; then :
3359 withval=$with_oss;
3363 # Check whether --with-pcap was given.
3364 if test "${with_pcap+set}" = set; then :
3365 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3369 # Check whether --with-png was given.
3370 if test "${with_png+set}" = set; then :
3371 withval=$with_png;
3375 # Check whether --with-pthread was given.
3376 if test "${with_pthread+set}" = set; then :
3377 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3381 # Check whether --with-sane was given.
3382 if test "${with_sane+set}" = set; then :
3383 withval=$with_sane;
3387 # Check whether --with-tiff was given.
3388 if test "${with_tiff+set}" = set; then :
3389 withval=$with_tiff;
3393 # Check whether --with-v4l was given.
3394 if test "${with_v4l+set}" = set; then :
3395 withval=$with_v4l;
3399 # Check whether --with-xcomposite was given.
3400 if test "${with_xcomposite+set}" = set; then :
3401 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3405 # Check whether --with-xcursor was given.
3406 if test "${with_xcursor+set}" = set; then :
3407 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3411 # Check whether --with-xinerama was given.
3412 if test "${with_xinerama+set}" = set; then :
3413 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3417 # Check whether --with-xinput was given.
3418 if test "${with_xinput+set}" = set; then :
3419 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3423 # Check whether --with-xinput2 was given.
3424 if test "${with_xinput2+set}" = set; then :
3425 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3429 # Check whether --with-xml was given.
3430 if test "${with_xml+set}" = set; then :
3431 withval=$with_xml;
3435 # Check whether --with-xrandr was given.
3436 if test "${with_xrandr+set}" = set; then :
3437 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3441 # Check whether --with-xrender was given.
3442 if test "${with_xrender+set}" = set; then :
3443 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3447 # Check whether --with-xshape was given.
3448 if test "${with_xshape+set}" = set; then :
3449 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3453 # Check whether --with-xshm was given.
3454 if test "${with_xshm+set}" = set; then :
3455 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3459 # Check whether --with-xslt was given.
3460 if test "${with_xslt+set}" = set; then :
3461 withval=$with_xslt;
3465 # Check whether --with-xxf86vm was given.
3466 if test "${with_xxf86vm+set}" = set; then :
3467 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
3471 # Check whether --with-zlib was given.
3472 if test "${with_zlib+set}" = set; then :
3473 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3478 # Check whether --with-wine-tools was given.
3479 if test "${with_wine_tools+set}" = set; then :
3480 withval=$with_wine_tools;
3484 # Check whether --with-wine64 was given.
3485 if test "${with_wine64+set}" = set; then :
3486 withval=$with_wine64;
3490 # Make sure we can run config.sub.
3491 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3492 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3495 $as_echo_n "checking build system type... " >&6; }
3496 if ${ac_cv_build+:} false; then :
3497 $as_echo_n "(cached) " >&6
3498 else
3499 ac_build_alias=$build_alias
3500 test "x$ac_build_alias" = x &&
3501 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3502 test "x$ac_build_alias" = x &&
3503 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3504 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3505 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3509 $as_echo "$ac_cv_build" >&6; }
3510 case $ac_cv_build in
3511 *-*-*) ;;
3512 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3513 esac
3514 build=$ac_cv_build
3515 ac_save_IFS=$IFS; IFS='-'
3516 set x $ac_cv_build
3517 shift
3518 build_cpu=$1
3519 build_vendor=$2
3520 shift; shift
3521 # Remember, the first character of IFS is used to create $*,
3522 # except with old shells:
3523 build_os=$*
3524 IFS=$ac_save_IFS
3525 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3529 $as_echo_n "checking host system type... " >&6; }
3530 if ${ac_cv_host+:} false; then :
3531 $as_echo_n "(cached) " >&6
3532 else
3533 if test "x$host_alias" = x; then
3534 ac_cv_host=$ac_cv_build
3535 else
3536 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3537 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3542 $as_echo "$ac_cv_host" >&6; }
3543 case $ac_cv_host in
3544 *-*-*) ;;
3545 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3546 esac
3547 host=$ac_cv_host
3548 ac_save_IFS=$IFS; IFS='-'
3549 set x $ac_cv_host
3550 shift
3551 host_cpu=$1
3552 host_vendor=$2
3553 shift; shift
3554 # Remember, the first character of IFS is used to create $*,
3555 # except with old shells:
3556 host_os=$*
3557 IFS=$ac_save_IFS
3558 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3562 case "$srcdir" in
3563 .) ;;
3564 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3565 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3566 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3567 fi ;;
3568 esac
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3572 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3573 set x ${MAKE-make}
3574 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3575 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3576 $as_echo_n "(cached) " >&6
3577 else
3578 cat >conftest.make <<\_ACEOF
3579 SHELL = /bin/sh
3580 all:
3581 @echo '@@@%%%=$(MAKE)=@@@%%%'
3582 _ACEOF
3583 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3584 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3585 *@@@%%%=?*=@@@%%%*)
3586 eval ac_cv_prog_make_${ac_make}_set=yes;;
3588 eval ac_cv_prog_make_${ac_make}_set=no;;
3589 esac
3590 rm -f conftest.make
3592 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3594 $as_echo "yes" >&6; }
3595 SET_MAKE=
3596 else
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3598 $as_echo "no" >&6; }
3599 SET_MAKE="MAKE=${MAKE-make}"
3602 ac_ext=c
3603 ac_cpp='$CPP $CPPFLAGS'
3604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3607 if test -n "$ac_tool_prefix"; then
3608 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3609 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if ${ac_cv_prog_CC+:} false; then :
3613 $as_echo_n "(cached) " >&6
3614 else
3615 if test -n "$CC"; then
3616 ac_cv_prog_CC="$CC" # Let the user override the test.
3617 else
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619 for as_dir in $PATH
3621 IFS=$as_save_IFS
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3625 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 break 2
3629 done
3630 done
3631 IFS=$as_save_IFS
3635 CC=$ac_cv_prog_CC
3636 if test -n "$CC"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3638 $as_echo "$CC" >&6; }
3639 else
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3646 if test -z "$ac_cv_prog_CC"; then
3647 ac_ct_CC=$CC
3648 # Extract the first word of "gcc", so it can be a program name with args.
3649 set dummy gcc; ac_word=$2
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3651 $as_echo_n "checking for $ac_word... " >&6; }
3652 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3653 $as_echo_n "(cached) " >&6
3654 else
3655 if test -n "$ac_ct_CC"; then
3656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3657 else
3658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3659 for as_dir in $PATH
3661 IFS=$as_save_IFS
3662 test -z "$as_dir" && as_dir=.
3663 for ac_exec_ext in '' $ac_executable_extensions; do
3664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3665 ac_cv_prog_ac_ct_CC="gcc"
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 break 2
3669 done
3670 done
3671 IFS=$as_save_IFS
3675 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3676 if test -n "$ac_ct_CC"; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3678 $as_echo "$ac_ct_CC" >&6; }
3679 else
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3681 $as_echo "no" >&6; }
3684 if test "x$ac_ct_CC" = x; then
3685 CC=""
3686 else
3687 case $cross_compiling:$ac_tool_warned in
3688 yes:)
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3691 ac_tool_warned=yes ;;
3692 esac
3693 CC=$ac_ct_CC
3695 else
3696 CC="$ac_cv_prog_CC"
3699 if test -z "$CC"; then
3700 if test -n "$ac_tool_prefix"; then
3701 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3702 set dummy ${ac_tool_prefix}cc; ac_word=$2
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704 $as_echo_n "checking for $ac_word... " >&6; }
3705 if ${ac_cv_prog_CC+:} false; then :
3706 $as_echo_n "(cached) " >&6
3707 else
3708 if test -n "$CC"; then
3709 ac_cv_prog_CC="$CC" # Let the user override the test.
3710 else
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 for as_dir in $PATH
3714 IFS=$as_save_IFS
3715 test -z "$as_dir" && as_dir=.
3716 for ac_exec_ext in '' $ac_executable_extensions; do
3717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3718 ac_cv_prog_CC="${ac_tool_prefix}cc"
3719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 break 2
3722 done
3723 done
3724 IFS=$as_save_IFS
3728 CC=$ac_cv_prog_CC
3729 if test -n "$CC"; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3731 $as_echo "$CC" >&6; }
3732 else
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3740 if test -z "$CC"; then
3741 # Extract the first word of "cc", so it can be a program name with args.
3742 set dummy cc; ac_word=$2
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3744 $as_echo_n "checking for $ac_word... " >&6; }
3745 if ${ac_cv_prog_CC+:} false; then :
3746 $as_echo_n "(cached) " >&6
3747 else
3748 if test -n "$CC"; then
3749 ac_cv_prog_CC="$CC" # Let the user override the test.
3750 else
3751 ac_prog_rejected=no
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3755 IFS=$as_save_IFS
3756 test -z "$as_dir" && as_dir=.
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3759 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3760 ac_prog_rejected=yes
3761 continue
3763 ac_cv_prog_CC="cc"
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 break 2
3767 done
3768 done
3769 IFS=$as_save_IFS
3771 if test $ac_prog_rejected = yes; then
3772 # We found a bogon in the path, so make sure we never use it.
3773 set dummy $ac_cv_prog_CC
3774 shift
3775 if test $# != 0; then
3776 # We chose a different compiler from the bogus one.
3777 # However, it has the same basename, so the bogon will be chosen
3778 # first if we set CC to just the basename; use the full file name.
3779 shift
3780 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3785 CC=$ac_cv_prog_CC
3786 if test -n "$CC"; then
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3788 $as_echo "$CC" >&6; }
3789 else
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3791 $as_echo "no" >&6; }
3796 if test -z "$CC"; then
3797 if test -n "$ac_tool_prefix"; then
3798 for ac_prog in cl.exe
3800 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3801 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_CC+:} false; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$CC"; then
3808 ac_cv_prog_CC="$CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3817 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3821 done
3822 done
3823 IFS=$as_save_IFS
3827 CC=$ac_cv_prog_CC
3828 if test -n "$CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3830 $as_echo "$CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$CC" && break
3838 done
3840 if test -z "$CC"; then
3841 ac_ct_CC=$CC
3842 for ac_prog in cl.exe
3844 # Extract the first word of "$ac_prog", so it can be a program name with args.
3845 set dummy $ac_prog; ac_word=$2
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3847 $as_echo_n "checking for $ac_word... " >&6; }
3848 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3849 $as_echo_n "(cached) " >&6
3850 else
3851 if test -n "$ac_ct_CC"; then
3852 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3853 else
3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855 for as_dir in $PATH
3857 IFS=$as_save_IFS
3858 test -z "$as_dir" && as_dir=.
3859 for ac_exec_ext in '' $ac_executable_extensions; do
3860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3861 ac_cv_prog_ac_ct_CC="$ac_prog"
3862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3863 break 2
3865 done
3866 done
3867 IFS=$as_save_IFS
3871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3872 if test -n "$ac_ct_CC"; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3874 $as_echo "$ac_ct_CC" >&6; }
3875 else
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3881 test -n "$ac_ct_CC" && break
3882 done
3884 if test "x$ac_ct_CC" = x; then
3885 CC=""
3886 else
3887 case $cross_compiling:$ac_tool_warned in
3888 yes:)
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3891 ac_tool_warned=yes ;;
3892 esac
3893 CC=$ac_ct_CC
3900 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3902 as_fn_error $? "no acceptable C compiler found in \$PATH
3903 See \`config.log' for more details" "$LINENO" 5; }
3905 # Provide some information about the compiler.
3906 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3907 set X $ac_compile
3908 ac_compiler=$2
3909 for ac_option in --version -v -V -qversion; do
3910 { { ac_try="$ac_compiler $ac_option >&5"
3911 case "(($ac_try" in
3912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3913 *) ac_try_echo=$ac_try;;
3914 esac
3915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3916 $as_echo "$ac_try_echo"; } >&5
3917 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3918 ac_status=$?
3919 if test -s conftest.err; then
3920 sed '10a\
3921 ... rest of stderr output deleted ...
3922 10q' conftest.err >conftest.er1
3923 cat conftest.er1 >&5
3925 rm -f conftest.er1 conftest.err
3926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3927 test $ac_status = 0; }
3928 done
3930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3931 /* end confdefs.h. */
3934 main ()
3938 return 0;
3940 _ACEOF
3941 ac_clean_files_save=$ac_clean_files
3942 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3943 # Try to create an executable without -o first, disregard a.out.
3944 # It will help us diagnose broken compilers, and finding out an intuition
3945 # of exeext.
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3947 $as_echo_n "checking whether the C compiler works... " >&6; }
3948 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3950 # The possible output files:
3951 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3953 ac_rmfiles=
3954 for ac_file in $ac_files
3956 case $ac_file in
3957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3958 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3959 esac
3960 done
3961 rm -f $ac_rmfiles
3963 if { { ac_try="$ac_link_default"
3964 case "(($ac_try" in
3965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3966 *) ac_try_echo=$ac_try;;
3967 esac
3968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3969 $as_echo "$ac_try_echo"; } >&5
3970 (eval "$ac_link_default") 2>&5
3971 ac_status=$?
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }; then :
3974 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3975 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3976 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3977 # so that the user can short-circuit this test for compilers unknown to
3978 # Autoconf.
3979 for ac_file in $ac_files ''
3981 test -f "$ac_file" || continue
3982 case $ac_file in
3983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3985 [ab].out )
3986 # We found the default executable, but exeext='' is most
3987 # certainly right.
3988 break;;
3989 *.* )
3990 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3991 then :; else
3992 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3994 # We set ac_cv_exeext here because the later test for it is not
3995 # safe: cross compilers may not add the suffix if given an `-o'
3996 # argument, so we may need to know it at that point already.
3997 # Even if this section looks crufty: it has the advantage of
3998 # actually working.
3999 break;;
4001 break;;
4002 esac
4003 done
4004 test "$ac_cv_exeext" = no && ac_cv_exeext=
4006 else
4007 ac_file=''
4009 if test -z "$ac_file"; then :
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4012 $as_echo "$as_me: failed program was:" >&5
4013 sed 's/^/| /' conftest.$ac_ext >&5
4015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017 as_fn_error 77 "C compiler cannot create executables
4018 See \`config.log' for more details" "$LINENO" 5; }
4019 else
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4021 $as_echo "yes" >&6; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4024 $as_echo_n "checking for C compiler default output file name... " >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4026 $as_echo "$ac_file" >&6; }
4027 ac_exeext=$ac_cv_exeext
4029 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4030 ac_clean_files=$ac_clean_files_save
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4032 $as_echo_n "checking for suffix of executables... " >&6; }
4033 if { { ac_try="$ac_link"
4034 case "(($ac_try" in
4035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4036 *) ac_try_echo=$ac_try;;
4037 esac
4038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4039 $as_echo "$ac_try_echo"; } >&5
4040 (eval "$ac_link") 2>&5
4041 ac_status=$?
4042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4043 test $ac_status = 0; }; then :
4044 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4045 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4046 # work properly (i.e., refer to `conftest.exe'), while it won't with
4047 # `rm'.
4048 for ac_file in conftest.exe conftest conftest.*; do
4049 test -f "$ac_file" || continue
4050 case $ac_file in
4051 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4052 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4053 break;;
4054 * ) break;;
4055 esac
4056 done
4057 else
4058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4060 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4061 See \`config.log' for more details" "$LINENO" 5; }
4063 rm -f conftest conftest$ac_cv_exeext
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4065 $as_echo "$ac_cv_exeext" >&6; }
4067 rm -f conftest.$ac_ext
4068 EXEEXT=$ac_cv_exeext
4069 ac_exeext=$EXEEXT
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4072 #include <stdio.h>
4074 main ()
4076 FILE *f = fopen ("conftest.out", "w");
4077 return ferror (f) || fclose (f) != 0;
4080 return 0;
4082 _ACEOF
4083 ac_clean_files="$ac_clean_files conftest.out"
4084 # Check that the compiler produces executables we can run. If not, either
4085 # the compiler is broken, or we cross compile.
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4087 $as_echo_n "checking whether we are cross compiling... " >&6; }
4088 if test "$cross_compiling" != yes; then
4089 { { ac_try="$ac_link"
4090 case "(($ac_try" in
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4093 esac
4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_link") 2>&5
4097 ac_status=$?
4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test $ac_status = 0; }
4100 if { ac_try='./conftest$ac_cv_exeext'
4101 { { case "(($ac_try" in
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4104 esac
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_try") 2>&5
4108 ac_status=$?
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }; }; then
4111 cross_compiling=no
4112 else
4113 if test "$cross_compiling" = maybe; then
4114 cross_compiling=yes
4115 else
4116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4118 as_fn_error $? "cannot run C compiled programs.
4119 If you meant to cross compile, use \`--host'.
4120 See \`config.log' for more details" "$LINENO" 5; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4125 $as_echo "$cross_compiling" >&6; }
4127 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4128 ac_clean_files=$ac_clean_files_save
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4130 $as_echo_n "checking for suffix of object files... " >&6; }
4131 if ${ac_cv_objext+:} false; then :
4132 $as_echo_n "(cached) " >&6
4133 else
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4138 main ()
4142 return 0;
4144 _ACEOF
4145 rm -f conftest.o conftest.obj
4146 if { { ac_try="$ac_compile"
4147 case "(($ac_try" in
4148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4149 *) ac_try_echo=$ac_try;;
4150 esac
4151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4152 $as_echo "$ac_try_echo"; } >&5
4153 (eval "$ac_compile") 2>&5
4154 ac_status=$?
4155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4156 test $ac_status = 0; }; then :
4157 for ac_file in conftest.o conftest.obj conftest.*; do
4158 test -f "$ac_file" || continue;
4159 case $ac_file in
4160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4161 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4162 break;;
4163 esac
4164 done
4165 else
4166 $as_echo "$as_me: failed program was:" >&5
4167 sed 's/^/| /' conftest.$ac_ext >&5
4169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4171 as_fn_error $? "cannot compute suffix of object files: cannot compile
4172 See \`config.log' for more details" "$LINENO" 5; }
4174 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4177 $as_echo "$ac_cv_objext" >&6; }
4178 OBJEXT=$ac_cv_objext
4179 ac_objext=$OBJEXT
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4181 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4182 if ${ac_cv_c_compiler_gnu+:} false; then :
4183 $as_echo_n "(cached) " >&6
4184 else
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4189 main ()
4191 #ifndef __GNUC__
4192 choke me
4193 #endif
4196 return 0;
4198 _ACEOF
4199 if ac_fn_c_try_compile "$LINENO"; then :
4200 ac_compiler_gnu=yes
4201 else
4202 ac_compiler_gnu=no
4204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4209 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4210 if test $ac_compiler_gnu = yes; then
4211 GCC=yes
4212 else
4213 GCC=
4215 ac_test_CFLAGS=${CFLAGS+set}
4216 ac_save_CFLAGS=$CFLAGS
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4218 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4219 if ${ac_cv_prog_cc_g+:} false; then :
4220 $as_echo_n "(cached) " >&6
4221 else
4222 ac_save_c_werror_flag=$ac_c_werror_flag
4223 ac_c_werror_flag=yes
4224 ac_cv_prog_cc_g=no
4225 CFLAGS="-g"
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4230 main ()
4234 return 0;
4236 _ACEOF
4237 if ac_fn_c_try_compile "$LINENO"; then :
4238 ac_cv_prog_cc_g=yes
4239 else
4240 CFLAGS=""
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4245 main ()
4249 return 0;
4251 _ACEOF
4252 if ac_fn_c_try_compile "$LINENO"; then :
4254 else
4255 ac_c_werror_flag=$ac_save_c_werror_flag
4256 CFLAGS="-g"
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4261 main ()
4265 return 0;
4267 _ACEOF
4268 if ac_fn_c_try_compile "$LINENO"; then :
4269 ac_cv_prog_cc_g=yes
4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 ac_c_werror_flag=$ac_save_c_werror_flag
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4279 $as_echo "$ac_cv_prog_cc_g" >&6; }
4280 if test "$ac_test_CFLAGS" = set; then
4281 CFLAGS=$ac_save_CFLAGS
4282 elif test $ac_cv_prog_cc_g = yes; then
4283 if test "$GCC" = yes; then
4284 CFLAGS="-g -O2"
4285 else
4286 CFLAGS="-g"
4288 else
4289 if test "$GCC" = yes; then
4290 CFLAGS="-O2"
4291 else
4292 CFLAGS=
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4296 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4297 if ${ac_cv_prog_cc_c89+:} false; then :
4298 $as_echo_n "(cached) " >&6
4299 else
4300 ac_cv_prog_cc_c89=no
4301 ac_save_CC=$CC
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
4304 #include <stdarg.h>
4305 #include <stdio.h>
4306 struct stat;
4307 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4308 struct buf { int x; };
4309 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4310 static char *e (p, i)
4311 char **p;
4312 int i;
4314 return p[i];
4316 static char *f (char * (*g) (char **, int), char **p, ...)
4318 char *s;
4319 va_list v;
4320 va_start (v,p);
4321 s = g (p, va_arg (v,int));
4322 va_end (v);
4323 return s;
4326 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4327 function prototypes and stuff, but not '\xHH' hex character constants.
4328 These don't provoke an error unfortunately, instead are silently treated
4329 as 'x'. The following induces an error, until -std is added to get
4330 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4331 array size at least. It's necessary to write '\x00'==0 to get something
4332 that's true only with -std. */
4333 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4335 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4336 inside strings and character constants. */
4337 #define FOO(x) 'x'
4338 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4340 int test (int i, double x);
4341 struct s1 {int (*f) (int a);};
4342 struct s2 {int (*f) (double a);};
4343 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4344 int argc;
4345 char **argv;
4347 main ()
4349 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4351 return 0;
4353 _ACEOF
4354 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4355 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4357 CC="$ac_save_CC $ac_arg"
4358 if ac_fn_c_try_compile "$LINENO"; then :
4359 ac_cv_prog_cc_c89=$ac_arg
4361 rm -f core conftest.err conftest.$ac_objext
4362 test "x$ac_cv_prog_cc_c89" != "xno" && break
4363 done
4364 rm -f conftest.$ac_ext
4365 CC=$ac_save_CC
4368 # AC_CACHE_VAL
4369 case "x$ac_cv_prog_cc_c89" in
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4372 $as_echo "none needed" >&6; } ;;
4373 xno)
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4375 $as_echo "unsupported" >&6; } ;;
4377 CC="$CC $ac_cv_prog_cc_c89"
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4379 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4380 esac
4381 if test "x$ac_cv_prog_cc_c89" != xno; then :
4385 ac_ext=c
4386 ac_cpp='$CPP $CPPFLAGS'
4387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4391 ac_ext=cpp
4392 ac_cpp='$CXXCPP $CPPFLAGS'
4393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4396 if test -z "$CXX"; then
4397 if test -n "$CCC"; then
4398 CXX=$CCC
4399 else
4400 if test -n "$ac_tool_prefix"; then
4401 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406 $as_echo_n "checking for $ac_word... " >&6; }
4407 if ${ac_cv_prog_CXX+:} false; then :
4408 $as_echo_n "(cached) " >&6
4409 else
4410 if test -n "$CXX"; then
4411 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4412 else
4413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4414 for as_dir in $PATH
4416 IFS=$as_save_IFS
4417 test -z "$as_dir" && as_dir=.
4418 for ac_exec_ext in '' $ac_executable_extensions; do
4419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4420 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 break 2
4424 done
4425 done
4426 IFS=$as_save_IFS
4430 CXX=$ac_cv_prog_CXX
4431 if test -n "$CXX"; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4433 $as_echo "$CXX" >&6; }
4434 else
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4440 test -n "$CXX" && break
4441 done
4443 if test -z "$CXX"; then
4444 ac_ct_CXX=$CXX
4445 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4447 # Extract the first word of "$ac_prog", so it can be a program name with args.
4448 set dummy $ac_prog; ac_word=$2
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4450 $as_echo_n "checking for $ac_word... " >&6; }
4451 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4452 $as_echo_n "(cached) " >&6
4453 else
4454 if test -n "$ac_ct_CXX"; then
4455 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4456 else
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4458 for as_dir in $PATH
4460 IFS=$as_save_IFS
4461 test -z "$as_dir" && as_dir=.
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4464 ac_cv_prog_ac_ct_CXX="$ac_prog"
4465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 break 2
4468 done
4469 done
4470 IFS=$as_save_IFS
4474 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4475 if test -n "$ac_ct_CXX"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4477 $as_echo "$ac_ct_CXX" >&6; }
4478 else
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4484 test -n "$ac_ct_CXX" && break
4485 done
4487 if test "x$ac_ct_CXX" = x; then
4488 CXX="g++"
4489 else
4490 case $cross_compiling:$ac_tool_warned in
4491 yes:)
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4494 ac_tool_warned=yes ;;
4495 esac
4496 CXX=$ac_ct_CXX
4502 # Provide some information about the compiler.
4503 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4504 set X $ac_compile
4505 ac_compiler=$2
4506 for ac_option in --version -v -V -qversion; do
4507 { { ac_try="$ac_compiler $ac_option >&5"
4508 case "(($ac_try" in
4509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4510 *) ac_try_echo=$ac_try;;
4511 esac
4512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4513 $as_echo "$ac_try_echo"; } >&5
4514 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4515 ac_status=$?
4516 if test -s conftest.err; then
4517 sed '10a\
4518 ... rest of stderr output deleted ...
4519 10q' conftest.err >conftest.er1
4520 cat conftest.er1 >&5
4522 rm -f conftest.er1 conftest.err
4523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4524 test $ac_status = 0; }
4525 done
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4528 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4529 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4530 $as_echo_n "(cached) " >&6
4531 else
4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4536 main ()
4538 #ifndef __GNUC__
4539 choke me
4540 #endif
4543 return 0;
4545 _ACEOF
4546 if ac_fn_cxx_try_compile "$LINENO"; then :
4547 ac_compiler_gnu=yes
4548 else
4549 ac_compiler_gnu=no
4551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4552 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4556 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4557 if test $ac_compiler_gnu = yes; then
4558 GXX=yes
4559 else
4560 GXX=
4562 ac_test_CXXFLAGS=${CXXFLAGS+set}
4563 ac_save_CXXFLAGS=$CXXFLAGS
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4565 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4566 if ${ac_cv_prog_cxx_g+:} false; then :
4567 $as_echo_n "(cached) " >&6
4568 else
4569 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4570 ac_cxx_werror_flag=yes
4571 ac_cv_prog_cxx_g=no
4572 CXXFLAGS="-g"
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4577 main ()
4581 return 0;
4583 _ACEOF
4584 if ac_fn_cxx_try_compile "$LINENO"; then :
4585 ac_cv_prog_cxx_g=yes
4586 else
4587 CXXFLAGS=""
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4592 main ()
4596 return 0;
4598 _ACEOF
4599 if ac_fn_cxx_try_compile "$LINENO"; then :
4601 else
4602 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4603 CXXFLAGS="-g"
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4608 main ()
4612 return 0;
4614 _ACEOF
4615 if ac_fn_cxx_try_compile "$LINENO"; then :
4616 ac_cv_prog_cxx_g=yes
4618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4626 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4627 if test "$ac_test_CXXFLAGS" = set; then
4628 CXXFLAGS=$ac_save_CXXFLAGS
4629 elif test $ac_cv_prog_cxx_g = yes; then
4630 if test "$GXX" = yes; then
4631 CXXFLAGS="-g -O2"
4632 else
4633 CXXFLAGS="-g"
4635 else
4636 if test "$GXX" = yes; then
4637 CXXFLAGS="-O2"
4638 else
4639 CXXFLAGS=
4642 ac_ext=c
4643 ac_cpp='$CPP $CPPFLAGS'
4644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4648 if test -n "$ac_tool_prefix"; then
4649 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4650 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if ${ac_cv_prog_CPPBIN+:} false; then :
4654 $as_echo_n "(cached) " >&6
4655 else
4656 if test -n "$CPPBIN"; then
4657 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4658 else
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 for as_dir in $PATH
4662 IFS=$as_save_IFS
4663 test -z "$as_dir" && as_dir=.
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 break 2
4670 done
4671 done
4672 IFS=$as_save_IFS
4676 CPPBIN=$ac_cv_prog_CPPBIN
4677 if test -n "$CPPBIN"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4679 $as_echo "$CPPBIN" >&6; }
4680 else
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4687 if test -z "$ac_cv_prog_CPPBIN"; then
4688 ac_ct_CPPBIN=$CPPBIN
4689 # Extract the first word of "cpp", so it can be a program name with args.
4690 set dummy cpp; ac_word=$2
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4692 $as_echo_n "checking for $ac_word... " >&6; }
4693 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4694 $as_echo_n "(cached) " >&6
4695 else
4696 if test -n "$ac_ct_CPPBIN"; then
4697 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4698 else
4699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700 for as_dir in $PATH
4702 IFS=$as_save_IFS
4703 test -z "$as_dir" && as_dir=.
4704 for ac_exec_ext in '' $ac_executable_extensions; do
4705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4706 ac_cv_prog_ac_ct_CPPBIN="cpp"
4707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4708 break 2
4710 done
4711 done
4712 IFS=$as_save_IFS
4716 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4717 if test -n "$ac_ct_CPPBIN"; then
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4719 $as_echo "$ac_ct_CPPBIN" >&6; }
4720 else
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4722 $as_echo "no" >&6; }
4725 if test "x$ac_ct_CPPBIN" = x; then
4726 CPPBIN="cpp"
4727 else
4728 case $cross_compiling:$ac_tool_warned in
4729 yes:)
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4732 ac_tool_warned=yes ;;
4733 esac
4734 CPPBIN=$ac_ct_CPPBIN
4736 else
4737 CPPBIN="$ac_cv_prog_CPPBIN"
4741 cat >>confdefs.h <<_ACEOF
4742 #define EXEEXT "$ac_exeext"
4743 _ACEOF
4745 if test -n "$ac_tool_prefix"; then
4746 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4747 set dummy ${ac_tool_prefix}ld; ac_word=$2
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4749 $as_echo_n "checking for $ac_word... " >&6; }
4750 if ${ac_cv_prog_LD+:} false; then :
4751 $as_echo_n "(cached) " >&6
4752 else
4753 if test -n "$LD"; then
4754 ac_cv_prog_LD="$LD" # Let the user override the test.
4755 else
4756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 for as_dir in $PATH
4759 IFS=$as_save_IFS
4760 test -z "$as_dir" && as_dir=.
4761 for ac_exec_ext in '' $ac_executable_extensions; do
4762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4763 ac_cv_prog_LD="${ac_tool_prefix}ld"
4764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4765 break 2
4767 done
4768 done
4769 IFS=$as_save_IFS
4773 LD=$ac_cv_prog_LD
4774 if test -n "$LD"; then
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4776 $as_echo "$LD" >&6; }
4777 else
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779 $as_echo "no" >&6; }
4784 if test -z "$ac_cv_prog_LD"; then
4785 ac_ct_LD=$LD
4786 # Extract the first word of "ld", so it can be a program name with args.
4787 set dummy ld; ac_word=$2
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4789 $as_echo_n "checking for $ac_word... " >&6; }
4790 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4791 $as_echo_n "(cached) " >&6
4792 else
4793 if test -n "$ac_ct_LD"; then
4794 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4795 else
4796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4797 for as_dir in $PATH
4799 IFS=$as_save_IFS
4800 test -z "$as_dir" && as_dir=.
4801 for ac_exec_ext in '' $ac_executable_extensions; do
4802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4803 ac_cv_prog_ac_ct_LD="ld"
4804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 break 2
4807 done
4808 done
4809 IFS=$as_save_IFS
4813 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4814 if test -n "$ac_ct_LD"; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4816 $as_echo "$ac_ct_LD" >&6; }
4817 else
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4822 if test "x$ac_ct_LD" = x; then
4823 LD=""
4824 else
4825 case $cross_compiling:$ac_tool_warned in
4826 yes:)
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4829 ac_tool_warned=yes ;;
4830 esac
4831 LD=$ac_ct_LD
4833 else
4834 LD="$ac_cv_prog_LD"
4838 case $host in
4839 *-darwin*)
4840 if test "x$enable_win64" = "xyes"
4841 then
4842 CC="$CC -m64"
4843 CXX="$CXX -m64"
4844 host_cpu="x86_64"
4845 notice_platform="64-bit "
4846 TARGETFLAGS="-m64"
4848 else
4849 CC="$CC -m32"
4850 CXX="$CXX -m32"
4851 host_cpu="i386"
4852 notice_platform="32-bit "
4853 TARGETFLAGS="-m32"
4855 enable_win16=${enable_win16:-yes}
4857 with_fontconfig=${with_fontconfig:-no}
4859 x86_64*)
4860 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4861 then
4862 CC="$CC -m32"
4863 CXX="$CXX -m32"
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4865 $as_echo_n "checking whether $CC works... " >&6; }
4867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4868 /* end confdefs.h. */
4871 main ()
4875 return 0;
4877 _ACEOF
4878 if ac_fn_c_try_link "$LINENO"; then :
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4880 $as_echo "yes" >&6; }
4881 else
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883 $as_echo "no" >&6; }
4884 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4886 rm -f core conftest.err conftest.$ac_objext \
4887 conftest$ac_exeext conftest.$ac_ext
4888 host_cpu="i386"
4889 notice_platform="32-bit "
4890 TARGETFLAGS="-m32"
4892 enable_win16=${enable_win16:-yes}
4893 else
4894 if test "x${GCC}" = "xyes"
4895 then
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4897 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4900 #include <stdarg.h>
4902 main ()
4904 void func(__builtin_ms_va_list *args);
4906 return 0;
4908 _ACEOF
4909 if ac_fn_c_try_compile "$LINENO"; then :
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4911 $as_echo "yes" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4915 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4919 TARGETFLAGS="-m64"
4923 arm*)
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4925 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4928 int ac_test(int i) { return i; }
4930 main ()
4932 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4934 return 0;
4936 _ACEOF
4937 if ac_fn_c_try_link "$LINENO"; then :
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4939 $as_echo "yes" >&6; }
4940 else
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4943 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4945 rm -f core conftest.err conftest.$ac_objext \
4946 conftest$ac_exeext conftest.$ac_ext
4947 CFLAGS="$CFLAGS -marm"
4948 TARGETFLAGS="-marm"
4951 *-mingw32*|*-cygwin*)
4952 enable_win16=${enable_win16:-no}
4953 CFLAGS="$CFLAGS -D_WIN32"
4955 i[3456789]86*)
4956 enable_win16=${enable_win16:-yes}
4958 esac
4960 enable_win16=${enable_win16:-no}
4961 enable_win64=${enable_win64:-no}
4963 enable_winetest=${enable_winetest:-$enable_tests}
4965 if test -n "$with_wine64"
4966 then
4967 if test "x$enable_win64" = "xyes"
4968 then
4969 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4970 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4972 enable_fonts=${enable_fonts:-no}
4973 enable_server=${enable_server:-no}
4974 elif test "x$enable_win64" = "xyes"
4975 then
4976 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4980 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4981 if ${wine_cv_toolsdir+:} false; then :
4982 $as_echo_n "(cached) " >&6
4983 else
4984 wine_cv_toolsdir="$with_wine_tools"
4985 if test -z "$with_wine_tools"; then
4986 if test "$cross_compiling" = "yes"; then
4987 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4988 elif test -n "$with_wine64"; then
4989 wine_cv_toolsdir="$with_wine64"
4992 if test -z "$wine_cv_toolsdir"; then
4993 wine_makedep=tools/makedep
4994 wine_cv_toolsdir="\$(top_builddir)"
4995 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4996 wine_makedep=$wine_cv_toolsdir/tools/makedep
4997 case "$wine_cv_toolsdir" in
4998 /*) ;;
4999 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5000 esac
5001 enable_tools=${enable_tools:-no}
5002 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5003 else
5004 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5008 $as_echo "$wine_cv_toolsdir" >&6; }
5009 TOOLSDIR=$wine_cv_toolsdir
5011 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5012 then
5013 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5017 for ac_prog in flex
5019 # Extract the first word of "$ac_prog", so it can be a program name with args.
5020 set dummy $ac_prog; ac_word=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_FLEX+:} false; then :
5024 $as_echo_n "(cached) " >&6
5025 else
5026 if test -n "$FLEX"; then
5027 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5028 else
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 for as_dir in $PATH
5032 IFS=$as_save_IFS
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_FLEX="$ac_prog"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 break 2
5040 done
5041 done
5042 IFS=$as_save_IFS
5046 FLEX=$ac_cv_prog_FLEX
5047 if test -n "$FLEX"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5049 $as_echo "$FLEX" >&6; }
5050 else
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5056 test -n "$FLEX" && break
5057 done
5058 test -n "$FLEX" || FLEX="none"
5060 if test "$FLEX" = "none"
5061 then
5062 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5065 $as_echo_n "checking whether flex is recent enough... " >&6; }
5066 cat >conftest.l <<EOF
5067 %top{
5068 #include "prediluvian.h"
5072 if $FLEX -t conftest.l >/dev/null 2>&5
5073 then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5075 $as_echo "yes" >&6; }
5076 else
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5079 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5082 for ac_prog in bison
5084 # Extract the first word of "$ac_prog", so it can be a program name with args.
5085 set dummy $ac_prog; ac_word=$2
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if ${ac_cv_prog_BISON+:} false; then :
5089 $as_echo_n "(cached) " >&6
5090 else
5091 if test -n "$BISON"; then
5092 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5093 else
5094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 for as_dir in $PATH
5097 IFS=$as_save_IFS
5098 test -z "$as_dir" && as_dir=.
5099 for ac_exec_ext in '' $ac_executable_extensions; do
5100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5101 ac_cv_prog_BISON="$ac_prog"
5102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5103 break 2
5105 done
5106 done
5107 IFS=$as_save_IFS
5111 BISON=$ac_cv_prog_BISON
5112 if test -n "$BISON"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5114 $as_echo "$BISON" >&6; }
5115 else
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 $as_echo "no" >&6; }
5121 test -n "$BISON" && break
5122 done
5123 test -n "$BISON" || BISON="none"
5125 if test "$BISON" = "none"
5126 then
5127 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5130 if test -n "$ac_tool_prefix"; then
5131 for ac_prog in ar gar
5133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if ${ac_cv_prog_AR+:} false; then :
5138 $as_echo_n "(cached) " >&6
5139 else
5140 if test -n "$AR"; then
5141 ac_cv_prog_AR="$AR" # Let the user override the test.
5142 else
5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144 for as_dir in $PATH
5146 IFS=$as_save_IFS
5147 test -z "$as_dir" && as_dir=.
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 break 2
5154 done
5155 done
5156 IFS=$as_save_IFS
5160 AR=$ac_cv_prog_AR
5161 if test -n "$AR"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5163 $as_echo "$AR" >&6; }
5164 else
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5170 test -n "$AR" && break
5171 done
5173 if test -z "$AR"; then
5174 ac_ct_AR=$AR
5175 for ac_prog in ar gar
5177 # Extract the first word of "$ac_prog", so it can be a program name with args.
5178 set dummy $ac_prog; ac_word=$2
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5180 $as_echo_n "checking for $ac_word... " >&6; }
5181 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5182 $as_echo_n "(cached) " >&6
5183 else
5184 if test -n "$ac_ct_AR"; then
5185 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5186 else
5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 for as_dir in $PATH
5190 IFS=$as_save_IFS
5191 test -z "$as_dir" && as_dir=.
5192 for ac_exec_ext in '' $ac_executable_extensions; do
5193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5194 ac_cv_prog_ac_ct_AR="$ac_prog"
5195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5196 break 2
5198 done
5199 done
5200 IFS=$as_save_IFS
5204 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5205 if test -n "$ac_ct_AR"; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5207 $as_echo "$ac_ct_AR" >&6; }
5208 else
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5210 $as_echo "no" >&6; }
5214 test -n "$ac_ct_AR" && break
5215 done
5217 if test "x$ac_ct_AR" = x; then
5218 AR="ar"
5219 else
5220 case $cross_compiling:$ac_tool_warned in
5221 yes:)
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5224 ac_tool_warned=yes ;;
5225 esac
5226 AR=$ac_ct_AR
5230 if test -n "$ac_tool_prefix"; then
5231 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5232 set dummy ${ac_tool_prefix}strip; ac_word=$2
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5234 $as_echo_n "checking for $ac_word... " >&6; }
5235 if ${ac_cv_prog_STRIP+:} false; then :
5236 $as_echo_n "(cached) " >&6
5237 else
5238 if test -n "$STRIP"; then
5239 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5240 else
5241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242 for as_dir in $PATH
5244 IFS=$as_save_IFS
5245 test -z "$as_dir" && as_dir=.
5246 for ac_exec_ext in '' $ac_executable_extensions; do
5247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5248 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 break 2
5252 done
5253 done
5254 IFS=$as_save_IFS
5258 STRIP=$ac_cv_prog_STRIP
5259 if test -n "$STRIP"; then
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5261 $as_echo "$STRIP" >&6; }
5262 else
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5264 $as_echo "no" >&6; }
5269 if test -z "$ac_cv_prog_STRIP"; then
5270 ac_ct_STRIP=$STRIP
5271 # Extract the first word of "strip", so it can be a program name with args.
5272 set dummy strip; ac_word=$2
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5274 $as_echo_n "checking for $ac_word... " >&6; }
5275 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5276 $as_echo_n "(cached) " >&6
5277 else
5278 if test -n "$ac_ct_STRIP"; then
5279 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5280 else
5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5282 for as_dir in $PATH
5284 IFS=$as_save_IFS
5285 test -z "$as_dir" && as_dir=.
5286 for ac_exec_ext in '' $ac_executable_extensions; do
5287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5288 ac_cv_prog_ac_ct_STRIP="strip"
5289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5290 break 2
5292 done
5293 done
5294 IFS=$as_save_IFS
5298 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5299 if test -n "$ac_ct_STRIP"; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5301 $as_echo "$ac_ct_STRIP" >&6; }
5302 else
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5304 $as_echo "no" >&6; }
5307 if test "x$ac_ct_STRIP" = x; then
5308 STRIP="strip"
5309 else
5310 case $cross_compiling:$ac_tool_warned in
5311 yes:)
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5314 ac_tool_warned=yes ;;
5315 esac
5316 STRIP=$ac_ct_STRIP
5318 else
5319 STRIP="$ac_cv_prog_STRIP"
5322 ARFLAGS=rc
5324 if test -n "$ac_tool_prefix"; then
5325 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5326 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328 $as_echo_n "checking for $ac_word... " >&6; }
5329 if ${ac_cv_prog_RANLIB+:} false; then :
5330 $as_echo_n "(cached) " >&6
5331 else
5332 if test -n "$RANLIB"; then
5333 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5334 else
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5336 for as_dir in $PATH
5338 IFS=$as_save_IFS
5339 test -z "$as_dir" && as_dir=.
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5342 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 break 2
5346 done
5347 done
5348 IFS=$as_save_IFS
5352 RANLIB=$ac_cv_prog_RANLIB
5353 if test -n "$RANLIB"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5355 $as_echo "$RANLIB" >&6; }
5356 else
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5363 if test -z "$ac_cv_prog_RANLIB"; then
5364 ac_ct_RANLIB=$RANLIB
5365 # Extract the first word of "ranlib", so it can be a program name with args.
5366 set dummy ranlib; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5370 $as_echo_n "(cached) " >&6
5371 else
5372 if test -n "$ac_ct_RANLIB"; then
5373 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5374 else
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 for as_dir in $PATH
5378 IFS=$as_save_IFS
5379 test -z "$as_dir" && as_dir=.
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5382 ac_cv_prog_ac_ct_RANLIB="ranlib"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 break 2
5386 done
5387 done
5388 IFS=$as_save_IFS
5392 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5393 if test -n "$ac_ct_RANLIB"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5395 $as_echo "$ac_ct_RANLIB" >&6; }
5396 else
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5401 if test "x$ac_ct_RANLIB" = x; then
5402 RANLIB=":"
5403 else
5404 case $cross_compiling:$ac_tool_warned in
5405 yes:)
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5408 ac_tool_warned=yes ;;
5409 esac
5410 RANLIB=$ac_ct_RANLIB
5412 else
5413 RANLIB="$ac_cv_prog_RANLIB"
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5417 $as_echo_n "checking whether ln -s works... " >&6; }
5418 LN_S=$as_ln_s
5419 if test "$LN_S" = "ln -s"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5421 $as_echo "yes" >&6; }
5422 else
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5424 $as_echo "no, using $LN_S" >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5428 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5429 if ${ac_cv_path_GREP+:} false; then :
5430 $as_echo_n "(cached) " >&6
5431 else
5432 if test -z "$GREP"; then
5433 ac_path_GREP_found=false
5434 # Loop through the user's path and test for each of PROGNAME-LIST
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5438 IFS=$as_save_IFS
5439 test -z "$as_dir" && as_dir=.
5440 for ac_prog in grep ggrep; do
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5443 as_fn_executable_p "$ac_path_GREP" || continue
5444 # Check for GNU ac_path_GREP and select it if it is found.
5445 # Check for GNU $ac_path_GREP
5446 case `"$ac_path_GREP" --version 2>&1` in
5447 *GNU*)
5448 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5450 ac_count=0
5451 $as_echo_n 0123456789 >"conftest.in"
5452 while :
5454 cat "conftest.in" "conftest.in" >"conftest.tmp"
5455 mv "conftest.tmp" "conftest.in"
5456 cp "conftest.in" "conftest.nl"
5457 $as_echo 'GREP' >> "conftest.nl"
5458 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5459 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5460 as_fn_arith $ac_count + 1 && ac_count=$as_val
5461 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5462 # Best one so far, save it but keep looking for a better one
5463 ac_cv_path_GREP="$ac_path_GREP"
5464 ac_path_GREP_max=$ac_count
5466 # 10*(2^10) chars as input seems more than enough
5467 test $ac_count -gt 10 && break
5468 done
5469 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5470 esac
5472 $ac_path_GREP_found && break 3
5473 done
5474 done
5475 done
5476 IFS=$as_save_IFS
5477 if test -z "$ac_cv_path_GREP"; then
5478 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5480 else
5481 ac_cv_path_GREP=$GREP
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5486 $as_echo "$ac_cv_path_GREP" >&6; }
5487 GREP="$ac_cv_path_GREP"
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5491 $as_echo_n "checking for egrep... " >&6; }
5492 if ${ac_cv_path_EGREP+:} false; then :
5493 $as_echo_n "(cached) " >&6
5494 else
5495 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5496 then ac_cv_path_EGREP="$GREP -E"
5497 else
5498 if test -z "$EGREP"; then
5499 ac_path_EGREP_found=false
5500 # Loop through the user's path and test for each of PROGNAME-LIST
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5504 IFS=$as_save_IFS
5505 test -z "$as_dir" && as_dir=.
5506 for ac_prog in egrep; do
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5509 as_fn_executable_p "$ac_path_EGREP" || continue
5510 # Check for GNU ac_path_EGREP and select it if it is found.
5511 # Check for GNU $ac_path_EGREP
5512 case `"$ac_path_EGREP" --version 2>&1` in
5513 *GNU*)
5514 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5516 ac_count=0
5517 $as_echo_n 0123456789 >"conftest.in"
5518 while :
5520 cat "conftest.in" "conftest.in" >"conftest.tmp"
5521 mv "conftest.tmp" "conftest.in"
5522 cp "conftest.in" "conftest.nl"
5523 $as_echo 'EGREP' >> "conftest.nl"
5524 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5525 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5526 as_fn_arith $ac_count + 1 && ac_count=$as_val
5527 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5528 # Best one so far, save it but keep looking for a better one
5529 ac_cv_path_EGREP="$ac_path_EGREP"
5530 ac_path_EGREP_max=$ac_count
5532 # 10*(2^10) chars as input seems more than enough
5533 test $ac_count -gt 10 && break
5534 done
5535 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5536 esac
5538 $ac_path_EGREP_found && break 3
5539 done
5540 done
5541 done
5542 IFS=$as_save_IFS
5543 if test -z "$ac_cv_path_EGREP"; then
5544 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5546 else
5547 ac_cv_path_EGREP=$EGREP
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5553 $as_echo "$ac_cv_path_EGREP" >&6; }
5554 EGREP="$ac_cv_path_EGREP"
5557 # Extract the first word of "ldconfig", so it can be a program name with args.
5558 set dummy ldconfig; ac_word=$2
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560 $as_echo_n "checking for $ac_word... " >&6; }
5561 if ${ac_cv_path_LDCONFIG+:} false; then :
5562 $as_echo_n "(cached) " >&6
5563 else
5564 case $LDCONFIG in
5565 [\\/]* | ?:[\\/]*)
5566 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 for as_dir in /sbin /usr/sbin $PATH
5572 IFS=$as_save_IFS
5573 test -z "$as_dir" && as_dir=.
5574 for ac_exec_ext in '' $ac_executable_extensions; do
5575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 break 2
5580 done
5581 done
5582 IFS=$as_save_IFS
5584 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5586 esac
5588 LDCONFIG=$ac_cv_path_LDCONFIG
5589 if test -n "$LDCONFIG"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5591 $as_echo "$LDCONFIG" >&6; }
5592 else
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5598 for ac_prog in msgfmt
5600 # Extract the first word of "$ac_prog", so it can be a program name with args.
5601 set dummy $ac_prog; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_MSGFMT+:} false; then :
5605 $as_echo_n "(cached) " >&6
5606 else
5607 if test -n "$MSGFMT"; then
5608 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5609 else
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $PATH
5613 IFS=$as_save_IFS
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5617 ac_cv_prog_MSGFMT="$ac_prog"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619 break 2
5621 done
5622 done
5623 IFS=$as_save_IFS
5627 MSGFMT=$ac_cv_prog_MSGFMT
5628 if test -n "$MSGFMT"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5630 $as_echo "$MSGFMT" >&6; }
5631 else
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5637 test -n "$MSGFMT" && break
5638 done
5639 test -n "$MSGFMT" || MSGFMT="false"
5641 if ${ac_tool_prefix+:} false; then :
5642 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5643 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5645 $as_echo_n "checking for $ac_word... " >&6; }
5646 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 if test -n "$PKG_CONFIG"; then
5650 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5651 else
5652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 for as_dir in $PATH
5655 IFS=$as_save_IFS
5656 test -z "$as_dir" && as_dir=.
5657 for ac_exec_ext in '' $ac_executable_extensions; do
5658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5659 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 break 2
5663 done
5664 done
5665 IFS=$as_save_IFS
5669 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5670 if test -n "$PKG_CONFIG"; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5672 $as_echo "$PKG_CONFIG" >&6; }
5673 else
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5675 $as_echo "no" >&6; }
5680 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5681 if test "x$cross_compiling" = xyes; then :
5683 else
5684 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5685 # Extract the first word of "pkg-config", so it can be a program name with args.
5686 set dummy pkg-config; ac_word=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5690 $as_echo_n "(cached) " >&6
5691 else
5692 if test -n "$PKG_CONFIG"; then
5693 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5694 else
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 for as_dir in $PATH
5698 IFS=$as_save_IFS
5699 test -z "$as_dir" && as_dir=.
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_PKG_CONFIG="pkg-config"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 break 2
5706 done
5707 done
5708 IFS=$as_save_IFS
5712 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5713 if test -n "$PKG_CONFIG"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5715 $as_echo "$PKG_CONFIG" >&6; }
5716 else
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5723 else
5724 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5727 if test "x$enable_maintainer_mode" != "xyes"
5728 then
5729 FONTFORGE=""
5730 RSVG=""
5731 CONVERT=""
5732 ICOTOOL=""
5733 else
5734 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5735 for ac_prog in fontforge
5737 # Extract the first word of "$ac_prog", so it can be a program name with args.
5738 set dummy $ac_prog; ac_word=$2
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5740 $as_echo_n "checking for $ac_word... " >&6; }
5741 if ${ac_cv_prog_FONTFORGE+:} false; then :
5742 $as_echo_n "(cached) " >&6
5743 else
5744 if test -n "$FONTFORGE"; then
5745 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5746 else
5747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748 for as_dir in $PATH
5750 IFS=$as_save_IFS
5751 test -z "$as_dir" && as_dir=.
5752 for ac_exec_ext in '' $ac_executable_extensions; do
5753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5754 ac_cv_prog_FONTFORGE="$ac_prog"
5755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 break 2
5758 done
5759 done
5760 IFS=$as_save_IFS
5764 FONTFORGE=$ac_cv_prog_FONTFORGE
5765 if test -n "$FONTFORGE"; then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5767 $as_echo "$FONTFORGE" >&6; }
5768 else
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770 $as_echo "no" >&6; }
5774 test -n "$FONTFORGE" && break
5775 done
5776 test -n "$FONTFORGE" || FONTFORGE="false"
5778 for ac_prog in rsvg-convert rsvg
5780 # Extract the first word of "$ac_prog", so it can be a program name with args.
5781 set dummy $ac_prog; ac_word=$2
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5783 $as_echo_n "checking for $ac_word... " >&6; }
5784 if ${ac_cv_prog_RSVG+:} false; then :
5785 $as_echo_n "(cached) " >&6
5786 else
5787 if test -n "$RSVG"; then
5788 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5789 else
5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791 for as_dir in $PATH
5793 IFS=$as_save_IFS
5794 test -z "$as_dir" && as_dir=.
5795 for ac_exec_ext in '' $ac_executable_extensions; do
5796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5797 ac_cv_prog_RSVG="$ac_prog"
5798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5799 break 2
5801 done
5802 done
5803 IFS=$as_save_IFS
5807 RSVG=$ac_cv_prog_RSVG
5808 if test -n "$RSVG"; then
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5810 $as_echo "$RSVG" >&6; }
5811 else
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813 $as_echo "no" >&6; }
5817 test -n "$RSVG" && break
5818 done
5819 test -n "$RSVG" || RSVG="false"
5821 for ac_prog in convert
5823 # Extract the first word of "$ac_prog", so it can be a program name with args.
5824 set dummy $ac_prog; ac_word=$2
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5826 $as_echo_n "checking for $ac_word... " >&6; }
5827 if ${ac_cv_prog_CONVERT+:} false; then :
5828 $as_echo_n "(cached) " >&6
5829 else
5830 if test -n "$CONVERT"; then
5831 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5832 else
5833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5834 for as_dir in $PATH
5836 IFS=$as_save_IFS
5837 test -z "$as_dir" && as_dir=.
5838 for ac_exec_ext in '' $ac_executable_extensions; do
5839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5840 ac_cv_prog_CONVERT="$ac_prog"
5841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 break 2
5844 done
5845 done
5846 IFS=$as_save_IFS
5850 CONVERT=$ac_cv_prog_CONVERT
5851 if test -n "$CONVERT"; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5853 $as_echo "$CONVERT" >&6; }
5854 else
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856 $as_echo "no" >&6; }
5860 test -n "$CONVERT" && break
5861 done
5862 test -n "$CONVERT" || CONVERT="false"
5864 for ac_prog in icotool
5866 # Extract the first word of "$ac_prog", so it can be a program name with args.
5867 set dummy $ac_prog; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_ICOTOOL+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 if test -n "$ICOTOOL"; then
5874 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_ICOTOOL="$ac_prog"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 ICOTOOL=$ac_cv_prog_ICOTOOL
5894 if test -n "$ICOTOOL"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5896 $as_echo "$ICOTOOL" >&6; }
5897 else
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5903 test -n "$ICOTOOL" && break
5904 done
5905 test -n "$ICOTOOL" || ICOTOOL="false"
5907 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5908 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5910 if test "$CONVERT" = false
5911 then
5912 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5913 else
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5915 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5916 convert_version=`convert --version | head -n1`
5917 if test "x$convert_version" != "x"
5918 then
5919 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5920 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5921 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5922 then
5923 CONVERT=false
5926 if test "$CONVERT" = false
5927 then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5929 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5930 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5933 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5937 if test "$ICOTOOL" = false
5938 then
5939 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5942 $as_echo_n "checking for recent enough icotool... " >&6; }
5943 icotool_version=`icotool --version | head -n1`
5944 if test "x$icotool_version" != "x"
5945 then
5946 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5947 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5948 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5949 then
5950 ICOTOOL=false
5951 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5954 if test "$ICOTOOL" = false
5955 then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5957 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5958 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5959 else
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5961 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5965 with_gettext=yes
5966 with_gettextpo=yes
5967 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5970 test "x$with_gettext" != xno || MSGFMT=false
5971 if test "$MSGFMT" != "false"
5972 then
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5974 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5975 cat >conftest.po <<EOF
5976 # comment
5977 msgctxt "ctxt"
5978 msgid "id"
5979 msgstr "str"
5981 if $MSGFMT -o /dev/null conftest.po 2>&5
5982 then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5984 $as_echo "yes" >&6; }
5985 else
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5988 MSGFMT=false
5991 if test "$MSGFMT" = false; then :
5992 case "x$with_gettext" in
5993 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5994 xno) ;;
5995 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5996 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5997 esac
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6002 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6003 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6004 $as_echo_n "(cached) " >&6
6005 else
6006 ac_check_lib_save_LIBS=$LIBS
6007 LIBS="-li386 $LIBS"
6008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6009 /* end confdefs.h. */
6011 /* Override any GCC internal prototype to avoid an error.
6012 Use char because int might match the return type of a GCC
6013 builtin and then its argument prototype would still apply. */
6014 #ifdef __cplusplus
6015 extern "C"
6016 #endif
6017 char i386_set_ldt ();
6019 main ()
6021 return i386_set_ldt ();
6023 return 0;
6025 _ACEOF
6026 if ac_fn_c_try_link "$LINENO"; then :
6027 ac_cv_lib_i386_i386_set_ldt=yes
6028 else
6029 ac_cv_lib_i386_i386_set_ldt=no
6031 rm -f core conftest.err conftest.$ac_objext \
6032 conftest$ac_exeext conftest.$ac_ext
6033 LIBS=$ac_check_lib_save_LIBS
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6036 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6037 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6038 cat >>confdefs.h <<_ACEOF
6039 #define HAVE_LIBI386 1
6040 _ACEOF
6042 LIBS="-li386 $LIBS"
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6047 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6048 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6049 $as_echo_n "(cached) " >&6
6050 else
6051 ac_check_lib_save_LIBS=$LIBS
6052 LIBS="-lossaudio $LIBS"
6053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6054 /* end confdefs.h. */
6056 /* Override any GCC internal prototype to avoid an error.
6057 Use char because int might match the return type of a GCC
6058 builtin and then its argument prototype would still apply. */
6059 #ifdef __cplusplus
6060 extern "C"
6061 #endif
6062 char _oss_ioctl ();
6064 main ()
6066 return _oss_ioctl ();
6068 return 0;
6070 _ACEOF
6071 if ac_fn_c_try_link "$LINENO"; then :
6072 ac_cv_lib_ossaudio__oss_ioctl=yes
6073 else
6074 ac_cv_lib_ossaudio__oss_ioctl=no
6076 rm -f core conftest.err conftest.$ac_objext \
6077 conftest$ac_exeext conftest.$ac_ext
6078 LIBS=$ac_check_lib_save_LIBS
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6081 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6082 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6083 cat >>confdefs.h <<_ACEOF
6084 #define HAVE_LIBOSSAUDIO 1
6085 _ACEOF
6087 LIBS="-lossaudio $LIBS"
6092 OPENGL_LIBS=""
6096 # Check whether --enable-largefile was given.
6097 if test "${enable_largefile+set}" = set; then :
6098 enableval=$enable_largefile;
6101 if test "$enable_largefile" != no; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6104 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6105 if ${ac_cv_sys_largefile_CC+:} false; then :
6106 $as_echo_n "(cached) " >&6
6107 else
6108 ac_cv_sys_largefile_CC=no
6109 if test "$GCC" != yes; then
6110 ac_save_CC=$CC
6111 while :; do
6112 # IRIX 6.2 and later do not support large files by default,
6113 # so use the C compiler's -n32 option if that helps.
6114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h. */
6116 #include <sys/types.h>
6117 /* Check that off_t can represent 2**63 - 1 correctly.
6118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6119 since some C++ compilers masquerading as C compilers
6120 incorrectly reject 9223372036854775807. */
6121 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6123 && LARGE_OFF_T % 2147483647 == 1)
6124 ? 1 : -1];
6126 main ()
6130 return 0;
6132 _ACEOF
6133 if ac_fn_c_try_compile "$LINENO"; then :
6134 break
6136 rm -f core conftest.err conftest.$ac_objext
6137 CC="$CC -n32"
6138 if ac_fn_c_try_compile "$LINENO"; then :
6139 ac_cv_sys_largefile_CC=' -n32'; break
6141 rm -f core conftest.err conftest.$ac_objext
6142 break
6143 done
6144 CC=$ac_save_CC
6145 rm -f conftest.$ac_ext
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6149 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6150 if test "$ac_cv_sys_largefile_CC" != no; then
6151 CC=$CC$ac_cv_sys_largefile_CC
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6155 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6156 if ${ac_cv_sys_file_offset_bits+:} false; then :
6157 $as_echo_n "(cached) " >&6
6158 else
6159 while :; do
6160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6161 /* end confdefs.h. */
6162 #include <sys/types.h>
6163 /* Check that off_t can represent 2**63 - 1 correctly.
6164 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6165 since some C++ compilers masquerading as C compilers
6166 incorrectly reject 9223372036854775807. */
6167 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6168 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6169 && LARGE_OFF_T % 2147483647 == 1)
6170 ? 1 : -1];
6172 main ()
6176 return 0;
6178 _ACEOF
6179 if ac_fn_c_try_compile "$LINENO"; then :
6180 ac_cv_sys_file_offset_bits=no; break
6182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6185 #define _FILE_OFFSET_BITS 64
6186 #include <sys/types.h>
6187 /* Check that off_t can represent 2**63 - 1 correctly.
6188 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6189 since some C++ compilers masquerading as C compilers
6190 incorrectly reject 9223372036854775807. */
6191 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6192 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6193 && LARGE_OFF_T % 2147483647 == 1)
6194 ? 1 : -1];
6196 main ()
6200 return 0;
6202 _ACEOF
6203 if ac_fn_c_try_compile "$LINENO"; then :
6204 ac_cv_sys_file_offset_bits=64; break
6206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6207 ac_cv_sys_file_offset_bits=unknown
6208 break
6209 done
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6212 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6213 case $ac_cv_sys_file_offset_bits in #(
6214 no | unknown) ;;
6216 cat >>confdefs.h <<_ACEOF
6217 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6218 _ACEOF
6220 esac
6221 rm -rf conftest*
6222 if test $ac_cv_sys_file_offset_bits = unknown; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6224 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6225 if ${ac_cv_sys_large_files+:} false; then :
6226 $as_echo_n "(cached) " >&6
6227 else
6228 while :; do
6229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6231 #include <sys/types.h>
6232 /* Check that off_t can represent 2**63 - 1 correctly.
6233 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6234 since some C++ compilers masquerading as C compilers
6235 incorrectly reject 9223372036854775807. */
6236 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6237 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6238 && LARGE_OFF_T % 2147483647 == 1)
6239 ? 1 : -1];
6241 main ()
6245 return 0;
6247 _ACEOF
6248 if ac_fn_c_try_compile "$LINENO"; then :
6249 ac_cv_sys_large_files=no; break
6251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6253 /* end confdefs.h. */
6254 #define _LARGE_FILES 1
6255 #include <sys/types.h>
6256 /* Check that off_t can represent 2**63 - 1 correctly.
6257 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6258 since some C++ compilers masquerading as C compilers
6259 incorrectly reject 9223372036854775807. */
6260 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6261 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6262 && LARGE_OFF_T % 2147483647 == 1)
6263 ? 1 : -1];
6265 main ()
6269 return 0;
6271 _ACEOF
6272 if ac_fn_c_try_compile "$LINENO"; then :
6273 ac_cv_sys_large_files=1; break
6275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6276 ac_cv_sys_large_files=unknown
6277 break
6278 done
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6281 $as_echo "$ac_cv_sys_large_files" >&6; }
6282 case $ac_cv_sys_large_files in #(
6283 no | unknown) ;;
6285 cat >>confdefs.h <<_ACEOF
6286 #define _LARGE_FILES $ac_cv_sys_large_files
6287 _ACEOF
6289 esac
6290 rm -rf conftest*
6297 ac_ext=c
6298 ac_cpp='$CPP $CPPFLAGS'
6299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6303 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6304 # On Suns, sometimes $CPP names a directory.
6305 if test -n "$CPP" && test -d "$CPP"; then
6306 CPP=
6308 if test -z "$CPP"; then
6309 if ${ac_cv_prog_CPP+:} false; then :
6310 $as_echo_n "(cached) " >&6
6311 else
6312 # Double quotes because CPP needs to be expanded
6313 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6315 ac_preproc_ok=false
6316 for ac_c_preproc_warn_flag in '' yes
6318 # Use a header file that comes with gcc, so configuring glibc
6319 # with a fresh cross-compiler works.
6320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6321 # <limits.h> exists even on freestanding compilers.
6322 # On the NeXT, cc -E runs the code through the compiler's parser,
6323 # not just through cpp. "Syntax error" is here to catch this case.
6324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6326 #ifdef __STDC__
6327 # include <limits.h>
6328 #else
6329 # include <assert.h>
6330 #endif
6331 Syntax error
6332 _ACEOF
6333 if ac_fn_c_try_cpp "$LINENO"; then :
6335 else
6336 # Broken: fails on valid input.
6337 continue
6339 rm -f conftest.err conftest.i conftest.$ac_ext
6341 # OK, works on sane cases. Now check whether nonexistent headers
6342 # can be detected and how.
6343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6345 #include <ac_nonexistent.h>
6346 _ACEOF
6347 if ac_fn_c_try_cpp "$LINENO"; then :
6348 # Broken: success on invalid input.
6349 continue
6350 else
6351 # Passes both tests.
6352 ac_preproc_ok=:
6353 break
6355 rm -f conftest.err conftest.i conftest.$ac_ext
6357 done
6358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6359 rm -f conftest.i conftest.err conftest.$ac_ext
6360 if $ac_preproc_ok; then :
6361 break
6364 done
6365 ac_cv_prog_CPP=$CPP
6368 CPP=$ac_cv_prog_CPP
6369 else
6370 ac_cv_prog_CPP=$CPP
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6373 $as_echo "$CPP" >&6; }
6374 ac_preproc_ok=false
6375 for ac_c_preproc_warn_flag in '' yes
6377 # Use a header file that comes with gcc, so configuring glibc
6378 # with a fresh cross-compiler works.
6379 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6380 # <limits.h> exists even on freestanding compilers.
6381 # On the NeXT, cc -E runs the code through the compiler's parser,
6382 # not just through cpp. "Syntax error" is here to catch this case.
6383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6385 #ifdef __STDC__
6386 # include <limits.h>
6387 #else
6388 # include <assert.h>
6389 #endif
6390 Syntax error
6391 _ACEOF
6392 if ac_fn_c_try_cpp "$LINENO"; then :
6394 else
6395 # Broken: fails on valid input.
6396 continue
6398 rm -f conftest.err conftest.i conftest.$ac_ext
6400 # OK, works on sane cases. Now check whether nonexistent headers
6401 # can be detected and how.
6402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6403 /* end confdefs.h. */
6404 #include <ac_nonexistent.h>
6405 _ACEOF
6406 if ac_fn_c_try_cpp "$LINENO"; then :
6407 # Broken: success on invalid input.
6408 continue
6409 else
6410 # Passes both tests.
6411 ac_preproc_ok=:
6412 break
6414 rm -f conftest.err conftest.i conftest.$ac_ext
6416 done
6417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6418 rm -f conftest.i conftest.err conftest.$ac_ext
6419 if $ac_preproc_ok; then :
6421 else
6422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6424 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6425 See \`config.log' for more details" "$LINENO" 5; }
6428 ac_ext=c
6429 ac_cpp='$CPP $CPPFLAGS'
6430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6436 $as_echo_n "checking for ANSI C header files... " >&6; }
6437 if ${ac_cv_header_stdc+:} false; then :
6438 $as_echo_n "(cached) " >&6
6439 else
6440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6441 /* end confdefs.h. */
6442 #include <stdlib.h>
6443 #include <stdarg.h>
6444 #include <string.h>
6445 #include <float.h>
6448 main ()
6452 return 0;
6454 _ACEOF
6455 if ac_fn_c_try_compile "$LINENO"; then :
6456 ac_cv_header_stdc=yes
6457 else
6458 ac_cv_header_stdc=no
6460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6462 if test $ac_cv_header_stdc = yes; then
6463 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6465 /* end confdefs.h. */
6466 #include <string.h>
6468 _ACEOF
6469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6470 $EGREP "memchr" >/dev/null 2>&1; then :
6472 else
6473 ac_cv_header_stdc=no
6475 rm -f conftest*
6479 if test $ac_cv_header_stdc = yes; then
6480 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6482 /* end confdefs.h. */
6483 #include <stdlib.h>
6485 _ACEOF
6486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6487 $EGREP "free" >/dev/null 2>&1; then :
6489 else
6490 ac_cv_header_stdc=no
6492 rm -f conftest*
6496 if test $ac_cv_header_stdc = yes; then
6497 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6498 if test "$cross_compiling" = yes; then :
6500 else
6501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6502 /* end confdefs.h. */
6503 #include <ctype.h>
6504 #include <stdlib.h>
6505 #if ((' ' & 0x0FF) == 0x020)
6506 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6507 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6508 #else
6509 # define ISLOWER(c) \
6510 (('a' <= (c) && (c) <= 'i') \
6511 || ('j' <= (c) && (c) <= 'r') \
6512 || ('s' <= (c) && (c) <= 'z'))
6513 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6514 #endif
6516 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6518 main ()
6520 int i;
6521 for (i = 0; i < 256; i++)
6522 if (XOR (islower (i), ISLOWER (i))
6523 || toupper (i) != TOUPPER (i))
6524 return 2;
6525 return 0;
6527 _ACEOF
6528 if ac_fn_c_try_run "$LINENO"; then :
6530 else
6531 ac_cv_header_stdc=no
6533 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6534 conftest.$ac_objext conftest.beam conftest.$ac_ext
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6540 $as_echo "$ac_cv_header_stdc" >&6; }
6541 if test $ac_cv_header_stdc = yes; then
6543 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6547 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6548 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6549 inttypes.h stdint.h unistd.h
6550 do :
6551 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6552 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6554 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6555 cat >>confdefs.h <<_ACEOF
6556 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6557 _ACEOF
6561 done
6564 for ac_header in \
6565 AL/al.h \
6566 ApplicationServices/ApplicationServices.h \
6567 AudioToolbox/AudioConverter.h \
6568 AudioUnit/AudioUnit.h \
6569 AudioUnit/AudioComponent.h \
6570 CL/cl.h \
6571 Carbon/Carbon.h \
6572 CoreAudio/CoreAudio.h \
6573 CoreServices/CoreServices.h \
6574 DiskArbitration/DiskArbitration.h \
6575 IOKit/IOKitLib.h \
6576 IOKit/hid/IOHIDLib.h \
6577 OpenAL/al.h \
6578 OpenCL/opencl.h \
6579 QuickTime/ImageCompression.h \
6580 Security/Security.h \
6581 alias.h \
6582 alsa/asoundlib.h \
6583 arpa/inet.h \
6584 arpa/nameser.h \
6585 asm/types.h \
6586 asm/user.h \
6587 curses.h \
6588 direct.h \
6589 dirent.h \
6590 dlfcn.h \
6591 elf.h \
6592 float.h \
6593 fnmatch.h \
6594 getopt.h \
6595 gettext-po.h \
6596 grp.h \
6597 gsm.h \
6598 gsm/gsm.h \
6599 ieeefp.h \
6600 inet/mib2.h \
6601 io.h \
6602 kstat.h \
6603 lber.h \
6604 ldap.h \
6605 libproc.h \
6606 link.h \
6607 linux/cdrom.h \
6608 linux/compiler.h \
6609 linux/filter.h \
6610 linux/hdreg.h \
6611 linux/input.h \
6612 linux/ioctl.h \
6613 linux/joystick.h \
6614 linux/major.h \
6615 linux/param.h \
6616 linux/serial.h \
6617 linux/types.h \
6618 linux/ucdrom.h \
6619 lwp.h \
6620 mach-o/nlist.h \
6621 mach-o/loader.h \
6622 mach/mach.h \
6623 mach/machine.h \
6624 machine/cpu.h \
6625 machine/limits.h \
6626 machine/sysarch.h \
6627 mntent.h \
6628 ncurses.h \
6629 netdb.h \
6630 netinet/in.h \
6631 netinet/in_systm.h \
6632 netinet/tcp.h \
6633 netinet/tcp_fsm.h \
6634 pcap/pcap.h \
6635 poll.h \
6636 port.h \
6637 process.h \
6638 pthread.h \
6639 pwd.h \
6640 sched.h \
6641 scsi/scsi.h \
6642 scsi/scsi_ioctl.h \
6643 scsi/sg.h \
6644 stdbool.h \
6645 stdint.h \
6646 stropts.h \
6647 sys/asoundlib.h \
6648 sys/attr.h \
6649 sys/cdio.h \
6650 sys/elf32.h \
6651 sys/epoll.h \
6652 sys/event.h \
6653 sys/exec_elf.h \
6654 sys/filio.h \
6655 sys/inotify.h \
6656 sys/ioctl.h \
6657 sys/ipc.h \
6658 sys/limits.h \
6659 sys/link.h \
6660 sys/mman.h \
6661 sys/modem.h \
6662 sys/msg.h \
6663 sys/mtio.h \
6664 sys/param.h \
6665 sys/poll.h \
6666 sys/prctl.h \
6667 sys/protosw.h \
6668 sys/ptrace.h \
6669 sys/queue.h \
6670 sys/resource.h \
6671 sys/scsiio.h \
6672 sys/shm.h \
6673 sys/signal.h \
6674 sys/socket.h \
6675 sys/socketvar.h \
6676 sys/sockio.h \
6677 sys/statvfs.h \
6678 sys/strtio.h \
6679 sys/syscall.h \
6680 sys/tihdr.h \
6681 sys/time.h \
6682 sys/timeout.h \
6683 sys/times.h \
6684 sys/uio.h \
6685 sys/user.h \
6686 sys/utsname.h \
6687 sys/vm86.h \
6688 sys/wait.h \
6689 syscall.h \
6690 termios.h \
6691 unistd.h \
6692 utime.h \
6693 valgrind/memcheck.h \
6694 valgrind/valgrind.h \
6695 zlib.h
6697 do :
6698 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6699 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6700 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6701 cat >>confdefs.h <<_ACEOF
6702 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6703 _ACEOF
6707 done
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6710 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6711 if ${ac_cv_header_stat_broken+:} false; then :
6712 $as_echo_n "(cached) " >&6
6713 else
6714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6715 /* end confdefs.h. */
6716 #include <sys/types.h>
6717 #include <sys/stat.h>
6719 #if defined S_ISBLK && defined S_IFDIR
6720 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6721 #endif
6723 #if defined S_ISBLK && defined S_IFCHR
6724 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6725 #endif
6727 #if defined S_ISLNK && defined S_IFREG
6728 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6729 #endif
6731 #if defined S_ISSOCK && defined S_IFREG
6732 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6733 #endif
6735 _ACEOF
6736 if ac_fn_c_try_compile "$LINENO"; then :
6737 ac_cv_header_stat_broken=no
6738 else
6739 ac_cv_header_stat_broken=yes
6741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6744 $as_echo "$ac_cv_header_stat_broken" >&6; }
6745 if test $ac_cv_header_stat_broken = yes; then
6747 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6753 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6754 do :
6755 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6756 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6757 #ifdef HAVE_SYS_PARAM_H
6758 # include <sys/param.h>
6759 #endif
6761 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6762 cat >>confdefs.h <<_ACEOF
6763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6764 _ACEOF
6768 done
6771 for ac_header in \
6772 netinet/ip.h \
6773 net/if.h \
6774 net/if_arp.h \
6775 net/if_dl.h \
6776 net/if_types.h \
6777 net/route.h \
6778 netinet/if_ether.h \
6779 netinet/if_inarp.h \
6780 netinet/in_pcb.h \
6781 netinet/ip_icmp.h \
6782 netinet/ip_var.h \
6783 netinet/udp.h \
6784 netipx/ipx.h \
6785 sys/un.h \
6787 do :
6788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6789 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6790 #ifdef HAVE_SYS_SOCKET_H
6791 # include <sys/socket.h>
6792 #endif
6793 #ifdef HAVE_SYS_SOCKETVAR_H
6794 # include <sys/socketvar.h>
6795 #endif
6796 #ifdef HAVE_NET_ROUTE_H
6797 # include <net/route.h>
6798 #endif
6799 #ifdef HAVE_NETINET_IN_H
6800 # include <netinet/in.h>
6801 #endif
6802 #ifdef HAVE_NETINET_IN_SYSTM_H
6803 # include <netinet/in_systm.h>
6804 #endif
6805 #ifdef HAVE_NET_IF_H
6806 # include <net/if.h>
6807 #endif
6808 #ifdef HAVE_NETINET_IP_H
6809 # include <netinet/ip.h>
6810 #endif
6812 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6813 cat >>confdefs.h <<_ACEOF
6814 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6815 _ACEOF
6819 done
6822 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6823 do :
6824 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6825 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6826 #ifdef HAVE_ALIAS_H
6827 # include <alias.h>
6828 #endif
6829 #ifdef HAVE_SYS_SOCKET_H
6830 # include <sys/socket.h>
6831 #endif
6832 #ifdef HAVE_SYS_SOCKETVAR_H
6833 # include <sys/socketvar.h>
6834 #endif
6835 #ifdef HAVE_SYS_TIMEOUT_H
6836 # include <sys/timeout.h>
6837 #endif
6838 #ifdef HAVE_NETINET_IN_H
6839 # include <netinet/in.h>
6840 #endif
6841 #ifdef HAVE_NETINET_IN_SYSTM_H
6842 # include <netinet/in_systm.h>
6843 #endif
6844 #ifdef HAVE_NETINET_IP_H
6845 # include <netinet/ip.h>
6846 #endif
6847 #ifdef HAVE_NETINET_IP_VAR_H
6848 # include <netinet/ip_var.h>
6849 #endif
6850 #ifdef HAVE_NETINET_IP_ICMP_H
6851 # include <netinet/ip_icmp.h>
6852 #endif
6853 #ifdef HAVE_NETINET_UDP_H
6854 # include <netinet/udp.h>
6855 #endif
6856 #ifdef HAVE_NETINET_TCP_H
6857 # include <netinet/tcp.h>
6858 #endif
6859 #ifdef HAVE_NETINET_TCP_TIMER_H
6860 #include <netinet/tcp_timer.h>
6861 #endif
6863 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6864 cat >>confdefs.h <<_ACEOF
6865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6866 _ACEOF
6870 done
6873 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6874 do :
6875 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6876 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6877 #ifdef HAVE_ASM_TYPES_H
6878 # include <asm/types.h>
6879 #endif
6880 #ifdef HAVE_SYS_SOCKET_H
6881 # include <sys/socket.h>
6882 #endif
6883 #ifdef HAVE_LINUX_TYPES_H
6884 # include <linux/types.h>
6885 #endif
6887 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6888 cat >>confdefs.h <<_ACEOF
6889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6890 _ACEOF
6894 done
6897 for ac_header in mach-o/dyld_images.h
6898 do :
6899 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6900 # include <stdbool.h>
6901 #endif
6902 #ifdef HAVE_STDINT_H
6903 # include <stdint.h>
6904 #endif
6906 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6907 cat >>confdefs.h <<_ACEOF
6908 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6909 _ACEOF
6913 done
6916 for ac_header in resolv.h
6917 do :
6918 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6919 #ifdef HAVE_SYS_SOCKET_H
6920 # include <sys/socket.h>
6921 #endif
6922 #ifdef HAVE_NETINET_IN_H
6923 # include <netinet/in.h>
6924 #endif
6925 #ifdef HAVE_ARPA_NAMESER_H
6926 # include <arpa/nameser.h>
6927 #endif
6929 if test "x$ac_cv_header_resolv_h" = xyes; then :
6930 cat >>confdefs.h <<_ACEOF
6931 #define HAVE_RESOLV_H 1
6932 _ACEOF
6936 done
6939 for ac_header in ifaddrs.h
6940 do :
6941 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6943 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6944 cat >>confdefs.h <<_ACEOF
6945 #define HAVE_IFADDRS_H 1
6946 _ACEOF
6950 done
6953 for ac_header in sys/ucontext.h
6954 do :
6955 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6957 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6958 cat >>confdefs.h <<_ACEOF
6959 #define HAVE_SYS_UCONTEXT_H 1
6960 _ACEOF
6964 done
6967 for ac_header in sys/thr.h
6968 do :
6969 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6970 #ifdef HAVE_SYS_UCONTEXT_H
6971 #include <sys/ucontext.h>
6972 #endif
6974 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6975 cat >>confdefs.h <<_ACEOF
6976 #define HAVE_SYS_THR_H 1
6977 _ACEOF
6981 done
6984 for ac_header in pthread_np.h
6985 do :
6986 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6987 #include <pthread.h>
6988 #endif
6990 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6991 cat >>confdefs.h <<_ACEOF
6992 #define HAVE_PTHREAD_NP_H 1
6993 _ACEOF
6997 done
7000 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7001 do :
7002 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7003 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7004 #include <sys/time.h>
7005 #endif
7006 #include <sys/types.h>
7007 #ifdef HAVE_ASM_TYPES_H
7008 #include <asm/types.h>
7009 #endif
7011 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7012 cat >>confdefs.h <<_ACEOF
7013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7014 _ACEOF
7018 done
7021 for ac_header in libprocstat.h
7022 do :
7023 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7024 #include <sys/param.h>
7025 #endif
7026 #ifdef HAVE_SYS_QUEUE_H
7027 #include <sys/queue.h>
7028 #endif
7029 #ifdef HAVE_SYS_SOCKET_H
7030 #include <sys/socket.h>
7031 #endif
7033 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7034 cat >>confdefs.h <<_ACEOF
7035 #define HAVE_LIBPROCSTAT_H 1
7036 _ACEOF
7040 done
7044 dlldir="\${libdir}/wine"
7046 DLLPREFIX=""
7048 DLLFLAGS="-D_REENTRANT"
7050 LDRPATH_INSTALL=""
7052 LDRPATH_LOCAL=""
7054 LIBEXT="so"
7055 DLLEXT=".so"
7056 IMPLIBEXT="def"
7057 STATIC_IMPLIBEXT="def.a"
7058 # Extract the first word of "ldd", so it can be a program name with args.
7059 set dummy ldd; ac_word=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061 $as_echo_n "checking for $ac_word... " >&6; }
7062 if ${ac_cv_path_LDD+:} false; then :
7063 $as_echo_n "(cached) " >&6
7064 else
7065 case $LDD in
7066 [\\/]* | ?:[\\/]*)
7067 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7071 as_dummy="/sbin:/usr/sbin:$PATH"
7072 for as_dir in $as_dummy
7074 IFS=$as_save_IFS
7075 test -z "$as_dir" && as_dir=.
7076 for ac_exec_ext in '' $ac_executable_extensions; do
7077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7078 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7080 break 2
7082 done
7083 done
7084 IFS=$as_save_IFS
7086 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7088 esac
7090 LDD=$ac_cv_path_LDD
7091 if test -n "$LDD"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7093 $as_echo "$LDD" >&6; }
7094 else
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7100 if test -n "$ac_tool_prefix"; then
7101 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7102 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104 $as_echo_n "checking for $ac_word... " >&6; }
7105 if ${ac_cv_prog_READELF+:} false; then :
7106 $as_echo_n "(cached) " >&6
7107 else
7108 if test -n "$READELF"; then
7109 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7110 else
7111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112 for as_dir in $PATH
7114 IFS=$as_save_IFS
7115 test -z "$as_dir" && as_dir=.
7116 for ac_exec_ext in '' $ac_executable_extensions; do
7117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 break 2
7122 done
7123 done
7124 IFS=$as_save_IFS
7128 READELF=$ac_cv_prog_READELF
7129 if test -n "$READELF"; then
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7131 $as_echo "$READELF" >&6; }
7132 else
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134 $as_echo "no" >&6; }
7139 if test -z "$ac_cv_prog_READELF"; then
7140 ac_ct_READELF=$READELF
7141 # Extract the first word of "readelf", so it can be a program name with args.
7142 set dummy readelf; ac_word=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144 $as_echo_n "checking for $ac_word... " >&6; }
7145 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7146 $as_echo_n "(cached) " >&6
7147 else
7148 if test -n "$ac_ct_READELF"; then
7149 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7150 else
7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152 for as_dir in $PATH
7154 IFS=$as_save_IFS
7155 test -z "$as_dir" && as_dir=.
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_ac_ct_READELF="readelf"
7159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 break 2
7162 done
7163 done
7164 IFS=$as_save_IFS
7168 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7169 if test -n "$ac_ct_READELF"; then
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7171 $as_echo "$ac_ct_READELF" >&6; }
7172 else
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 $as_echo "no" >&6; }
7177 if test "x$ac_ct_READELF" = x; then
7178 READELF="true"
7179 else
7180 case $cross_compiling:$ac_tool_warned in
7181 yes:)
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7184 ac_tool_warned=yes ;;
7185 esac
7186 READELF=$ac_ct_READELF
7188 else
7189 READELF="$ac_cv_prog_READELF"
7192 wine_rules_file=conf$$rules.make
7193 rm -f $wine_rules_file
7194 ALL_POT_FILES=""
7195 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7196 ALL_TEST_RESOURCES=""
7199 wine_fn_append_file ()
7201 as_fn_append $1 " \\$as_nl $2"
7204 wine_fn_ignore_file ()
7206 case "$1" in
7207 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7208 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7209 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7210 esac
7213 wine_fn_append_rule ()
7215 $as_echo "$1" >>$wine_rules_file
7218 wine_fn_has_flag ()
7220 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7223 wine_fn_depend_rules ()
7225 wine_fn_append_rule \
7226 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7227 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7228 depend: $ac_dir/depend
7229 .PHONY: $ac_dir/depend
7230 $ac_dir/depend: \$(MAKEDEP) dummy
7231 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7234 wine_fn_pot_rules ()
7236 test "x$with_gettextpo" = xyes || return
7238 if wine_fn_has_flag mc
7239 then
7240 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7241 wine_fn_append_rule \
7242 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7243 @cd $ac_dir && \$(MAKE) msg.pot
7244 $ac_dir/msg.pot: tools/wmc include"
7246 if wine_fn_has_flag po
7247 then
7248 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7249 wine_fn_append_rule \
7250 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7251 @cd $ac_dir && \$(MAKE) rsrc.pot
7252 $ac_dir/rsrc.pot: tools/wrc include"
7256 wine_fn_all_rules ()
7258 wine_fn_depend_rules
7259 wine_fn_append_rule \
7260 "all: $ac_dir
7261 .PHONY: $ac_dir
7262 $ac_dir: $ac_dir/Makefile dummy
7263 @cd $ac_dir && \$(MAKE)"
7266 wine_fn_install_rules ()
7268 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7270 wine_fn_append_rule \
7271 ".PHONY: $ac_dir/install $ac_dir/uninstall
7272 $ac_dir/install:: $ac_dir
7273 @cd $ac_dir && \$(MAKE) install
7274 $ac_dir/uninstall:: $ac_dir/Makefile
7275 @cd $ac_dir && \$(MAKE) uninstall
7276 install:: $ac_dir/install
7277 __uninstall__: $ac_dir/uninstall"
7279 if wine_fn_has_flag install-lib
7280 then
7281 wine_fn_append_rule \
7282 ".PHONY: $ac_dir/install-lib
7283 $ac_dir/install-lib:: $ac_dir
7284 @cd $ac_dir && \$(MAKE) install-lib
7285 install-lib:: $ac_dir/install-lib"
7288 if wine_fn_has_flag install-dev
7289 then
7290 wine_fn_append_rule \
7291 ".PHONY: $ac_dir/install-dev
7292 $ac_dir/install-dev:: $ac_dir
7293 @cd $ac_dir && \$(MAKE) install-dev
7294 install-dev:: $ac_dir/install-dev"
7298 wine_fn_clean_rules ()
7300 ac_clean=$@
7301 ac_extraclean="$ac_dir/Makefile"
7302 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7303 case $ac_dir in
7304 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7305 esac
7307 if wine_fn_has_flag clean
7308 then
7309 wine_fn_append_rule \
7310 "__clean__: $ac_dir/clean
7311 .PHONY: $ac_dir/clean
7312 $ac_dir/clean: $ac_dir/Makefile
7313 @cd $ac_dir && \$(MAKE) clean
7314 \$(RM) $ac_extraclean"
7315 else
7316 wine_fn_append_rule \
7317 "__clean__: $ac_dir/clean
7318 .PHONY: $ac_dir/clean
7319 $ac_dir/clean: dummy
7320 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7324 wine_fn_disabled_rules ()
7326 ac_clean=$@
7327 ac_extraclean="$ac_dir/Makefile"
7328 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7330 wine_fn_append_rule \
7331 "__clean__: $ac_dir/clean
7332 .PHONY: $ac_dir/clean
7333 $ac_dir/clean: dummy
7334 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7337 wine_fn_config_makefile ()
7339 ac_dir=$1
7340 ac_enable=$2
7341 ac_flags=$3
7343 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7344 wine_fn_disabled_rules; return
7346 wine_fn_all_rules
7347 wine_fn_install_rules
7348 wine_fn_clean_rules
7351 wine_fn_config_lib ()
7353 ac_name=$1
7354 ac_flags=$2
7355 ac_dir=dlls/$ac_name
7356 ac_deps="include"
7358 if test "x$enable_tools" = xno; then :
7360 else
7361 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7363 wine_fn_all_rules
7364 wine_fn_clean_rules
7366 wine_fn_append_rule \
7367 ".PHONY: $ac_dir/install $ac_dir/uninstall
7368 $ac_dir/install:: $ac_dir
7369 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7370 $ac_dir/uninstall::
7371 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7372 install install-dev:: $ac_dir/install
7373 __uninstall__: $ac_dir/uninstall
7374 __builddeps__: $ac_dir
7375 $ac_dir: $ac_deps"
7378 wine_fn_config_dll ()
7380 ac_name=$1
7381 ac_dir=dlls/$ac_name
7382 ac_enable=$2
7383 ac_flags=$3
7384 ac_implib=${4:-$ac_name}
7385 ac_file=$ac_dir/lib$ac_implib
7386 ac_dll=$ac_name
7387 ac_deps="include"
7388 ac_implibflags=""
7390 if test "x$enable_tools" = xno; then :
7392 else
7393 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7395 case $ac_name in
7396 *16) ac_implibflags=" -m16" ;;
7397 *.*) ;;
7398 *) ac_dll=$ac_dll.dll ;;
7399 esac
7401 ac_clean=
7402 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7403 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7404 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7405 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7407 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7408 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7409 then
7410 wine_fn_depend_rules
7411 wine_fn_clean_rules $ac_clean
7412 else
7413 wine_fn_disabled_rules $ac_clean
7414 return
7416 else
7417 wine_fn_all_rules
7418 wine_fn_clean_rules $ac_clean
7419 wine_fn_append_rule \
7420 "$ac_dir: __builddeps__
7421 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7422 @cd $ac_dir && \$(MAKE) \$@
7423 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7424 install install-lib:: $ac_dir/install-lib
7425 __uninstall__: $ac_dir/uninstall"
7426 if test -n "$DLLEXT"
7427 then
7428 wine_fn_append_rule \
7429 "$ac_dir/install-lib:: $ac_dir
7430 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7431 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7432 $ac_dir/uninstall::
7433 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7434 else
7435 wine_fn_append_rule \
7436 "$ac_dir/install-lib:: $ac_dir
7437 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7438 $ac_dir/uninstall::
7439 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7442 wine_fn_pot_rules
7445 if wine_fn_has_flag staticimplib
7446 then
7447 wine_fn_append_rule \
7448 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7449 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7450 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7451 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7452 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7453 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7454 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7455 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7456 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7457 $ac_dir/uninstall::
7458 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7459 install install-dev:: $ac_dir/install-dev
7460 __uninstall__: $ac_dir/uninstall"
7462 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7463 then
7464 wine_fn_append_rule \
7465 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7466 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7467 $ac_dir/uninstall::
7468 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7471 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7472 then
7473 wine_fn_append_rule \
7474 "__builddeps__: $ac_file.cross.a
7475 $ac_file.cross.a: $ac_dir/Makefile dummy
7476 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7479 elif wine_fn_has_flag implib
7480 then
7481 wine_fn_append_rule \
7482 "__builddeps__: $ac_file.$IMPLIBEXT
7483 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7484 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7485 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7486 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7487 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7488 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7489 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7490 $ac_dir/uninstall::
7491 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7492 install install-dev:: $ac_dir/install-dev
7493 __uninstall__: $ac_dir/uninstall"
7494 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7495 then
7496 wine_fn_append_rule \
7497 "__builddeps__: $ac_file.cross.a
7498 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7499 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7502 if test "$ac_name" != "$ac_implib"
7503 then
7504 wine_fn_append_rule \
7505 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7506 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7507 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7508 clean::
7509 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7510 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7511 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7512 then
7513 wine_fn_append_rule \
7514 "__builddeps__: dlls/lib$ac_implib.cross.a
7515 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7516 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7517 clean::
7518 \$(RM) dlls/lib$ac_implib.cross.a"
7519 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7525 wine_fn_config_program ()
7527 ac_name=$1
7528 ac_dir=programs/$ac_name
7529 ac_enable=$2
7530 ac_flags=$3
7531 ac_program=$ac_name
7533 case $ac_name in
7534 *.*) ;;
7535 *) ac_program=$ac_program.exe ;;
7536 esac
7538 ac_clean=
7539 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7540 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7541 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7542 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7544 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7545 wine_fn_disabled_rules $ac_clean; return
7548 wine_fn_all_rules
7549 wine_fn_clean_rules $ac_clean
7550 wine_fn_append_rule "$ac_dir: __builddeps__"
7551 wine_fn_pot_rules
7553 wine_fn_has_flag install || return
7554 wine_fn_append_rule \
7555 ".PHONY: $ac_dir/install $ac_dir/uninstall
7556 install install-lib:: $ac_dir/install
7557 __uninstall__: $ac_dir/uninstall"
7559 if test -n "$DLLEXT"
7560 then
7561 wine_fn_append_rule \
7562 "$ac_dir/install:: $ac_dir
7563 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7564 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7565 $ac_dir/uninstall::
7566 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7568 if test -z "$with_wine64" && wine_fn_has_flag installbin
7569 then
7570 wine_fn_append_rule \
7571 "$ac_dir/install:: __tooldeps__
7572 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7573 $ac_dir/uninstall::
7574 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7576 else
7577 wine_fn_append_rule \
7578 "$ac_dir/install:: $ac_dir
7579 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7580 $ac_dir/uninstall::
7581 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7584 if test -z "$with_wine64" && wine_fn_has_flag manpage
7585 then
7586 wine_fn_append_rule \
7587 "$ac_dir/install:: $ac_dir
7588 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7589 $ac_dir/uninstall::
7590 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7594 wine_fn_config_test ()
7596 ac_dir=$1
7597 ac_name=$2
7598 ac_flags=$3
7600 ac_clean=
7601 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7602 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7604 if test "x$enable_tests" = xno; then :
7605 wine_fn_disabled_rules $ac_clean; return
7608 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7609 wine_fn_all_rules
7610 wine_fn_clean_rules $ac_clean
7612 wine_fn_append_rule \
7613 "$ac_dir: programs/winetest/Makefile __builddeps__
7614 programs/winetest: $ac_dir
7615 check test: $ac_dir/test
7616 .PHONY: $ac_dir/test
7617 $ac_dir/test: dummy
7618 @cd $ac_dir && \$(MAKE) test
7619 testclean::
7620 \$(RM) $ac_dir/*.ok"
7622 if test -n "$CROSSTARGET"
7623 then
7624 wine_fn_append_rule \
7625 "crosstest: $ac_dir/crosstest
7626 .PHONY: $ac_dir/crosstest
7627 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7628 @cd $ac_dir && \$(MAKE) crosstest"
7632 wine_fn_config_tool ()
7634 ac_dir=$1
7635 ac_flags=$2
7636 if test "x$enable_tools" = xno; then :
7637 return
7640 wine_fn_all_rules
7641 wine_fn_install_rules
7642 wine_fn_clean_rules
7644 wine_fn_append_rule "__tooldeps__: $ac_dir"
7645 wine_fn_append_rule "$ac_dir: libs/port"
7646 case $ac_dir in
7647 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7648 esac
7651 wine_fn_config_symlink ()
7653 ac_linkdir=
7654 if test "x$1" = "x-d"
7655 then
7656 ac_linkdir=$2
7657 shift; shift
7659 ac_links=$@
7660 wine_fn_append_rule \
7661 "$ac_links:
7662 @./config.status \$@
7663 distclean::
7664 \$(RM) $ac_links"
7665 for f in $ac_links; do wine_fn_ignore_file $f; done
7666 test -n "$ac_linkdir" || return
7667 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7670 wine_binary="wine"
7671 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7672 loader_programs="$wine_binary wine-installed"
7673 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7675 LOADER_RULES="
7676 all: wine.inf
7678 install install-lib:: wine-installed
7679 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7681 uninstall::
7682 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7686 case $host_os in
7687 cygwin*|mingw32*)
7688 if test -n "$ac_tool_prefix"; then
7689 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7690 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7692 $as_echo_n "checking for $ac_word... " >&6; }
7693 if ${ac_cv_prog_DLLTOOL+:} false; then :
7694 $as_echo_n "(cached) " >&6
7695 else
7696 if test -n "$DLLTOOL"; then
7697 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7698 else
7699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7700 for as_dir in $PATH
7702 IFS=$as_save_IFS
7703 test -z "$as_dir" && as_dir=.
7704 for ac_exec_ext in '' $ac_executable_extensions; do
7705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7706 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7708 break 2
7710 done
7711 done
7712 IFS=$as_save_IFS
7716 DLLTOOL=$ac_cv_prog_DLLTOOL
7717 if test -n "$DLLTOOL"; then
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7719 $as_echo "$DLLTOOL" >&6; }
7720 else
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7722 $as_echo "no" >&6; }
7727 if test -z "$ac_cv_prog_DLLTOOL"; then
7728 ac_ct_DLLTOOL=$DLLTOOL
7729 # Extract the first word of "dlltool", so it can be a program name with args.
7730 set dummy dlltool; ac_word=$2
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7732 $as_echo_n "checking for $ac_word... " >&6; }
7733 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7734 $as_echo_n "(cached) " >&6
7735 else
7736 if test -n "$ac_ct_DLLTOOL"; then
7737 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7738 else
7739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7740 for as_dir in $PATH
7742 IFS=$as_save_IFS
7743 test -z "$as_dir" && as_dir=.
7744 for ac_exec_ext in '' $ac_executable_extensions; do
7745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7746 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7748 break 2
7750 done
7751 done
7752 IFS=$as_save_IFS
7756 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7757 if test -n "$ac_ct_DLLTOOL"; then
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7759 $as_echo "$ac_ct_DLLTOOL" >&6; }
7760 else
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762 $as_echo "no" >&6; }
7765 if test "x$ac_ct_DLLTOOL" = x; then
7766 DLLTOOL="false"
7767 else
7768 case $cross_compiling:$ac_tool_warned in
7769 yes:)
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7772 ac_tool_warned=yes ;;
7773 esac
7774 DLLTOOL=$ac_ct_DLLTOOL
7776 else
7777 DLLTOOL="$ac_cv_prog_DLLTOOL"
7780 LIBEXT="dll"
7781 DLLEXT=""
7782 IMPLIBEXT="a"
7783 STATIC_IMPLIBEXT="a"
7784 enable_iphlpapi=${enable_iphlpapi:-no}
7785 enable_kernel32=${enable_kernel32:-no}
7786 enable_msvcrt=${enable_msvcrt:-no}
7787 enable_ntdll=${enable_ntdll:-no}
7788 enable_ws2_32=${enable_ws2_32:-no}
7789 enable_loader=${enable_loader:-no}
7790 enable_server=${enable_server:-no}
7791 with_x=${with_x:-no}
7792 with_pthread=${with_pthread:-no}
7794 crtlibs=""
7795 case $host_os in
7796 mingw32*)
7797 crtlibs="-lmsvcrt"
7798 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7800 esac
7802 libwine_targets="libwine.dll libwine.a"
7803 LIBWINE_RULES="
7804 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7806 all: libwine.dll libwine.a
7808 libwine.a: \$(srcdir)/wine.def
7809 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7811 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7812 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7814 install install-lib:: libwine.dll
7815 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7817 install install-dev:: libwine.a
7818 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7820 uninstall::
7821 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7826 darwin*|macosx*)
7827 LIBEXT="dylib"
7828 DLLFLAGS="$DLLFLAGS -fPIC"
7829 LIBWINE_LDFLAGS="-multiply_defined suppress"
7830 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7831 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7832 COREFOUNDATION_LIBS="-framework CoreFoundation"
7834 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7836 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7838 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7840 CORESERVICES_LIBS="-framework CoreServices"
7842 APPKIT_LIBS="-framework AppKit"
7844 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7846 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7847 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7848 $as_echo_n "(cached) " >&6
7849 else
7850 ac_wine_try_cflags_saved=$CFLAGS
7851 CFLAGS="$CFLAGS -Wl,-no_pie"
7852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7853 /* end confdefs.h. */
7854 int main(int argc, char **argv) { return 0; }
7855 _ACEOF
7856 if ac_fn_c_try_link "$LINENO"; then :
7857 ac_cv_cflags__Wl__no_pie=yes
7858 else
7859 ac_cv_cflags__Wl__no_pie=no
7861 rm -f core conftest.err conftest.$ac_objext \
7862 conftest$ac_exeext conftest.$ac_ext
7863 CFLAGS=$ac_wine_try_cflags_saved
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7866 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7867 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7868 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7870 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7871 then
7872 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7875 if test "$ac_cv_header_Security_Security_h" = "yes"
7876 then
7877 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7879 ac_save_LIBS="$LIBS"
7880 LIBS="$LIBS $SECURITY_LIBS"
7881 for ac_func in SSLCopyPeerCertificates
7882 do :
7883 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7884 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7885 cat >>confdefs.h <<_ACEOF
7886 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7887 _ACEOF
7890 done
7892 LIBS="$ac_save_LIBS"
7893 with_gnutls=${with_gnutls:-no}
7895 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7896 then
7897 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7898 then
7899 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7901 else
7902 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7905 ac_save_LIBS="$LIBS"
7906 LIBS="$LIBS $COREAUDIO_LIBS"
7907 for ac_func in AUGraphAddNode
7908 do :
7909 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7910 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7911 cat >>confdefs.h <<_ACEOF
7912 #define HAVE_AUGRAPHADDNODE 1
7913 _ACEOF
7916 done
7918 LIBS="$ac_save_LIBS"
7920 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7921 then
7922 OPENAL_LIBS="-framework OpenAL"
7925 cat >>confdefs.h <<_ACEOF
7926 #define HAVE_OPENAL 1
7927 _ACEOF
7929 ac_cv_lib_openal=yes
7931 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7932 then
7933 OPENCL_LIBS="-framework OpenCL"
7935 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7937 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7938 then
7939 ac_save_LIBS="$LIBS"
7940 LIBS="$LIBS $IOKIT_LIBS"
7941 for ac_func in IOHIDManagerCreate
7942 do :
7943 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7944 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7945 cat >>confdefs.h <<_ACEOF
7946 #define HAVE_IOHIDMANAGERCREATE 1
7947 _ACEOF
7950 done
7952 LIBS="$ac_save_LIBS"
7954 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7955 then
7956 ac_save_LIBS="$LIBS"
7957 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7959 $as_echo_n "checking for the QuickTime framework... " >&6; }
7960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7961 /* end confdefs.h. */
7962 #include <QuickTime/ImageCompression.h>
7964 main ()
7966 CodecManagerVersion(NULL);
7968 return 0;
7970 _ACEOF
7971 if ac_fn_c_try_link "$LINENO"; then :
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7973 $as_echo "yes" >&6; }
7974 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7976 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7977 else
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7979 $as_echo "no" >&6; }
7980 ac_cv_header_QuickTime_ImageCompression_h=no
7982 rm -f core conftest.err conftest.$ac_objext \
7983 conftest$ac_exeext conftest.$ac_ext
7984 LIBS="$ac_save_LIBS"
7986 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7987 then
7988 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7990 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7991 then
7992 CARBON_LIBS="-framework Carbon"
7996 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7997 then
7998 ac_save_LIBS="$LIBS"
7999 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8000 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8001 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8002 enable_winemac_drv=${enable_winemac_drv:-yes}
8005 LIBS="$ac_save_LIBS"
8008 if test "x$enable_win16" = "xyes"
8009 then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8011 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8012 if test "$cross_compiling" = yes; then :
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8014 $as_echo "cross-compiling, assuming yes" >&6; }
8015 else
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8018 asm(".text\n"
8019 "bad:\tnop;nop\n"
8020 "good:\tnop;nop\n\t"
8021 ".globl _testfunc\n"
8022 "_testfunc:\tcallw good");
8023 extern void testfunc();
8025 main ()
8027 unsigned short *p = (unsigned short *)testfunc;
8028 return p[0] != 0xe866 || p[1] != 0xfffa
8030 return 0;
8032 _ACEOF
8033 if ac_fn_c_try_run "$LINENO"; then :
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8035 $as_echo "yes" >&6; }
8036 else
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8038 $as_echo "no" >&6; }
8039 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
8041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8042 conftest.$ac_objext conftest.beam conftest.$ac_ext
8047 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8048 LIBWINE_RULES="
8049 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8051 all: libwine.dylib
8053 libwine.$libwine_version.dylib: \$(OBJS)
8054 \$(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 \$@
8056 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8057 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8059 libwine.dylib: libwine.$libwine_soversion.dylib
8060 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8062 install install-lib:: libwine.$libwine_version.dylib
8063 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8064 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8066 install install-dev::
8067 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8069 uninstall::
8070 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8074 as_fn_append LOADER_RULES "
8075 $wine_binary: main.o wine_info.plist
8076 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8078 wine-installed: main.o wine_info.plist
8079 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8083 linux-android*)
8084 DLLFLAGS="$DLLFLAGS -fPIC"
8085 DLLPREFIX="lib"
8086 LDEXECFLAGS=""
8087 dlldir="\${libdir}"
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8089 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8090 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8091 $as_echo_n "(cached) " >&6
8092 else
8093 ac_wine_try_cflags_saved=$CFLAGS
8094 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8096 /* end confdefs.h. */
8097 int main(int argc, char **argv) { return 0; }
8098 _ACEOF
8099 if ac_fn_c_try_link "$LINENO"; then :
8100 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8101 else
8102 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8104 rm -f core conftest.err conftest.$ac_objext \
8105 conftest$ac_exeext conftest.$ac_ext
8106 CFLAGS=$ac_wine_try_cflags_saved
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8109 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8110 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8111 LDEXECFLAGS="-Wl,--export-dynamic"
8113 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8115 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8116 if eval \${$as_ac_var+:} false; then :
8117 $as_echo_n "(cached) " >&6
8118 else
8119 ac_wine_try_cflags_saved=$CFLAGS
8120 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8122 /* end confdefs.h. */
8123 int main(int argc, char **argv) { return 0; }
8124 _ACEOF
8125 if ac_fn_c_try_link "$LINENO"; then :
8126 eval "$as_ac_var=yes"
8127 else
8128 eval "$as_ac_var=no"
8130 rm -f core conftest.err conftest.$ac_objext \
8131 conftest$ac_exeext conftest.$ac_ext
8132 CFLAGS=$ac_wine_try_cflags_saved
8134 eval ac_res=\$$as_ac_var
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8136 $as_echo "$ac_res" >&6; }
8137 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8138 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8139 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8140 else
8141 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8143 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8144 if eval \${$as_ac_var+:} false; then :
8145 $as_echo_n "(cached) " >&6
8146 else
8147 ac_wine_try_cflags_saved=$CFLAGS
8148 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8151 int main(int argc, char **argv) { return 0; }
8152 _ACEOF
8153 if ac_fn_c_try_link "$LINENO"; then :
8154 eval "$as_ac_var=yes"
8155 else
8156 eval "$as_ac_var=no"
8158 rm -f core conftest.err conftest.$ac_objext \
8159 conftest$ac_exeext conftest.$ac_ext
8160 CFLAGS=$ac_wine_try_cflags_saved
8162 eval ac_res=\$$as_ac_var
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8164 $as_echo "$ac_res" >&6; }
8165 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8166 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8167 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8172 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8173 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8174 $as_echo_n "(cached) " >&6
8175 else
8176 ac_wine_try_cflags_saved=$CFLAGS
8177 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8179 /* end confdefs.h. */
8180 int main(int argc, char **argv) { return 0; }
8181 _ACEOF
8182 if ac_fn_c_try_link "$LINENO"; then :
8183 ac_cv_cflags__Wl___enable_new_dtags=yes
8184 else
8185 ac_cv_cflags__Wl___enable_new_dtags=no
8187 rm -f core conftest.err conftest.$ac_objext \
8188 conftest$ac_exeext conftest.$ac_ext
8189 CFLAGS=$ac_wine_try_cflags_saved
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8192 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8193 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8194 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8197 case $host_cpu in
8198 *i[3456789]86* | x86_64)
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8200 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8201 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8202 $as_echo_n "(cached) " >&6
8203 else
8204 ac_wine_try_cflags_saved=$CFLAGS
8205 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h. */
8208 int main(int argc, char **argv) { return 0; }
8209 _ACEOF
8210 if ac_fn_c_try_link "$LINENO"; then :
8211 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8212 else
8213 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8215 rm -f core conftest.err conftest.$ac_objext \
8216 conftest$ac_exeext conftest.$ac_ext
8217 CFLAGS=$ac_wine_try_cflags_saved
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8220 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8221 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8222 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8225 esac
8227 libwine_targets="libwine.so"
8228 LIBWINE_RULES="
8229 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8231 all: libwine.so
8233 libwine.so: \$(OBJS)
8234 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8236 install install-lib:: libwine.so
8237 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8239 uninstall::
8240 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8244 as_fn_append LOADER_RULES "
8245 $wine_binary: main.o
8246 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8248 wine-installed: main.o
8249 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8254 DLLFLAGS="$DLLFLAGS -fPIC"
8255 LDEXECFLAGS=""
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8257 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8258 if ${ac_cv_c_dll_gnuelf+:} false; then :
8259 $as_echo_n "(cached) " >&6
8260 else
8261 ac_wine_try_cflags_saved=$CFLAGS
8262 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8264 /* end confdefs.h. */
8265 void myfunc() {}
8266 _ACEOF
8267 if ac_fn_c_try_link "$LINENO"; then :
8268 ac_cv_c_dll_gnuelf="yes"
8269 else
8270 ac_cv_c_dll_gnuelf="no"
8272 rm -f core conftest.err conftest.$ac_objext \
8273 conftest$ac_exeext conftest.$ac_ext
8274 CFLAGS=$ac_wine_try_cflags_saved
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8277 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8278 if test "$ac_cv_c_dll_gnuelf" = "yes"
8279 then
8280 LDSHARED="\$(CC) -shared"
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8282 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8283 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 ac_wine_try_cflags_saved=$CFLAGS
8287 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8289 /* end confdefs.h. */
8290 int main(int argc, char **argv) { return 0; }
8291 _ACEOF
8292 if ac_fn_c_try_link "$LINENO"; then :
8293 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8294 else
8295 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8297 rm -f core conftest.err conftest.$ac_objext \
8298 conftest$ac_exeext conftest.$ac_ext
8299 CFLAGS=$ac_wine_try_cflags_saved
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8302 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8303 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8304 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8305 else
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8307 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8308 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8309 $as_echo_n "(cached) " >&6
8310 else
8311 ac_wine_try_cflags_saved=$CFLAGS
8312 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8315 int main(int argc, char **argv) { return 0; }
8316 _ACEOF
8317 if ac_fn_c_try_link "$LINENO"; then :
8318 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8319 else
8320 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8322 rm -f core conftest.err conftest.$ac_objext \
8323 conftest$ac_exeext conftest.$ac_ext
8324 CFLAGS=$ac_wine_try_cflags_saved
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8327 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8328 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8329 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8333 echo '{ global: *; };' >conftest.map
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8335 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8336 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8337 $as_echo_n "(cached) " >&6
8338 else
8339 ac_wine_try_cflags_saved=$CFLAGS
8340 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8343 int main(int argc, char **argv) { return 0; }
8344 _ACEOF
8345 if ac_fn_c_try_link "$LINENO"; then :
8346 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8347 else
8348 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8350 rm -f core conftest.err conftest.$ac_objext \
8351 conftest$ac_exeext conftest.$ac_ext
8352 CFLAGS=$ac_wine_try_cflags_saved
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8355 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8356 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8357 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8359 rm -f conftest.map
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8362 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8363 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 ac_wine_try_cflags_saved=$CFLAGS
8367 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8370 int main(int argc, char **argv) { return 0; }
8371 _ACEOF
8372 if ac_fn_c_try_link "$LINENO"; then :
8373 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8374 else
8375 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8377 rm -f core conftest.err conftest.$ac_objext \
8378 conftest$ac_exeext conftest.$ac_ext
8379 CFLAGS=$ac_wine_try_cflags_saved
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8382 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8383 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8384 LDEXECFLAGS="-Wl,--export-dynamic"
8387 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8389 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8390 if eval \${$as_ac_var+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 ac_wine_try_cflags_saved=$CFLAGS
8394 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8397 int main(int argc, char **argv) { return 0; }
8398 _ACEOF
8399 if ac_fn_c_try_link "$LINENO"; then :
8400 eval "$as_ac_var=yes"
8401 else
8402 eval "$as_ac_var=no"
8404 rm -f core conftest.err conftest.$ac_objext \
8405 conftest$ac_exeext conftest.$ac_ext
8406 CFLAGS=$ac_wine_try_cflags_saved
8408 eval ac_res=\$$as_ac_var
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8410 $as_echo "$ac_res" >&6; }
8411 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8412 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8413 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8414 else
8415 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8417 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8418 if eval \${$as_ac_var+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 ac_wine_try_cflags_saved=$CFLAGS
8422 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 int main(int argc, char **argv) { return 0; }
8426 _ACEOF
8427 if ac_fn_c_try_link "$LINENO"; then :
8428 eval "$as_ac_var=yes"
8429 else
8430 eval "$as_ac_var=no"
8432 rm -f core conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8434 CFLAGS=$ac_wine_try_cflags_saved
8436 eval ac_res=\$$as_ac_var
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8438 $as_echo "$ac_res" >&6; }
8439 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8440 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8441 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8446 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8447 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8448 $as_echo_n "(cached) " >&6
8449 else
8450 ac_wine_try_cflags_saved=$CFLAGS
8451 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8453 /* end confdefs.h. */
8454 int main(int argc, char **argv) { return 0; }
8455 _ACEOF
8456 if ac_fn_c_try_link "$LINENO"; then :
8457 ac_cv_cflags__Wl___enable_new_dtags=yes
8458 else
8459 ac_cv_cflags__Wl___enable_new_dtags=no
8461 rm -f core conftest.err conftest.$ac_objext \
8462 conftest$ac_exeext conftest.$ac_ext
8463 CFLAGS=$ac_wine_try_cflags_saved
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8466 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8467 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8468 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8471 case $host_cpu in
8472 *i[3456789]86* | x86_64)
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8474 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8475 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 ac_wine_try_cflags_saved=$CFLAGS
8479 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8482 int main(int argc, char **argv) { return 0; }
8483 _ACEOF
8484 if ac_fn_c_try_link "$LINENO"; then :
8485 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8486 else
8487 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8489 rm -f core conftest.err conftest.$ac_objext \
8490 conftest$ac_exeext conftest.$ac_ext
8491 CFLAGS=$ac_wine_try_cflags_saved
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8494 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8495 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8496 case $host_os in
8497 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8498 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8499 esac
8502 # Extract the first word of "prelink", so it can be a program name with args.
8503 set dummy prelink; ac_word=$2
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8505 $as_echo_n "checking for $ac_word... " >&6; }
8506 if ${ac_cv_path_PRELINK+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 case $PRELINK in
8510 [\\/]* | ?:[\\/]*)
8511 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8515 for as_dir in /sbin /usr/sbin $PATH
8517 IFS=$as_save_IFS
8518 test -z "$as_dir" && as_dir=.
8519 for ac_exec_ext in '' $ac_executable_extensions; do
8520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8521 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8523 break 2
8525 done
8526 done
8527 IFS=$as_save_IFS
8529 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8531 esac
8533 PRELINK=$ac_cv_path_PRELINK
8534 if test -n "$PRELINK"; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8536 $as_echo "$PRELINK" >&6; }
8537 else
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8539 $as_echo "no" >&6; }
8543 if test "x$PRELINK" = xfalse
8544 then
8545 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8548 esac
8550 else
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8552 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8553 if ${ac_cv_c_dll_unixware+:} false; then :
8554 $as_echo_n "(cached) " >&6
8555 else
8556 ac_wine_try_cflags_saved=$CFLAGS
8557 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 void myfunc() {}
8561 _ACEOF
8562 if ac_fn_c_try_link "$LINENO"; then :
8563 ac_cv_c_dll_unixware="yes"
8564 else
8565 ac_cv_c_dll_unixware="no"
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 CFLAGS=$ac_wine_try_cflags_saved
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8572 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8573 if test "$ac_cv_c_dll_unixware" = "yes"
8574 then
8575 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8578 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8579 LIBWINE_RULES="
8580 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8582 all: libwine.so
8584 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8585 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8587 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8588 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8590 libwine.so: libwine.so.$libwine_soversion
8591 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8593 install install-lib:: libwine.so.$libwine_version
8594 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8595 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8597 install install-dev::
8598 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8600 uninstall::
8601 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8605 as_fn_append LOADER_RULES "
8606 $wine_binary: main.o
8607 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8609 wine-installed: main.o
8610 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8613 esac
8615 as_fn_append LIBWINE_RULES "
8616 EXTRA_TARGETS = $libwine_targets
8619 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8620 enable_winemac_drv=${enable_winemac_drv:-no}
8622 CROSSTARGET=""
8624 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8625 then
8626 case "$host_cpu" in
8627 i[3456789]86*)
8628 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
8629 mingw32-gcc" ;;
8630 x86_64)
8631 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 " ;;
8633 ac_prefix_list="" ;;
8634 esac
8635 for ac_prog in $ac_prefix_list
8637 # Extract the first word of "$ac_prog", so it can be a program name with args.
8638 set dummy $ac_prog; ac_word=$2
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8640 $as_echo_n "checking for $ac_word... " >&6; }
8641 if ${ac_cv_prog_CROSSCC+:} false; then :
8642 $as_echo_n "(cached) " >&6
8643 else
8644 if test -n "$CROSSCC"; then
8645 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8646 else
8647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8648 for as_dir in $PATH
8650 IFS=$as_save_IFS
8651 test -z "$as_dir" && as_dir=.
8652 for ac_exec_ext in '' $ac_executable_extensions; do
8653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8654 ac_cv_prog_CROSSCC="$ac_prog"
8655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8656 break 2
8658 done
8659 done
8660 IFS=$as_save_IFS
8664 CROSSCC=$ac_cv_prog_CROSSCC
8665 if test -n "$CROSSCC"; then
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8667 $as_echo "$CROSSCC" >&6; }
8668 else
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8670 $as_echo "no" >&6; }
8674 test -n "$CROSSCC" && break
8675 done
8676 test -n "$CROSSCC" || CROSSCC="false"
8678 if test "$CROSSCC" != "false"
8679 then
8680 ac_save_CC="$CC"
8681 CC="$CROSSCC"
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8683 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8688 main ()
8692 return 0;
8694 _ACEOF
8695 if ac_fn_c_try_compile "$LINENO"; then :
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8697 $as_echo "yes" >&6; }
8698 set x $CROSSCC
8699 shift
8700 while test $# -ge 1
8702 case "$1" in
8703 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8704 esac
8705 shift
8706 done
8707 else
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8709 $as_echo "no" >&6; }
8711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8712 CC="$ac_save_CC"
8717 if test "$ac_cv_header_pthread_h" = "yes"
8718 then
8719 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8720 if test "x$ac_cv_func_pthread_create" = xyes; then :
8722 else
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8724 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8725 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8726 $as_echo_n "(cached) " >&6
8727 else
8728 ac_check_lib_save_LIBS=$LIBS
8729 LIBS="-lpthread $LIBS"
8730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8733 /* Override any GCC internal prototype to avoid an error.
8734 Use char because int might match the return type of a GCC
8735 builtin and then its argument prototype would still apply. */
8736 #ifdef __cplusplus
8737 extern "C"
8738 #endif
8739 char pthread_create ();
8741 main ()
8743 return pthread_create ();
8745 return 0;
8747 _ACEOF
8748 if ac_fn_c_try_link "$LINENO"; then :
8749 ac_cv_lib_pthread_pthread_create=yes
8750 else
8751 ac_cv_lib_pthread_pthread_create=no
8753 rm -f core conftest.err conftest.$ac_objext \
8754 conftest$ac_exeext conftest.$ac_ext
8755 LIBS=$ac_check_lib_save_LIBS
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8758 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8759 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8760 PTHREAD_LIBS="-lpthread"
8767 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8768 case "x$with_pthread" in
8769 xno) ;;
8770 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8771 Wine cannot support threads without libpthread.
8772 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8773 esac
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8778 $as_echo_n "checking for X... " >&6; }
8781 # Check whether --with-x was given.
8782 if test "${with_x+set}" = set; then :
8783 withval=$with_x;
8786 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8787 if test "x$with_x" = xno; then
8788 # The user explicitly disabled X.
8789 have_x=disabled
8790 else
8791 case $x_includes,$x_libraries in #(
8792 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8793 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8794 $as_echo_n "(cached) " >&6
8795 else
8796 # One or both of the vars are not set, and there is no cached value.
8797 ac_x_includes=no ac_x_libraries=no
8798 rm -f -r conftest.dir
8799 if mkdir conftest.dir; then
8800 cd conftest.dir
8801 cat >Imakefile <<'_ACEOF'
8802 incroot:
8803 @echo incroot='${INCROOT}'
8804 usrlibdir:
8805 @echo usrlibdir='${USRLIBDIR}'
8806 libdir:
8807 @echo libdir='${LIBDIR}'
8808 _ACEOF
8809 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8810 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8811 for ac_var in incroot usrlibdir libdir; do
8812 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8813 done
8814 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8815 for ac_extension in a so sl dylib la dll; do
8816 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8817 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8818 ac_im_usrlibdir=$ac_im_libdir; break
8820 done
8821 # Screen out bogus values from the imake configuration. They are
8822 # bogus both because they are the default anyway, and because
8823 # using them would break gcc on systems where it needs fixed includes.
8824 case $ac_im_incroot in
8825 /usr/include) ac_x_includes= ;;
8826 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8827 esac
8828 case $ac_im_usrlibdir in
8829 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8830 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8831 esac
8833 cd ..
8834 rm -f -r conftest.dir
8837 # Standard set of common directories for X headers.
8838 # Check X11 before X11Rn because it is often a symlink to the current release.
8839 ac_x_header_dirs='
8840 /usr/X11/include
8841 /usr/X11R7/include
8842 /usr/X11R6/include
8843 /usr/X11R5/include
8844 /usr/X11R4/include
8846 /usr/include/X11
8847 /usr/include/X11R7
8848 /usr/include/X11R6
8849 /usr/include/X11R5
8850 /usr/include/X11R4
8852 /usr/local/X11/include
8853 /usr/local/X11R7/include
8854 /usr/local/X11R6/include
8855 /usr/local/X11R5/include
8856 /usr/local/X11R4/include
8858 /usr/local/include/X11
8859 /usr/local/include/X11R7
8860 /usr/local/include/X11R6
8861 /usr/local/include/X11R5
8862 /usr/local/include/X11R4
8864 /usr/X386/include
8865 /usr/x386/include
8866 /usr/XFree86/include/X11
8868 /usr/include
8869 /usr/local/include
8870 /usr/unsupported/include
8871 /usr/athena/include
8872 /usr/local/x11r5/include
8873 /usr/lpp/Xamples/include
8875 /usr/openwin/include
8876 /usr/openwin/share/include'
8878 if test "$ac_x_includes" = no; then
8879 # Guess where to find include files, by looking for Xlib.h.
8880 # First, try using that file with no special directory specified.
8881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8882 /* end confdefs.h. */
8883 #include <X11/Xlib.h>
8884 _ACEOF
8885 if ac_fn_c_try_cpp "$LINENO"; then :
8886 # We can compile using X headers with no special include directory.
8887 ac_x_includes=
8888 else
8889 for ac_dir in $ac_x_header_dirs; do
8890 if test -r "$ac_dir/X11/Xlib.h"; then
8891 ac_x_includes=$ac_dir
8892 break
8894 done
8896 rm -f conftest.err conftest.i conftest.$ac_ext
8897 fi # $ac_x_includes = no
8899 if test "$ac_x_libraries" = no; then
8900 # Check for the libraries.
8901 # See if we find them without any special options.
8902 # Don't add to $LIBS permanently.
8903 ac_save_LIBS=$LIBS
8904 LIBS="-lX11 $LIBS"
8905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8907 #include <X11/Xlib.h>
8909 main ()
8911 XrmInitialize ()
8913 return 0;
8915 _ACEOF
8916 if ac_fn_c_try_link "$LINENO"; then :
8917 LIBS=$ac_save_LIBS
8918 # We can link X programs with no special library path.
8919 ac_x_libraries=
8920 else
8921 LIBS=$ac_save_LIBS
8922 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8924 # Don't even attempt the hair of trying to link an X program!
8925 for ac_extension in a so sl dylib la dll; do
8926 if test -r "$ac_dir/libX11.$ac_extension"; then
8927 ac_x_libraries=$ac_dir
8928 break 2
8930 done
8931 done
8933 rm -f core conftest.err conftest.$ac_objext \
8934 conftest$ac_exeext conftest.$ac_ext
8935 fi # $ac_x_libraries = no
8937 case $ac_x_includes,$ac_x_libraries in #(
8938 no,* | *,no | *\'*)
8939 # Didn't find X, or a directory has "'" in its name.
8940 ac_cv_have_x="have_x=no";; #(
8942 # Record where we found X for the cache.
8943 ac_cv_have_x="have_x=yes\
8944 ac_x_includes='$ac_x_includes'\
8945 ac_x_libraries='$ac_x_libraries'"
8946 esac
8948 ;; #(
8949 *) have_x=yes;;
8950 esac
8951 eval "$ac_cv_have_x"
8952 fi # $with_x != no
8954 if test "$have_x" != yes; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8956 $as_echo "$have_x" >&6; }
8957 no_x=yes
8958 else
8959 # If each of the values was on the command line, it overrides each guess.
8960 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8961 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8962 # Update the cache value to reflect the command line values.
8963 ac_cv_have_x="have_x=yes\
8964 ac_x_includes='$x_includes'\
8965 ac_x_libraries='$x_libraries'"
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8967 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8970 if test "$no_x" = yes; then
8971 # Not all programs may use this symbol, but it does not hurt to define it.
8973 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8975 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8976 else
8977 if test -n "$x_includes"; then
8978 X_CFLAGS="$X_CFLAGS -I$x_includes"
8981 # It would also be nice to do this for all -L options, not just this one.
8982 if test -n "$x_libraries"; then
8983 X_LIBS="$X_LIBS -L$x_libraries"
8984 # For Solaris; some versions of Sun CC require a space after -R and
8985 # others require no space. Words are not sufficient . . . .
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8987 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8988 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8989 ac_xsave_c_werror_flag=$ac_c_werror_flag
8990 ac_c_werror_flag=yes
8991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8992 /* end confdefs.h. */
8995 main ()
8999 return 0;
9001 _ACEOF
9002 if ac_fn_c_try_link "$LINENO"; then :
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9004 $as_echo "no" >&6; }
9005 X_LIBS="$X_LIBS -R$x_libraries"
9006 else
9007 LIBS="$ac_xsave_LIBS -R $x_libraries"
9008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9009 /* end confdefs.h. */
9012 main ()
9016 return 0;
9018 _ACEOF
9019 if ac_fn_c_try_link "$LINENO"; then :
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9021 $as_echo "yes" >&6; }
9022 X_LIBS="$X_LIBS -R $x_libraries"
9023 else
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9025 $as_echo "neither works" >&6; }
9027 rm -f core conftest.err conftest.$ac_objext \
9028 conftest$ac_exeext conftest.$ac_ext
9030 rm -f core conftest.err conftest.$ac_objext \
9031 conftest$ac_exeext conftest.$ac_ext
9032 ac_c_werror_flag=$ac_xsave_c_werror_flag
9033 LIBS=$ac_xsave_LIBS
9036 # Check for system-dependent libraries X programs must link with.
9037 # Do this before checking for the system-independent R6 libraries
9038 # (-lICE), since we may need -lsocket or whatever for X linking.
9040 if test "$ISC" = yes; then
9041 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9042 else
9043 # Martyn Johnson says this is needed for Ultrix, if the X
9044 # libraries were built with DECnet support. And Karl Berry says
9045 # the Alpha needs dnet_stub (dnet does not exist).
9046 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9050 /* Override any GCC internal prototype to avoid an error.
9051 Use char because int might match the return type of a GCC
9052 builtin and then its argument prototype would still apply. */
9053 #ifdef __cplusplus
9054 extern "C"
9055 #endif
9056 char XOpenDisplay ();
9058 main ()
9060 return XOpenDisplay ();
9062 return 0;
9064 _ACEOF
9065 if ac_fn_c_try_link "$LINENO"; then :
9067 else
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9069 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9070 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9071 $as_echo_n "(cached) " >&6
9072 else
9073 ac_check_lib_save_LIBS=$LIBS
9074 LIBS="-ldnet $LIBS"
9075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9076 /* end confdefs.h. */
9078 /* Override any GCC internal prototype to avoid an error.
9079 Use char because int might match the return type of a GCC
9080 builtin and then its argument prototype would still apply. */
9081 #ifdef __cplusplus
9082 extern "C"
9083 #endif
9084 char dnet_ntoa ();
9086 main ()
9088 return dnet_ntoa ();
9090 return 0;
9092 _ACEOF
9093 if ac_fn_c_try_link "$LINENO"; then :
9094 ac_cv_lib_dnet_dnet_ntoa=yes
9095 else
9096 ac_cv_lib_dnet_dnet_ntoa=no
9098 rm -f core conftest.err conftest.$ac_objext \
9099 conftest$ac_exeext conftest.$ac_ext
9100 LIBS=$ac_check_lib_save_LIBS
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9103 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9104 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9105 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9108 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9110 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9111 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9112 $as_echo_n "(cached) " >&6
9113 else
9114 ac_check_lib_save_LIBS=$LIBS
9115 LIBS="-ldnet_stub $LIBS"
9116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9117 /* end confdefs.h. */
9119 /* Override any GCC internal prototype to avoid an error.
9120 Use char because int might match the return type of a GCC
9121 builtin and then its argument prototype would still apply. */
9122 #ifdef __cplusplus
9123 extern "C"
9124 #endif
9125 char dnet_ntoa ();
9127 main ()
9129 return dnet_ntoa ();
9131 return 0;
9133 _ACEOF
9134 if ac_fn_c_try_link "$LINENO"; then :
9135 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9136 else
9137 ac_cv_lib_dnet_stub_dnet_ntoa=no
9139 rm -f core conftest.err conftest.$ac_objext \
9140 conftest$ac_exeext conftest.$ac_ext
9141 LIBS=$ac_check_lib_save_LIBS
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9144 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9145 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9146 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9151 rm -f core conftest.err conftest.$ac_objext \
9152 conftest$ac_exeext conftest.$ac_ext
9153 LIBS="$ac_xsave_LIBS"
9155 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9156 # to get the SysV transport functions.
9157 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9158 # needs -lnsl.
9159 # The nsl library prevents programs from opening the X display
9160 # on Irix 5.2, according to T.E. Dickey.
9161 # The functions gethostbyname, getservbyname, and inet_addr are
9162 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9163 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9164 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9168 if test $ac_cv_func_gethostbyname = no; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9170 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9171 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9172 $as_echo_n "(cached) " >&6
9173 else
9174 ac_check_lib_save_LIBS=$LIBS
9175 LIBS="-lnsl $LIBS"
9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9179 /* Override any GCC internal prototype to avoid an error.
9180 Use char because int might match the return type of a GCC
9181 builtin and then its argument prototype would still apply. */
9182 #ifdef __cplusplus
9183 extern "C"
9184 #endif
9185 char gethostbyname ();
9187 main ()
9189 return gethostbyname ();
9191 return 0;
9193 _ACEOF
9194 if ac_fn_c_try_link "$LINENO"; then :
9195 ac_cv_lib_nsl_gethostbyname=yes
9196 else
9197 ac_cv_lib_nsl_gethostbyname=no
9199 rm -f core conftest.err conftest.$ac_objext \
9200 conftest$ac_exeext conftest.$ac_ext
9201 LIBS=$ac_check_lib_save_LIBS
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9204 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9205 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9206 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9209 if test $ac_cv_lib_nsl_gethostbyname = no; then
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9211 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9212 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9213 $as_echo_n "(cached) " >&6
9214 else
9215 ac_check_lib_save_LIBS=$LIBS
9216 LIBS="-lbsd $LIBS"
9217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9218 /* end confdefs.h. */
9220 /* Override any GCC internal prototype to avoid an error.
9221 Use char because int might match the return type of a GCC
9222 builtin and then its argument prototype would still apply. */
9223 #ifdef __cplusplus
9224 extern "C"
9225 #endif
9226 char gethostbyname ();
9228 main ()
9230 return gethostbyname ();
9232 return 0;
9234 _ACEOF
9235 if ac_fn_c_try_link "$LINENO"; then :
9236 ac_cv_lib_bsd_gethostbyname=yes
9237 else
9238 ac_cv_lib_bsd_gethostbyname=no
9240 rm -f core conftest.err conftest.$ac_objext \
9241 conftest$ac_exeext conftest.$ac_ext
9242 LIBS=$ac_check_lib_save_LIBS
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9245 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9246 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9247 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9253 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9254 # socket/setsockopt and other routines are undefined under SCO ODT
9255 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9256 # on later versions), says Simon Leinen: it contains gethostby*
9257 # variants that don't use the name server (or something). -lsocket
9258 # must be given before -lnsl if both are needed. We assume that
9259 # if connect needs -lnsl, so does gethostbyname.
9260 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9261 if test "x$ac_cv_func_connect" = xyes; then :
9265 if test $ac_cv_func_connect = no; then
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9267 $as_echo_n "checking for connect in -lsocket... " >&6; }
9268 if ${ac_cv_lib_socket_connect+:} false; then :
9269 $as_echo_n "(cached) " >&6
9270 else
9271 ac_check_lib_save_LIBS=$LIBS
9272 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9279 #ifdef __cplusplus
9280 extern "C"
9281 #endif
9282 char connect ();
9284 main ()
9286 return connect ();
9288 return 0;
9290 _ACEOF
9291 if ac_fn_c_try_link "$LINENO"; then :
9292 ac_cv_lib_socket_connect=yes
9293 else
9294 ac_cv_lib_socket_connect=no
9296 rm -f core conftest.err conftest.$ac_objext \
9297 conftest$ac_exeext conftest.$ac_ext
9298 LIBS=$ac_check_lib_save_LIBS
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9301 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9302 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9303 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9308 # Guillermo Gomez says -lposix is necessary on A/UX.
9309 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9310 if test "x$ac_cv_func_remove" = xyes; then :
9314 if test $ac_cv_func_remove = no; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9316 $as_echo_n "checking for remove in -lposix... " >&6; }
9317 if ${ac_cv_lib_posix_remove+:} false; then :
9318 $as_echo_n "(cached) " >&6
9319 else
9320 ac_check_lib_save_LIBS=$LIBS
9321 LIBS="-lposix $LIBS"
9322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9328 #ifdef __cplusplus
9329 extern "C"
9330 #endif
9331 char remove ();
9333 main ()
9335 return remove ();
9337 return 0;
9339 _ACEOF
9340 if ac_fn_c_try_link "$LINENO"; then :
9341 ac_cv_lib_posix_remove=yes
9342 else
9343 ac_cv_lib_posix_remove=no
9345 rm -f core conftest.err conftest.$ac_objext \
9346 conftest$ac_exeext conftest.$ac_ext
9347 LIBS=$ac_check_lib_save_LIBS
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9350 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9351 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9352 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9357 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9358 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9359 if test "x$ac_cv_func_shmat" = xyes; then :
9363 if test $ac_cv_func_shmat = no; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9365 $as_echo_n "checking for shmat in -lipc... " >&6; }
9366 if ${ac_cv_lib_ipc_shmat+:} false; then :
9367 $as_echo_n "(cached) " >&6
9368 else
9369 ac_check_lib_save_LIBS=$LIBS
9370 LIBS="-lipc $LIBS"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9374 /* Override any GCC internal prototype to avoid an error.
9375 Use char because int might match the return type of a GCC
9376 builtin and then its argument prototype would still apply. */
9377 #ifdef __cplusplus
9378 extern "C"
9379 #endif
9380 char shmat ();
9382 main ()
9384 return shmat ();
9386 return 0;
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 ac_cv_lib_ipc_shmat=yes
9391 else
9392 ac_cv_lib_ipc_shmat=no
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 LIBS=$ac_check_lib_save_LIBS
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9399 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9400 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9401 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9407 # Check for libraries that X11R6 Xt/Xaw programs need.
9408 ac_save_LDFLAGS=$LDFLAGS
9409 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9410 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9411 # check for ICE first), but we must link in the order -lSM -lICE or
9412 # we get undefined symbols. So assume we have SM if we have ICE.
9413 # These have to be linked with before -lX11, unlike the other
9414 # libraries we check for below, so use a different variable.
9415 # John Interrante, Karl Berry
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9417 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9418 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9419 $as_echo_n "(cached) " >&6
9420 else
9421 ac_check_lib_save_LIBS=$LIBS
9422 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9426 /* Override any GCC internal prototype to avoid an error.
9427 Use char because int might match the return type of a GCC
9428 builtin and then its argument prototype would still apply. */
9429 #ifdef __cplusplus
9430 extern "C"
9431 #endif
9432 char IceConnectionNumber ();
9434 main ()
9436 return IceConnectionNumber ();
9438 return 0;
9440 _ACEOF
9441 if ac_fn_c_try_link "$LINENO"; then :
9442 ac_cv_lib_ICE_IceConnectionNumber=yes
9443 else
9444 ac_cv_lib_ICE_IceConnectionNumber=no
9446 rm -f core conftest.err conftest.$ac_objext \
9447 conftest$ac_exeext conftest.$ac_ext
9448 LIBS=$ac_check_lib_save_LIBS
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9451 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9452 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9453 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9456 LDFLAGS=$ac_save_LDFLAGS
9461 if test "$have_x" = "yes"
9462 then
9463 ac_save_CPPFLAGS="$CPPFLAGS"
9464 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9467 $as_echo_n "checking for -lX11... " >&6; }
9468 if ${ac_cv_lib_soname_X11+:} false; then :
9469 $as_echo_n "(cached) " >&6
9470 else
9471 ac_check_soname_save_LIBS=$LIBS
9472 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9474 /* end confdefs.h. */
9476 /* Override any GCC internal prototype to avoid an error.
9477 Use char because int might match the return type of a GCC
9478 builtin and then its argument prototype would still apply. */
9479 #ifdef __cplusplus
9480 extern "C"
9481 #endif
9482 char XCreateWindow ();
9484 main ()
9486 return XCreateWindow ();
9488 return 0;
9490 _ACEOF
9491 if ac_fn_c_try_link "$LINENO"; then :
9492 case "$LIBEXT" in
9493 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9494 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'` ;;
9495 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9496 if ${ac_cv_lib_soname_X11:+false} :; then :
9497 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9498 fi ;;
9499 esac
9501 rm -f core conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 LIBS=$ac_check_soname_save_LIBS
9505 if ${ac_cv_lib_soname_X11:+false} :; then :
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9507 $as_echo "not found" >&6; }
9509 else
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9511 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9513 cat >>confdefs.h <<_ACEOF
9514 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9515 _ACEOF
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9520 $as_echo_n "checking for -lXext... " >&6; }
9521 if ${ac_cv_lib_soname_Xext+:} false; then :
9522 $as_echo_n "(cached) " >&6
9523 else
9524 ac_check_soname_save_LIBS=$LIBS
9525 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9527 /* end confdefs.h. */
9529 /* Override any GCC internal prototype to avoid an error.
9530 Use char because int might match the return type of a GCC
9531 builtin and then its argument prototype would still apply. */
9532 #ifdef __cplusplus
9533 extern "C"
9534 #endif
9535 char XextCreateExtension ();
9537 main ()
9539 return XextCreateExtension ();
9541 return 0;
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9545 case "$LIBEXT" in
9546 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9547 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'` ;;
9548 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9549 if ${ac_cv_lib_soname_Xext:+false} :; then :
9550 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9551 fi ;;
9552 esac
9554 rm -f core conftest.err conftest.$ac_objext \
9555 conftest$ac_exeext conftest.$ac_ext
9556 LIBS=$ac_check_soname_save_LIBS
9558 if ${ac_cv_lib_soname_Xext:+false} :; then :
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9560 $as_echo "not found" >&6; }
9562 else
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9564 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9566 cat >>confdefs.h <<_ACEOF
9567 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9568 _ACEOF
9570 X_LIBS="$X_LIBS -lXext"
9572 X_LIBS="$X_LIBS -lX11"
9574 for ac_header in X11/Xlib.h \
9575 X11/XKBlib.h \
9576 X11/Xutil.h \
9577 X11/Xcursor/Xcursor.h \
9578 X11/extensions/shape.h \
9579 X11/extensions/XInput.h \
9580 X11/extensions/XInput2.h \
9581 X11/extensions/XShm.h \
9582 X11/extensions/Xcomposite.h \
9583 X11/extensions/Xinerama.h \
9584 X11/extensions/Xrandr.h \
9585 X11/extensions/Xrender.h \
9586 X11/extensions/xf86vmode.h \
9587 X11/extensions/xf86vmproto.h
9588 do :
9589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9590 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9591 # include <X11/Xlib.h>
9592 #endif
9593 #ifdef HAVE_X11_XUTIL_H
9594 # include <X11/Xutil.h>
9595 #endif
9597 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9598 cat >>confdefs.h <<_ACEOF
9599 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9600 _ACEOF
9604 done
9607 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9608 then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9610 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9611 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9612 $as_echo_n "(cached) " >&6
9613 else
9614 ac_check_lib_save_LIBS=$LIBS
9615 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9619 /* Override any GCC internal prototype to avoid an error.
9620 Use char because int might match the return type of a GCC
9621 builtin and then its argument prototype would still apply. */
9622 #ifdef __cplusplus
9623 extern "C"
9624 #endif
9625 char XkbQueryExtension ();
9627 main ()
9629 return XkbQueryExtension ();
9631 return 0;
9633 _ACEOF
9634 if ac_fn_c_try_link "$LINENO"; then :
9635 ac_cv_lib_X11_XkbQueryExtension=yes
9636 else
9637 ac_cv_lib_X11_XkbQueryExtension=no
9639 rm -f core conftest.err conftest.$ac_objext \
9640 conftest$ac_exeext conftest.$ac_ext
9641 LIBS=$ac_check_lib_save_LIBS
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9644 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9645 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9647 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9653 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9654 then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9656 $as_echo_n "checking for -lXcursor... " >&6; }
9657 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9658 $as_echo_n "(cached) " >&6
9659 else
9660 ac_check_soname_save_LIBS=$LIBS
9661 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9665 /* Override any GCC internal prototype to avoid an error.
9666 Use char because int might match the return type of a GCC
9667 builtin and then its argument prototype would still apply. */
9668 #ifdef __cplusplus
9669 extern "C"
9670 #endif
9671 char XcursorImageLoadCursor ();
9673 main ()
9675 return XcursorImageLoadCursor ();
9677 return 0;
9679 _ACEOF
9680 if ac_fn_c_try_link "$LINENO"; then :
9681 case "$LIBEXT" in
9682 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9683 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'` ;;
9684 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9685 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9686 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9687 fi ;;
9688 esac
9690 rm -f core conftest.err conftest.$ac_objext \
9691 conftest$ac_exeext conftest.$ac_ext
9692 LIBS=$ac_check_soname_save_LIBS
9694 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9696 $as_echo "not found" >&6; }
9698 else
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9700 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9702 cat >>confdefs.h <<_ACEOF
9703 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9704 _ACEOF
9709 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9710 case "x$with_xcursor" in
9711 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9712 xno) ;;
9713 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9714 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9715 esac
9718 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9719 then
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9721 $as_echo_n "checking for -lXi... " >&6; }
9722 if ${ac_cv_lib_soname_Xi+:} false; then :
9723 $as_echo_n "(cached) " >&6
9724 else
9725 ac_check_soname_save_LIBS=$LIBS
9726 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9730 /* Override any GCC internal prototype to avoid an error.
9731 Use char because int might match the return type of a GCC
9732 builtin and then its argument prototype would still apply. */
9733 #ifdef __cplusplus
9734 extern "C"
9735 #endif
9736 char XOpenDevice ();
9738 main ()
9740 return XOpenDevice ();
9742 return 0;
9744 _ACEOF
9745 if ac_fn_c_try_link "$LINENO"; then :
9746 case "$LIBEXT" in
9747 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9748 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'` ;;
9749 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9750 if ${ac_cv_lib_soname_Xi:+false} :; then :
9751 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9752 fi ;;
9753 esac
9755 rm -f core conftest.err conftest.$ac_objext \
9756 conftest$ac_exeext conftest.$ac_ext
9757 LIBS=$ac_check_soname_save_LIBS
9759 if ${ac_cv_lib_soname_Xi:+false} :; then :
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9761 $as_echo "not found" >&6; }
9763 else
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9765 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9767 cat >>confdefs.h <<_ACEOF
9768 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9769 _ACEOF
9774 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9775 case "x$with_xinput" in
9776 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9777 xno) ;;
9778 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9779 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9780 esac
9783 if test "x$ac_cv_lib_soname_Xi" != x
9784 then
9785 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9786 case "x$with_xinput2" in
9787 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9788 xno) ;;
9789 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9790 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9791 esac
9795 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9796 then
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9798 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9799 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9800 $as_echo_n "(cached) " >&6
9801 else
9802 ac_check_lib_save_LIBS=$LIBS
9803 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9805 /* end confdefs.h. */
9807 /* Override any GCC internal prototype to avoid an error.
9808 Use char because int might match the return type of a GCC
9809 builtin and then its argument prototype would still apply. */
9810 #ifdef __cplusplus
9811 extern "C"
9812 #endif
9813 char XShmQueryExtension ();
9815 main ()
9817 return XShmQueryExtension ();
9819 return 0;
9821 _ACEOF
9822 if ac_fn_c_try_link "$LINENO"; then :
9823 ac_cv_lib_Xext_XShmQueryExtension=yes
9824 else
9825 ac_cv_lib_Xext_XShmQueryExtension=no
9827 rm -f core conftest.err conftest.$ac_objext \
9828 conftest$ac_exeext conftest.$ac_ext
9829 LIBS=$ac_check_lib_save_LIBS
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9832 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9833 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9835 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9840 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9841 case "x$with_xshm" in
9842 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9843 xno) ;;
9844 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9845 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9846 esac
9849 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9850 then
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9852 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9853 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9854 $as_echo_n "(cached) " >&6
9855 else
9856 ac_check_lib_save_LIBS=$LIBS
9857 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9859 /* end confdefs.h. */
9861 /* Override any GCC internal prototype to avoid an error.
9862 Use char because int might match the return type of a GCC
9863 builtin and then its argument prototype would still apply. */
9864 #ifdef __cplusplus
9865 extern "C"
9866 #endif
9867 char XShapeQueryExtension ();
9869 main ()
9871 return XShapeQueryExtension ();
9873 return 0;
9875 _ACEOF
9876 if ac_fn_c_try_link "$LINENO"; then :
9877 ac_cv_lib_Xext_XShapeQueryExtension=yes
9878 else
9879 ac_cv_lib_Xext_XShapeQueryExtension=no
9881 rm -f core conftest.err conftest.$ac_objext \
9882 conftest$ac_exeext conftest.$ac_ext
9883 LIBS=$ac_check_lib_save_LIBS
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9886 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9887 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9889 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9894 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9895 case "x$with_xshape" in
9896 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9897 xno) ;;
9898 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9899 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9900 esac
9903 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9904 then
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9906 $as_echo_n "checking for -lXxf86vm... " >&6; }
9907 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9908 $as_echo_n "(cached) " >&6
9909 else
9910 ac_check_soname_save_LIBS=$LIBS
9911 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9913 /* end confdefs.h. */
9915 /* Override any GCC internal prototype to avoid an error.
9916 Use char because int might match the return type of a GCC
9917 builtin and then its argument prototype would still apply. */
9918 #ifdef __cplusplus
9919 extern "C"
9920 #endif
9921 char XF86VidModeQueryExtension ();
9923 main ()
9925 return XF86VidModeQueryExtension ();
9927 return 0;
9929 _ACEOF
9930 if ac_fn_c_try_link "$LINENO"; then :
9931 case "$LIBEXT" in
9932 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9933 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'` ;;
9934 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9935 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9936 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9937 fi ;;
9938 esac
9940 rm -f core conftest.err conftest.$ac_objext \
9941 conftest$ac_exeext conftest.$ac_ext
9942 LIBS=$ac_check_soname_save_LIBS
9944 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9946 $as_echo "not found" >&6; }
9948 else
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9950 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9952 cat >>confdefs.h <<_ACEOF
9953 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9954 _ACEOF
9959 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9960 case "x$with_xxf86vm" in
9961 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9962 xno) ;;
9963 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9964 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9965 esac
9968 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9969 then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9971 $as_echo_n "checking for -lXrender... " >&6; }
9972 if ${ac_cv_lib_soname_Xrender+:} false; then :
9973 $as_echo_n "(cached) " >&6
9974 else
9975 ac_check_soname_save_LIBS=$LIBS
9976 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9980 /* Override any GCC internal prototype to avoid an error.
9981 Use char because int might match the return type of a GCC
9982 builtin and then its argument prototype would still apply. */
9983 #ifdef __cplusplus
9984 extern "C"
9985 #endif
9986 char XRenderQueryExtension ();
9988 main ()
9990 return XRenderQueryExtension ();
9992 return 0;
9994 _ACEOF
9995 if ac_fn_c_try_link "$LINENO"; then :
9996 case "$LIBEXT" in
9997 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9998 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'` ;;
9999 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10000 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10001 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10002 fi ;;
10003 esac
10005 rm -f core conftest.err conftest.$ac_objext \
10006 conftest$ac_exeext conftest.$ac_ext
10007 LIBS=$ac_check_soname_save_LIBS
10009 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10011 $as_echo "not found" >&6; }
10013 else
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10015 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10017 cat >>confdefs.h <<_ACEOF
10018 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10019 _ACEOF
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10022 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10023 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_check_lib_save_LIBS=$LIBS
10027 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10031 /* Override any GCC internal prototype to avoid an error.
10032 Use char because int might match the return type of a GCC
10033 builtin and then its argument prototype would still apply. */
10034 #ifdef __cplusplus
10035 extern "C"
10036 #endif
10037 char XRenderSetPictureTransform ();
10039 main ()
10041 return XRenderSetPictureTransform ();
10043 return 0;
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"; then :
10047 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10048 else
10049 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10051 rm -f core conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 LIBS=$ac_check_lib_save_LIBS
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10056 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10057 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10059 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10064 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10065 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10066 $as_echo_n "(cached) " >&6
10067 else
10068 ac_check_lib_save_LIBS=$LIBS
10069 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10073 /* Override any GCC internal prototype to avoid an error.
10074 Use char because int might match the return type of a GCC
10075 builtin and then its argument prototype would still apply. */
10076 #ifdef __cplusplus
10077 extern "C"
10078 #endif
10079 char XRenderCreateLinearGradient ();
10081 main ()
10083 return XRenderCreateLinearGradient ();
10085 return 0;
10087 _ACEOF
10088 if ac_fn_c_try_link "$LINENO"; then :
10089 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10090 else
10091 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10093 rm -f core conftest.err conftest.$ac_objext \
10094 conftest$ac_exeext conftest.$ac_ext
10095 LIBS=$ac_check_lib_save_LIBS
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10098 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10099 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10101 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10108 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10109 case "x$with_xrender" in
10110 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10111 xno) ;;
10112 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10113 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10114 esac
10117 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10118 then
10119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10121 #include <X11/Xlib.h>
10122 #include <X11/extensions/Xrandr.h>
10124 main ()
10126 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10128 return 0;
10130 _ACEOF
10131 if ac_fn_c_try_compile "$LINENO"; then :
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10133 $as_echo_n "checking for -lXrandr... " >&6; }
10134 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10135 $as_echo_n "(cached) " >&6
10136 else
10137 ac_check_soname_save_LIBS=$LIBS
10138 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10142 /* Override any GCC internal prototype to avoid an error.
10143 Use char because int might match the return type of a GCC
10144 builtin and then its argument prototype would still apply. */
10145 #ifdef __cplusplus
10146 extern "C"
10147 #endif
10148 char XRRQueryExtension ();
10150 main ()
10152 return XRRQueryExtension ();
10154 return 0;
10156 _ACEOF
10157 if ac_fn_c_try_link "$LINENO"; then :
10158 case "$LIBEXT" in
10159 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10160 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'` ;;
10161 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10162 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10163 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10164 fi ;;
10165 esac
10167 rm -f core conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10169 LIBS=$ac_check_soname_save_LIBS
10171 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10173 $as_echo "not found" >&6; }
10175 else
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10177 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10179 cat >>confdefs.h <<_ACEOF
10180 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10181 _ACEOF
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 #include <X11/Xlib.h>
10186 #include <X11/extensions/Xrandr.h>
10188 main ()
10190 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10192 return 0;
10194 _ACEOF
10195 if ac_fn_c_try_compile "$LINENO"; then :
10197 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10205 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10206 case "x$with_xrandr" in
10207 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10208 xno) ;;
10209 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10210 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10211 esac
10214 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10215 then
10216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10218 #include <X11/Xlib.h>
10219 #include <X11/extensions/Xinerama.h>
10221 main ()
10223 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10225 return 0;
10227 _ACEOF
10228 if ac_fn_c_try_compile "$LINENO"; then :
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10230 $as_echo_n "checking for -lXinerama... " >&6; }
10231 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10232 $as_echo_n "(cached) " >&6
10233 else
10234 ac_check_soname_save_LIBS=$LIBS
10235 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10237 /* end confdefs.h. */
10239 /* Override any GCC internal prototype to avoid an error.
10240 Use char because int might match the return type of a GCC
10241 builtin and then its argument prototype would still apply. */
10242 #ifdef __cplusplus
10243 extern "C"
10244 #endif
10245 char XineramaQueryScreens ();
10247 main ()
10249 return XineramaQueryScreens ();
10251 return 0;
10253 _ACEOF
10254 if ac_fn_c_try_link "$LINENO"; then :
10255 case "$LIBEXT" in
10256 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10257 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'` ;;
10258 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10259 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10260 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10261 fi ;;
10262 esac
10264 rm -f core conftest.err conftest.$ac_objext \
10265 conftest$ac_exeext conftest.$ac_ext
10266 LIBS=$ac_check_soname_save_LIBS
10268 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10270 $as_echo "not found" >&6; }
10272 else
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10274 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10276 cat >>confdefs.h <<_ACEOF
10277 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10278 _ACEOF
10283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10285 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10286 case "x$with_xinerama" in
10287 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10288 xno) ;;
10289 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10290 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10291 esac
10294 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10295 then
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10297 $as_echo_n "checking for -lXcomposite... " >&6; }
10298 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10299 $as_echo_n "(cached) " >&6
10300 else
10301 ac_check_soname_save_LIBS=$LIBS
10302 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10306 /* Override any GCC internal prototype to avoid an error.
10307 Use char because int might match the return type of a GCC
10308 builtin and then its argument prototype would still apply. */
10309 #ifdef __cplusplus
10310 extern "C"
10311 #endif
10312 char XCompositeRedirectWindow ();
10314 main ()
10316 return XCompositeRedirectWindow ();
10318 return 0;
10320 _ACEOF
10321 if ac_fn_c_try_link "$LINENO"; then :
10322 case "$LIBEXT" in
10323 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10324 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'` ;;
10325 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10326 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10327 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10328 fi ;;
10329 esac
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 LIBS=$ac_check_soname_save_LIBS
10335 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10337 $as_echo "not found" >&6; }
10339 else
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10341 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10343 cat >>confdefs.h <<_ACEOF
10344 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10345 _ACEOF
10350 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10351 case "x$with_xcomposite" in
10352 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10353 xno) ;;
10354 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10355 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10356 esac
10359 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10360 #include <X11/Xlib.h>
10361 #endif
10363 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10365 cat >>confdefs.h <<_ACEOF
10366 #define HAVE_XICCALLBACK_CALLBACK 1
10367 _ACEOF
10371 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10372 #include <X11/Xlib.h>
10373 #endif
10375 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10377 cat >>confdefs.h <<_ACEOF
10378 #define HAVE_XEVENT_XCOOKIE 1
10379 _ACEOF
10386 opengl_msg=""
10387 if test "x$with_opengl" != "xno"
10388 then
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10390 $as_echo_n "checking for -lGL... " >&6; }
10391 if ${ac_cv_lib_soname_GL+:} false; then :
10392 $as_echo_n "(cached) " >&6
10393 else
10394 ac_check_soname_save_LIBS=$LIBS
10395 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h. */
10399 /* Override any GCC internal prototype to avoid an error.
10400 Use char because int might match the return type of a GCC
10401 builtin and then its argument prototype would still apply. */
10402 #ifdef __cplusplus
10403 extern "C"
10404 #endif
10405 char glXCreateContext ();
10407 main ()
10409 return glXCreateContext ();
10411 return 0;
10413 _ACEOF
10414 if ac_fn_c_try_link "$LINENO"; then :
10415 case "$LIBEXT" in
10416 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10417 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'` ;;
10418 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10419 if ${ac_cv_lib_soname_GL:+false} :; then :
10420 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10421 fi ;;
10422 esac
10424 rm -f core conftest.err conftest.$ac_objext \
10425 conftest$ac_exeext conftest.$ac_ext
10426 LIBS=$ac_check_soname_save_LIBS
10428 if ${ac_cv_lib_soname_GL:+false} :; then :
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10430 $as_echo "not found" >&6; }
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10432 $as_echo_n "checking for -lGL... " >&6; }
10433 if ${ac_cv_lib_soname_GL+:} false; then :
10434 $as_echo_n "(cached) " >&6
10435 else
10436 ac_check_soname_save_LIBS=$LIBS
10437 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"
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10441 /* Override any GCC internal prototype to avoid an error.
10442 Use char because int might match the return type of a GCC
10443 builtin and then its argument prototype would still apply. */
10444 #ifdef __cplusplus
10445 extern "C"
10446 #endif
10447 char glXCreateContext ();
10449 main ()
10451 return glXCreateContext ();
10453 return 0;
10455 _ACEOF
10456 if ac_fn_c_try_link "$LINENO"; then :
10457 case "$LIBEXT" in
10458 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10459 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'` ;;
10460 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10461 if ${ac_cv_lib_soname_GL:+false} :; then :
10462 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10463 fi ;;
10464 esac
10466 rm -f core conftest.err conftest.$ac_objext \
10467 conftest$ac_exeext conftest.$ac_ext
10468 LIBS=$ac_check_soname_save_LIBS
10470 if ${ac_cv_lib_soname_GL:+false} :; then :
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10472 $as_echo "not found" >&6; }
10473 if test -f /usr/X11R6/lib/libGL.a
10474 then
10475 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10476 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10477 else
10478 opengl_msg="No OpenGL library found on this system."
10480 else
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10482 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10484 cat >>confdefs.h <<_ACEOF
10485 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10486 _ACEOF
10488 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"
10490 else
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10492 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10494 cat >>confdefs.h <<_ACEOF
10495 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10496 _ACEOF
10498 OPENGL_LIBS="-lGL"
10500 if test "x$with_glu" != "xno"
10501 then
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10503 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10504 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10505 $as_echo_n "(cached) " >&6
10506 else
10507 ac_check_lib_save_LIBS=$LIBS
10508 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10512 /* Override any GCC internal prototype to avoid an error.
10513 Use char because int might match the return type of a GCC
10514 builtin and then its argument prototype would still apply. */
10515 #ifdef __cplusplus
10516 extern "C"
10517 #endif
10518 char gluLookAt ();
10520 main ()
10522 return gluLookAt ();
10524 return 0;
10526 _ACEOF
10527 if ac_fn_c_try_link "$LINENO"; then :
10528 ac_cv_lib_GLU_gluLookAt=yes
10529 else
10530 ac_cv_lib_GLU_gluLookAt=no
10532 rm -f core conftest.err conftest.$ac_objext \
10533 conftest$ac_exeext conftest.$ac_ext
10534 LIBS=$ac_check_lib_save_LIBS
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10537 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10538 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10542 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10543 case "x$with_glu" in
10544 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10545 xno) ;;
10546 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10547 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10548 esac
10552 if test "x$with_osmesa" != "xno"
10553 then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10555 $as_echo_n "checking for -lOSMesa... " >&6; }
10556 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10557 $as_echo_n "(cached) " >&6
10558 else
10559 ac_check_soname_save_LIBS=$LIBS
10560 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10567 #ifdef __cplusplus
10568 extern "C"
10569 #endif
10570 char glAccum ();
10572 main ()
10574 return glAccum ();
10576 return 0;
10578 _ACEOF
10579 if ac_fn_c_try_link "$LINENO"; then :
10580 case "$LIBEXT" in
10581 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10582 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'` ;;
10583 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10584 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10585 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10586 fi ;;
10587 esac
10589 rm -f core conftest.err conftest.$ac_objext \
10590 conftest$ac_exeext conftest.$ac_ext
10591 LIBS=$ac_check_soname_save_LIBS
10593 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10595 $as_echo "not found" >&6; }
10597 else
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10599 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10601 cat >>confdefs.h <<_ACEOF
10602 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10603 _ACEOF
10607 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10608 case "x$with_osmesa" in
10609 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10610 xno) ;;
10611 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10612 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10613 esac
10617 if test -n "$opengl_msg"; then :
10618 case "x$with_opengl" in
10619 x) as_fn_append wine_warnings "|$opengl_msg
10620 OpenGL and Direct3D won't be supported." ;;
10621 xno) ;;
10622 *) as_fn_error $? "$opengl_msg
10623 OpenGL and Direct3D won't be supported.
10624 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10625 esac
10628 CPPFLAGS="$ac_save_CPPFLAGS"
10629 else
10630 X_CFLAGS=""
10631 X_LIBS=""
10632 enable_winex11_drv=${enable_winex11_drv:-no}
10634 if test "x$X_LIBS" = "x"; then :
10635 case "x$with_x" in
10636 xno) ;;
10637 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10638 without X support, which probably isn't what you want. You will need
10639 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10640 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10641 esac
10644 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10646 if test "$ac_cv_header_CL_cl_h" = "yes"
10647 then
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10649 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10650 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10651 $as_echo_n "(cached) " >&6
10652 else
10653 ac_check_lib_save_LIBS=$LIBS
10654 LIBS="-lOpenCL $LIBS"
10655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10661 #ifdef __cplusplus
10662 extern "C"
10663 #endif
10664 char clGetPlatformInfo ();
10666 main ()
10668 return clGetPlatformInfo ();
10670 return 0;
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10675 else
10676 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10678 rm -f core conftest.err conftest.$ac_objext \
10679 conftest$ac_exeext conftest.$ac_ext
10680 LIBS=$ac_check_lib_save_LIBS
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10683 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10684 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10685 OPENCL_LIBS="-lOpenCL"
10690 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10691 case "x$with_opencl" in
10692 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10693 xno) ;;
10694 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10695 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10696 esac
10698 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10700 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10701 then
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10703 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10704 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10705 $as_echo_n "(cached) " >&6
10706 else
10707 ac_check_lib_save_LIBS=$LIBS
10708 LIBS="-lpcap $LIBS"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10715 #ifdef __cplusplus
10716 extern "C"
10717 #endif
10718 char pcap_create ();
10720 main ()
10722 return pcap_create ();
10724 return 0;
10726 _ACEOF
10727 if ac_fn_c_try_link "$LINENO"; then :
10728 ac_cv_lib_pcap_pcap_create=yes
10729 else
10730 ac_cv_lib_pcap_pcap_create=no
10732 rm -f core conftest.err conftest.$ac_objext \
10733 conftest$ac_exeext conftest.$ac_ext
10734 LIBS=$ac_check_lib_save_LIBS
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10737 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10738 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10739 LIBPCAP="-lpcap"
10744 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10745 case "x$with_pcap" in
10746 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10747 xno) ;;
10748 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10749 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10750 esac
10752 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10755 if test "x$with_xml" != "xno"
10756 then
10757 if ${XML2_CFLAGS:+false} :; then :
10758 if ${PKG_CONFIG+:} false; then :
10759 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10762 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10763 if ${XML2_LIBS:+false} :; then :
10764 if ${PKG_CONFIG+:} false; then :
10765 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10768 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10769 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10770 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10771 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10772 ac_save_CPPFLAGS=$CPPFLAGS
10773 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10774 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10775 do :
10776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10777 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10779 cat >>confdefs.h <<_ACEOF
10780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10781 _ACEOF
10785 done
10787 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"
10788 then
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10790 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10791 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10792 $as_echo_n "(cached) " >&6
10793 else
10794 ac_check_lib_save_LIBS=$LIBS
10795 LIBS="-lxml2 $XML2_LIBS $LIBS"
10796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10802 #ifdef __cplusplus
10803 extern "C"
10804 #endif
10805 char xmlParseMemory ();
10807 main ()
10809 return xmlParseMemory ();
10811 return 0;
10813 _ACEOF
10814 if ac_fn_c_try_link "$LINENO"; then :
10815 ac_cv_lib_xml2_xmlParseMemory=yes
10816 else
10817 ac_cv_lib_xml2_xmlParseMemory=no
10819 rm -f core conftest.err conftest.$ac_objext \
10820 conftest$ac_exeext conftest.$ac_ext
10821 LIBS=$ac_check_lib_save_LIBS
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10824 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10825 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10827 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10829 else
10830 XML2_LIBS=""
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10834 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10835 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10836 $as_echo_n "(cached) " >&6
10837 else
10838 ac_check_lib_save_LIBS=$LIBS
10839 LIBS="-lxml2 $XML2_LIBS $LIBS"
10840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10841 /* end confdefs.h. */
10843 /* Override any GCC internal prototype to avoid an error.
10844 Use char because int might match the return type of a GCC
10845 builtin and then its argument prototype would still apply. */
10846 #ifdef __cplusplus
10847 extern "C"
10848 #endif
10849 char xmlReadMemory ();
10851 main ()
10853 return xmlReadMemory ();
10855 return 0;
10857 _ACEOF
10858 if ac_fn_c_try_link "$LINENO"; then :
10859 ac_cv_lib_xml2_xmlReadMemory=yes
10860 else
10861 ac_cv_lib_xml2_xmlReadMemory=no
10863 rm -f core conftest.err conftest.$ac_objext \
10864 conftest$ac_exeext conftest.$ac_ext
10865 LIBS=$ac_check_lib_save_LIBS
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10868 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10869 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10871 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10876 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10877 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10878 $as_echo_n "(cached) " >&6
10879 else
10880 ac_check_lib_save_LIBS=$LIBS
10881 LIBS="-lxml2 $XML2_LIBS $LIBS"
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10888 #ifdef __cplusplus
10889 extern "C"
10890 #endif
10891 char xmlNewDocPI ();
10893 main ()
10895 return xmlNewDocPI ();
10897 return 0;
10899 _ACEOF
10900 if ac_fn_c_try_link "$LINENO"; then :
10901 ac_cv_lib_xml2_xmlNewDocPI=yes
10902 else
10903 ac_cv_lib_xml2_xmlNewDocPI=no
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10910 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10911 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10913 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10918 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10919 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10920 $as_echo_n "(cached) " >&6
10921 else
10922 ac_check_lib_save_LIBS=$LIBS
10923 LIBS="-lxml2 $XML2_LIBS $LIBS"
10924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10927 /* Override any GCC internal prototype to avoid an error.
10928 Use char because int might match the return type of a GCC
10929 builtin and then its argument prototype would still apply. */
10930 #ifdef __cplusplus
10931 extern "C"
10932 #endif
10933 char xmlSchemaSetParserStructuredErrors ();
10935 main ()
10937 return xmlSchemaSetParserStructuredErrors ();
10939 return 0;
10941 _ACEOF
10942 if ac_fn_c_try_link "$LINENO"; then :
10943 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10944 else
10945 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10947 rm -f core conftest.err conftest.$ac_objext \
10948 conftest$ac_exeext conftest.$ac_ext
10949 LIBS=$ac_check_lib_save_LIBS
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10952 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10953 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10955 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10960 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10961 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10962 $as_echo_n "(cached) " >&6
10963 else
10964 ac_check_lib_save_LIBS=$LIBS
10965 LIBS="-lxml2 $XML2_LIBS $LIBS"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10972 #ifdef __cplusplus
10973 extern "C"
10974 #endif
10975 char xmlSchemaSetValidStructuredErrors ();
10977 main ()
10979 return xmlSchemaSetValidStructuredErrors ();
10981 return 0;
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"; then :
10985 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10986 else
10987 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10989 rm -f core conftest.err conftest.$ac_objext \
10990 conftest$ac_exeext conftest.$ac_ext
10991 LIBS=$ac_check_lib_save_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10994 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10995 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10997 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11002 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11003 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11004 $as_echo_n "(cached) " >&6
11005 else
11006 ac_check_lib_save_LIBS=$LIBS
11007 LIBS="-lxml2 $XML2_LIBS $LIBS"
11008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11009 /* end confdefs.h. */
11011 /* Override any GCC internal prototype to avoid an error.
11012 Use char because int might match the return type of a GCC
11013 builtin and then its argument prototype would still apply. */
11014 #ifdef __cplusplus
11015 extern "C"
11016 #endif
11017 char xmlFirstElementChild ();
11019 main ()
11021 return xmlFirstElementChild ();
11023 return 0;
11025 _ACEOF
11026 if ac_fn_c_try_link "$LINENO"; then :
11027 ac_cv_lib_xml2_xmlFirstElementChild=yes
11028 else
11029 ac_cv_lib_xml2_xmlFirstElementChild=no
11031 rm -f core conftest.err conftest.$ac_objext \
11032 conftest$ac_exeext conftest.$ac_ext
11033 LIBS=$ac_check_lib_save_LIBS
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11036 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11037 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11039 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11043 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11045 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11047 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11051 else
11052 XML2_CFLAGS=""
11053 XML2_LIBS=""
11055 CPPFLAGS=$ac_save_CPPFLAGS
11056 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11057 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11060 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11061 case "x$with_xml" in
11062 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11063 xno) ;;
11064 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11065 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11066 esac
11069 if test "x$with_xslt" != "xno"
11070 then
11071 if ${XSLT_CFLAGS:+false} :; then :
11072 if ${PKG_CONFIG+:} false; then :
11073 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11076 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11077 if ${XSLT_LIBS:+false} :; then :
11078 if ${PKG_CONFIG+:} false; then :
11079 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11082 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11083 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11084 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11085 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11086 ac_save_CPPFLAGS=$CPPFLAGS
11087 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11088 for ac_header in libxslt/pattern.h libxslt/transform.h
11089 do :
11090 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11091 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11092 # include <libxslt/pattern.h>
11093 #endif
11095 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11096 cat >>confdefs.h <<_ACEOF
11097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11098 _ACEOF
11102 done
11104 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11105 then
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11107 $as_echo_n "checking for -lxslt... " >&6; }
11108 if ${ac_cv_lib_soname_xslt+:} false; then :
11109 $as_echo_n "(cached) " >&6
11110 else
11111 ac_check_soname_save_LIBS=$LIBS
11112 LIBS="-lxslt $XSLT_LIBS $LIBS"
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11116 /* Override any GCC internal prototype to avoid an error.
11117 Use char because int might match the return type of a GCC
11118 builtin and then its argument prototype would still apply. */
11119 #ifdef __cplusplus
11120 extern "C"
11121 #endif
11122 char xsltCompilePattern ();
11124 main ()
11126 return xsltCompilePattern ();
11128 return 0;
11130 _ACEOF
11131 if ac_fn_c_try_link "$LINENO"; then :
11132 case "$LIBEXT" in
11133 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11134 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'` ;;
11135 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11136 if ${ac_cv_lib_soname_xslt:+false} :; then :
11137 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11138 fi ;;
11139 esac
11141 rm -f core conftest.err conftest.$ac_objext \
11142 conftest$ac_exeext conftest.$ac_ext
11143 LIBS=$ac_check_soname_save_LIBS
11145 if ${ac_cv_lib_soname_xslt:+false} :; then :
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11147 $as_echo "not found" >&6; }
11149 else
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11151 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11153 cat >>confdefs.h <<_ACEOF
11154 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11155 _ACEOF
11159 else
11160 XSLT_CFLAGS=""
11162 CPPFLAGS=$ac_save_CPPFLAGS
11163 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11164 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11167 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11168 case "x$with_xslt" in
11169 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11170 xno) ;;
11171 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11172 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11173 esac
11176 if test "x$with_dbus" != "xno"
11177 then
11178 if ${DBUS_CFLAGS:+false} :; then :
11179 if ${PKG_CONFIG+:} false; then :
11180 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11184 if ${DBUS_LIBS:+false} :; then :
11185 if ${PKG_CONFIG+:} false; then :
11186 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11191 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11192 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11193 ac_save_CPPFLAGS=$CPPFLAGS
11194 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11195 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11196 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11198 $as_echo_n "checking for -ldbus-1... " >&6; }
11199 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11200 $as_echo_n "(cached) " >&6
11201 else
11202 ac_check_soname_save_LIBS=$LIBS
11203 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h. */
11207 /* Override any GCC internal prototype to avoid an error.
11208 Use char because int might match the return type of a GCC
11209 builtin and then its argument prototype would still apply. */
11210 #ifdef __cplusplus
11211 extern "C"
11212 #endif
11213 char dbus_connection_close ();
11215 main ()
11217 return dbus_connection_close ();
11219 return 0;
11221 _ACEOF
11222 if ac_fn_c_try_link "$LINENO"; then :
11223 case "$LIBEXT" in
11224 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11225 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'` ;;
11226 *) 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'`
11227 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11228 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11229 fi ;;
11230 esac
11232 rm -f core conftest.err conftest.$ac_objext \
11233 conftest$ac_exeext conftest.$ac_ext
11234 LIBS=$ac_check_soname_save_LIBS
11236 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11238 $as_echo "not found" >&6; }
11239 DBUS_CFLAGS=""
11240 else
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11242 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11244 cat >>confdefs.h <<_ACEOF
11245 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11246 _ACEOF
11250 else
11251 DBUS_CFLAGS=""
11255 CPPFLAGS=$ac_save_CPPFLAGS
11256 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11257 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11260 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11261 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11262 case "x$with_dbus" in
11263 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11264 xno) ;;
11265 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11266 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11267 esac
11270 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11271 then
11272 if ${HAL_CFLAGS:+false} :; then :
11273 if ${PKG_CONFIG+:} false; then :
11274 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11278 if ${HAL_LIBS:+false} :; then :
11279 if ${PKG_CONFIG+:} false; then :
11280 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11284 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11285 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11286 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11287 ac_save_CPPFLAGS=$CPPFLAGS
11288 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11289 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11290 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11292 $as_echo_n "checking for -lhal... " >&6; }
11293 if ${ac_cv_lib_soname_hal+:} false; then :
11294 $as_echo_n "(cached) " >&6
11295 else
11296 ac_check_soname_save_LIBS=$LIBS
11297 LIBS="-lhal $HAL_LIBS $LIBS"
11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11304 #ifdef __cplusplus
11305 extern "C"
11306 #endif
11307 char libhal_ctx_new ();
11309 main ()
11311 return libhal_ctx_new ();
11313 return 0;
11315 _ACEOF
11316 if ac_fn_c_try_link "$LINENO"; then :
11317 case "$LIBEXT" in
11318 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11319 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'` ;;
11320 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11321 if ${ac_cv_lib_soname_hal:+false} :; then :
11322 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11323 fi ;;
11324 esac
11326 rm -f core conftest.err conftest.$ac_objext \
11327 conftest$ac_exeext conftest.$ac_ext
11328 LIBS=$ac_check_soname_save_LIBS
11330 if ${ac_cv_lib_soname_hal:+false} :; then :
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11332 $as_echo "not found" >&6; }
11333 HAL_CFLAGS=""
11334 else
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11336 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11338 cat >>confdefs.h <<_ACEOF
11339 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11340 _ACEOF
11344 else
11345 HAL_CFLAGS=""
11349 CPPFLAGS=$ac_save_CPPFLAGS
11350 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11351 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11353 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11354 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11355 case "x$with_hal" in
11356 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11357 xno) ;;
11358 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11359 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11360 esac
11364 if test "x$with_gnutls" != "xno"
11365 then
11366 if ${GNUTLS_CFLAGS:+false} :; then :
11367 if ${PKG_CONFIG+:} false; then :
11368 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11372 if ${GNUTLS_LIBS:+false} :; then :
11373 if ${PKG_CONFIG+:} false; then :
11374 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11379 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11380 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11381 ac_save_CPPFLAGS=$CPPFLAGS
11382 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11383 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11384 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11387 #include <gnutls/gnutls.h>
11388 #include <gnutls/crypto.h>
11390 main ()
11392 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11394 return 0;
11396 _ACEOF
11397 if ac_fn_c_try_compile "$LINENO"; then :
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11399 $as_echo_n "checking for -lgnutls... " >&6; }
11400 if ${ac_cv_lib_soname_gnutls+:} false; then :
11401 $as_echo_n "(cached) " >&6
11402 else
11403 ac_check_soname_save_LIBS=$LIBS
11404 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11408 /* Override any GCC internal prototype to avoid an error.
11409 Use char because int might match the return type of a GCC
11410 builtin and then its argument prototype would still apply. */
11411 #ifdef __cplusplus
11412 extern "C"
11413 #endif
11414 char gnutls_global_init ();
11416 main ()
11418 return gnutls_global_init ();
11420 return 0;
11422 _ACEOF
11423 if ac_fn_c_try_link "$LINENO"; then :
11424 case "$LIBEXT" in
11425 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11426 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'` ;;
11427 *) 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'`
11428 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11429 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'`
11430 fi ;;
11431 esac
11433 rm -f core conftest.err conftest.$ac_objext \
11434 conftest$ac_exeext conftest.$ac_ext
11435 LIBS=$ac_check_soname_save_LIBS
11437 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11439 $as_echo "not found" >&6; }
11440 GNUTLS_CFLAGS=""
11441 else
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11443 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11445 cat >>confdefs.h <<_ACEOF
11446 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11447 _ACEOF
11452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11453 else
11454 GNUTLS_CFLAGS=""
11458 CPPFLAGS=$ac_save_CPPFLAGS
11459 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11460 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11463 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11464 case "x$with_gnutls" in
11465 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11466 xno) ;;
11467 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11468 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11469 esac
11472 CURSES_LIBS=""
11473 if test "$ac_cv_header_ncurses_h" = "yes"
11474 then
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11476 $as_echo_n "checking for -lncurses... " >&6; }
11477 if ${ac_cv_lib_soname_ncurses+:} false; then :
11478 $as_echo_n "(cached) " >&6
11479 else
11480 ac_check_soname_save_LIBS=$LIBS
11481 LIBS="-lncurses $LIBS"
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11488 #ifdef __cplusplus
11489 extern "C"
11490 #endif
11491 char waddch ();
11493 main ()
11495 return waddch ();
11497 return 0;
11499 _ACEOF
11500 if ac_fn_c_try_link "$LINENO"; then :
11501 case "$LIBEXT" in
11502 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11503 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'` ;;
11504 *) 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'`
11505 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11506 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11507 fi ;;
11508 esac
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LIBS=$ac_check_soname_save_LIBS
11514 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11516 $as_echo "not found" >&6; }
11518 else
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11520 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11522 cat >>confdefs.h <<_ACEOF
11523 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11524 _ACEOF
11526 CURSES_LIBS="-lncurses"
11528 elif test "$ac_cv_header_curses_h" = "yes"
11529 then
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11531 $as_echo_n "checking for -lcurses... " >&6; }
11532 if ${ac_cv_lib_soname_curses+:} false; then :
11533 $as_echo_n "(cached) " >&6
11534 else
11535 ac_check_soname_save_LIBS=$LIBS
11536 LIBS="-lcurses $LIBS"
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11540 /* Override any GCC internal prototype to avoid an error.
11541 Use char because int might match the return type of a GCC
11542 builtin and then its argument prototype would still apply. */
11543 #ifdef __cplusplus
11544 extern "C"
11545 #endif
11546 char waddch ();
11548 main ()
11550 return waddch ();
11552 return 0;
11554 _ACEOF
11555 if ac_fn_c_try_link "$LINENO"; then :
11556 case "$LIBEXT" in
11557 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11558 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'` ;;
11559 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11560 if ${ac_cv_lib_soname_curses:+false} :; then :
11561 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11562 fi ;;
11563 esac
11565 rm -f core conftest.err conftest.$ac_objext \
11566 conftest$ac_exeext conftest.$ac_ext
11567 LIBS=$ac_check_soname_save_LIBS
11569 if ${ac_cv_lib_soname_curses:+false} :; then :
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11571 $as_echo "not found" >&6; }
11573 else
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11575 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11577 cat >>confdefs.h <<_ACEOF
11578 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11579 _ACEOF
11581 CURSES_LIBS="-lcurses"
11584 ac_save_LIBS="$LIBS"
11585 LIBS="$LIBS $CURSES_LIBS"
11586 for ac_func in mousemask
11587 do :
11588 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11589 if test "x$ac_cv_func_mousemask" = xyes; then :
11590 cat >>confdefs.h <<_ACEOF
11591 #define HAVE_MOUSEMASK 1
11592 _ACEOF
11595 done
11597 LIBS="$ac_save_LIBS"
11598 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11599 case "x$with_curses" in
11600 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11601 xno) ;;
11602 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11603 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11604 esac
11607 if test "x$with_sane" != "xno"
11608 then
11609 if ${SANE_CFLAGS:+false} :; then :
11610 if ${PKG_CONFIG+:} false; then :
11611 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11614 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11615 if ${SANE_LIBS:+false} :; then :
11616 if ${PKG_CONFIG+:} false; then :
11617 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11620 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11622 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11623 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11624 ac_save_CPPFLAGS=$CPPFLAGS
11625 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11626 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11627 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11629 $as_echo_n "checking for -lsane... " >&6; }
11630 if ${ac_cv_lib_soname_sane+:} false; then :
11631 $as_echo_n "(cached) " >&6
11632 else
11633 ac_check_soname_save_LIBS=$LIBS
11634 LIBS="-lsane $SANE_LIBS $LIBS"
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h. */
11638 /* Override any GCC internal prototype to avoid an error.
11639 Use char because int might match the return type of a GCC
11640 builtin and then its argument prototype would still apply. */
11641 #ifdef __cplusplus
11642 extern "C"
11643 #endif
11644 char sane_init ();
11646 main ()
11648 return sane_init ();
11650 return 0;
11652 _ACEOF
11653 if ac_fn_c_try_link "$LINENO"; then :
11654 case "$LIBEXT" in
11655 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11656 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'` ;;
11657 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11658 if ${ac_cv_lib_soname_sane:+false} :; then :
11659 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11660 fi ;;
11661 esac
11663 rm -f core conftest.err conftest.$ac_objext \
11664 conftest$ac_exeext conftest.$ac_ext
11665 LIBS=$ac_check_soname_save_LIBS
11667 if ${ac_cv_lib_soname_sane:+false} :; then :
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11669 $as_echo "not found" >&6; }
11670 SANE_CFLAGS=""
11671 else
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11673 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11675 cat >>confdefs.h <<_ACEOF
11676 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11677 _ACEOF
11681 else
11682 SANE_CFLAGS=""
11686 CPPFLAGS=$ac_save_CPPFLAGS
11687 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11688 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11691 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11692 case "x$with_sane" in
11693 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11694 xno) ;;
11695 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11696 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11697 esac
11700 if test "x$with_v4l" != "xno"
11701 then
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11703 $as_echo_n "checking for -lv4l1... " >&6; }
11704 if ${ac_cv_lib_soname_v4l1+:} false; then :
11705 $as_echo_n "(cached) " >&6
11706 else
11707 ac_check_soname_save_LIBS=$LIBS
11708 LIBS="-lv4l1 $LIBS"
11709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11712 /* Override any GCC internal prototype to avoid an error.
11713 Use char because int might match the return type of a GCC
11714 builtin and then its argument prototype would still apply. */
11715 #ifdef __cplusplus
11716 extern "C"
11717 #endif
11718 char v4l1_open ();
11720 main ()
11722 return v4l1_open ();
11724 return 0;
11726 _ACEOF
11727 if ac_fn_c_try_link "$LINENO"; then :
11728 case "$LIBEXT" in
11729 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11730 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'` ;;
11731 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11732 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11733 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11734 fi ;;
11735 esac
11737 rm -f core conftest.err conftest.$ac_objext \
11738 conftest$ac_exeext conftest.$ac_ext
11739 LIBS=$ac_check_soname_save_LIBS
11741 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11743 $as_echo "not found" >&6; }
11745 else
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11747 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11749 cat >>confdefs.h <<_ACEOF
11750 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11751 _ACEOF
11756 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11757 case "x$with_v4l" in
11758 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11759 xno) ;;
11760 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11761 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11762 esac
11765 if test "x$with_gphoto" != "xno"
11766 then
11767 if ${GPHOTO2_CFLAGS:+false} :; then :
11768 if ${PKG_CONFIG+:} false; then :
11769 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11772 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11773 if ${GPHOTO2_LIBS:+false} :; then :
11774 if ${PKG_CONFIG+:} false; then :
11775 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11778 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11779 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11780 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11781 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11782 ac_save_CPPFLAGS=$CPPFLAGS
11783 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11784 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11785 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11787 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11788 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11789 $as_echo_n "(cached) " >&6
11790 else
11791 ac_check_lib_save_LIBS=$LIBS
11792 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 /* Override any GCC internal prototype to avoid an error.
11797 Use char because int might match the return type of a GCC
11798 builtin and then its argument prototype would still apply. */
11799 #ifdef __cplusplus
11800 extern "C"
11801 #endif
11802 char gp_camera_new ();
11804 main ()
11806 return gp_camera_new ();
11808 return 0;
11810 _ACEOF
11811 if ac_fn_c_try_link "$LINENO"; then :
11812 ac_cv_lib_gphoto2_gp_camera_new=yes
11813 else
11814 ac_cv_lib_gphoto2_gp_camera_new=no
11816 rm -f core conftest.err conftest.$ac_objext \
11817 conftest$ac_exeext conftest.$ac_ext
11818 LIBS=$ac_check_lib_save_LIBS
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11821 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11822 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11824 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11826 else
11827 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11830 else
11831 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11835 CPPFLAGS=$ac_save_CPPFLAGS
11836 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11837 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11839 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11840 if ${PKG_CONFIG+:} false; then :
11841 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11844 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11845 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11846 if ${PKG_CONFIG+:} false; then :
11847 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11850 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11851 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11852 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11853 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11854 ac_save_CPPFLAGS=$CPPFLAGS
11855 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11856 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11857 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11859 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11860 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11861 $as_echo_n "(cached) " >&6
11862 else
11863 ac_check_lib_save_LIBS=$LIBS
11864 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11868 /* Override any GCC internal prototype to avoid an error.
11869 Use char because int might match the return type of a GCC
11870 builtin and then its argument prototype would still apply. */
11871 #ifdef __cplusplus
11872 extern "C"
11873 #endif
11874 char gp_port_info_list_new ();
11876 main ()
11878 return gp_port_info_list_new ();
11880 return 0;
11882 _ACEOF
11883 if ac_fn_c_try_link "$LINENO"; then :
11884 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11885 else
11886 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11888 rm -f core conftest.err conftest.$ac_objext \
11889 conftest$ac_exeext conftest.$ac_ext
11890 LIBS=$ac_check_lib_save_LIBS
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11893 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11894 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11896 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11898 else
11899 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11902 else
11903 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11907 CPPFLAGS=$ac_save_CPPFLAGS
11908 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11909 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11912 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11913 case "x$with_gphoto" in
11914 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11915 xno) ;;
11916 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11917 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11918 esac
11920 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11921 case "x$with_gphoto" in
11922 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11923 xno) ;;
11924 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11925 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11926 esac
11930 if test "$ac_cv_header_resolv_h" = "yes"
11931 then
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11933 $as_echo_n "checking for resolver library... " >&6; }
11934 if ${ac_cv_have_resolv+:} false; then :
11935 $as_echo_n "(cached) " >&6
11936 else
11937 ac_save_LIBS="$LIBS"
11938 for lib in '' -lresolv
11940 LIBS="$lib $ac_save_LIBS"
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11943 #ifdef HAVE_NETINET_IN_H
11944 #include <netinet/in.h>
11945 #endif
11946 #include <resolv.h>
11948 main ()
11950 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11952 return 0;
11954 _ACEOF
11955 if ac_fn_c_try_link "$LINENO"; then :
11956 ac_cv_have_resolv=${lib:-"none required"}
11957 else
11958 ac_cv_have_resolv="not found"
11960 rm -f core conftest.err conftest.$ac_objext \
11961 conftest$ac_exeext conftest.$ac_ext
11962 test "x$ac_cv_have_resolv" = "xnot found" || break
11963 done
11964 LIBS="$ac_save_LIBS"
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11967 $as_echo "$ac_cv_have_resolv" >&6; }
11969 case "$ac_cv_have_resolv" in
11970 "not found") ;;
11971 "none required")
11973 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11976 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11978 RESOLV_LIBS=$ac_cv_have_resolv
11980 esac
11983 if test "x$with_cms" != "xno"
11984 then
11985 if ${LCMS2_CFLAGS:+false} :; then :
11986 if ${PKG_CONFIG+:} false; then :
11987 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11991 if ${LCMS2_LIBS:+false} :; then :
11992 if ${PKG_CONFIG+:} false; then :
11993 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11997 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11998 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11999 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12000 ac_save_CPPFLAGS=$CPPFLAGS
12001 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12002 for ac_header in lcms2.h
12003 do :
12004 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12005 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12006 cat >>confdefs.h <<_ACEOF
12007 #define HAVE_LCMS2_H 1
12008 _ACEOF
12012 done
12014 if test "$ac_cv_header_lcms2_h" = "yes"
12015 then
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12017 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12018 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12019 $as_echo_n "(cached) " >&6
12020 else
12021 ac_check_lib_save_LIBS=$LIBS
12022 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12026 /* Override any GCC internal prototype to avoid an error.
12027 Use char because int might match the return type of a GCC
12028 builtin and then its argument prototype would still apply. */
12029 #ifdef __cplusplus
12030 extern "C"
12031 #endif
12032 char cmsOpenProfileFromFile ();
12034 main ()
12036 return cmsOpenProfileFromFile ();
12038 return 0;
12040 _ACEOF
12041 if ac_fn_c_try_link "$LINENO"; then :
12042 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12043 else
12044 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12046 rm -f core conftest.err conftest.$ac_objext \
12047 conftest$ac_exeext conftest.$ac_ext
12048 LIBS=$ac_check_lib_save_LIBS
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12051 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12052 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12054 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12056 else
12057 LCMS2_LIBS=""
12060 else
12061 LCMS2_CFLAGS=""
12062 LCMS2_LIBS=""
12064 CPPFLAGS=$ac_save_CPPFLAGS
12065 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12066 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12069 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12070 case "x$with_cms" in
12071 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12072 xno) ;;
12073 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12074 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12075 esac
12078 if test "x$with_freetype" != "xno"
12079 then
12080 if ${FREETYPE_CFLAGS:+false} :; then :
12081 if ${PKG_CONFIG+:} false; then :
12082 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12085 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12086 if ${FREETYPE_LIBS:+false} :; then :
12087 if ${PKG_CONFIG+:} false; then :
12088 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12091 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12092 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12093 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12094 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12095 ac_save_CPPFLAGS=$CPPFLAGS
12096 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12097 for ac_header in ft2build.h
12098 do :
12099 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12100 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12101 cat >>confdefs.h <<_ACEOF
12102 #define HAVE_FT2BUILD_H 1
12103 _ACEOF
12107 done
12109 if test "$ac_cv_header_ft2build_h" = "yes"
12110 then
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12112 $as_echo_n "checking for -lfreetype... " >&6; }
12113 if ${ac_cv_lib_soname_freetype+:} false; then :
12114 $as_echo_n "(cached) " >&6
12115 else
12116 ac_check_soname_save_LIBS=$LIBS
12117 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12121 /* Override any GCC internal prototype to avoid an error.
12122 Use char because int might match the return type of a GCC
12123 builtin and then its argument prototype would still apply. */
12124 #ifdef __cplusplus
12125 extern "C"
12126 #endif
12127 char FT_Init_FreeType ();
12129 main ()
12131 return FT_Init_FreeType ();
12133 return 0;
12135 _ACEOF
12136 if ac_fn_c_try_link "$LINENO"; then :
12137 case "$LIBEXT" in
12138 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12139 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'` ;;
12140 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12141 if ${ac_cv_lib_soname_freetype:+false} :; then :
12142 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12143 fi ;;
12144 esac
12146 rm -f core conftest.err conftest.$ac_objext \
12147 conftest$ac_exeext conftest.$ac_ext
12148 LIBS=$ac_check_soname_save_LIBS
12150 if ${ac_cv_lib_soname_freetype:+false} :; then :
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12152 $as_echo "not found" >&6; }
12153 FREETYPE_LIBS=""
12154 else
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12156 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12158 cat >>confdefs.h <<_ACEOF
12159 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12160 _ACEOF
12163 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12165 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12166 #include FT_MODULE_H
12168 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12170 cat >>confdefs.h <<_ACEOF
12171 #define HAVE_FT_TRUETYPEENGINETYPE 1
12172 _ACEOF
12178 else
12179 FREETYPE_CFLAGS=""
12180 FREETYPE_LIBS=""
12182 CPPFLAGS=$ac_save_CPPFLAGS
12183 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12184 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12187 if test "x$ac_cv_lib_soname_freetype" = x; then :
12188 case "x$with_freetype" in
12189 xno) ;;
12190 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12191 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12192 esac
12194 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12197 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12198 if ${ac_cv_c_ppdev+:} false; then :
12199 $as_echo_n "(cached) " >&6
12200 else
12201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12202 /* end confdefs.h. */
12203 #ifdef HAVE_SYS_IOCTL_H
12204 # include <sys/ioctl.h>
12205 #endif
12206 #include <linux/ppdev.h>
12208 main ()
12210 ioctl (1,PPCLAIM,0)
12212 return 0;
12214 _ACEOF
12215 if ac_fn_c_try_compile "$LINENO"; then :
12216 ac_cv_c_ppdev="yes"
12217 else
12218 ac_cv_c_ppdev="no"
12220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12223 $as_echo "$ac_cv_c_ppdev" >&6; }
12224 if test "$ac_cv_c_ppdev" = "yes"
12225 then
12227 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12231 ac_wine_check_funcs_save_LIBS="$LIBS"
12232 LIBS="$LIBS $PTHREAD_LIBS"
12233 for ac_func in \
12234 pthread_attr_get_np \
12235 pthread_getattr_np \
12236 pthread_getthreadid_np \
12237 pthread_get_stackaddr_np \
12238 pthread_get_stacksize_np
12239 do :
12240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12242 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12243 cat >>confdefs.h <<_ACEOF
12244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12245 _ACEOF
12248 done
12250 LIBS="$ac_wine_check_funcs_save_LIBS"
12252 if test "$ac_cv_header_zlib_h" = "yes"
12253 then
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12255 $as_echo_n "checking for inflate in -lz... " >&6; }
12256 if ${ac_cv_lib_z_inflate+:} false; then :
12257 $as_echo_n "(cached) " >&6
12258 else
12259 ac_check_lib_save_LIBS=$LIBS
12260 LIBS="-lz $LIBS"
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12267 #ifdef __cplusplus
12268 extern "C"
12269 #endif
12270 char inflate ();
12272 main ()
12274 return inflate ();
12276 return 0;
12278 _ACEOF
12279 if ac_fn_c_try_link "$LINENO"; then :
12280 ac_cv_lib_z_inflate=yes
12281 else
12282 ac_cv_lib_z_inflate=no
12284 rm -f core conftest.err conftest.$ac_objext \
12285 conftest$ac_exeext conftest.$ac_ext
12286 LIBS=$ac_check_lib_save_LIBS
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12289 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12290 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12292 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12294 Z_LIBS="-lz"
12299 if test "x$Z_LIBS" = "x"; then :
12300 case "x$with_zlib" in
12301 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12302 xno) ;;
12303 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12304 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12305 esac
12308 if test "x$enable_tools" != xno
12309 then
12310 if test "$ac_cv_header_gettext_po_h" = "yes"
12311 then
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12313 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12314 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12315 $as_echo_n "(cached) " >&6
12316 else
12317 ac_check_lib_save_LIBS=$LIBS
12318 LIBS="-lgettextpo $LIBS"
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12322 /* Override any GCC internal prototype to avoid an error.
12323 Use char because int might match the return type of a GCC
12324 builtin and then its argument prototype would still apply. */
12325 #ifdef __cplusplus
12326 extern "C"
12327 #endif
12328 char po_message_msgctxt ();
12330 main ()
12332 return po_message_msgctxt ();
12334 return 0;
12336 _ACEOF
12337 if ac_fn_c_try_link "$LINENO"; then :
12338 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12339 else
12340 ac_cv_lib_gettextpo_po_message_msgctxt=no
12342 rm -f core conftest.err conftest.$ac_objext \
12343 conftest$ac_exeext conftest.$ac_ext
12344 LIBS=$ac_check_lib_save_LIBS
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12347 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12348 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12350 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12352 GETTEXTPO_LIBS="-lgettextpo"
12357 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12358 case "x$with_gettextpo" in
12359 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12360 xno) ;;
12361 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12362 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12363 esac
12367 if test "x$with_gstreamer" != "xno"
12368 then
12369 if ${GSTREAMER_CFLAGS:+false} :; then :
12370 if ${PKG_CONFIG+:} false; then :
12371 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12375 if ${GSTREAMER_LIBS:+false} :; then :
12376 if ${PKG_CONFIG+:} false; then :
12377 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12382 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12383 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12384 ac_save_CPPFLAGS=$CPPFLAGS
12385 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12386 ac_gst_incl=""
12387 for i in $GSTREAMER_CFLAGS
12389 case "$i" in
12390 -I*) ac_gst_incl="$ac_gst_incl $i";;
12391 esac
12392 done
12393 GSTREAMER_CFLAGS=$ac_gst_incl
12394 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12395 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12396 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12397 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12398 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12400 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12403 #include <gst/app/gstappsink.h>
12405 main ()
12407 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12409 return 0;
12411 _ACEOF
12412 if ac_fn_c_try_compile "$LINENO"; then :
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12414 $as_echo "yes" >&6; }
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12416 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12417 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12418 $as_echo_n "(cached) " >&6
12419 else
12420 ac_check_lib_save_LIBS=$LIBS
12421 LIBS="-lgstreamer-0.10 $LIBS"
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12428 #ifdef __cplusplus
12429 extern "C"
12430 #endif
12431 char gst_pad_get_caps_reffed ();
12433 main ()
12435 return gst_pad_get_caps_reffed ();
12437 return 0;
12439 _ACEOF
12440 if ac_fn_c_try_link "$LINENO"; then :
12441 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12442 else
12443 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12445 rm -f core conftest.err conftest.$ac_objext \
12446 conftest$ac_exeext conftest.$ac_ext
12447 LIBS=$ac_check_lib_save_LIBS
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12450 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12451 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12453 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12454 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12455 $as_echo_n "(cached) " >&6
12456 else
12457 ac_check_lib_save_LIBS=$LIBS
12458 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h. */
12462 /* Override any GCC internal prototype to avoid an error.
12463 Use char because int might match the return type of a GCC
12464 builtin and then its argument prototype would still apply. */
12465 #ifdef __cplusplus
12466 extern "C"
12467 #endif
12468 char gst_app_buffer_new ();
12470 main ()
12472 return gst_app_buffer_new ();
12474 return 0;
12476 _ACEOF
12477 if ac_fn_c_try_link "$LINENO"; then :
12478 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12479 else
12480 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12482 rm -f core conftest.err conftest.$ac_objext \
12483 conftest$ac_exeext conftest.$ac_ext
12484 LIBS=$ac_check_lib_save_LIBS
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12487 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12488 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12494 else
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12496 $as_echo "no" >&6; }
12498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12502 else
12503 GSTREAMER_CFLAGS=""
12507 CPPFLAGS=$ac_save_CPPFLAGS
12508 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12509 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12512 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12513 case "x$with_gstreamer" in
12514 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12515 xno) ;;
12516 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12517 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12518 esac
12520 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12522 ALSA_LIBS=""
12524 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12525 then
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12527 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12528 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12529 $as_echo_n "(cached) " >&6
12530 else
12531 ac_check_lib_save_LIBS=$LIBS
12532 LIBS="-lasound $LIBS"
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12539 #ifdef __cplusplus
12540 extern "C"
12541 #endif
12542 char snd_pcm_hw_params_get_access_mask ();
12544 main ()
12546 return snd_pcm_hw_params_get_access_mask ();
12548 return 0;
12550 _ACEOF
12551 if ac_fn_c_try_link "$LINENO"; then :
12552 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12553 else
12554 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12556 rm -f core conftest.err conftest.$ac_objext \
12557 conftest$ac_exeext conftest.$ac_ext
12558 LIBS=$ac_check_lib_save_LIBS
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12561 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12562 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12564 /* end confdefs.h. */
12565 #ifdef HAVE_ALSA_ASOUNDLIB_H
12566 #include <alsa/asoundlib.h>
12567 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12568 #include <sys/asoundlib.h>
12569 #endif
12571 main ()
12573 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12575 return 0;
12577 _ACEOF
12578 if ac_fn_c_try_compile "$LINENO"; then :
12579 ALSA_LIBS="-lasound"
12581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12586 if test "x$with_oss" != xno
12587 then
12588 ac_save_CPPFLAGS="$CPPFLAGS"
12589 if test -f /etc/oss.conf
12590 then
12591 . /etc/oss.conf
12593 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12594 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12595 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12596 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12597 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12599 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12601 cat >>confdefs.h <<_ACEOF
12602 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12603 _ACEOF
12605 OSS4_CFLAGS="$ac_oss_incl"
12612 CPPFLAGS="$ac_save_CPPFLAGS"
12613 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12614 then
12615 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12619 if test "x$with_capi" != "xno"
12620 then
12621 if ${CAPI20_CFLAGS:+false} :; then :
12622 if ${PKG_CONFIG+:} false; then :
12623 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12627 if ${CAPI20_LIBS:+false} :; then :
12628 if ${PKG_CONFIG+:} false; then :
12629 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12634 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12635 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12636 ac_save_CPPFLAGS=$CPPFLAGS
12637 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12638 for ac_header in capi20.h linux/capi.h
12639 do :
12640 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12641 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12643 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12644 cat >>confdefs.h <<_ACEOF
12645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12646 _ACEOF
12650 done
12652 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12653 then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12655 $as_echo_n "checking for -lcapi20... " >&6; }
12656 if ${ac_cv_lib_soname_capi20+:} false; then :
12657 $as_echo_n "(cached) " >&6
12658 else
12659 ac_check_soname_save_LIBS=$LIBS
12660 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12664 /* Override any GCC internal prototype to avoid an error.
12665 Use char because int might match the return type of a GCC
12666 builtin and then its argument prototype would still apply. */
12667 #ifdef __cplusplus
12668 extern "C"
12669 #endif
12670 char capi20_register ();
12672 main ()
12674 return capi20_register ();
12676 return 0;
12678 _ACEOF
12679 if ac_fn_c_try_link "$LINENO"; then :
12680 case "$LIBEXT" in
12681 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12682 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'` ;;
12683 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12684 if ${ac_cv_lib_soname_capi20:+false} :; then :
12685 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12686 fi ;;
12687 esac
12689 rm -f core conftest.err conftest.$ac_objext \
12690 conftest$ac_exeext conftest.$ac_ext
12691 LIBS=$ac_check_soname_save_LIBS
12693 if ${ac_cv_lib_soname_capi20:+false} :; then :
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12695 $as_echo "not found" >&6; }
12697 else
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12699 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12701 cat >>confdefs.h <<_ACEOF
12702 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12703 _ACEOF
12708 CPPFLAGS=$ac_save_CPPFLAGS
12709 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12710 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12713 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12714 case "x$with_capi" in
12715 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12716 xno) ;;
12717 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12718 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12719 esac
12722 CUPS_CFLAGS=""
12724 if test "x$with_cups" != "xno"
12725 then
12726 ac_save_CPPFLAGS="$CPPFLAGS"
12727 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12728 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12729 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12730 for ac_header in cups/cups.h
12731 do :
12732 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12733 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12734 cat >>confdefs.h <<_ACEOF
12735 #define HAVE_CUPS_CUPS_H 1
12736 _ACEOF
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12738 $as_echo_n "checking for -lcups... " >&6; }
12739 if ${ac_cv_lib_soname_cups+:} false; then :
12740 $as_echo_n "(cached) " >&6
12741 else
12742 ac_check_soname_save_LIBS=$LIBS
12743 LIBS="-lcups $ac_cups_libs $LIBS"
12744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12747 /* Override any GCC internal prototype to avoid an error.
12748 Use char because int might match the return type of a GCC
12749 builtin and then its argument prototype would still apply. */
12750 #ifdef __cplusplus
12751 extern "C"
12752 #endif
12753 char cupsGetDefault ();
12755 main ()
12757 return cupsGetDefault ();
12759 return 0;
12761 _ACEOF
12762 if ac_fn_c_try_link "$LINENO"; then :
12763 case "$LIBEXT" in
12764 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12765 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'` ;;
12766 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12767 if ${ac_cv_lib_soname_cups:+false} :; then :
12768 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12769 fi ;;
12770 esac
12772 rm -f core conftest.err conftest.$ac_objext \
12773 conftest$ac_exeext conftest.$ac_ext
12774 LIBS=$ac_check_soname_save_LIBS
12776 if ${ac_cv_lib_soname_cups:+false} :; then :
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12778 $as_echo "not found" >&6; }
12780 else
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12782 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12784 cat >>confdefs.h <<_ACEOF
12785 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12786 _ACEOF
12788 CUPS_CFLAGS="$ac_cups_cflags"
12792 done
12794 CPPFLAGS="$ac_save_CPPFLAGS"
12796 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12797 case "x$with_cups" in
12798 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12799 xno) ;;
12800 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12801 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12802 esac
12805 if test "x$with_fontconfig" != "xno"
12806 then
12807 if ${FONTCONFIG_CFLAGS:+false} :; then :
12808 if ${PKG_CONFIG+:} false; then :
12809 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12812 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12813 if ${FONTCONFIG_LIBS:+false} :; then :
12814 if ${PKG_CONFIG+:} false; then :
12815 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12818 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12820 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12821 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12822 ac_save_CPPFLAGS=$CPPFLAGS
12823 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12824 for ac_header in fontconfig/fontconfig.h
12825 do :
12826 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12827 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12828 cat >>confdefs.h <<_ACEOF
12829 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12830 _ACEOF
12834 done
12836 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12837 then
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12839 $as_echo_n "checking for -lfontconfig... " >&6; }
12840 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12841 $as_echo_n "(cached) " >&6
12842 else
12843 ac_check_soname_save_LIBS=$LIBS
12844 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 /* Override any GCC internal prototype to avoid an error.
12849 Use char because int might match the return type of a GCC
12850 builtin and then its argument prototype would still apply. */
12851 #ifdef __cplusplus
12852 extern "C"
12853 #endif
12854 char FcInit ();
12856 main ()
12858 return FcInit ();
12860 return 0;
12862 _ACEOF
12863 if ac_fn_c_try_link "$LINENO"; then :
12864 case "$LIBEXT" in
12865 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12866 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'` ;;
12867 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12868 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12869 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12870 fi ;;
12871 esac
12873 rm -f core conftest.err conftest.$ac_objext \
12874 conftest$ac_exeext conftest.$ac_ext
12875 LIBS=$ac_check_soname_save_LIBS
12877 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12879 $as_echo "not found" >&6; }
12880 FONTCONFIG_CFLAGS=""
12881 else
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12883 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12885 cat >>confdefs.h <<_ACEOF
12886 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12887 _ACEOF
12891 else
12892 FONTCONFIG_CFLAGS=""
12894 CPPFLAGS=$ac_save_CPPFLAGS
12895 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12896 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12899 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12900 case "x$with_fontconfig" in
12901 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12902 xno) ;;
12903 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12904 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12905 esac
12908 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12909 then
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12911 $as_echo_n "checking for -lgsm... " >&6; }
12912 if ${ac_cv_lib_soname_gsm+:} false; then :
12913 $as_echo_n "(cached) " >&6
12914 else
12915 ac_check_soname_save_LIBS=$LIBS
12916 LIBS="-lgsm $LIBS"
12917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 /* Override any GCC internal prototype to avoid an error.
12921 Use char because int might match the return type of a GCC
12922 builtin and then its argument prototype would still apply. */
12923 #ifdef __cplusplus
12924 extern "C"
12925 #endif
12926 char gsm_create ();
12928 main ()
12930 return gsm_create ();
12932 return 0;
12934 _ACEOF
12935 if ac_fn_c_try_link "$LINENO"; then :
12936 case "$LIBEXT" in
12937 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12938 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'` ;;
12939 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12940 if ${ac_cv_lib_soname_gsm:+false} :; then :
12941 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12942 fi ;;
12943 esac
12945 rm -f core conftest.err conftest.$ac_objext \
12946 conftest$ac_exeext conftest.$ac_ext
12947 LIBS=$ac_check_soname_save_LIBS
12949 if ${ac_cv_lib_soname_gsm:+false} :; then :
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12951 $as_echo "not found" >&6; }
12953 else
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12955 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12957 cat >>confdefs.h <<_ACEOF
12958 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12959 _ACEOF
12964 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12965 case "x$with_gsm" in
12966 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12967 xno) ;;
12968 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12969 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12970 esac
12973 if test "x$with_jpeg" != "xno"
12974 then
12975 if ${JPEG_CFLAGS:+false} :; then :
12976 if ${PKG_CONFIG+:} false; then :
12977 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12981 if ${JPEG_LIBS:+false} :; then :
12982 if ${PKG_CONFIG+:} false; then :
12983 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12988 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12989 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12990 ac_save_CPPFLAGS=$CPPFLAGS
12991 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12992 for ac_header in jpeglib.h
12993 do :
12994 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12995 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12996 cat >>confdefs.h <<_ACEOF
12997 #define HAVE_JPEGLIB_H 1
12998 _ACEOF
13002 done
13004 if test "$ac_cv_header_jpeglib_h" = "yes"
13005 then
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13007 $as_echo_n "checking for -ljpeg... " >&6; }
13008 if ${ac_cv_lib_soname_jpeg+:} false; then :
13009 $as_echo_n "(cached) " >&6
13010 else
13011 ac_check_soname_save_LIBS=$LIBS
13012 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13014 /* end confdefs.h. */
13016 /* Override any GCC internal prototype to avoid an error.
13017 Use char because int might match the return type of a GCC
13018 builtin and then its argument prototype would still apply. */
13019 #ifdef __cplusplus
13020 extern "C"
13021 #endif
13022 char jpeg_start_decompress ();
13024 main ()
13026 return jpeg_start_decompress ();
13028 return 0;
13030 _ACEOF
13031 if ac_fn_c_try_link "$LINENO"; then :
13032 case "$LIBEXT" in
13033 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13034 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'` ;;
13035 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13036 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13037 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13038 fi ;;
13039 esac
13041 rm -f core conftest.err conftest.$ac_objext \
13042 conftest$ac_exeext conftest.$ac_ext
13043 LIBS=$ac_check_soname_save_LIBS
13045 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13047 $as_echo "not found" >&6; }
13048 JPEG_CFLAGS=""
13049 else
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13051 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13053 cat >>confdefs.h <<_ACEOF
13054 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13055 _ACEOF
13059 else
13060 JPEG_CFLAGS=""
13062 CPPFLAGS=$ac_save_CPPFLAGS
13063 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13064 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13067 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13068 case "x$with_jpeg" in
13069 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13070 xno) ;;
13071 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13072 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13073 esac
13076 if test "x$with_png" != "xno"
13077 then
13078 if ${PNG_CFLAGS:+false} :; then :
13079 if ${PKG_CONFIG+:} false; then :
13080 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13083 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13084 if ${PNG_LIBS:+false} :; then :
13085 if ${PKG_CONFIG+:} false; then :
13086 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13089 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13091 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13092 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13093 ac_save_CPPFLAGS=$CPPFLAGS
13094 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13095 for ac_header in png.h
13096 do :
13097 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13098 if test "x$ac_cv_header_png_h" = xyes; then :
13099 cat >>confdefs.h <<_ACEOF
13100 #define HAVE_PNG_H 1
13101 _ACEOF
13105 done
13107 if test "$ac_cv_header_png_h" = "yes"
13108 then
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13110 $as_echo_n "checking for -lpng... " >&6; }
13111 if ${ac_cv_lib_soname_png+:} false; then :
13112 $as_echo_n "(cached) " >&6
13113 else
13114 ac_check_soname_save_LIBS=$LIBS
13115 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13119 /* Override any GCC internal prototype to avoid an error.
13120 Use char because int might match the return type of a GCC
13121 builtin and then its argument prototype would still apply. */
13122 #ifdef __cplusplus
13123 extern "C"
13124 #endif
13125 char png_create_read_struct ();
13127 main ()
13129 return png_create_read_struct ();
13131 return 0;
13133 _ACEOF
13134 if ac_fn_c_try_link "$LINENO"; then :
13135 case "$LIBEXT" in
13136 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13137 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'` ;;
13138 *) 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'`
13139 if ${ac_cv_lib_soname_png:+false} :; then :
13140 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13141 fi ;;
13142 esac
13144 rm -f core conftest.err conftest.$ac_objext \
13145 conftest$ac_exeext conftest.$ac_ext
13146 LIBS=$ac_check_soname_save_LIBS
13148 if ${ac_cv_lib_soname_png:+false} :; then :
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13150 $as_echo "not found" >&6; }
13151 PNG_CFLAGS=""
13152 else
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13154 $as_echo "$ac_cv_lib_soname_png" >&6; }
13156 cat >>confdefs.h <<_ACEOF
13157 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13158 _ACEOF
13160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13161 /* end confdefs.h. */
13162 #include <png.h>
13164 main ()
13166 typeof(png_set_expand_gray_1_2_4_to_8) *p
13168 return 0;
13170 _ACEOF
13171 if ac_fn_c_try_compile "$LINENO"; then :
13173 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13178 else
13179 PNG_CFLAGS=""
13181 CPPFLAGS=$ac_save_CPPFLAGS
13182 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13183 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13186 if test "x$ac_cv_lib_soname_png" = "x"; then :
13187 case "x$with_png" in
13188 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13189 xno) ;;
13190 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13191 This is an error since --with-png was requested." "$LINENO" 5 ;;
13192 esac
13195 if test "x$with_tiff" != "xno"
13196 then
13197 if ${TIFF_CFLAGS:+false} :; then :
13198 if ${PKG_CONFIG+:} false; then :
13199 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13203 if ${TIFF_LIBS:+false} :; then :
13204 if ${PKG_CONFIG+:} false; then :
13205 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13210 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13211 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13212 ac_save_CPPFLAGS=$CPPFLAGS
13213 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13214 for ac_header in tiffio.h
13215 do :
13216 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13217 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13218 cat >>confdefs.h <<_ACEOF
13219 #define HAVE_TIFFIO_H 1
13220 _ACEOF
13224 done
13226 if test "$ac_cv_header_tiffio_h" = "yes"
13227 then
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13229 $as_echo_n "checking for -ltiff... " >&6; }
13230 if ${ac_cv_lib_soname_tiff+:} false; then :
13231 $as_echo_n "(cached) " >&6
13232 else
13233 ac_check_soname_save_LIBS=$LIBS
13234 LIBS="-ltiff $TIFF_LIBS $LIBS"
13235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13236 /* end confdefs.h. */
13238 /* Override any GCC internal prototype to avoid an error.
13239 Use char because int might match the return type of a GCC
13240 builtin and then its argument prototype would still apply. */
13241 #ifdef __cplusplus
13242 extern "C"
13243 #endif
13244 char TIFFClientOpen ();
13246 main ()
13248 return TIFFClientOpen ();
13250 return 0;
13252 _ACEOF
13253 if ac_fn_c_try_link "$LINENO"; then :
13254 case "$LIBEXT" in
13255 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13256 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'` ;;
13257 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13258 if ${ac_cv_lib_soname_tiff:+false} :; then :
13259 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13260 fi ;;
13261 esac
13263 rm -f core conftest.err conftest.$ac_objext \
13264 conftest$ac_exeext conftest.$ac_ext
13265 LIBS=$ac_check_soname_save_LIBS
13267 if ${ac_cv_lib_soname_tiff:+false} :; then :
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13269 $as_echo "not found" >&6; }
13271 else
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13273 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13275 cat >>confdefs.h <<_ACEOF
13276 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13277 _ACEOF
13282 CPPFLAGS=$ac_save_CPPFLAGS
13283 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13284 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13287 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13288 case "x$with_tiff" in
13289 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13290 xno) ;;
13291 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13292 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13293 esac
13296 if test "x$with_mpg123" != "xno"
13297 then
13298 if ${MPG123_CFLAGS:+false} :; then :
13299 if ${PKG_CONFIG+:} false; then :
13300 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13304 if ${MPG123_LIBS:+false} :; then :
13305 if ${PKG_CONFIG+:} false; then :
13306 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13310 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13311 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13312 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13313 ac_save_CPPFLAGS=$CPPFLAGS
13314 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13315 for ac_header in mpg123.h
13316 do :
13317 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13318 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13319 cat >>confdefs.h <<_ACEOF
13320 #define HAVE_MPG123_H 1
13321 _ACEOF
13325 done
13327 if test "$ac_cv_header_mpg123_h" = "yes"
13328 then
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13330 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13331 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13332 $as_echo_n "(cached) " >&6
13333 else
13334 ac_check_lib_save_LIBS=$LIBS
13335 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13337 /* end confdefs.h. */
13339 /* Override any GCC internal prototype to avoid an error.
13340 Use char because int might match the return type of a GCC
13341 builtin and then its argument prototype would still apply. */
13342 #ifdef __cplusplus
13343 extern "C"
13344 #endif
13345 char mpg123_feed ();
13347 main ()
13349 return mpg123_feed ();
13351 return 0;
13353 _ACEOF
13354 if ac_fn_c_try_link "$LINENO"; then :
13355 ac_cv_lib_mpg123_mpg123_feed=yes
13356 else
13357 ac_cv_lib_mpg123_mpg123_feed=no
13359 rm -f core conftest.err conftest.$ac_objext \
13360 conftest$ac_exeext conftest.$ac_ext
13361 LIBS=$ac_check_lib_save_LIBS
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13364 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13365 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13367 else
13368 MPG123_LIBS=""
13371 else
13372 MPG123_CFLAGS=""
13373 MPG123_LIBS=""
13375 CPPFLAGS=$ac_save_CPPFLAGS
13376 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13377 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13380 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13381 case "x$with_mpg123" in
13382 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13383 xno) ;;
13384 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13385 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13386 esac
13388 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}
13390 if test "$ac_cv_header_AL_al_h" = "yes"
13391 then
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13393 $as_echo_n "checking for -lopenal... " >&6; }
13394 if ${ac_cv_lib_soname_openal+:} false; then :
13395 $as_echo_n "(cached) " >&6
13396 else
13397 ac_check_soname_save_LIBS=$LIBS
13398 LIBS="-lopenal $LIBS"
13399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13400 /* end confdefs.h. */
13402 /* Override any GCC internal prototype to avoid an error.
13403 Use char because int might match the return type of a GCC
13404 builtin and then its argument prototype would still apply. */
13405 #ifdef __cplusplus
13406 extern "C"
13407 #endif
13408 char alGetSource3i ();
13410 main ()
13412 return alGetSource3i ();
13414 return 0;
13416 _ACEOF
13417 if ac_fn_c_try_link "$LINENO"; then :
13418 case "$LIBEXT" in
13419 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13420 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'` ;;
13421 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13422 if ${ac_cv_lib_soname_openal:+false} :; then :
13423 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13424 fi ;;
13425 esac
13427 rm -f core conftest.err conftest.$ac_objext \
13428 conftest$ac_exeext conftest.$ac_ext
13429 LIBS=$ac_check_soname_save_LIBS
13431 if ${ac_cv_lib_soname_openal:+false} :; then :
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13433 $as_echo "not found" >&6; }
13435 else
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13437 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13439 cat >>confdefs.h <<_ACEOF
13440 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13441 _ACEOF
13443 OPENAL_LIBS="-lopenal"
13445 ac_cv_lib_openal=yes
13447 cat >>confdefs.h <<_ACEOF
13448 #define HAVE_OPENAL 1
13449 _ACEOF
13453 if test "x$ac_cv_lib_openal" != xyes; then :
13454 case "x$with_openal" in
13455 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13456 xno) ;;
13457 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13458 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13459 esac
13461 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13463 if test "$ac_cv_header_kstat_h" = "yes"
13464 then
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13466 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13467 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13468 $as_echo_n "(cached) " >&6
13469 else
13470 ac_check_lib_save_LIBS=$LIBS
13471 LIBS="-lkstat $LIBS"
13472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13473 /* end confdefs.h. */
13475 /* Override any GCC internal prototype to avoid an error.
13476 Use char because int might match the return type of a GCC
13477 builtin and then its argument prototype would still apply. */
13478 #ifdef __cplusplus
13479 extern "C"
13480 #endif
13481 char kstat_open ();
13483 main ()
13485 return kstat_open ();
13487 return 0;
13489 _ACEOF
13490 if ac_fn_c_try_link "$LINENO"; then :
13491 ac_cv_lib_kstat_kstat_open=yes
13492 else
13493 ac_cv_lib_kstat_kstat_open=no
13495 rm -f core conftest.err conftest.$ac_objext \
13496 conftest$ac_exeext conftest.$ac_ext
13497 LIBS=$ac_check_lib_save_LIBS
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13500 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13501 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13503 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13505 KSTAT_LIBS="-lkstat"
13511 if test "$ac_cv_header_libprocstat_h" = "yes"
13512 then
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13514 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13515 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13516 $as_echo_n "(cached) " >&6
13517 else
13518 ac_check_lib_save_LIBS=$LIBS
13519 LIBS="-lprocstat $LIBS"
13520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13521 /* end confdefs.h. */
13523 /* Override any GCC internal prototype to avoid an error.
13524 Use char because int might match the return type of a GCC
13525 builtin and then its argument prototype would still apply. */
13526 #ifdef __cplusplus
13527 extern "C"
13528 #endif
13529 char procstat_open_sysctl ();
13531 main ()
13533 return procstat_open_sysctl ();
13535 return 0;
13537 _ACEOF
13538 if ac_fn_c_try_link "$LINENO"; then :
13539 ac_cv_lib_procstat_procstat_open_sysctl=yes
13540 else
13541 ac_cv_lib_procstat_procstat_open_sysctl=no
13543 rm -f core conftest.err conftest.$ac_objext \
13544 conftest$ac_exeext conftest.$ac_ext
13545 LIBS=$ac_check_lib_save_LIBS
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13548 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13549 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13551 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13553 PROCSTAT_LIBS="-lprocstat"
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13560 $as_echo_n "checking for -lodbc... " >&6; }
13561 if ${ac_cv_lib_soname_odbc+:} false; then :
13562 $as_echo_n "(cached) " >&6
13563 else
13564 ac_check_soname_save_LIBS=$LIBS
13565 LIBS="-lodbc $LIBS"
13566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13569 /* Override any GCC internal prototype to avoid an error.
13570 Use char because int might match the return type of a GCC
13571 builtin and then its argument prototype would still apply. */
13572 #ifdef __cplusplus
13573 extern "C"
13574 #endif
13575 char SQLConnect ();
13577 main ()
13579 return SQLConnect ();
13581 return 0;
13583 _ACEOF
13584 if ac_fn_c_try_link "$LINENO"; then :
13585 case "$LIBEXT" in
13586 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13587 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'` ;;
13588 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13589 if ${ac_cv_lib_soname_odbc:+false} :; then :
13590 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13591 fi ;;
13592 esac
13594 rm -f core conftest.err conftest.$ac_objext \
13595 conftest$ac_exeext conftest.$ac_ext
13596 LIBS=$ac_check_soname_save_LIBS
13598 if ${ac_cv_lib_soname_odbc:+false} :; then :
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13600 $as_echo "not found" >&6; }
13601 cat >>confdefs.h <<_ACEOF
13602 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13603 _ACEOF
13605 else
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13607 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13609 cat >>confdefs.h <<_ACEOF
13610 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13611 _ACEOF
13616 if test "x$with_netapi" != "xno"
13617 then
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13619 $as_echo_n "checking for -lnetapi... " >&6; }
13620 if ${ac_cv_lib_soname_netapi+:} false; then :
13621 $as_echo_n "(cached) " >&6
13622 else
13623 ac_check_soname_save_LIBS=$LIBS
13624 LIBS="-lnetapi $LIBS"
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13628 /* Override any GCC internal prototype to avoid an error.
13629 Use char because int might match the return type of a GCC
13630 builtin and then its argument prototype would still apply. */
13631 #ifdef __cplusplus
13632 extern "C"
13633 #endif
13634 char libnetapi_init ();
13636 main ()
13638 return libnetapi_init ();
13640 return 0;
13642 _ACEOF
13643 if ac_fn_c_try_link "$LINENO"; then :
13644 case "$LIBEXT" in
13645 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13646 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'` ;;
13647 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13648 if ${ac_cv_lib_soname_netapi:+false} :; then :
13649 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13650 fi ;;
13651 esac
13653 rm -f core conftest.err conftest.$ac_objext \
13654 conftest$ac_exeext conftest.$ac_ext
13655 LIBS=$ac_check_soname_save_LIBS
13657 if ${ac_cv_lib_soname_netapi:+false} :; then :
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13659 $as_echo "not found" >&6; }
13660 cat >>confdefs.h <<_ACEOF
13661 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13662 _ACEOF
13664 else
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13666 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13668 cat >>confdefs.h <<_ACEOF
13669 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13670 _ACEOF
13676 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13677 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13678 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13679 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13681 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13682 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13683 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13684 then
13685 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13689 EXTRACFLAGS=""
13691 if test "x${GCC}" = "xyes"
13692 then
13693 EXTRACFLAGS="-Wall -pipe"
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13696 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13697 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13698 $as_echo_n "(cached) " >&6
13699 else
13700 if test "$cross_compiling" = yes; then :
13701 ac_cv_c_gcc_strength_bug="yes"
13702 else
13703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13704 /* end confdefs.h. */
13705 int L[4] = {0,1,2,3};
13707 main ()
13709 static int Array[3];
13710 unsigned int B = 3;
13711 int i;
13712 for(i=0; i<B; i++) Array[i] = i - 3;
13713 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13714 L[i] = 4;
13715 return (Array[1] != -2 || L[2] != 3)
13717 return 0;
13719 _ACEOF
13720 if ac_fn_c_try_run "$LINENO"; then :
13721 ac_cv_c_gcc_strength_bug="no"
13722 else
13723 ac_cv_c_gcc_strength_bug="yes"
13725 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13726 conftest.$ac_objext conftest.beam conftest.$ac_ext
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13731 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13732 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13733 then
13734 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13738 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13739 if ${ac_cv_cflags__fno_builtin+:} false; then :
13740 $as_echo_n "(cached) " >&6
13741 else
13742 ac_wine_try_cflags_saved=$CFLAGS
13743 CFLAGS="$CFLAGS -fno-builtin"
13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13746 int main(int argc, char **argv) { return 0; }
13747 _ACEOF
13748 if ac_fn_c_try_link "$LINENO"; then :
13749 ac_cv_cflags__fno_builtin=yes
13750 else
13751 ac_cv_cflags__fno_builtin=no
13753 rm -f core conftest.err conftest.$ac_objext \
13754 conftest$ac_exeext conftest.$ac_ext
13755 CFLAGS=$ac_wine_try_cflags_saved
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13758 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13759 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13760 BUILTINFLAG="-fno-builtin"
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13764 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13765 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13766 $as_echo_n "(cached) " >&6
13767 else
13768 ac_wine_try_cflags_saved=$CFLAGS
13769 CFLAGS="$CFLAGS -fno-strict-aliasing"
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13772 int main(int argc, char **argv) { return 0; }
13773 _ACEOF
13774 if ac_fn_c_try_link "$LINENO"; then :
13775 ac_cv_cflags__fno_strict_aliasing=yes
13776 else
13777 ac_cv_cflags__fno_strict_aliasing=no
13779 rm -f core conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13781 CFLAGS=$ac_wine_try_cflags_saved
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13784 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13785 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13786 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13788 saved_CFLAGS=$CFLAGS
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13790 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13791 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13792 $as_echo_n "(cached) " >&6
13793 else
13794 ac_wine_try_cflags_saved=$CFLAGS
13795 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13798 int main(int argc, char **argv) { return 0; }
13799 _ACEOF
13800 if ac_fn_c_try_link "$LINENO"; then :
13801 ac_cv_cflags__Werror_unknown_warning_option=yes
13802 else
13803 ac_cv_cflags__Werror_unknown_warning_option=no
13805 rm -f core conftest.err conftest.$ac_objext \
13806 conftest$ac_exeext conftest.$ac_ext
13807 CFLAGS=$ac_wine_try_cflags_saved
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13810 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13811 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13812 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13815 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13816 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13817 $as_echo_n "(cached) " >&6
13818 else
13819 ac_wine_try_cflags_saved=$CFLAGS
13820 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13823 int main(int argc, char **argv) { return 0; }
13824 _ACEOF
13825 if ac_fn_c_try_link "$LINENO"; then :
13826 ac_cv_cflags__Wdeclaration_after_statement=yes
13827 else
13828 ac_cv_cflags__Wdeclaration_after_statement=no
13830 rm -f core conftest.err conftest.$ac_objext \
13831 conftest$ac_exeext conftest.$ac_ext
13832 CFLAGS=$ac_wine_try_cflags_saved
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13835 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13836 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13837 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13840 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13841 if ${ac_cv_cflags__Wempty_body+:} false; then :
13842 $as_echo_n "(cached) " >&6
13843 else
13844 ac_wine_try_cflags_saved=$CFLAGS
13845 CFLAGS="$CFLAGS -Wempty-body"
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13848 int main(int argc, char **argv) { return 0; }
13849 _ACEOF
13850 if ac_fn_c_try_link "$LINENO"; then :
13851 ac_cv_cflags__Wempty_body=yes
13852 else
13853 ac_cv_cflags__Wempty_body=no
13855 rm -f core conftest.err conftest.$ac_objext \
13856 conftest$ac_exeext conftest.$ac_ext
13857 CFLAGS=$ac_wine_try_cflags_saved
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13860 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13861 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13862 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13865 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13866 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 ac_wine_try_cflags_saved=$CFLAGS
13870 CFLAGS="$CFLAGS -Wignored-qualifiers"
13871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 int main(int argc, char **argv) { return 0; }
13874 _ACEOF
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 ac_cv_cflags__Wignored_qualifiers=yes
13877 else
13878 ac_cv_cflags__Wignored_qualifiers=no
13880 rm -f core conftest.err conftest.$ac_objext \
13881 conftest$ac_exeext conftest.$ac_ext
13882 CFLAGS=$ac_wine_try_cflags_saved
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13885 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13886 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13887 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13890 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13891 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13892 $as_echo_n "(cached) " >&6
13893 else
13894 ac_wine_try_cflags_saved=$CFLAGS
13895 CFLAGS="$CFLAGS -Wstrict-prototypes"
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13898 int main(int argc, char **argv) { return 0; }
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"; then :
13901 ac_cv_cflags__Wstrict_prototypes=yes
13902 else
13903 ac_cv_cflags__Wstrict_prototypes=no
13905 rm -f core conftest.err conftest.$ac_objext \
13906 conftest$ac_exeext conftest.$ac_ext
13907 CFLAGS=$ac_wine_try_cflags_saved
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13910 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13911 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13912 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13915 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13916 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13917 $as_echo_n "(cached) " >&6
13918 else
13919 ac_wine_try_cflags_saved=$CFLAGS
13920 CFLAGS="$CFLAGS -Wtype-limits"
13921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13923 int main(int argc, char **argv) { return 0; }
13924 _ACEOF
13925 if ac_fn_c_try_link "$LINENO"; then :
13926 ac_cv_cflags__Wtype_limits=yes
13927 else
13928 ac_cv_cflags__Wtype_limits=no
13930 rm -f core conftest.err conftest.$ac_objext \
13931 conftest$ac_exeext conftest.$ac_ext
13932 CFLAGS=$ac_wine_try_cflags_saved
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13935 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13936 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13937 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13940 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13941 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13942 $as_echo_n "(cached) " >&6
13943 else
13944 ac_wine_try_cflags_saved=$CFLAGS
13945 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13948 int main(int argc, char **argv) { return 0; }
13949 _ACEOF
13950 if ac_fn_c_try_link "$LINENO"; then :
13951 ac_cv_cflags__Wunused_but_set_parameter=yes
13952 else
13953 ac_cv_cflags__Wunused_but_set_parameter=no
13955 rm -f core conftest.err conftest.$ac_objext \
13956 conftest$ac_exeext conftest.$ac_ext
13957 CFLAGS=$ac_wine_try_cflags_saved
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13960 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13961 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13962 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13965 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13966 if ${ac_cv_cflags__Wvla+:} false; then :
13967 $as_echo_n "(cached) " >&6
13968 else
13969 ac_wine_try_cflags_saved=$CFLAGS
13970 CFLAGS="$CFLAGS -Wvla"
13971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13973 int main(int argc, char **argv) { return 0; }
13974 _ACEOF
13975 if ac_fn_c_try_link "$LINENO"; then :
13976 ac_cv_cflags__Wvla=yes
13977 else
13978 ac_cv_cflags__Wvla=no
13980 rm -f core conftest.err conftest.$ac_objext \
13981 conftest$ac_exeext conftest.$ac_ext
13982 CFLAGS=$ac_wine_try_cflags_saved
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13985 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13986 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13987 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13990 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13991 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13992 $as_echo_n "(cached) " >&6
13993 else
13994 ac_wine_try_cflags_saved=$CFLAGS
13995 CFLAGS="$CFLAGS -Wwrite-strings"
13996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13998 int main(int argc, char **argv) { return 0; }
13999 _ACEOF
14000 if ac_fn_c_try_link "$LINENO"; then :
14001 ac_cv_cflags__Wwrite_strings=yes
14002 else
14003 ac_cv_cflags__Wwrite_strings=no
14005 rm -f core conftest.err conftest.$ac_objext \
14006 conftest$ac_exeext conftest.$ac_ext
14007 CFLAGS=$ac_wine_try_cflags_saved
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14010 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14011 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14012 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14016 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14017 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14018 $as_echo_n "(cached) " >&6
14019 else
14020 ac_wine_try_cflags_saved=$CFLAGS
14021 CFLAGS="$CFLAGS -Wpointer-arith"
14022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14023 /* end confdefs.h. */
14024 int main(int argc, char **argv) { return 0; }
14025 _ACEOF
14026 if ac_fn_c_try_link "$LINENO"; then :
14027 ac_cv_cflags__Wpointer_arith=yes
14028 else
14029 ac_cv_cflags__Wpointer_arith=no
14031 rm -f core conftest.err conftest.$ac_objext \
14032 conftest$ac_exeext conftest.$ac_ext
14033 CFLAGS=$ac_wine_try_cflags_saved
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14036 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14037 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14038 saved_string_h_CFLAGS=$CFLAGS
14039 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14041 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14042 if ${ac_cv_c_string_h_warnings+:} false; then :
14043 $as_echo_n "(cached) " >&6
14044 else
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14047 #include <string.h>
14049 main ()
14053 return 0;
14055 _ACEOF
14056 if ac_fn_c_try_compile "$LINENO"; then :
14057 ac_cv_c_string_h_warnings=no
14058 else
14059 ac_cv_c_string_h_warnings=yes
14061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14064 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14065 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14066 CFLAGS=$saved_string_h_CFLAGS
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14070 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14071 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14072 $as_echo_n "(cached) " >&6
14073 else
14074 ac_wine_try_cflags_saved=$CFLAGS
14075 CFLAGS="$CFLAGS -Wlogical-op"
14076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14077 /* end confdefs.h. */
14078 int main(int argc, char **argv) { return 0; }
14079 _ACEOF
14080 if ac_fn_c_try_link "$LINENO"; then :
14081 ac_cv_cflags__Wlogical_op=yes
14082 else
14083 ac_cv_cflags__Wlogical_op=no
14085 rm -f core conftest.err conftest.$ac_objext \
14086 conftest$ac_exeext conftest.$ac_ext
14087 CFLAGS=$ac_wine_try_cflags_saved
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14090 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14091 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14092 saved_string_h_CFLAGS=$CFLAGS
14093 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14095 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14096 if ${ac_cv_c_logicalop_noisy+:} false; then :
14097 $as_echo_n "(cached) " >&6
14098 else
14099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14101 #include <string.h>
14102 char*f(const char *h,char n) {return strchr(h,n);}
14104 main ()
14108 return 0;
14110 _ACEOF
14111 if ac_fn_c_try_compile "$LINENO"; then :
14112 ac_cv_c_logicalop_noisy=no
14113 else
14114 ac_cv_c_logicalop_noisy=yes
14116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14119 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14120 CFLAGS=$saved_string_h_CFLAGS
14121 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14124 CFLAGS=$saved_CFLAGS
14126 for ac_flag in $CFLAGS; do
14127 case $ac_flag in
14128 -g) case $host_os in
14129 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14130 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14131 if ${ac_cv_cflags__gstabsp+:} false; then :
14132 $as_echo_n "(cached) " >&6
14133 else
14134 ac_wine_try_cflags_saved=$CFLAGS
14135 CFLAGS="$CFLAGS -gstabs+"
14136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14138 int main(int argc, char **argv) { return 0; }
14139 _ACEOF
14140 if ac_fn_c_try_link "$LINENO"; then :
14141 ac_cv_cflags__gstabsp=yes
14142 else
14143 ac_cv_cflags__gstabsp=no
14145 rm -f core conftest.err conftest.$ac_objext \
14146 conftest$ac_exeext conftest.$ac_ext
14147 CFLAGS=$ac_wine_try_cflags_saved
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14150 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14151 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14152 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14153 fi ;;
14154 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14155 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14156 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14157 $as_echo_n "(cached) " >&6
14158 else
14159 ac_wine_try_cflags_saved=$CFLAGS
14160 CFLAGS="$CFLAGS -gdwarf-2"
14161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14163 int main(int argc, char **argv) { return 0; }
14164 _ACEOF
14165 if ac_fn_c_try_link "$LINENO"; then :
14166 ac_cv_cflags__gdwarf_2=yes
14167 else
14168 ac_cv_cflags__gdwarf_2=no
14170 rm -f core conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14172 CFLAGS=$ac_wine_try_cflags_saved
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14175 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14176 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14177 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14180 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14181 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14182 $as_echo_n "(cached) " >&6
14183 else
14184 ac_wine_try_cflags_saved=$CFLAGS
14185 CFLAGS="$CFLAGS -gstrict-dwarf"
14186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14188 int main(int argc, char **argv) { return 0; }
14189 _ACEOF
14190 if ac_fn_c_try_link "$LINENO"; then :
14191 ac_cv_cflags__gstrict_dwarf=yes
14192 else
14193 ac_cv_cflags__gstrict_dwarf=no
14195 rm -f core conftest.err conftest.$ac_objext \
14196 conftest$ac_exeext conftest.$ac_ext
14197 CFLAGS=$ac_wine_try_cflags_saved
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14200 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14201 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14202 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14203 fi ;;
14204 esac ;;
14205 esac
14206 done
14208 case $host_cpu in
14209 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14210 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14211 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14212 $as_echo_n "(cached) " >&6
14213 else
14214 ac_wine_try_cflags_saved=$CFLAGS
14215 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14218 int main(int argc, char **argv) { return 0; }
14219 _ACEOF
14220 if ac_fn_c_try_link "$LINENO"; then :
14221 ac_cv_cflags__fno_omit_frame_pointer=yes
14222 else
14223 ac_cv_cflags__fno_omit_frame_pointer=no
14225 rm -f core conftest.err conftest.$ac_objext \
14226 conftest$ac_exeext conftest.$ac_ext
14227 CFLAGS=$ac_wine_try_cflags_saved
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14230 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14231 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14232 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14233 fi ;;
14234 esac
14236 case $host in
14237 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14238 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14239 if ${ac_cv_cflags__Wno_format+:} false; then :
14240 $as_echo_n "(cached) " >&6
14241 else
14242 ac_wine_try_cflags_saved=$CFLAGS
14243 CFLAGS="$CFLAGS -Wno-format"
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14246 int main(int argc, char **argv) { return 0; }
14247 _ACEOF
14248 if ac_fn_c_try_link "$LINENO"; then :
14249 ac_cv_cflags__Wno_format=yes
14250 else
14251 ac_cv_cflags__Wno_format=no
14253 rm -f core conftest.err conftest.$ac_objext \
14254 conftest$ac_exeext conftest.$ac_ext
14255 CFLAGS=$ac_wine_try_cflags_saved
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14258 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14259 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14260 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14261 fi ;;
14262 esac
14264 if test "x$enable_maintainer_mode" = "xyes"
14265 then
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14267 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14268 if ${ac_cv_cflags__Werror+:} false; then :
14269 $as_echo_n "(cached) " >&6
14270 else
14271 ac_wine_try_cflags_saved=$CFLAGS
14272 CFLAGS="$CFLAGS -Werror"
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14275 int main(int argc, char **argv) { return 0; }
14276 _ACEOF
14277 if ac_fn_c_try_link "$LINENO"; then :
14278 ac_cv_cflags__Werror=yes
14279 else
14280 ac_cv_cflags__Werror=no
14282 rm -f core conftest.err conftest.$ac_objext \
14283 conftest$ac_exeext conftest.$ac_ext
14284 CFLAGS=$ac_wine_try_cflags_saved
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14287 $as_echo "$ac_cv_cflags__Werror" >&6; }
14288 if test "x$ac_cv_cflags__Werror" = xyes; then :
14289 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14293 saved_CFLAGS="$CFLAGS"
14294 CFLAGS="$CFLAGS -Werror"
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14296 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14297 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14298 $as_echo_n "(cached) " >&6
14299 else
14300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14301 /* end confdefs.h. */
14302 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14304 main ()
14308 return 0;
14310 _ACEOF
14311 if ac_fn_c_try_compile "$LINENO"; then :
14312 ac_cv_have_ms_hook_prologue="yes"
14313 else
14314 ac_cv_have_ms_hook_prologue="no"
14316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14319 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14320 CFLAGS="$saved_CFLAGS"
14321 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14322 then
14324 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14326 else
14327 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14334 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14335 if ${ac_cv_c_fortify_enabled+:} false; then :
14336 $as_echo_n "(cached) " >&6
14337 else
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14340 #include <string.h>
14342 main ()
14344 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14345 #error Fortify enabled
14346 #endif
14348 return 0;
14350 _ACEOF
14351 if ac_fn_c_try_compile "$LINENO"; then :
14352 ac_cv_c_fortify_enabled=no
14353 else
14354 ac_cv_c_fortify_enabled=yes
14356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14359 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14360 if test "$ac_cv_c_fortify_enabled" = yes
14361 then
14362 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14367 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14368 if ${ac_cv_c_extern_prefix+:} false; then :
14369 $as_echo_n "(cached) " >&6
14370 else
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14373 extern int ac_test;
14375 main ()
14377 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14379 return 0;
14381 _ACEOF
14382 if ac_fn_c_try_link "$LINENO"; then :
14383 ac_cv_c_extern_prefix="yes"
14384 else
14385 ac_cv_c_extern_prefix="no"
14387 rm -f core conftest.err conftest.$ac_objext \
14388 conftest$ac_exeext conftest.$ac_ext
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14391 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14393 case $host_cpu in
14394 *i[3456789]86*)
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14396 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14397 if ${ac_cv_c_stdcall_suffix+:} false; then :
14398 $as_echo_n "(cached) " >&6
14399 else
14400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14401 /* end confdefs.h. */
14402 #ifndef _MSC_VER
14403 #define __stdcall __attribute__((__stdcall__))
14404 #endif
14405 int __stdcall ac_test(int i) { return i; }
14407 main ()
14409 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14411 return 0;
14413 _ACEOF
14414 if ac_fn_c_try_link "$LINENO"; then :
14415 ac_cv_c_stdcall_suffix="yes"
14416 else
14417 ac_cv_c_stdcall_suffix="no"
14419 rm -f core conftest.err conftest.$ac_objext \
14420 conftest$ac_exeext conftest.$ac_ext
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14423 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14424 *) ac_cv_c_stdcall_suffix="no" ;;
14425 esac
14428 if test "$ac_cv_c_extern_prefix" = "yes"
14429 then
14430 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14432 asm_name_prefix="_"
14433 else
14434 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14436 asm_name_prefix=""
14440 if test "$ac_cv_c_stdcall_suffix" = "yes"
14441 then
14442 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14444 else
14445 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14451 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14452 if ${ac_cv_asm_func_def+:} false; then :
14453 $as_echo_n "(cached) " >&6
14454 else
14455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14459 main ()
14461 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14463 return 0;
14465 _ACEOF
14466 if ac_fn_c_try_link "$LINENO"; then :
14467 ac_cv_asm_func_def=".def"
14468 else
14469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14473 main ()
14475 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14477 return 0;
14479 _ACEOF
14480 if ac_fn_c_try_link "$LINENO"; then :
14481 ac_cv_asm_func_def=".type @function"
14482 else
14483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14487 main ()
14489 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14491 return 0;
14493 _ACEOF
14494 if ac_fn_c_try_link "$LINENO"; then :
14495 ac_cv_asm_func_def=".type 2"
14496 else
14497 ac_cv_asm_func_def="unknown"
14499 rm -f core conftest.err conftest.$ac_objext \
14500 conftest$ac_exeext conftest.$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14509 $as_echo "$ac_cv_asm_func_def" >&6; }
14512 case "$ac_cv_asm_func_def" in
14513 ".def")
14514 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14516 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14517 ".type @function")
14518 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14520 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14521 ".type 2")
14522 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14524 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14526 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14528 asm_func_header="" ;;
14529 esac
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14532 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14533 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14534 $as_echo_n "(cached) " >&6
14535 else
14536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14537 /* end confdefs.h. */
14538 asm(".text\n\t.long 0");
14540 main ()
14544 return 0;
14546 _ACEOF
14547 if ac_fn_c_try_compile "$LINENO"; then :
14548 ac_cv_c_asm_outside_funcs="yes"
14549 else
14550 ac_cv_c_asm_outside_funcs="no"
14552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14555 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14558 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14559 if ${ac_cv_c_dot_previous+:} false; then :
14560 $as_echo_n "(cached) " >&6
14561 else
14562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14566 main ()
14568 asm(".text\nac_test:\t.long 0\n\t.previous");
14570 return 0;
14572 _ACEOF
14573 if ac_fn_c_try_link "$LINENO"; then :
14574 ac_cv_c_dot_previous="yes"
14575 else
14576 ac_cv_c_dot_previous="no"
14578 rm -f core conftest.err conftest.$ac_objext \
14579 conftest$ac_exeext conftest.$ac_ext
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14582 $as_echo "$ac_cv_c_dot_previous" >&6; }
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14585 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14586 if ${ac_cv_c_cfi_support+:} false; then :
14587 $as_echo_n "(cached) " >&6
14588 else
14589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14591 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14593 main ()
14597 return 0;
14599 _ACEOF
14600 if ac_fn_c_try_compile "$LINENO"; then :
14601 ac_cv_c_cfi_support="yes"
14602 else
14603 ac_cv_c_cfi_support="no"
14605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14608 $as_echo "$ac_cv_c_cfi_support" >&6; }
14610 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14611 asm_func_trailer=""
14612 if test "$ac_cv_c_dot_previous" = "yes"
14613 then
14614 asm_func_trailer="\\n\\t.previous"
14616 if test "$ac_cv_c_cfi_support" = "yes"
14617 then
14618 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14619 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14621 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14623 UNWINDFLAGS=-fasynchronous-unwind-tables
14625 else
14626 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14630 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14633 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14634 then
14635 cat >>confdefs.h <<_ACEOF
14636 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14637 _ACEOF
14639 else
14640 cat >>confdefs.h <<_ACEOF
14641 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14642 _ACEOF
14646 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14649 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14653 case $build_os in
14654 cygwin*|mingw32*) TOOLSEXT=".exe"
14656 esac
14658 case $host_os in
14659 linux*)
14660 case $host_cpu in
14661 *i[3456789]86*|x86_64*)
14662 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14663 loader_programs="$loader_programs $wine_binary-preloader"
14664 as_fn_append LOADER_RULES "
14665 $wine_binary-preloader: preloader.o
14666 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14668 install install-lib:: $wine_binary-preloader
14669 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14671 uninstall::
14672 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14674 preloader_EXTRADEFS = $BUILTINFLAG
14675 " ;;
14676 esac
14678 esac
14679 as_fn_append LOADER_RULES "
14680 PROGRAMS = $loader_programs
14684 ac_save_CFLAGS="$CFLAGS"
14685 CFLAGS="$CFLAGS $BUILTINFLAG"
14686 for ac_func in \
14687 __res_get_state \
14688 __res_getservers \
14689 _finite \
14690 _isnan \
14691 _pclose \
14692 _popen \
14693 _snprintf \
14694 _spawnvp \
14695 _strdup \
14696 _stricmp \
14697 _strnicmp \
14698 _strtoi64 \
14699 _strtoui64 \
14700 _vsnprintf \
14701 asctime_r \
14702 chsize \
14703 dlopen \
14704 epoll_create \
14705 ffs \
14706 finitef \
14707 fnmatch \
14708 fork \
14709 fpclass \
14710 fstatfs \
14711 fstatvfs \
14712 ftruncate \
14713 futimens \
14714 futimes \
14715 futimesat \
14716 getattrlist \
14717 getdirentries \
14718 getopt_long_only \
14719 getpwuid \
14720 gettimeofday \
14721 getuid \
14722 if_nameindex \
14723 isnanf \
14724 kqueue \
14725 lstat \
14726 memmove \
14727 mmap \
14728 pclose \
14729 pipe2 \
14730 poll \
14731 popen \
14732 port_create \
14733 prctl \
14734 pread \
14735 proc_pidinfo \
14736 pwrite \
14737 readdir \
14738 readlink \
14739 sched_yield \
14740 select \
14741 setproctitle \
14742 setrlimit \
14743 settimeofday \
14744 sigaltstack \
14745 sigprocmask \
14746 snprintf \
14747 statfs \
14748 statvfs \
14749 strcasecmp \
14750 strdup \
14751 strerror \
14752 strncasecmp \
14753 strtold \
14754 strtoll \
14755 strtoull \
14756 symlink \
14757 tcdrain \
14758 thr_kill2 \
14759 timegm \
14760 usleep \
14761 vsnprintf
14763 do :
14764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14766 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14767 cat >>confdefs.h <<_ACEOF
14768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14769 _ACEOF
14772 done
14774 CFLAGS="$ac_save_CFLAGS"
14776 if test "$ac_cv_func_dlopen" = no
14777 then
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14779 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14780 if ${ac_cv_lib_dl_dlopen+:} false; then :
14781 $as_echo_n "(cached) " >&6
14782 else
14783 ac_check_lib_save_LIBS=$LIBS
14784 LIBS="-ldl $LIBS"
14785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14788 /* Override any GCC internal prototype to avoid an error.
14789 Use char because int might match the return type of a GCC
14790 builtin and then its argument prototype would still apply. */
14791 #ifdef __cplusplus
14792 extern "C"
14793 #endif
14794 char dlopen ();
14796 main ()
14798 return dlopen ();
14800 return 0;
14802 _ACEOF
14803 if ac_fn_c_try_link "$LINENO"; then :
14804 ac_cv_lib_dl_dlopen=yes
14805 else
14806 ac_cv_lib_dl_dlopen=no
14808 rm -f core conftest.err conftest.$ac_objext \
14809 conftest$ac_exeext conftest.$ac_ext
14810 LIBS=$ac_check_lib_save_LIBS
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14813 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14814 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14815 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14816 DL_LIBS="-ldl"
14821 ac_wine_check_funcs_save_LIBS="$LIBS"
14822 LIBS="$LIBS $DL_LIBS"
14823 for ac_func in dladdr
14824 do :
14825 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14826 if test "x$ac_cv_func_dladdr" = xyes; then :
14827 cat >>confdefs.h <<_ACEOF
14828 #define HAVE_DLADDR 1
14829 _ACEOF
14832 done
14834 LIBS="$ac_wine_check_funcs_save_LIBS"
14836 if test "$ac_cv_func_poll" = no
14837 then
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14839 $as_echo_n "checking for poll in -lpoll... " >&6; }
14840 if ${ac_cv_lib_poll_poll+:} false; then :
14841 $as_echo_n "(cached) " >&6
14842 else
14843 ac_check_lib_save_LIBS=$LIBS
14844 LIBS="-lpoll $LIBS"
14845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h. */
14848 /* Override any GCC internal prototype to avoid an error.
14849 Use char because int might match the return type of a GCC
14850 builtin and then its argument prototype would still apply. */
14851 #ifdef __cplusplus
14852 extern "C"
14853 #endif
14854 char poll ();
14856 main ()
14858 return poll ();
14860 return 0;
14862 _ACEOF
14863 if ac_fn_c_try_link "$LINENO"; then :
14864 ac_cv_lib_poll_poll=yes
14865 else
14866 ac_cv_lib_poll_poll=no
14868 rm -f core conftest.err conftest.$ac_objext \
14869 conftest$ac_exeext conftest.$ac_ext
14870 LIBS=$ac_check_lib_save_LIBS
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14873 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14874 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14875 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14876 POLL_LIBS="-lpoll"
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14883 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14884 if ${ac_cv_search_gethostbyname+:} false; then :
14885 $as_echo_n "(cached) " >&6
14886 else
14887 ac_func_search_save_LIBS=$LIBS
14888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14891 /* Override any GCC internal prototype to avoid an error.
14892 Use char because int might match the return type of a GCC
14893 builtin and then its argument prototype would still apply. */
14894 #ifdef __cplusplus
14895 extern "C"
14896 #endif
14897 char gethostbyname ();
14899 main ()
14901 return gethostbyname ();
14903 return 0;
14905 _ACEOF
14906 for ac_lib in '' nsl; do
14907 if test -z "$ac_lib"; then
14908 ac_res="none required"
14909 else
14910 ac_res=-l$ac_lib
14911 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14913 if ac_fn_c_try_link "$LINENO"; then :
14914 ac_cv_search_gethostbyname=$ac_res
14916 rm -f core conftest.err conftest.$ac_objext \
14917 conftest$ac_exeext
14918 if ${ac_cv_search_gethostbyname+:} false; then :
14919 break
14921 done
14922 if ${ac_cv_search_gethostbyname+:} false; then :
14924 else
14925 ac_cv_search_gethostbyname=no
14927 rm conftest.$ac_ext
14928 LIBS=$ac_func_search_save_LIBS
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14931 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14932 ac_res=$ac_cv_search_gethostbyname
14933 if test "$ac_res" != no; then :
14934 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14940 $as_echo_n "checking for library containing connect... " >&6; }
14941 if ${ac_cv_search_connect+:} false; then :
14942 $as_echo_n "(cached) " >&6
14943 else
14944 ac_func_search_save_LIBS=$LIBS
14945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14948 /* Override any GCC internal prototype to avoid an error.
14949 Use char because int might match the return type of a GCC
14950 builtin and then its argument prototype would still apply. */
14951 #ifdef __cplusplus
14952 extern "C"
14953 #endif
14954 char connect ();
14956 main ()
14958 return connect ();
14960 return 0;
14962 _ACEOF
14963 for ac_lib in '' socket; do
14964 if test -z "$ac_lib"; then
14965 ac_res="none required"
14966 else
14967 ac_res=-l$ac_lib
14968 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14970 if ac_fn_c_try_link "$LINENO"; then :
14971 ac_cv_search_connect=$ac_res
14973 rm -f core conftest.err conftest.$ac_objext \
14974 conftest$ac_exeext
14975 if ${ac_cv_search_connect+:} false; then :
14976 break
14978 done
14979 if ${ac_cv_search_connect+:} false; then :
14981 else
14982 ac_cv_search_connect=no
14984 rm conftest.$ac_ext
14985 LIBS=$ac_func_search_save_LIBS
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14988 $as_echo "$ac_cv_search_connect" >&6; }
14989 ac_res=$ac_cv_search_connect
14990 if test "$ac_res" != no; then :
14991 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14997 $as_echo_n "checking for library containing inet_aton... " >&6; }
14998 if ${ac_cv_search_inet_aton+:} false; then :
14999 $as_echo_n "(cached) " >&6
15000 else
15001 ac_func_search_save_LIBS=$LIBS
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15005 /* Override any GCC internal prototype to avoid an error.
15006 Use char because int might match the return type of a GCC
15007 builtin and then its argument prototype would still apply. */
15008 #ifdef __cplusplus
15009 extern "C"
15010 #endif
15011 char inet_aton ();
15013 main ()
15015 return inet_aton ();
15017 return 0;
15019 _ACEOF
15020 for ac_lib in '' resolv; do
15021 if test -z "$ac_lib"; then
15022 ac_res="none required"
15023 else
15024 ac_res=-l$ac_lib
15025 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15027 if ac_fn_c_try_link "$LINENO"; then :
15028 ac_cv_search_inet_aton=$ac_res
15030 rm -f core conftest.err conftest.$ac_objext \
15031 conftest$ac_exeext
15032 if ${ac_cv_search_inet_aton+:} false; then :
15033 break
15035 done
15036 if ${ac_cv_search_inet_aton+:} false; then :
15038 else
15039 ac_cv_search_inet_aton=no
15041 rm conftest.$ac_ext
15042 LIBS=$ac_func_search_save_LIBS
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15045 $as_echo "$ac_cv_search_inet_aton" >&6; }
15046 ac_res=$ac_cv_search_inet_aton
15047 if test "$ac_res" != no; then :
15048 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15053 for ac_func in \
15054 getaddrinfo \
15055 getnameinfo \
15056 getnetbyname \
15057 getprotobyname \
15058 getprotobynumber \
15059 getservbyport \
15060 inet_addr \
15061 inet_network \
15062 inet_ntop \
15063 inet_pton \
15064 sendmsg \
15065 socketpair \
15067 do :
15068 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15069 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15070 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15071 cat >>confdefs.h <<_ACEOF
15072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15073 _ACEOF
15076 done
15079 ac_save_LIBS=$LIBS
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15081 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15082 if ${ac_cv_search_clock_gettime+:} false; then :
15083 $as_echo_n "(cached) " >&6
15084 else
15085 ac_func_search_save_LIBS=$LIBS
15086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15089 /* Override any GCC internal prototype to avoid an error.
15090 Use char because int might match the return type of a GCC
15091 builtin and then its argument prototype would still apply. */
15092 #ifdef __cplusplus
15093 extern "C"
15094 #endif
15095 char clock_gettime ();
15097 main ()
15099 return clock_gettime ();
15101 return 0;
15103 _ACEOF
15104 for ac_lib in '' rt; do
15105 if test -z "$ac_lib"; then
15106 ac_res="none required"
15107 else
15108 ac_res=-l$ac_lib
15109 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15111 if ac_fn_c_try_link "$LINENO"; then :
15112 ac_cv_search_clock_gettime=$ac_res
15114 rm -f core conftest.err conftest.$ac_objext \
15115 conftest$ac_exeext
15116 if ${ac_cv_search_clock_gettime+:} false; then :
15117 break
15119 done
15120 if ${ac_cv_search_clock_gettime+:} false; then :
15122 else
15123 ac_cv_search_clock_gettime=no
15125 rm conftest.$ac_ext
15126 LIBS=$ac_func_search_save_LIBS
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15129 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15130 ac_res=$ac_cv_search_clock_gettime
15131 if test "$ac_res" != no; then :
15132 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15134 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15136 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15140 LIBS=$ac_save_LIBS
15142 LDAP_LIBS=""
15144 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15145 then
15146 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15148 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15150 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15151 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15152 $as_echo_n "(cached) " >&6
15153 else
15154 ac_check_lib_save_LIBS=$LIBS
15155 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15159 /* Override any GCC internal prototype to avoid an error.
15160 Use char because int might match the return type of a GCC
15161 builtin and then its argument prototype would still apply. */
15162 #ifdef __cplusplus
15163 extern "C"
15164 #endif
15165 char ldap_initialize ();
15167 main ()
15169 return ldap_initialize ();
15171 return 0;
15173 _ACEOF
15174 if ac_fn_c_try_link "$LINENO"; then :
15175 ac_cv_lib_ldap_r_ldap_initialize=yes
15176 else
15177 ac_cv_lib_ldap_r_ldap_initialize=no
15179 rm -f core conftest.err conftest.$ac_objext \
15180 conftest$ac_exeext conftest.$ac_ext
15181 LIBS=$ac_check_lib_save_LIBS
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15184 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15185 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15187 $as_echo_n "checking for ber_init in -llber... " >&6; }
15188 if ${ac_cv_lib_lber_ber_init+:} false; then :
15189 $as_echo_n "(cached) " >&6
15190 else
15191 ac_check_lib_save_LIBS=$LIBS
15192 LIBS="-llber $PTHREAD_LIBS $LIBS"
15193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15194 /* end confdefs.h. */
15196 /* Override any GCC internal prototype to avoid an error.
15197 Use char because int might match the return type of a GCC
15198 builtin and then its argument prototype would still apply. */
15199 #ifdef __cplusplus
15200 extern "C"
15201 #endif
15202 char ber_init ();
15204 main ()
15206 return ber_init ();
15208 return 0;
15210 _ACEOF
15211 if ac_fn_c_try_link "$LINENO"; then :
15212 ac_cv_lib_lber_ber_init=yes
15213 else
15214 ac_cv_lib_lber_ber_init=no
15216 rm -f core conftest.err conftest.$ac_objext \
15217 conftest$ac_exeext conftest.$ac_ext
15218 LIBS=$ac_check_lib_save_LIBS
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15221 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15222 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15224 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15226 LDAP_LIBS="-lldap_r -llber"
15233 ac_wine_check_funcs_save_LIBS="$LIBS"
15234 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15235 for ac_func in \
15236 ldap_count_references \
15237 ldap_first_reference \
15238 ldap_next_reference \
15239 ldap_parse_reference \
15240 ldap_parse_sort_control \
15241 ldap_parse_sortresponse_control \
15242 ldap_parse_vlv_control \
15243 ldap_parse_vlvresponse_control
15244 do :
15245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15247 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15248 cat >>confdefs.h <<_ACEOF
15249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15250 _ACEOF
15253 done
15255 LIBS="$ac_wine_check_funcs_save_LIBS"
15257 if test "x$LDAP_LIBS" = "x"; then :
15258 case "x$with_ldap" in
15259 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15260 xno) ;;
15261 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15262 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15263 esac
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15267 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15268 if ${wine_cv_one_arg_mkdir+:} false; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15273 #include <sys/stat.h>
15275 main ()
15277 mkdir("foo");
15279 return 0;
15281 _ACEOF
15282 if ac_fn_c_try_compile "$LINENO"; then :
15283 wine_cv_one_arg_mkdir=yes
15284 else
15285 wine_cv_one_arg_mkdir=no
15287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15290 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15291 if test "$wine_cv_one_arg_mkdir" = "yes"
15292 then
15294 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15299 $as_echo_n "checking for sched_setaffinity... " >&6; }
15300 if ${wine_cv_have_sched_setaffinity+:} false; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15304 /* end confdefs.h. */
15305 #define _GNU_SOURCE
15306 #include <sched.h>
15308 main ()
15310 sched_setaffinity(0, 0, 0);
15312 return 0;
15314 _ACEOF
15315 if ac_fn_c_try_link "$LINENO"; then :
15316 wine_cv_have_sched_setaffinity=yes
15317 else
15318 wine_cv_have_sched_setaffinity=no
15320 rm -f core conftest.err conftest.$ac_objext \
15321 conftest$ac_exeext conftest.$ac_ext
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15324 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15325 if test "$wine_cv_have_sched_setaffinity" = "yes"
15326 then
15328 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15333 $as_echo_n "checking for fallocate... " >&6; }
15334 if ${wine_cv_have_fallocate+:} false; then :
15335 $as_echo_n "(cached) " >&6
15336 else
15337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15338 /* end confdefs.h. */
15339 #define _GNU_SOURCE
15340 #include <fcntl.h>
15342 main ()
15344 fallocate(-1, 0, 0, 0);
15346 return 0;
15348 _ACEOF
15349 if ac_fn_c_try_link "$LINENO"; then :
15350 wine_cv_have_fallocate=yes
15351 else
15352 wine_cv_have_fallocate=no
15354 rm -f core conftest.err conftest.$ac_objext \
15355 conftest$ac_exeext conftest.$ac_ext
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15358 $as_echo "$wine_cv_have_fallocate" >&6; }
15359 if test "$wine_cv_have_fallocate" = "yes"
15360 then
15362 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15368 $as_echo_n "checking for inline... " >&6; }
15369 if ${ac_cv_c_inline+:} false; then :
15370 $as_echo_n "(cached) " >&6
15371 else
15372 ac_cv_c_inline=no
15373 for ac_kw in inline __inline__ __inline; do
15374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15376 #ifndef __cplusplus
15377 typedef int foo_t;
15378 static $ac_kw foo_t static_foo () {return 0; }
15379 $ac_kw foo_t foo () {return 0; }
15380 #endif
15382 _ACEOF
15383 if ac_fn_c_try_compile "$LINENO"; then :
15384 ac_cv_c_inline=$ac_kw
15386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15387 test "$ac_cv_c_inline" != no && break
15388 done
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15392 $as_echo "$ac_cv_c_inline" >&6; }
15394 case $ac_cv_c_inline in
15395 inline | yes) ;;
15397 case $ac_cv_c_inline in
15398 no) ac_val=;;
15399 *) ac_val=$ac_cv_c_inline;;
15400 esac
15401 cat >>confdefs.h <<_ACEOF
15402 #ifndef __cplusplus
15403 #define inline $ac_val
15404 #endif
15405 _ACEOF
15407 esac
15409 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15410 if test "x$ac_cv_type_mode_t" = xyes; then :
15412 cat >>confdefs.h <<_ACEOF
15413 #define HAVE_MODE_T 1
15414 _ACEOF
15418 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15419 if test "x$ac_cv_type_off_t" = xyes; then :
15421 cat >>confdefs.h <<_ACEOF
15422 #define HAVE_OFF_T 1
15423 _ACEOF
15427 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15428 if test "x$ac_cv_type_pid_t" = xyes; then :
15430 cat >>confdefs.h <<_ACEOF
15431 #define HAVE_PID_T 1
15432 _ACEOF
15436 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15437 if test "x$ac_cv_type_size_t" = xyes; then :
15439 cat >>confdefs.h <<_ACEOF
15440 #define HAVE_SIZE_T 1
15441 _ACEOF
15445 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15446 if test "x$ac_cv_type_ssize_t" = xyes; then :
15448 cat >>confdefs.h <<_ACEOF
15449 #define HAVE_SSIZE_T 1
15450 _ACEOF
15454 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15455 if test "x$ac_cv_type_long_long" = xyes; then :
15457 cat >>confdefs.h <<_ACEOF
15458 #define HAVE_LONG_LONG 1
15459 _ACEOF
15463 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15464 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15466 cat >>confdefs.h <<_ACEOF
15467 #define HAVE_FSBLKCNT_T 1
15468 _ACEOF
15472 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15473 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15475 cat >>confdefs.h <<_ACEOF
15476 #define HAVE_FSFILCNT_T 1
15477 _ACEOF
15482 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15483 #include <signal.h>
15485 if test "x$ac_cv_type_sigset_t" = xyes; then :
15487 cat >>confdefs.h <<_ACEOF
15488 #define HAVE_SIGSET_T 1
15489 _ACEOF
15494 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15496 if test "x$ac_cv_type_request_sense" = xyes; then :
15498 cat >>confdefs.h <<_ACEOF
15499 #define HAVE_REQUEST_SENSE 1
15500 _ACEOF
15506 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15507 #ifdef HAVE_SYS_SOCKET_H
15508 #include <sys/socket.h>
15509 #endif
15510 #ifdef HAVE_SYS_SOCKETVAR_H
15511 #include <sys/socketvar.h>
15512 #endif
15513 #ifdef HAVE_NET_ROUTE_H
15514 #include <net/route.h>
15515 #endif
15516 #ifdef HAVE_NETINET_IN_H
15517 #include <netinet/in.h>
15518 #endif
15519 #ifdef HAVE_NETINET_IN_SYSTM_H
15520 #include <netinet/in_systm.h>
15521 #endif
15522 #ifdef HAVE_NETINET_IP_H
15523 #include <netinet/ip.h>
15524 #endif
15525 #ifdef HAVE_NETINET_IN_PCB_H
15526 #include <netinet/in_pcb.h>
15527 #endif
15529 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15531 cat >>confdefs.h <<_ACEOF
15532 #define HAVE_STRUCT_XINPGEN 1
15533 _ACEOF
15539 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15540 #include <link.h>
15541 #endif
15542 #ifdef HAVE_SYS_LINK_H
15543 #include <sys/link.h>
15544 #endif
15546 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15548 cat >>confdefs.h <<_ACEOF
15549 #define HAVE_STRUCT_R_DEBUG 1
15550 _ACEOF
15554 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15555 #include <link.h>
15556 #endif
15557 #ifdef HAVE_SYS_LINK_H
15558 #include <sys/link.h>
15559 #endif
15561 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15563 cat >>confdefs.h <<_ACEOF
15564 #define HAVE_STRUCT_LINK_MAP 1
15565 _ACEOF
15571 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15572 #include <linux/input.h>
15573 #endif
15575 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15577 cat >>confdefs.h <<_ACEOF
15578 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15579 _ACEOF
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15586 $as_echo_n "checking for sigaddset... " >&6; }
15587 if ${wine_cv_have_sigaddset+:} false; then :
15588 $as_echo_n "(cached) " >&6
15589 else
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15592 #include <signal.h>
15594 main ()
15596 sigset_t set; sigaddset(&set,SIGTERM);
15598 return 0;
15600 _ACEOF
15601 if ac_fn_c_try_link "$LINENO"; then :
15602 wine_cv_have_sigaddset=yes
15603 else
15604 wine_cv_have_sigaddset=no
15606 rm -f core conftest.err conftest.$ac_objext \
15607 conftest$ac_exeext conftest.$ac_ext
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15610 $as_echo "$wine_cv_have_sigaddset" >&6; }
15611 if test "$wine_cv_have_sigaddset" = "yes"
15612 then
15614 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15620 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15621 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15622 $as_echo_n "(cached) " >&6
15623 else
15624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15625 /* end confdefs.h. */
15626 #include <netdb.h>
15628 main ()
15631 char *name=0;
15632 struct hostent he;
15633 struct hostent *result;
15634 char *buf=0;
15635 int bufsize=0;
15636 int errnr;
15637 char *addr=0;
15638 int addrlen=0;
15639 int addrtype=0;
15640 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15641 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15644 return 0;
15646 _ACEOF
15647 if ac_fn_c_try_link "$LINENO"; then :
15648 wine_cv_linux_gethostbyname_r_6=yes
15649 else
15650 wine_cv_linux_gethostbyname_r_6=no
15653 rm -f core conftest.err conftest.$ac_objext \
15654 conftest$ac_exeext conftest.$ac_ext
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15658 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15659 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15660 then
15662 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15666 if test "$ac_cv_header_linux_joystick_h" = "yes"
15667 then
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15669 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15670 if ${wine_cv_linux_joystick_22_api+:} false; then :
15671 $as_echo_n "(cached) " >&6
15672 else
15673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15676 #include <sys/ioctl.h>
15677 #include <sys/types.h>
15678 #include <linux/joystick.h>
15680 struct js_event blub;
15681 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15682 #error "no 2.2 header"
15683 #endif
15686 main ()
15688 /*empty*/
15690 return 0;
15692 _ACEOF
15693 if ac_fn_c_try_compile "$LINENO"; then :
15694 wine_cv_linux_joystick_22_api=yes
15695 else
15696 wine_cv_linux_joystick_22_api=no
15698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15702 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15703 if test "$wine_cv_linux_joystick_22_api" = "yes"
15704 then
15706 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15712 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15713 #ifdef HAVE_SYS_PARAM_H
15714 # include <sys/param.h>
15715 #endif
15716 #ifdef HAVE_SYS_MOUNT_H
15717 # include <sys/mount.h>
15718 #endif
15719 #ifdef HAVE_SYS_VFS_H
15720 # include <sys/vfs.h>
15721 #endif
15722 #ifdef HAVE_SYS_STATFS_H
15723 # include <sys/statfs.h>
15724 #endif
15726 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15728 cat >>confdefs.h <<_ACEOF
15729 #define HAVE_STRUCT_STATFS_F_BFREE 1
15730 _ACEOF
15734 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15735 #ifdef HAVE_SYS_PARAM_H
15736 # include <sys/param.h>
15737 #endif
15738 #ifdef HAVE_SYS_MOUNT_H
15739 # include <sys/mount.h>
15740 #endif
15741 #ifdef HAVE_SYS_VFS_H
15742 # include <sys/vfs.h>
15743 #endif
15744 #ifdef HAVE_SYS_STATFS_H
15745 # include <sys/statfs.h>
15746 #endif
15748 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15750 cat >>confdefs.h <<_ACEOF
15751 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15752 _ACEOF
15756 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15757 #ifdef HAVE_SYS_PARAM_H
15758 # include <sys/param.h>
15759 #endif
15760 #ifdef HAVE_SYS_MOUNT_H
15761 # include <sys/mount.h>
15762 #endif
15763 #ifdef HAVE_SYS_VFS_H
15764 # include <sys/vfs.h>
15765 #endif
15766 #ifdef HAVE_SYS_STATFS_H
15767 # include <sys/statfs.h>
15768 #endif
15770 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15772 cat >>confdefs.h <<_ACEOF
15773 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15774 _ACEOF
15778 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15779 #ifdef HAVE_SYS_PARAM_H
15780 # include <sys/param.h>
15781 #endif
15782 #ifdef HAVE_SYS_MOUNT_H
15783 # include <sys/mount.h>
15784 #endif
15785 #ifdef HAVE_SYS_VFS_H
15786 # include <sys/vfs.h>
15787 #endif
15788 #ifdef HAVE_SYS_STATFS_H
15789 # include <sys/statfs.h>
15790 #endif
15792 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15794 cat >>confdefs.h <<_ACEOF
15795 #define HAVE_STRUCT_STATFS_F_FFREE 1
15796 _ACEOF
15800 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15801 #ifdef HAVE_SYS_PARAM_H
15802 # include <sys/param.h>
15803 #endif
15804 #ifdef HAVE_SYS_MOUNT_H
15805 # include <sys/mount.h>
15806 #endif
15807 #ifdef HAVE_SYS_VFS_H
15808 # include <sys/vfs.h>
15809 #endif
15810 #ifdef HAVE_SYS_STATFS_H
15811 # include <sys/statfs.h>
15812 #endif
15814 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15816 cat >>confdefs.h <<_ACEOF
15817 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15818 _ACEOF
15822 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15823 #ifdef HAVE_SYS_PARAM_H
15824 # include <sys/param.h>
15825 #endif
15826 #ifdef HAVE_SYS_MOUNT_H
15827 # include <sys/mount.h>
15828 #endif
15829 #ifdef HAVE_SYS_VFS_H
15830 # include <sys/vfs.h>
15831 #endif
15832 #ifdef HAVE_SYS_STATFS_H
15833 # include <sys/statfs.h>
15834 #endif
15836 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15838 cat >>confdefs.h <<_ACEOF
15839 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15840 _ACEOF
15846 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15847 #include <sys/statvfs.h>
15848 #endif
15850 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15852 cat >>confdefs.h <<_ACEOF
15853 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15854 _ACEOF
15860 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15861 #include <dirent.h>
15862 #endif
15864 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15866 cat >>confdefs.h <<_ACEOF
15867 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15868 _ACEOF
15874 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15875 #ifdef HAVE_SYS_SOCKET_H
15876 # include <sys/socket.h>
15877 #endif
15878 #ifdef HAVE_SYS_UN_H
15879 # include <sys/un.h>
15880 #endif
15882 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15884 cat >>confdefs.h <<_ACEOF
15885 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15886 _ACEOF
15890 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15891 #ifdef HAVE_SYS_SOCKET_H
15892 # include <sys/socket.h>
15893 #endif
15894 #ifdef HAVE_SYS_UN_H
15895 # include <sys/un.h>
15896 #endif
15898 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15900 cat >>confdefs.h <<_ACEOF
15901 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15902 _ACEOF
15906 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15907 #ifdef HAVE_SYS_SOCKET_H
15908 # include <sys/socket.h>
15909 #endif
15910 #ifdef HAVE_SYS_UN_H
15911 # include <sys/un.h>
15912 #endif
15914 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15916 cat >>confdefs.h <<_ACEOF
15917 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15918 _ACEOF
15924 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15925 #ifdef HAVE_SCSI_SG_H
15926 #include <scsi/sg.h>
15927 #endif
15929 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15931 cat >>confdefs.h <<_ACEOF
15932 #define HAVE_SCSIREQ_T_CMD 1
15933 _ACEOF
15937 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>
15938 #ifdef HAVE_SCSI_SG_H
15939 #include <scsi/sg.h>
15940 #endif
15942 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15944 cat >>confdefs.h <<_ACEOF
15945 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15946 _ACEOF
15952 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15954 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15956 cat >>confdefs.h <<_ACEOF
15957 #define HAVE_SIGINFO_T_SI_FD 1
15958 _ACEOF
15964 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15965 #ifdef HAVE_SYS_MTIO_H
15966 #include <sys/mtio.h>
15967 #endif
15969 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15971 cat >>confdefs.h <<_ACEOF
15972 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15973 _ACEOF
15977 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15978 #ifdef HAVE_SYS_MTIO_H
15979 #include <sys/mtio.h>
15980 #endif
15982 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15986 _ACEOF
15990 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15991 #ifdef HAVE_SYS_MTIO_H
15992 #include <sys/mtio.h>
15993 #endif
15995 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15997 cat >>confdefs.h <<_ACEOF
15998 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15999 _ACEOF
16005 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16006 #include <getopt.h>
16007 #endif
16009 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16011 cat >>confdefs.h <<_ACEOF
16012 #define HAVE_STRUCT_OPTION_NAME 1
16013 _ACEOF
16019 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16020 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16022 cat >>confdefs.h <<_ACEOF
16023 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16024 _ACEOF
16028 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16029 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16031 cat >>confdefs.h <<_ACEOF
16032 #define HAVE_STRUCT_STAT_ST_MTIM 1
16033 _ACEOF
16037 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16038 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16040 cat >>confdefs.h <<_ACEOF
16041 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16042 _ACEOF
16046 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16047 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16049 cat >>confdefs.h <<_ACEOF
16050 #define HAVE_STRUCT_STAT_ST_CTIM 1
16051 _ACEOF
16055 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16056 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16058 cat >>confdefs.h <<_ACEOF
16059 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16060 _ACEOF
16064 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16065 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16067 cat >>confdefs.h <<_ACEOF
16068 #define HAVE_STRUCT_STAT_ST_ATIM 1
16069 _ACEOF
16073 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16074 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16076 cat >>confdefs.h <<_ACEOF
16077 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16078 _ACEOF
16082 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16083 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16085 cat >>confdefs.h <<_ACEOF
16086 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16087 _ACEOF
16091 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16092 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16094 cat >>confdefs.h <<_ACEOF
16095 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16096 _ACEOF
16100 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16101 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16103 cat >>confdefs.h <<_ACEOF
16104 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16105 _ACEOF
16109 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16110 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16114 _ACEOF
16118 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16119 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16121 cat >>confdefs.h <<_ACEOF
16122 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16123 _ACEOF
16129 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
16130 #include <sys/types.h>
16131 #endif
16132 #ifdef HAVE_NETINET_IN_H
16133 #include <netinet/in.h>
16134 #endif
16136 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16138 cat >>confdefs.h <<_ACEOF
16139 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16140 _ACEOF
16146 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16147 #include <resolv.h>
16148 #endif
16150 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_STRUCT___RES_STATE 1
16154 _ACEOF
16160 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
16161 #include <resolv.h>
16162 #endif
16164 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16166 cat >>confdefs.h <<_ACEOF
16167 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16168 _ACEOF
16174 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16175 #include <sys/types.h>
16176 #endif
16177 #ifdef HAVE_NETINET_IN_H
16178 # include <netinet/in.h>
16179 #endif
16180 #ifdef HAVE_ARPA_NAMESER_H
16181 # include <arpa/nameser.h>
16182 #endif
16184 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16186 cat >>confdefs.h <<_ACEOF
16187 #define HAVE_NS_MSG__MSG_PTR 1
16188 _ACEOF
16194 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16195 #include <sys/types.h>
16196 #endif
16197 #ifdef HAVE_NETINET_IP_H
16198 #include <netinet/ip.h>
16199 #endif
16200 #ifdef HAVE_NETINET_IP_ICMP_H
16201 #include <netinet/ip_icmp.h>
16202 #endif
16203 #ifdef HAVE_NETINET_ICMP_VAR_H
16204 #include <netinet/icmp_var.h>
16205 #endif
16207 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16209 cat >>confdefs.h <<_ACEOF
16210 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16211 _ACEOF
16217 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16218 #include <sys/types.h>
16219 #endif
16220 #ifdef HAVE_ALIAS_H
16221 #include <alias.h>
16222 #endif
16223 #ifdef HAVE_SYS_SOCKET_H
16224 #include <sys/socket.h>
16225 #endif
16226 #ifdef HAVE_SYS_SOCKETVAR_H
16227 #include <sys/socketvar.h>
16228 #endif
16229 #ifdef HAVE_SYS_TIMEOUT_H
16230 #include <sys/timeout.h>
16231 #endif
16232 #ifdef HAVE_NETINET_IN_H
16233 #include <netinet/in.h>
16234 #endif
16235 #ifdef HAVE_NETINET_IN_SYSTM_H
16236 #include <netinet/in_systm.h>
16237 #endif
16238 #ifdef HAVE_NETINET_IP_H
16239 #include <netinet/ip.h>
16240 #endif
16241 #ifdef HAVE_NETINET_IP_VAR_H
16242 #include <netinet/ip_var.h>
16243 #endif
16244 #ifdef HAVE_NETINET_IP_ICMP_H
16245 #include <netinet/ip_icmp.h>
16246 #endif
16247 #ifdef HAVE_NETINET_ICMP_VAR_H
16248 #include <netinet/icmp_var.h>
16249 #endif
16251 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16253 cat >>confdefs.h <<_ACEOF
16254 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16255 _ACEOF
16261 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16262 #include <sys/types.h>
16263 #endif
16264 #ifdef HAVE_SYS_SOCKETVAR_H
16265 #include <sys/socketvar.h>
16266 #endif
16267 #ifdef HAVE_NETINET_IN_H
16268 #include <netinet/in.h>
16269 #endif
16270 #ifdef HAVE_NETINET_IP_VAR_H
16271 #include <netinet/ip_var.h>
16272 #endif
16274 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16276 cat >>confdefs.h <<_ACEOF
16277 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16278 _ACEOF
16284 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
16285 #include <netinet/ip_var.h>
16286 #endif
16288 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16290 cat >>confdefs.h <<_ACEOF
16291 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16292 _ACEOF
16298 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16299 #include <sys/types.h>
16300 #endif
16301 #ifdef HAVE_SYS_SOCKETVAR_H
16302 #include <sys/socketvar.h>
16303 #endif
16304 #ifdef HAVE_NETINET_IN_H
16305 #include <netinet/in.h>
16306 #endif
16307 #ifdef HAVE_NETINET_TCP_H
16308 #include <netinet/tcp.h>
16309 #endif
16310 #ifdef HAVE_NETINET_TCP_VAR_H
16311 #include <netinet/tcp_var.h>
16312 #endif
16314 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16318 _ACEOF
16324 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
16325 #include <netinet/tcp_var.h>
16326 #endif
16328 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16330 cat >>confdefs.h <<_ACEOF
16331 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16332 _ACEOF
16338 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16339 #include <sys/types.h>
16340 #endif
16341 #ifdef HAVE_NETINET_IN_H
16342 #include <netinet/in.h>
16343 #endif
16344 #ifdef HAVE_NETINET_IP_VAR_H
16345 #include <netinet/ip_var.h>
16346 #endif
16347 #ifdef HAVE_NETINET_UDP_H
16348 #include <netinet/udp.h>
16349 #endif
16350 #ifdef HAVE_NETINET_UDP_VAR_H
16351 #include <netinet/udp_var.h>
16352 #endif
16354 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16356 cat >>confdefs.h <<_ACEOF
16357 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16358 _ACEOF
16364 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16365 #include <sys/types.h>
16366 #endif
16367 #ifdef HAVE_NET_IF_H
16368 # include <net/if.h>
16369 #endif
16371 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16373 cat >>confdefs.h <<_ACEOF
16374 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16375 _ACEOF
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16382 $as_echo_n "checking for timezone variable... " >&6; }
16383 if ${ac_cv_have_timezone+:} false; then :
16384 $as_echo_n "(cached) " >&6
16385 else
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16388 #include <time.h>
16390 main ()
16392 timezone = 1
16394 return 0;
16396 _ACEOF
16397 if ac_fn_c_try_link "$LINENO"; then :
16398 ac_cv_have_timezone="yes"
16399 else
16400 ac_cv_have_timezone="no"
16402 rm -f core conftest.err conftest.$ac_objext \
16403 conftest$ac_exeext conftest.$ac_ext
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16406 $as_echo "$ac_cv_have_timezone" >&6; }
16407 if test "$ac_cv_have_timezone" = "yes"
16408 then
16410 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16414 $as_echo_n "checking for daylight variable... " >&6; }
16415 if ${ac_cv_have_daylight+:} false; then :
16416 $as_echo_n "(cached) " >&6
16417 else
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16420 #include <time.h>
16422 main ()
16424 daylight = 1
16426 return 0;
16428 _ACEOF
16429 if ac_fn_c_try_link "$LINENO"; then :
16430 ac_cv_have_daylight="yes"
16431 else
16432 ac_cv_have_daylight="no"
16434 rm -f core conftest.err conftest.$ac_objext \
16435 conftest$ac_exeext conftest.$ac_ext
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16438 $as_echo "$ac_cv_have_daylight" >&6; }
16439 if test "$ac_cv_have_daylight" = "yes"
16440 then
16442 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16446 ac_save_LIBS="$LIBS"
16447 LIBS="$LIBS -lm"
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16449 $as_echo_n "checking for isfinite... " >&6; }
16450 if ${ac_cv_have_isfinite+:} false; then :
16451 $as_echo_n "(cached) " >&6
16452 else
16453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16454 /* end confdefs.h. */
16455 #define _GNU_SOURCE
16456 #include <math.h>
16458 main ()
16460 float f = 0.0; return isfinite(f)
16462 return 0;
16464 _ACEOF
16465 if ac_fn_c_try_link "$LINENO"; then :
16466 ac_cv_have_isfinite="yes"
16467 else
16468 ac_cv_have_isfinite="no"
16470 rm -f core conftest.err conftest.$ac_objext \
16471 conftest$ac_exeext conftest.$ac_ext
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16474 $as_echo "$ac_cv_have_isfinite" >&6; }
16475 if test "$ac_cv_have_isfinite" = "yes"
16476 then
16478 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16483 $as_echo_n "checking for isinf... " >&6; }
16484 if ${ac_cv_have_isinf+:} false; then :
16485 $as_echo_n "(cached) " >&6
16486 else
16487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16488 /* end confdefs.h. */
16489 #include <math.h>
16491 main ()
16493 float f = 0.0; return isinf(f)
16495 return 0;
16497 _ACEOF
16498 if ac_fn_c_try_link "$LINENO"; then :
16499 ac_cv_have_isinf="yes"
16500 else
16501 ac_cv_have_isinf="no"
16503 rm -f core conftest.err conftest.$ac_objext \
16504 conftest$ac_exeext conftest.$ac_ext
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16507 $as_echo "$ac_cv_have_isinf" >&6; }
16508 if test "$ac_cv_have_isinf" = "yes"
16509 then
16511 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16516 $as_echo_n "checking for isnan... " >&6; }
16517 if ${ac_cv_have_isnan+:} false; then :
16518 $as_echo_n "(cached) " >&6
16519 else
16520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16521 /* end confdefs.h. */
16522 #include <math.h>
16524 main ()
16526 float f = 0.0; return isnan(f)
16528 return 0;
16530 _ACEOF
16531 if ac_fn_c_try_link "$LINENO"; then :
16532 ac_cv_have_isnan="yes"
16533 else
16534 ac_cv_have_isnan="no"
16536 rm -f core conftest.err conftest.$ac_objext \
16537 conftest$ac_exeext conftest.$ac_ext
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16540 $as_echo "$ac_cv_have_isnan" >&6; }
16541 if test "$ac_cv_have_isnan" = "yes"
16542 then
16544 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16548 for ac_func in \
16549 cbrt \
16550 cbrtf \
16551 exp2 \
16552 exp2f \
16553 llrint \
16554 llrintf \
16555 llround \
16556 llroundf \
16557 log2 \
16558 log2f \
16559 lrint \
16560 lrintf \
16561 lround \
16562 lroundf \
16563 rint \
16564 rintf \
16565 round \
16566 roundf \
16567 trunc \
16568 truncf
16570 do :
16571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16573 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16574 cat >>confdefs.h <<_ACEOF
16575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16576 _ACEOF
16579 done
16581 LIBS="$ac_save_LIBS"
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16584 $as_echo_n "checking for __builtin_clz... " >&6; }
16585 if ${ac_cv_have___builtin_clz+:} false; then :
16586 $as_echo_n "(cached) " >&6
16587 else
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16592 main ()
16594 return __builtin_clz(1)
16596 return 0;
16598 _ACEOF
16599 if ac_fn_c_try_link "$LINENO"; then :
16600 ac_cv_have___builtin_clz="yes"
16601 else
16602 ac_cv_have___builtin_clz="no"
16604 rm -f core conftest.err conftest.$ac_objext \
16605 conftest$ac_exeext conftest.$ac_ext
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16608 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16609 if test "$ac_cv_have___builtin_clz" = "yes"
16610 then
16612 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16617 case $host_cpu in
16618 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16619 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16620 if ${ac_cv_cpp_def___i386__+:} false; then :
16621 $as_echo_n "(cached) " >&6
16622 else
16623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16625 #ifndef __i386__
16627 #endif
16628 _ACEOF
16629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16630 $EGREP "yes" >/dev/null 2>&1; then :
16631 ac_cv_cpp_def___i386__=yes
16632 else
16633 ac_cv_cpp_def___i386__=no
16635 rm -f conftest*
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16639 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16640 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16641 CFLAGS="$CFLAGS -D__i386__"
16642 LINTFLAGS="$LINTFLAGS -D__i386__"
16643 fi ;;
16644 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16645 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16646 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16647 $as_echo_n "(cached) " >&6
16648 else
16649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16651 #ifndef __x86_64__
16653 #endif
16654 _ACEOF
16655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16656 $EGREP "yes" >/dev/null 2>&1; then :
16657 ac_cv_cpp_def___x86_64__=yes
16658 else
16659 ac_cv_cpp_def___x86_64__=no
16661 rm -f conftest*
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16665 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16666 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16667 CFLAGS="$CFLAGS -D__x86_64__"
16668 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16669 fi ;;
16670 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16671 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16672 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16673 $as_echo_n "(cached) " >&6
16674 else
16675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16676 /* end confdefs.h. */
16677 #ifndef __sparc64__
16679 #endif
16680 _ACEOF
16681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16682 $EGREP "yes" >/dev/null 2>&1; then :
16683 ac_cv_cpp_def___sparc64__=yes
16684 else
16685 ac_cv_cpp_def___sparc64__=no
16687 rm -f conftest*
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16691 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16692 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16693 CFLAGS="$CFLAGS -D__sparc64__"
16694 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16695 fi ;;
16696 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16697 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16698 if ${ac_cv_cpp_def___sparc__+:} false; then :
16699 $as_echo_n "(cached) " >&6
16700 else
16701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h. */
16703 #ifndef __sparc__
16705 #endif
16706 _ACEOF
16707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16708 $EGREP "yes" >/dev/null 2>&1; then :
16709 ac_cv_cpp_def___sparc__=yes
16710 else
16711 ac_cv_cpp_def___sparc__=no
16713 rm -f conftest*
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16717 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16718 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16719 CFLAGS="$CFLAGS -D__sparc__"
16720 LINTFLAGS="$LINTFLAGS -D__sparc__"
16721 fi ;;
16722 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16723 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16724 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16725 $as_echo_n "(cached) " >&6
16726 else
16727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16728 /* end confdefs.h. */
16729 #ifndef __powerpc64__
16731 #endif
16732 _ACEOF
16733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16734 $EGREP "yes" >/dev/null 2>&1; then :
16735 ac_cv_cpp_def___powerpc64__=yes
16736 else
16737 ac_cv_cpp_def___powerpc64__=no
16739 rm -f conftest*
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16743 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16744 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16745 CFLAGS="$CFLAGS -D__powerpc64__"
16746 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16747 fi ;;
16748 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16749 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16750 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16751 $as_echo_n "(cached) " >&6
16752 else
16753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16755 #ifndef __powerpc__
16757 #endif
16758 _ACEOF
16759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16760 $EGREP "yes" >/dev/null 2>&1; then :
16761 ac_cv_cpp_def___powerpc__=yes
16762 else
16763 ac_cv_cpp_def___powerpc__=no
16765 rm -f conftest*
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16769 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16770 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16771 CFLAGS="$CFLAGS -D__powerpc__"
16772 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16773 fi ;;
16774 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16775 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16776 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16777 $as_echo_n "(cached) " >&6
16778 else
16779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */
16781 #ifndef __aarch64__
16783 #endif
16784 _ACEOF
16785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16786 $EGREP "yes" >/dev/null 2>&1; then :
16787 ac_cv_cpp_def___aarch64__=yes
16788 else
16789 ac_cv_cpp_def___aarch64__=no
16791 rm -f conftest*
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16795 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16796 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16797 CFLAGS="$CFLAGS -D__aarch64__"
16798 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16799 fi ;;
16800 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16801 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16802 if ${ac_cv_cpp_def___arm__+:} false; then :
16803 $as_echo_n "(cached) " >&6
16804 else
16805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16807 #ifndef __arm__
16809 #endif
16810 _ACEOF
16811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16812 $EGREP "yes" >/dev/null 2>&1; then :
16813 ac_cv_cpp_def___arm__=yes
16814 else
16815 ac_cv_cpp_def___arm__=no
16817 rm -f conftest*
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16821 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16822 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16823 CFLAGS="$CFLAGS -D__arm__"
16824 LINTFLAGS="$LINTFLAGS -D__arm__"
16825 fi ;;
16826 esac
16828 case $host_vendor in
16829 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16830 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16831 if ${ac_cv_cpp_def___sun__+:} false; then :
16832 $as_echo_n "(cached) " >&6
16833 else
16834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16836 #ifndef __sun__
16838 #endif
16839 _ACEOF
16840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16841 $EGREP "yes" >/dev/null 2>&1; then :
16842 ac_cv_cpp_def___sun__=yes
16843 else
16844 ac_cv_cpp_def___sun__=no
16846 rm -f conftest*
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16850 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16851 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16852 CFLAGS="$CFLAGS -D__sun__"
16853 LINTFLAGS="$LINTFLAGS -D__sun__"
16854 fi ;;
16855 esac
16861 ac_config_commands="$ac_config_commands include/stamp-h"
16863 $as_echo_n "creating Makefile rules..." >&6
16865 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16866 SOCKET_LIBS = $SOCKET_LIBS
16867 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16868 IOKIT_LIBS = $IOKIT_LIBS
16869 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16870 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16871 CORESERVICES_LIBS = $CORESERVICES_LIBS
16872 APPKIT_LIBS = $APPKIT_LIBS
16873 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16874 SECURITY_LIBS = $SECURITY_LIBS
16875 COREAUDIO_LIBS = $COREAUDIO_LIBS
16876 OPENAL_LIBS = $OPENAL_LIBS
16877 OPENCL_LIBS = $OPENCL_LIBS
16878 QUICKTIME_LIBS = $QUICKTIME_LIBS
16879 CARBON_LIBS = $CARBON_LIBS
16880 PTHREAD_LIBS = $PTHREAD_LIBS
16881 X_CFLAGS = $X_CFLAGS
16882 X_PRE_LIBS = $X_PRE_LIBS
16883 X_LIBS = $X_LIBS
16884 X_EXTRA_LIBS = $X_EXTRA_LIBS
16885 XML2_CFLAGS = $XML2_CFLAGS
16886 XML2_LIBS = $XML2_LIBS
16887 XSLT_CFLAGS = $XSLT_CFLAGS
16888 XSLT_LIBS = $XSLT_LIBS
16889 DBUS_CFLAGS = $DBUS_CFLAGS
16890 DBUS_LIBS = $DBUS_LIBS
16891 HAL_CFLAGS = $HAL_CFLAGS
16892 HAL_LIBS = $HAL_LIBS
16893 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16894 GNUTLS_LIBS = $GNUTLS_LIBS
16895 SANE_CFLAGS = $SANE_CFLAGS
16896 SANE_LIBS = $SANE_LIBS
16897 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16898 GPHOTO2_LIBS = $GPHOTO2_LIBS
16899 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16900 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16901 RESOLV_LIBS = $RESOLV_LIBS
16902 LCMS2_CFLAGS = $LCMS2_CFLAGS
16903 LCMS2_LIBS = $LCMS2_LIBS
16904 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16905 FREETYPE_LIBS = $FREETYPE_LIBS
16906 Z_LIBS = $Z_LIBS
16907 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16908 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16909 GSTREAMER_LIBS = $GSTREAMER_LIBS
16910 ALSA_LIBS = $ALSA_LIBS
16911 OSS4_CFLAGS = $OSS4_CFLAGS
16912 CAPI20_CFLAGS = $CAPI20_CFLAGS
16913 CAPI20_LIBS = $CAPI20_LIBS
16914 CUPS_CFLAGS = $CUPS_CFLAGS
16915 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16916 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16917 JPEG_CFLAGS = $JPEG_CFLAGS
16918 JPEG_LIBS = $JPEG_LIBS
16919 PNG_CFLAGS = $PNG_CFLAGS
16920 PNG_LIBS = $PNG_LIBS
16921 TIFF_CFLAGS = $TIFF_CFLAGS
16922 TIFF_LIBS = $TIFF_LIBS
16923 MPG123_CFLAGS = $MPG123_CFLAGS
16924 MPG123_LIBS = $MPG123_LIBS
16925 KSTAT_LIBS = $KSTAT_LIBS
16926 PROCSTAT_LIBS = $PROCSTAT_LIBS
16927 DL_LIBS = $DL_LIBS
16928 POLL_LIBS = $POLL_LIBS
16929 RT_LIBS = $RT_LIBS
16930 LDAP_LIBS = $LDAP_LIBS
16935 wine_fn_append_rule "
16936 # Rules automatically generated by configure
16938 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16940 .INIT: Makefile
16941 .MAKEFILEDEPS:
16942 all: Makefile
16943 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16944 @./config.status Make.tmp Makefile"
16946 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16947 .gitignore: config.status
16948 @./config.status .gitignore"
16950 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16951 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16953 if test "x$enable_fonts" != xno; then
16954 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16955 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16956 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16957 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16958 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16960 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16961 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16962 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16963 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16964 ac_config_links="$ac_config_links wine:tools/winewrapper"
16965 wine_fn_config_symlink wine
16966 if test "x$enable_win64" != xno; then
16967 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16968 wine_fn_config_symlink wine64
16971 wine_fn_config_dll acledit enable_acledit
16972 wine_fn_config_dll aclui enable_aclui implib
16973 wine_fn_config_dll activeds enable_activeds implib
16974 wine_fn_config_dll actxprxy enable_actxprxy clean
16975 wine_fn_config_lib adsiid
16976 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16977 wine_fn_config_test dlls/advapi32/tests advapi32_test
16978 wine_fn_config_dll advpack enable_advpack implib
16979 wine_fn_config_test dlls/advpack/tests advpack_test
16980 wine_fn_config_dll amstream enable_amstream clean
16981 wine_fn_config_test dlls/amstream/tests amstream_test
16982 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16983 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16984 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16985 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16986 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16987 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16988 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16989 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16990 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16991 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16992 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16993 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16994 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16995 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16996 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16997 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16998 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16999 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17000 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17001 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17002 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17003 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17006 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17007 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17008 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17010 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17011 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17015 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17018 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17019 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17020 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17026 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17029 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17030 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17031 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17032 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17034 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17035 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17036 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17037 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17038 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17039 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17040 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17041 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17042 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17043 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17044 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17045 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17046 wine_fn_config_dll apphelp enable_apphelp
17047 wine_fn_config_test dlls/apphelp/tests apphelp_test
17048 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17049 wine_fn_config_dll atl enable_atl clean,implib
17050 wine_fn_config_test dlls/atl/tests atl_test
17051 wine_fn_config_dll atl100 enable_atl100 clean,implib
17052 wine_fn_config_test dlls/atl100/tests atl100_test
17053 wine_fn_config_dll atl110 enable_atl110 clean
17054 wine_fn_config_dll atl80 enable_atl80 clean,implib
17055 wine_fn_config_test dlls/atl80/tests atl80_test
17056 wine_fn_config_dll atl90 enable_atl90 clean
17057 wine_fn_config_dll authz enable_authz
17058 wine_fn_config_dll avicap32 enable_avicap32 implib
17059 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17060 wine_fn_config_test dlls/avifil32/tests avifil32_test
17061 wine_fn_config_dll avifile.dll16 enable_win16
17062 wine_fn_config_dll avrt enable_avrt implib
17063 wine_fn_config_dll bcrypt enable_bcrypt
17064 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17065 wine_fn_config_dll browseui enable_browseui clean,po
17066 wine_fn_config_test dlls/browseui/tests browseui_test
17067 wine_fn_config_dll cabinet enable_cabinet implib
17068 wine_fn_config_test dlls/cabinet/tests cabinet_test
17069 wine_fn_config_dll capi2032 enable_capi2032 implib
17070 wine_fn_config_dll cards enable_cards implib
17071 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17072 wine_fn_config_dll clusapi enable_clusapi implib
17073 wine_fn_config_dll combase enable_combase
17074 wine_fn_config_test dlls/combase/tests combase_test
17075 wine_fn_config_dll comcat enable_comcat
17076 wine_fn_config_test dlls/comcat/tests comcat_test
17077 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17078 wine_fn_config_test dlls/comctl32/tests comctl32_test
17079 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17080 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17081 wine_fn_config_dll comm.drv16 enable_win16
17082 wine_fn_config_dll commdlg.dll16 enable_win16
17083 wine_fn_config_dll compobj.dll16 enable_win16
17084 wine_fn_config_dll compstui enable_compstui implib
17085 wine_fn_config_dll comsvcs enable_comsvcs implib
17086 wine_fn_config_dll connect enable_connect
17087 wine_fn_config_dll credui enable_credui implib,po
17088 wine_fn_config_test dlls/credui/tests credui_test
17089 wine_fn_config_dll crtdll enable_crtdll implib
17090 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17091 wine_fn_config_test dlls/crypt32/tests crypt32_test
17092 wine_fn_config_dll cryptdlg enable_cryptdlg po
17093 wine_fn_config_dll cryptdll enable_cryptdll implib
17094 wine_fn_config_dll cryptext enable_cryptext
17095 wine_fn_config_dll cryptnet enable_cryptnet implib
17096 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17097 wine_fn_config_dll cryptui enable_cryptui implib,po
17098 wine_fn_config_test dlls/cryptui/tests cryptui_test
17099 wine_fn_config_dll ctapi32 enable_ctapi32
17100 wine_fn_config_dll ctl3d.dll16 enable_win16
17101 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17102 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17103 wine_fn_config_dll d2d1 enable_d2d1 implib
17104 wine_fn_config_test dlls/d2d1/tests d2d1_test
17105 wine_fn_config_dll d3d10 enable_d3d10 implib
17106 wine_fn_config_test dlls/d3d10/tests d3d10_test
17107 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17108 wine_fn_config_dll d3d10core enable_d3d10core implib
17109 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17110 wine_fn_config_dll d3d11 enable_d3d11
17111 wine_fn_config_dll d3d8 enable_d3d8 implib
17112 wine_fn_config_test dlls/d3d8/tests d3d8_test
17113 wine_fn_config_dll d3d9 enable_d3d9 implib
17114 wine_fn_config_test dlls/d3d9/tests d3d9_test
17115 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17116 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17117 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17118 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17119 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17120 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17121 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17122 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17123 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17124 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17125 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17126 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17127 wine_fn_config_dll d3dim enable_d3dim implib
17128 wine_fn_config_dll d3drm enable_d3drm implib
17129 wine_fn_config_test dlls/d3drm/tests d3drm_test
17130 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17131 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17132 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17133 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17134 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17135 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17136 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17137 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17138 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17139 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17140 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17141 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17142 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17143 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17144 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17145 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17146 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17147 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17148 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17149 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17150 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17151 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17152 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17153 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17154 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17155 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17156 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17157 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17158 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17159 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17160 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17161 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17162 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17163 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17164 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17165 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17166 wine_fn_config_dll dbgeng enable_dbgeng implib
17167 wine_fn_config_dll dbghelp enable_dbghelp implib
17168 wine_fn_config_dll dciman32 enable_dciman32 implib
17169 wine_fn_config_dll ddeml.dll16 enable_win16
17170 wine_fn_config_dll ddraw enable_ddraw clean,implib
17171 wine_fn_config_test dlls/ddraw/tests ddraw_test
17172 wine_fn_config_dll ddrawex enable_ddrawex clean
17173 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17174 wine_fn_config_dll devenum enable_devenum clean,po
17175 wine_fn_config_test dlls/devenum/tests devenum_test
17176 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17177 wine_fn_config_dll difxapi enable_difxapi
17178 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17179 wine_fn_config_test dlls/dinput/tests dinput_test
17180 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17181 wine_fn_config_test dlls/dinput8/tests dinput8_test
17182 wine_fn_config_dll dispdib.dll16 enable_win16
17183 wine_fn_config_dll dispex enable_dispex clean
17184 wine_fn_config_test dlls/dispex/tests dispex_test
17185 wine_fn_config_dll display.drv16 enable_win16
17186 wine_fn_config_dll dmband enable_dmband clean
17187 wine_fn_config_test dlls/dmband/tests dmband_test
17188 wine_fn_config_dll dmcompos enable_dmcompos clean
17189 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17190 wine_fn_config_dll dmime enable_dmime clean
17191 wine_fn_config_test dlls/dmime/tests dmime_test
17192 wine_fn_config_dll dmloader enable_dmloader clean
17193 wine_fn_config_test dlls/dmloader/tests dmloader_test
17194 wine_fn_config_dll dmscript enable_dmscript clean
17195 wine_fn_config_test dlls/dmscript/tests dmscript_test
17196 wine_fn_config_dll dmstyle enable_dmstyle clean
17197 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17198 wine_fn_config_dll dmsynth enable_dmsynth clean
17199 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17200 wine_fn_config_dll dmusic enable_dmusic clean
17201 wine_fn_config_test dlls/dmusic/tests dmusic_test
17202 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17203 wine_fn_config_dll dnsapi enable_dnsapi implib
17204 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17205 wine_fn_config_dll dplay enable_dplay implib
17206 wine_fn_config_dll dplayx enable_dplayx clean,implib
17207 wine_fn_config_test dlls/dplayx/tests dplayx_test
17208 wine_fn_config_dll dpnaddr enable_dpnaddr
17209 wine_fn_config_dll dpnet enable_dpnet clean,implib
17210 wine_fn_config_test dlls/dpnet/tests dpnet_test
17211 wine_fn_config_dll dpnhpast enable_dpnhpast
17212 wine_fn_config_dll dpnlobby enable_dpnlobby
17213 wine_fn_config_dll dpvoice enable_dpvoice clean
17214 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17215 wine_fn_config_dll dpwsockx enable_dpwsockx
17216 wine_fn_config_dll drmclien enable_drmclien
17217 wine_fn_config_dll dsound enable_dsound clean,implib
17218 wine_fn_config_test dlls/dsound/tests dsound_test
17219 wine_fn_config_dll dssenh enable_dssenh
17220 wine_fn_config_test dlls/dssenh/tests dssenh_test
17221 wine_fn_config_dll dswave enable_dswave clean
17222 wine_fn_config_test dlls/dswave/tests dswave_test
17223 wine_fn_config_dll dwmapi enable_dwmapi implib
17224 wine_fn_config_dll dwrite enable_dwrite implib
17225 wine_fn_config_test dlls/dwrite/tests dwrite_test
17226 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17227 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17228 wine_fn_config_lib dxerr8
17229 wine_fn_config_lib dxerr9
17230 wine_fn_config_dll dxgi enable_dxgi implib
17231 wine_fn_config_test dlls/dxgi/tests dxgi_test
17232 wine_fn_config_lib dxguid
17233 wine_fn_config_dll dxva2 enable_dxva2
17234 wine_fn_config_dll evr enable_evr
17235 wine_fn_config_dll explorerframe enable_explorerframe clean
17236 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17237 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17238 wine_fn_config_dll faultrep enable_faultrep implib
17239 wine_fn_config_test dlls/faultrep/tests faultrep_test
17240 wine_fn_config_dll fltlib enable_fltlib
17241 wine_fn_config_dll fntcache enable_fntcache
17242 wine_fn_config_dll fontsub enable_fontsub
17243 wine_fn_config_dll fusion enable_fusion
17244 wine_fn_config_test dlls/fusion/tests fusion_test
17245 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17246 wine_fn_config_dll gameux enable_gameux clean
17247 wine_fn_config_test dlls/gameux/tests gameux_test
17248 wine_fn_config_dll gdi.exe16 enable_win16
17249 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17250 wine_fn_config_test dlls/gdi32/tests gdi32_test
17251 wine_fn_config_dll gdiplus enable_gdiplus implib
17252 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17253 wine_fn_config_dll glu32 enable_glu32 implib
17254 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17255 wine_fn_config_dll gpkcsp enable_gpkcsp
17256 wine_fn_config_dll hal enable_hal
17257 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17258 wine_fn_config_dll hid enable_hid implib
17259 wine_fn_config_dll hlink enable_hlink clean,implib
17260 wine_fn_config_test dlls/hlink/tests hlink_test
17261 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17262 wine_fn_config_dll httpapi enable_httpapi
17263 wine_fn_config_dll iccvid enable_iccvid po
17264 wine_fn_config_dll icmp enable_icmp
17265 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17266 wine_fn_config_test dlls/ieframe/tests ieframe_test
17267 wine_fn_config_dll ifsmgr.vxd enable_win16
17268 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17269 wine_fn_config_dll imagehlp enable_imagehlp implib
17270 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17271 wine_fn_config_dll imm.dll16 enable_win16
17272 wine_fn_config_dll imm32 enable_imm32 implib
17273 wine_fn_config_test dlls/imm32/tests imm32_test
17274 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17275 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17276 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17277 wine_fn_config_dll inetmib1 enable_inetmib1
17278 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17279 wine_fn_config_dll infosoft enable_infosoft clean
17280 wine_fn_config_test dlls/infosoft/tests infosoft_test
17281 wine_fn_config_dll initpki enable_initpki
17282 wine_fn_config_dll inkobj enable_inkobj
17283 wine_fn_config_dll inseng enable_inseng clean
17284 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17285 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17286 wine_fn_config_dll itircl enable_itircl
17287 wine_fn_config_dll itss enable_itss clean
17288 wine_fn_config_test dlls/itss/tests itss_test
17289 wine_fn_config_dll joy.cpl enable_joy_cpl po
17290 wine_fn_config_dll jscript enable_jscript clean,po
17291 wine_fn_config_test dlls/jscript/tests jscript_test
17292 wine_fn_config_dll jsproxy enable_jsproxy implib
17293 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17294 wine_fn_config_test dlls/kernel32/tests kernel32_test
17295 wine_fn_config_dll keyboard.drv16 enable_win16
17296 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17297 wine_fn_config_dll ksuser enable_ksuser
17298 wine_fn_config_dll ktmw32 enable_ktmw32
17299 wine_fn_config_dll loadperf enable_loadperf implib
17300 wine_fn_config_dll localspl enable_localspl po
17301 wine_fn_config_test dlls/localspl/tests localspl_test
17302 wine_fn_config_dll localui enable_localui po
17303 wine_fn_config_test dlls/localui/tests localui_test
17304 wine_fn_config_dll lz32 enable_lz32 implib
17305 wine_fn_config_test dlls/lz32/tests lz32_test
17306 wine_fn_config_dll lzexpand.dll16 enable_win16
17307 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17308 wine_fn_config_test dlls/mapi32/tests mapi32_test
17309 wine_fn_config_dll mapistub enable_mapistub
17310 wine_fn_config_dll mciavi32 enable_mciavi32
17311 wine_fn_config_dll mcicda enable_mcicda
17312 wine_fn_config_dll mciqtz32 enable_mciqtz32
17313 wine_fn_config_dll mciseq enable_mciseq
17314 wine_fn_config_dll mciwave enable_mciwave
17315 wine_fn_config_dll mf enable_mf
17316 wine_fn_config_dll mfplat enable_mfplat
17317 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17318 wine_fn_config_dll mgmtapi enable_mgmtapi
17319 wine_fn_config_dll midimap enable_midimap
17320 wine_fn_config_dll mlang enable_mlang clean,implib
17321 wine_fn_config_test dlls/mlang/tests mlang_test
17322 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17323 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17324 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17325 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17326 wine_fn_config_dll mmdevldr.vxd enable_win16
17327 wine_fn_config_dll mmsystem.dll16 enable_win16
17328 wine_fn_config_dll monodebg.vxd enable_win16
17329 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17330 wine_fn_config_dll mouse.drv16 enable_win16
17331 wine_fn_config_dll mpr enable_mpr implib,po
17332 wine_fn_config_test dlls/mpr/tests mpr_test
17333 wine_fn_config_dll mprapi enable_mprapi implib
17334 wine_fn_config_dll msacm.dll16 enable_win16
17335 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17336 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17337 wine_fn_config_test dlls/msacm32/tests msacm32_test
17338 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17339 wine_fn_config_dll msasn1 enable_msasn1 implib
17340 wine_fn_config_dll mscat32 enable_mscat32
17341 wine_fn_config_dll mscms enable_mscms implib
17342 wine_fn_config_test dlls/mscms/tests mscms_test
17343 wine_fn_config_dll mscoree enable_mscoree clean
17344 wine_fn_config_test dlls/mscoree/tests mscoree_test
17345 wine_fn_config_dll msctf enable_msctf clean
17346 wine_fn_config_test dlls/msctf/tests msctf_test
17347 wine_fn_config_dll msdaps enable_msdaps clean
17348 wine_fn_config_dll msdmo enable_msdmo implib
17349 wine_fn_config_test dlls/msdmo/tests msdmo_test
17350 wine_fn_config_dll msftedit enable_msftedit
17351 wine_fn_config_dll msg711.acm enable_msg711_acm
17352 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17353 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17354 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17355 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17356 wine_fn_config_dll msi enable_msi clean,implib,po
17357 wine_fn_config_test dlls/msi/tests msi_test
17358 wine_fn_config_dll msident enable_msident clean
17359 wine_fn_config_dll msimg32 enable_msimg32 implib
17360 wine_fn_config_dll msimsg enable_msimsg
17361 wine_fn_config_dll msimtf enable_msimtf clean
17362 wine_fn_config_dll msisip enable_msisip
17363 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17364 wine_fn_config_dll msls31 enable_msls31
17365 wine_fn_config_dll msnet32 enable_msnet32
17366 wine_fn_config_dll mspatcha enable_mspatcha
17367 wine_fn_config_dll msrle32 enable_msrle32 po
17368 wine_fn_config_test dlls/msrle32/tests msrle32_test
17369 wine_fn_config_dll mssign32 enable_mssign32
17370 wine_fn_config_dll mssip32 enable_mssip32
17371 wine_fn_config_dll mstask enable_mstask clean
17372 wine_fn_config_test dlls/mstask/tests mstask_test
17373 wine_fn_config_dll msvcirt enable_msvcirt
17374 wine_fn_config_dll msvcm80 enable_msvcm80
17375 wine_fn_config_dll msvcm90 enable_msvcm90
17376 wine_fn_config_dll msvcp100 enable_msvcp100
17377 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17378 wine_fn_config_dll msvcp110 enable_msvcp110
17379 wine_fn_config_dll msvcp120 enable_msvcp120
17380 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17381 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17382 wine_fn_config_dll msvcp60 enable_msvcp60
17383 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17384 wine_fn_config_dll msvcp70 enable_msvcp70
17385 wine_fn_config_dll msvcp71 enable_msvcp71
17386 wine_fn_config_dll msvcp80 enable_msvcp80
17387 wine_fn_config_dll msvcp90 enable_msvcp90
17388 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17389 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17390 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17391 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17392 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17393 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17394 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17395 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17396 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17397 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17398 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17399 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17400 wine_fn_config_dll msvcrt enable_msvcrt implib
17401 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17402 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17403 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17404 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17405 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17406 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17407 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17408 wine_fn_config_dll msvidc32 enable_msvidc32 po
17409 wine_fn_config_dll msvideo.dll16 enable_win16
17410 wine_fn_config_dll mswsock enable_mswsock implib
17411 wine_fn_config_dll msxml enable_msxml clean
17412 wine_fn_config_dll msxml2 enable_msxml2 clean
17413 wine_fn_config_dll msxml3 enable_msxml3 clean
17414 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17415 wine_fn_config_dll msxml4 enable_msxml4 clean
17416 wine_fn_config_dll msxml6 enable_msxml6 clean
17417 wine_fn_config_dll nddeapi enable_nddeapi implib
17418 wine_fn_config_dll ndis.sys enable_ndis_sys
17419 wine_fn_config_dll netapi32 enable_netapi32 implib
17420 wine_fn_config_test dlls/netapi32/tests netapi32_test
17421 wine_fn_config_dll netcfgx enable_netcfgx clean
17422 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17423 wine_fn_config_dll netprofm enable_netprofm clean
17424 wine_fn_config_test dlls/netprofm/tests netprofm_test
17425 wine_fn_config_dll newdev enable_newdev implib
17426 wine_fn_config_dll normaliz enable_normaliz implib
17427 wine_fn_config_dll npmshtml enable_npmshtml
17428 wine_fn_config_dll npptools enable_npptools
17429 wine_fn_config_dll ntdll enable_ntdll implib
17430 wine_fn_config_test dlls/ntdll/tests ntdll_test
17431 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17432 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17433 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17434 wine_fn_config_dll ntprint enable_ntprint
17435 wine_fn_config_test dlls/ntprint/tests ntprint_test
17436 wine_fn_config_dll objsel enable_objsel clean
17437 wine_fn_config_dll odbc32 enable_odbc32 implib
17438 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17439 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17440 wine_fn_config_dll odbccu32 enable_odbccu32
17441 wine_fn_config_dll ole2.dll16 enable_win16
17442 wine_fn_config_dll ole2conv.dll16 enable_win16
17443 wine_fn_config_dll ole2disp.dll16 enable_win16
17444 wine_fn_config_dll ole2nls.dll16 enable_win16
17445 wine_fn_config_dll ole2prox.dll16 enable_win16
17446 wine_fn_config_dll ole2thk.dll16 enable_win16
17447 wine_fn_config_dll ole32 enable_ole32 clean,implib
17448 wine_fn_config_test dlls/ole32/tests ole32_test
17449 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17450 wine_fn_config_test dlls/oleacc/tests oleacc_test
17451 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17452 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17453 wine_fn_config_dll olecli.dll16 enable_win16
17454 wine_fn_config_dll olecli32 enable_olecli32 implib
17455 wine_fn_config_dll oledb32 enable_oledb32 clean
17456 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17457 wine_fn_config_dll oledlg enable_oledlg implib,po
17458 wine_fn_config_dll olepro32 enable_olepro32 implib
17459 wine_fn_config_dll olesvr.dll16 enable_win16
17460 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17461 wine_fn_config_dll olethk32 enable_olethk32
17462 wine_fn_config_dll openal32 enable_openal32
17463 wine_fn_config_dll opencl enable_opencl
17464 wine_fn_config_dll opengl32 enable_opengl32 implib
17465 wine_fn_config_test dlls/opengl32/tests opengl32_test
17466 wine_fn_config_dll packager enable_packager clean
17467 wine_fn_config_test dlls/packager/tests packager_test
17468 wine_fn_config_dll pdh enable_pdh implib
17469 wine_fn_config_test dlls/pdh/tests pdh_test
17470 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17471 wine_fn_config_dll pidgen enable_pidgen
17472 wine_fn_config_dll powrprof enable_powrprof implib
17473 wine_fn_config_dll printui enable_printui
17474 wine_fn_config_dll prntvpt enable_prntvpt
17475 wine_fn_config_dll propsys enable_propsys clean,implib
17476 wine_fn_config_test dlls/propsys/tests propsys_test
17477 wine_fn_config_dll psapi enable_psapi implib
17478 wine_fn_config_test dlls/psapi/tests psapi_test
17479 wine_fn_config_dll pstorec enable_pstorec clean
17480 wine_fn_config_dll qcap enable_qcap
17481 wine_fn_config_test dlls/qcap/tests qcap_test
17482 wine_fn_config_dll qedit enable_qedit clean
17483 wine_fn_config_test dlls/qedit/tests qedit_test
17484 wine_fn_config_dll qmgr enable_qmgr clean
17485 wine_fn_config_test dlls/qmgr/tests qmgr_test
17486 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17487 wine_fn_config_dll quartz enable_quartz clean,implib
17488 wine_fn_config_test dlls/quartz/tests quartz_test clean
17489 wine_fn_config_dll query enable_query
17490 wine_fn_config_dll rasapi16.dll16 enable_win16
17491 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17492 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17493 wine_fn_config_dll rasdlg enable_rasdlg implib
17494 wine_fn_config_dll regapi enable_regapi
17495 wine_fn_config_dll resutils enable_resutils implib
17496 wine_fn_config_dll riched20 enable_riched20 implib
17497 wine_fn_config_test dlls/riched20/tests riched20_test
17498 wine_fn_config_dll riched32 enable_riched32
17499 wine_fn_config_test dlls/riched32/tests riched32_test
17500 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17501 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17502 wine_fn_config_dll rsabase enable_rsabase
17503 wine_fn_config_dll rsaenh enable_rsaenh implib
17504 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17505 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17506 wine_fn_config_dll rtutils enable_rtutils implib
17507 wine_fn_config_dll samlib enable_samlib
17508 wine_fn_config_dll sane.ds enable_sane_ds po
17509 wine_fn_config_dll scarddlg enable_scarddlg
17510 wine_fn_config_dll sccbase enable_sccbase
17511 wine_fn_config_dll schannel enable_schannel
17512 wine_fn_config_test dlls/schannel/tests schannel_test
17513 wine_fn_config_dll schedsvc enable_schedsvc clean
17514 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17515 wine_fn_config_dll scrrun enable_scrrun clean
17516 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17517 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17518 wine_fn_config_dll secur32 enable_secur32 implib
17519 wine_fn_config_test dlls/secur32/tests secur32_test
17520 wine_fn_config_dll security enable_security
17521 wine_fn_config_dll sensapi enable_sensapi implib
17522 wine_fn_config_dll serialui enable_serialui implib,po
17523 wine_fn_config_test dlls/serialui/tests serialui_test
17524 wine_fn_config_dll setupapi enable_setupapi implib,po
17525 wine_fn_config_test dlls/setupapi/tests setupapi_test
17526 wine_fn_config_dll setupx.dll16 enable_win16
17527 wine_fn_config_dll sfc enable_sfc implib
17528 wine_fn_config_dll sfc_os enable_sfc_os implib
17529 wine_fn_config_dll shdoclc enable_shdoclc po
17530 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17531 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17532 wine_fn_config_dll shell.dll16 enable_win16
17533 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17534 wine_fn_config_test dlls/shell32/tests shell32_test
17535 wine_fn_config_dll shfolder enable_shfolder implib
17536 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17537 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17538 wine_fn_config_dll slbcsp enable_slbcsp
17539 wine_fn_config_dll slc enable_slc implib
17540 wine_fn_config_test dlls/slc/tests slc_test
17541 wine_fn_config_dll snmpapi enable_snmpapi implib
17542 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17543 wine_fn_config_dll softpub enable_softpub
17544 wine_fn_config_dll sound.drv16 enable_win16
17545 wine_fn_config_dll spoolss enable_spoolss implib
17546 wine_fn_config_test dlls/spoolss/tests spoolss_test
17547 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17548 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17549 wine_fn_config_dll sti enable_sti clean,implib
17550 wine_fn_config_test dlls/sti/tests sti_test
17551 wine_fn_config_dll storage.dll16 enable_win16
17552 wine_fn_config_dll stress.dll16 enable_win16
17553 wine_fn_config_lib strmbase
17554 wine_fn_config_lib strmiids
17555 wine_fn_config_dll svrapi enable_svrapi
17556 wine_fn_config_dll sxs enable_sxs implib
17557 wine_fn_config_test dlls/sxs/tests sxs_test
17558 wine_fn_config_dll system.drv16 enable_win16
17559 wine_fn_config_dll t2embed enable_t2embed
17560 wine_fn_config_dll tapi32 enable_tapi32 implib
17561 wine_fn_config_dll taskschd enable_taskschd clean
17562 wine_fn_config_test dlls/taskschd/tests taskschd_test
17563 wine_fn_config_dll toolhelp.dll16 enable_win16
17564 wine_fn_config_dll traffic enable_traffic
17565 wine_fn_config_dll twain.dll16 enable_win16
17566 wine_fn_config_dll twain_32 enable_twain_32
17567 wine_fn_config_test dlls/twain_32/tests twain_32_test
17568 wine_fn_config_dll typelib.dll16 enable_win16
17569 wine_fn_config_dll unicows enable_unicows implib
17570 wine_fn_config_dll updspapi enable_updspapi
17571 wine_fn_config_dll url enable_url implib
17572 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17573 wine_fn_config_test dlls/urlmon/tests urlmon_test
17574 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17575 wine_fn_config_dll user.exe16 enable_win16
17576 wine_fn_config_dll user32 enable_user32 clean,implib,po
17577 wine_fn_config_test dlls/user32/tests user32_test
17578 wine_fn_config_dll userenv enable_userenv implib
17579 wine_fn_config_test dlls/userenv/tests userenv_test
17580 wine_fn_config_dll usp10 enable_usp10 implib
17581 wine_fn_config_test dlls/usp10/tests usp10_test
17582 wine_fn_config_lib uuid
17583 wine_fn_config_dll uxtheme enable_uxtheme implib
17584 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17585 wine_fn_config_dll vbscript enable_vbscript clean
17586 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17587 wine_fn_config_dll vcomp enable_vcomp
17588 wine_fn_config_dll vcomp100 enable_vcomp100
17589 wine_fn_config_dll vcomp90 enable_vcomp90
17590 wine_fn_config_dll vdhcp.vxd enable_win16
17591 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17592 wine_fn_config_dll ver.dll16 enable_win16
17593 wine_fn_config_dll version enable_version implib
17594 wine_fn_config_test dlls/version/tests version_test
17595 wine_fn_config_dll vmm.vxd enable_win16
17596 wine_fn_config_dll vnbt.vxd enable_win16
17597 wine_fn_config_dll vnetbios.vxd enable_win16
17598 wine_fn_config_dll vssapi enable_vssapi
17599 wine_fn_config_dll vtdapi.vxd enable_win16
17600 wine_fn_config_dll vwin32.vxd enable_win16
17601 wine_fn_config_dll w32skrnl enable_win16
17602 wine_fn_config_dll w32sys.dll16 enable_win16
17603 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17604 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17605 wine_fn_config_dll wbemprox enable_wbemprox clean
17606 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17607 wine_fn_config_dll webservices enable_webservices implib
17608 wine_fn_config_dll wer enable_wer implib
17609 wine_fn_config_test dlls/wer/tests wer_test
17610 wine_fn_config_dll wevtapi enable_wevtapi
17611 wine_fn_config_dll wiaservc enable_wiaservc clean
17612 wine_fn_config_dll win32s16.dll16 enable_win16
17613 wine_fn_config_dll win87em.dll16 enable_win16
17614 wine_fn_config_dll winaspi.dll16 enable_win16
17615 wine_fn_config_dll windebug.dll16 enable_win16
17616 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17617 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17618 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17619 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17620 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17621 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17622 wine_fn_config_lib winecrt0
17623 wine_fn_config_dll wined3d enable_wined3d implib
17624 wine_fn_config_dll winegstreamer enable_winegstreamer
17625 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17626 wine_fn_config_dll winemac.drv enable_winemac_drv
17627 wine_fn_config_dll winemapi enable_winemapi
17628 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17629 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17630 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17631 wine_fn_config_dll wineps16.drv16 enable_win16
17632 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17633 wine_fn_config_dll winex11.drv enable_winex11_drv
17634 wine_fn_config_dll wing.dll16 enable_win16
17635 wine_fn_config_dll wing32 enable_wing32
17636 wine_fn_config_dll winhttp enable_winhttp clean,implib
17637 wine_fn_config_test dlls/winhttp/tests winhttp_test
17638 wine_fn_config_dll wininet enable_wininet implib,po
17639 wine_fn_config_test dlls/wininet/tests wininet_test
17640 wine_fn_config_dll winmm enable_winmm implib,po
17641 wine_fn_config_test dlls/winmm/tests winmm_test
17642 wine_fn_config_dll winnls.dll16 enable_win16
17643 wine_fn_config_dll winnls32 enable_winnls32 implib
17644 wine_fn_config_dll winscard enable_winscard implib
17645 wine_fn_config_dll winsock.dll16 enable_win16
17646 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17647 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17648 wine_fn_config_dll winsta enable_winsta
17649 wine_fn_config_dll wintab.dll16 enable_win16
17650 wine_fn_config_dll wintab32 enable_wintab32 implib
17651 wine_fn_config_test dlls/wintab32/tests wintab32_test
17652 wine_fn_config_dll wintrust enable_wintrust implib
17653 wine_fn_config_test dlls/wintrust/tests wintrust_test
17654 wine_fn_config_dll wlanapi enable_wlanapi
17655 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17656 wine_fn_config_test dlls/wldap32/tests wldap32_test
17657 wine_fn_config_dll wmi enable_wmi
17658 wine_fn_config_dll wmiutils enable_wmiutils clean
17659 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17660 wine_fn_config_dll wmp enable_wmp clean
17661 wine_fn_config_test dlls/wmp/tests wmp_test
17662 wine_fn_config_dll wmvcore enable_wmvcore
17663 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17664 wine_fn_config_dll wow32 enable_win16 implib
17665 wine_fn_config_dll wpcap enable_wpcap
17666 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17667 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17668 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17669 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17670 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17671 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17672 wine_fn_config_dll wsock32 enable_wsock32 implib
17673 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17674 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17675 wine_fn_config_dll wuapi enable_wuapi clean
17676 wine_fn_config_dll wuaueng enable_wuaueng
17677 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17678 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17679 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17680 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17681 wine_fn_config_dll xinput1_1 enable_xinput1_1
17682 wine_fn_config_dll xinput1_2 enable_xinput1_2
17683 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17684 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17685 wine_fn_config_dll xinput1_4 enable_xinput1_4
17686 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17687 wine_fn_config_dll xmllite enable_xmllite implib
17688 wine_fn_config_test dlls/xmllite/tests xmllite_test
17689 wine_fn_config_dll xolehlp enable_xolehlp
17690 wine_fn_config_dll xpsprint enable_xpsprint
17691 wine_fn_config_dll xpssvcs enable_xpssvcs
17692 wine_fn_config_makefile documentation enable_documentation clean
17693 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17694 wine_fn_config_makefile include enable_include clean,install-dev
17695 wine_fn_config_makefile libs/port enable_libs_port
17696 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17697 wine_fn_config_makefile libs/wpp enable_libs_wpp
17698 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17699 wine_fn_config_program arp enable_arp install
17700 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17701 wine_fn_config_program attrib enable_attrib install,po
17702 wine_fn_config_program cabarc enable_cabarc install
17703 wine_fn_config_program cacls enable_cacls install
17704 wine_fn_config_program clock enable_clock install,po
17705 wine_fn_config_program cmd enable_cmd install,po
17706 wine_fn_config_test programs/cmd/tests cmd.exe_test
17707 wine_fn_config_program conhost enable_conhost install
17708 wine_fn_config_program control enable_control install
17709 wine_fn_config_program cscript enable_cscript clean,install
17710 wine_fn_config_program dpnsvr enable_dpnsvr install
17711 wine_fn_config_program dxdiag enable_dxdiag install,po
17712 wine_fn_config_program eject enable_eject install
17713 wine_fn_config_program expand enable_expand install
17714 wine_fn_config_program explorer enable_explorer install,po
17715 wine_fn_config_program extrac32 enable_extrac32 install
17716 wine_fn_config_program findstr enable_findstr install
17717 wine_fn_config_program hh enable_hh install
17718 wine_fn_config_program hostname enable_hostname install,po
17719 wine_fn_config_program icinfo enable_icinfo install
17720 wine_fn_config_program iexplore enable_iexplore install
17721 wine_fn_config_program ipconfig enable_ipconfig install,po
17722 wine_fn_config_program lodctr enable_lodctr install
17723 wine_fn_config_program mofcomp enable_mofcomp install
17724 wine_fn_config_program mshta enable_mshta install
17725 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17726 wine_fn_config_program net enable_net install,po
17727 wine_fn_config_program netsh enable_netsh install
17728 wine_fn_config_program netstat enable_netstat install,po
17729 wine_fn_config_program ngen enable_ngen install
17730 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17731 wine_fn_config_program oleview enable_oleview install,po
17732 wine_fn_config_program ping enable_ping install
17733 wine_fn_config_program plugplay enable_plugplay install
17734 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17735 wine_fn_config_program progman enable_progman install,po
17736 wine_fn_config_program reg enable_reg install,po
17737 wine_fn_config_test programs/reg/tests reg.exe_test
17738 wine_fn_config_program regasm enable_regasm install
17739 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17740 wine_fn_config_test programs/regedit/tests regedit.exe_test
17741 wine_fn_config_program regsvcs enable_regsvcs install
17742 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17743 wine_fn_config_program rpcss enable_rpcss clean,install
17744 wine_fn_config_program rundll.exe16 enable_win16 install
17745 wine_fn_config_program rundll32 enable_rundll32 install
17746 wine_fn_config_program sc enable_sc install
17747 wine_fn_config_program schtasks enable_schtasks install
17748 wine_fn_config_program sdbinst enable_sdbinst install
17749 wine_fn_config_program secedit enable_secedit install
17750 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17751 wine_fn_config_program services enable_services clean,install
17752 wine_fn_config_test programs/services/tests services.exe_test
17753 wine_fn_config_program spoolsv enable_spoolsv install
17754 wine_fn_config_program start enable_start install,po
17755 wine_fn_config_program svchost enable_svchost install
17756 wine_fn_config_program systeminfo enable_systeminfo install
17757 wine_fn_config_program taskkill enable_taskkill install,po
17758 wine_fn_config_program tasklist enable_tasklist install
17759 wine_fn_config_program taskmgr enable_taskmgr install,po
17760 wine_fn_config_program termsv enable_termsv install
17761 wine_fn_config_program uninstaller enable_uninstaller install,po
17762 wine_fn_config_program unlodctr enable_unlodctr install
17763 wine_fn_config_program view enable_view install,po
17764 wine_fn_config_program wevtutil enable_wevtutil install
17765 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17766 wine_fn_config_program winebrowser enable_winebrowser install
17767 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17768 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17769 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17770 wine_fn_config_program winedevice enable_winedevice install
17771 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17772 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17773 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17774 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17775 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17776 wine_fn_config_program winetest enable_winetest clean
17777 wine_fn_config_program winevdm enable_win16 install
17778 wine_fn_config_program winhelp.exe16 enable_win16 install
17779 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17780 wine_fn_config_program winoldap.mod16 enable_win16 install
17781 wine_fn_config_program winver enable_winver install
17782 wine_fn_config_program wmic enable_wmic install,po
17783 wine_fn_config_program wordpad enable_wordpad install,po
17784 wine_fn_config_program write enable_write install,po
17785 wine_fn_config_program wscript enable_wscript clean,install
17786 wine_fn_config_test programs/wscript/tests wscript.exe_test
17787 wine_fn_config_program wusa enable_wusa install
17788 wine_fn_config_program xcopy enable_xcopy install,po
17789 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17790 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17791 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17792 wine_fn_config_tool tools/sfnt2fon clean
17793 wine_fn_config_tool tools/widl clean,install-dev,manpage
17794 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17795 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17796 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17797 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17798 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17800 LINGUAS="\
17801 ar \
17802 bg \
17803 ca \
17804 cs \
17805 da \
17806 de \
17807 el \
17808 en \
17809 en_US \
17810 eo \
17811 es \
17812 fa \
17813 fi \
17814 fr \
17815 he \
17816 hi \
17817 hr \
17818 hu \
17819 it \
17820 ja \
17821 ko \
17822 lt \
17823 ml \
17824 nb_NO \
17825 nl \
17826 or \
17827 pa \
17828 pl \
17829 pt_BR \
17830 pt_PT \
17831 rm \
17832 ro \
17833 ru \
17834 sk \
17835 sl \
17836 sr_RS@cyrillic \
17837 sr_RS@latin \
17838 sv \
17839 te \
17840 th \
17841 tr \
17842 uk \
17843 wa \
17844 zh_CN \
17845 zh_TW"
17850 wine_fn_ignore_file ".gitignore"
17851 wine_fn_ignore_file "Makefile"
17852 wine_fn_ignore_file "TAGS"
17853 wine_fn_ignore_file "tags"
17854 wine_fn_ignore_file "autom4te.cache"
17855 wine_fn_ignore_file "config.cache"
17856 wine_fn_ignore_file "config.log"
17857 wine_fn_ignore_file "config.status"
17858 wine_fn_ignore_file "configure.lineno"
17859 wine_fn_ignore_file "include/config.h"
17860 wine_fn_ignore_file "include/stamp-h"
17861 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17863 if test "x$enable_tools" != xno
17864 then
17865 wine_fn_ignore_file "tools/makedep$ac_exeext"
17866 ac_config_commands="$ac_config_commands tools/makedep"
17870 ac_config_commands="$ac_config_commands Makefile"
17873 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17877 if test "x$enable_maintainer_mode" = xyes
17878 then
17879 wine_fn_append_rule "configure: configure.ac aclocal.m4
17880 autoconf --warnings=all
17881 include/config.h.in: include/stamp-h.in
17882 include/stamp-h.in: configure.ac aclocal.m4
17883 autoheader --warnings=all
17884 @echo timestamp > \$@"
17887 if test "x$with_gettextpo" = xyes
17888 then
17889 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17890 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17891 \$(LINGUAS:%=po/%.po): po/wine.pot
17892 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17893 po/wine.pot: \$(ALL_POT_FILES)
17894 msgcat -o \$@ \$(ALL_POT_FILES)"
17897 if test "$MSGFMT" != false
17898 then
17899 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17900 clean::
17901 \$(RM) \$(LINGUAS:%=po/%.mo)"
17903 posrc="po"
17904 test "$srcdir" = . || posrc="$srcdir/po"
17905 for i in $LINGUAS
17907 wine_fn_ignore_file "po/$i.mo"
17908 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17909 \$(MSGFMT) -o \$@ $posrc/$i.po"
17910 done
17911 else
17912 LINGUAS=
17915 if test "x$enable_tools" != xno
17916 then
17917 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17918 @./config.status tools/makedep
17919 Makefile: tools/makedep$ac_exeext
17920 distclean:: clean
17921 \$(RM) tools/makedep$ac_exeext"
17922 else
17923 wine_fn_append_rule "\$(MAKEDEP):
17924 @echo \"You need to run make in $TOOLSDIR first\" && false"
17927 if test -n "$with_wine64"
17928 then
17929 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17930 fonts server tools:
17931 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17932 $with_wine64/loader/wine:
17933 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17934 $with_wine64/loader/wine-preloader:
17935 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17936 clean::
17937 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17938 else
17939 as_fn_append LOADER_RULES "
17940 install install-lib:: wine.inf install-man-pages
17941 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17942 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17944 uninstall::
17945 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17949 if test "$srcdir" = .
17950 then
17951 ac_config_commands="$ac_config_commands .gitignore"
17955 $as_echo " done" >&6
17956 cat >confcache <<\_ACEOF
17957 # This file is a shell script that caches the results of configure
17958 # tests run on this system so they can be shared between configure
17959 # scripts and configure runs, see configure's option --config-cache.
17960 # It is not useful on other systems. If it contains results you don't
17961 # want to keep, you may remove or edit it.
17963 # config.status only pays attention to the cache file if you give it
17964 # the --recheck option to rerun configure.
17966 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17967 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17968 # following values.
17970 _ACEOF
17972 # The following way of writing the cache mishandles newlines in values,
17973 # but we know of no workaround that is simple, portable, and efficient.
17974 # So, we kill variables containing newlines.
17975 # Ultrix sh set writes to stderr and can't be redirected directly,
17976 # and sets the high bit in the cache file unless we assign to the vars.
17978 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17979 eval ac_val=\$$ac_var
17980 case $ac_val in #(
17981 *${as_nl}*)
17982 case $ac_var in #(
17983 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17984 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17985 esac
17986 case $ac_var in #(
17987 _ | IFS | as_nl) ;; #(
17988 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17989 *) { eval $ac_var=; unset $ac_var;} ;;
17990 esac ;;
17991 esac
17992 done
17994 (set) 2>&1 |
17995 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17996 *${as_nl}ac_space=\ *)
17997 # `set' does not quote correctly, so add quotes: double-quote
17998 # substitution turns \\\\ into \\, and sed turns \\ into \.
17999 sed -n \
18000 "s/'/'\\\\''/g;
18001 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18002 ;; #(
18004 # `set' quotes correctly as required by POSIX, so do not add quotes.
18005 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18007 esac |
18008 sort
18010 sed '
18011 /^ac_cv_env_/b end
18012 t clear
18013 :clear
18014 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18015 t end
18016 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18017 :end' >>confcache
18018 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18019 if test -w "$cache_file"; then
18020 if test "x$cache_file" != "x/dev/null"; then
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18022 $as_echo "$as_me: updating cache $cache_file" >&6;}
18023 if test ! -f "$cache_file" || test -h "$cache_file"; then
18024 cat confcache >"$cache_file"
18025 else
18026 case $cache_file in #(
18027 */* | ?:*)
18028 mv -f confcache "$cache_file"$$ &&
18029 mv -f "$cache_file"$$ "$cache_file" ;; #(
18031 mv -f confcache "$cache_file" ;;
18032 esac
18035 else
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18037 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18040 rm -f confcache
18042 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18043 # Let make expand exec_prefix.
18044 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18046 DEFS=-DHAVE_CONFIG_H
18048 ac_libobjs=
18049 ac_ltlibobjs=
18051 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18052 # 1. Remove the extension, and $U if already installed.
18053 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18054 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18055 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18056 # will be set to the directory where LIBOBJS objects are built.
18057 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18058 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18059 done
18060 LIBOBJS=$ac_libobjs
18062 LTLIBOBJS=$ac_ltlibobjs
18066 : "${CONFIG_STATUS=./config.status}"
18067 ac_write_fail=0
18068 ac_clean_files_save=$ac_clean_files
18069 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18071 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18072 as_write_fail=0
18073 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18074 #! $SHELL
18075 # Generated by $as_me.
18076 # Run this file to recreate the current configuration.
18077 # Compiler output produced by configure, useful for debugging
18078 # configure, is in config.log if it exists.
18080 debug=false
18081 ac_cs_recheck=false
18082 ac_cs_silent=false
18084 SHELL=\${CONFIG_SHELL-$SHELL}
18085 export SHELL
18086 _ASEOF
18087 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18088 ## -------------------- ##
18089 ## M4sh Initialization. ##
18090 ## -------------------- ##
18092 # Be more Bourne compatible
18093 DUALCASE=1; export DUALCASE # for MKS sh
18094 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18095 emulate sh
18096 NULLCMD=:
18097 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18098 # is contrary to our usage. Disable this feature.
18099 alias -g '${1+"$@"}'='"$@"'
18100 setopt NO_GLOB_SUBST
18101 else
18102 case `(set -o) 2>/dev/null` in #(
18103 *posix*) :
18104 set -o posix ;; #(
18105 *) :
18107 esac
18111 as_nl='
18113 export as_nl
18114 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18115 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18116 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18117 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18118 # Prefer a ksh shell builtin over an external printf program on Solaris,
18119 # but without wasting forks for bash or zsh.
18120 if test -z "$BASH_VERSION$ZSH_VERSION" \
18121 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18122 as_echo='print -r --'
18123 as_echo_n='print -rn --'
18124 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18125 as_echo='printf %s\n'
18126 as_echo_n='printf %s'
18127 else
18128 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18129 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18130 as_echo_n='/usr/ucb/echo -n'
18131 else
18132 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18133 as_echo_n_body='eval
18134 arg=$1;
18135 case $arg in #(
18136 *"$as_nl"*)
18137 expr "X$arg" : "X\\(.*\\)$as_nl";
18138 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18139 esac;
18140 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18142 export as_echo_n_body
18143 as_echo_n='sh -c $as_echo_n_body as_echo'
18145 export as_echo_body
18146 as_echo='sh -c $as_echo_body as_echo'
18149 # The user is always right.
18150 if test "${PATH_SEPARATOR+set}" != set; then
18151 PATH_SEPARATOR=:
18152 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18153 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18154 PATH_SEPARATOR=';'
18159 # IFS
18160 # We need space, tab and new line, in precisely that order. Quoting is
18161 # there to prevent editors from complaining about space-tab.
18162 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18163 # splitting by setting IFS to empty value.)
18164 IFS=" "" $as_nl"
18166 # Find who we are. Look in the path if we contain no directory separator.
18167 as_myself=
18168 case $0 in #((
18169 *[\\/]* ) as_myself=$0 ;;
18170 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18171 for as_dir in $PATH
18173 IFS=$as_save_IFS
18174 test -z "$as_dir" && as_dir=.
18175 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18176 done
18177 IFS=$as_save_IFS
18180 esac
18181 # We did not find ourselves, most probably we were run as `sh COMMAND'
18182 # in which case we are not to be found in the path.
18183 if test "x$as_myself" = x; then
18184 as_myself=$0
18186 if test ! -f "$as_myself"; then
18187 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18188 exit 1
18191 # Unset variables that we do not need and which cause bugs (e.g. in
18192 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18193 # suppresses any "Segmentation fault" message there. '((' could
18194 # trigger a bug in pdksh 5.2.14.
18195 for as_var in BASH_ENV ENV MAIL MAILPATH
18196 do eval test x\${$as_var+set} = xset \
18197 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18198 done
18199 PS1='$ '
18200 PS2='> '
18201 PS4='+ '
18203 # NLS nuisances.
18204 LC_ALL=C
18205 export LC_ALL
18206 LANGUAGE=C
18207 export LANGUAGE
18209 # CDPATH.
18210 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18213 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18214 # ----------------------------------------
18215 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18216 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18217 # script with STATUS, using 1 if that was 0.
18218 as_fn_error ()
18220 as_status=$1; test $as_status -eq 0 && as_status=1
18221 if test "$4"; then
18222 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18223 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18225 $as_echo "$as_me: error: $2" >&2
18226 as_fn_exit $as_status
18227 } # as_fn_error
18230 # as_fn_set_status STATUS
18231 # -----------------------
18232 # Set $? to STATUS, without forking.
18233 as_fn_set_status ()
18235 return $1
18236 } # as_fn_set_status
18238 # as_fn_exit STATUS
18239 # -----------------
18240 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18241 as_fn_exit ()
18243 set +e
18244 as_fn_set_status $1
18245 exit $1
18246 } # as_fn_exit
18248 # as_fn_unset VAR
18249 # ---------------
18250 # Portably unset VAR.
18251 as_fn_unset ()
18253 { eval $1=; unset $1;}
18255 as_unset=as_fn_unset
18256 # as_fn_append VAR VALUE
18257 # ----------------------
18258 # Append the text in VALUE to the end of the definition contained in VAR. Take
18259 # advantage of any shell optimizations that allow amortized linear growth over
18260 # repeated appends, instead of the typical quadratic growth present in naive
18261 # implementations.
18262 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18263 eval 'as_fn_append ()
18265 eval $1+=\$2
18267 else
18268 as_fn_append ()
18270 eval $1=\$$1\$2
18272 fi # as_fn_append
18274 # as_fn_arith ARG...
18275 # ------------------
18276 # Perform arithmetic evaluation on the ARGs, and store the result in the
18277 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18278 # must be portable across $(()) and expr.
18279 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18280 eval 'as_fn_arith ()
18282 as_val=$(( $* ))
18284 else
18285 as_fn_arith ()
18287 as_val=`expr "$@" || test $? -eq 1`
18289 fi # as_fn_arith
18292 if expr a : '\(a\)' >/dev/null 2>&1 &&
18293 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18294 as_expr=expr
18295 else
18296 as_expr=false
18299 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18300 as_basename=basename
18301 else
18302 as_basename=false
18305 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18306 as_dirname=dirname
18307 else
18308 as_dirname=false
18311 as_me=`$as_basename -- "$0" ||
18312 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18313 X"$0" : 'X\(//\)$' \| \
18314 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18315 $as_echo X/"$0" |
18316 sed '/^.*\/\([^/][^/]*\)\/*$/{
18317 s//\1/
18320 /^X\/\(\/\/\)$/{
18321 s//\1/
18324 /^X\/\(\/\).*/{
18325 s//\1/
18328 s/.*/./; q'`
18330 # Avoid depending upon Character Ranges.
18331 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18332 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18333 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18334 as_cr_digits='0123456789'
18335 as_cr_alnum=$as_cr_Letters$as_cr_digits
18337 ECHO_C= ECHO_N= ECHO_T=
18338 case `echo -n x` in #(((((
18339 -n*)
18340 case `echo 'xy\c'` in
18341 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18342 xy) ECHO_C='\c';;
18343 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18344 ECHO_T=' ';;
18345 esac;;
18347 ECHO_N='-n';;
18348 esac
18350 rm -f conf$$ conf$$.exe conf$$.file
18351 if test -d conf$$.dir; then
18352 rm -f conf$$.dir/conf$$.file
18353 else
18354 rm -f conf$$.dir
18355 mkdir conf$$.dir 2>/dev/null
18357 if (echo >conf$$.file) 2>/dev/null; then
18358 if ln -s conf$$.file conf$$ 2>/dev/null; then
18359 as_ln_s='ln -s'
18360 # ... but there are two gotchas:
18361 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18362 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18363 # In both cases, we have to default to `cp -pR'.
18364 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18365 as_ln_s='cp -pR'
18366 elif ln conf$$.file conf$$ 2>/dev/null; then
18367 as_ln_s=ln
18368 else
18369 as_ln_s='cp -pR'
18371 else
18372 as_ln_s='cp -pR'
18374 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18375 rmdir conf$$.dir 2>/dev/null
18378 # as_fn_mkdir_p
18379 # -------------
18380 # Create "$as_dir" as a directory, including parents if necessary.
18381 as_fn_mkdir_p ()
18384 case $as_dir in #(
18385 -*) as_dir=./$as_dir;;
18386 esac
18387 test -d "$as_dir" || eval $as_mkdir_p || {
18388 as_dirs=
18389 while :; do
18390 case $as_dir in #(
18391 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18392 *) as_qdir=$as_dir;;
18393 esac
18394 as_dirs="'$as_qdir' $as_dirs"
18395 as_dir=`$as_dirname -- "$as_dir" ||
18396 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18397 X"$as_dir" : 'X\(//\)[^/]' \| \
18398 X"$as_dir" : 'X\(//\)$' \| \
18399 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18400 $as_echo X"$as_dir" |
18401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18402 s//\1/
18405 /^X\(\/\/\)[^/].*/{
18406 s//\1/
18409 /^X\(\/\/\)$/{
18410 s//\1/
18413 /^X\(\/\).*/{
18414 s//\1/
18417 s/.*/./; q'`
18418 test -d "$as_dir" && break
18419 done
18420 test -z "$as_dirs" || eval "mkdir $as_dirs"
18421 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18424 } # as_fn_mkdir_p
18425 if mkdir -p . 2>/dev/null; then
18426 as_mkdir_p='mkdir -p "$as_dir"'
18427 else
18428 test -d ./-p && rmdir ./-p
18429 as_mkdir_p=false
18433 # as_fn_executable_p FILE
18434 # -----------------------
18435 # Test if FILE is an executable regular file.
18436 as_fn_executable_p ()
18438 test -f "$1" && test -x "$1"
18439 } # as_fn_executable_p
18440 as_test_x='test -x'
18441 as_executable_p=as_fn_executable_p
18443 # Sed expression to map a string onto a valid CPP name.
18444 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18446 # Sed expression to map a string onto a valid variable name.
18447 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18450 exec 6>&1
18451 ## ----------------------------------- ##
18452 ## Main body of $CONFIG_STATUS script. ##
18453 ## ----------------------------------- ##
18454 _ASEOF
18455 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18458 # Save the log message, to keep $0 and so on meaningful, and to
18459 # report actual input values of CONFIG_FILES etc. instead of their
18460 # values after options handling.
18461 ac_log="
18462 This file was extended by Wine $as_me 1.7.36, which was
18463 generated by GNU Autoconf 2.69. Invocation command line was
18465 CONFIG_FILES = $CONFIG_FILES
18466 CONFIG_HEADERS = $CONFIG_HEADERS
18467 CONFIG_LINKS = $CONFIG_LINKS
18468 CONFIG_COMMANDS = $CONFIG_COMMANDS
18469 $ $0 $@
18471 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18474 _ACEOF
18476 case $ac_config_files in *"
18477 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18478 esac
18480 case $ac_config_headers in *"
18481 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18482 esac
18485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18486 # Files that config.status was made for.
18487 config_files="$ac_config_files"
18488 config_headers="$ac_config_headers"
18489 config_links="$ac_config_links"
18490 config_commands="$ac_config_commands"
18492 _ACEOF
18494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18495 ac_cs_usage="\
18496 \`$as_me' instantiates files and other configuration actions
18497 from templates according to the current configuration. Unless the files
18498 and actions are specified as TAGs, all are instantiated by default.
18500 Usage: $0 [OPTION]... [TAG]...
18502 -h, --help print this help, then exit
18503 -V, --version print version number and configuration settings, then exit
18504 --config print configuration, then exit
18505 -q, --quiet, --silent
18506 do not print progress messages
18507 -d, --debug don't remove temporary files
18508 --recheck update $as_me by reconfiguring in the same conditions
18509 --file=FILE[:TEMPLATE]
18510 instantiate the configuration file FILE
18511 --header=FILE[:TEMPLATE]
18512 instantiate the configuration header FILE
18514 Configuration files:
18515 $config_files
18517 Configuration headers:
18518 $config_headers
18520 Configuration links:
18521 $config_links
18523 Configuration commands:
18524 $config_commands
18526 Report bugs to <wine-devel@winehq.org>.
18527 Wine home page: <http://www.winehq.org>."
18529 _ACEOF
18530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18531 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18532 ac_cs_version="\\
18533 Wine config.status 1.7.36
18534 configured by $0, generated by GNU Autoconf 2.69,
18535 with options \\"\$ac_cs_config\\"
18537 Copyright (C) 2012 Free Software Foundation, Inc.
18538 This config.status script is free software; the Free Software Foundation
18539 gives unlimited permission to copy, distribute and modify it."
18541 ac_pwd='$ac_pwd'
18542 srcdir='$srcdir'
18543 test -n "\$AWK" || AWK=awk
18544 _ACEOF
18546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18547 # The default lists apply if the user does not specify any file.
18548 ac_need_defaults=:
18549 while test $# != 0
18551 case $1 in
18552 --*=?*)
18553 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18554 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18555 ac_shift=:
18557 --*=)
18558 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18559 ac_optarg=
18560 ac_shift=:
18563 ac_option=$1
18564 ac_optarg=$2
18565 ac_shift=shift
18567 esac
18569 case $ac_option in
18570 # Handling of the options.
18571 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18572 ac_cs_recheck=: ;;
18573 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18574 $as_echo "$ac_cs_version"; exit ;;
18575 --config | --confi | --conf | --con | --co | --c )
18576 $as_echo "$ac_cs_config"; exit ;;
18577 --debug | --debu | --deb | --de | --d | -d )
18578 debug=: ;;
18579 --file | --fil | --fi | --f )
18580 $ac_shift
18581 case $ac_optarg in
18582 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18583 '') as_fn_error $? "missing file argument" ;;
18584 esac
18585 as_fn_append CONFIG_FILES " '$ac_optarg'"
18586 ac_need_defaults=false;;
18587 --header | --heade | --head | --hea )
18588 $ac_shift
18589 case $ac_optarg in
18590 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18591 esac
18592 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18593 ac_need_defaults=false;;
18594 --he | --h)
18595 # Conflict between --help and --header
18596 as_fn_error $? "ambiguous option: \`$1'
18597 Try \`$0 --help' for more information.";;
18598 --help | --hel | -h )
18599 $as_echo "$ac_cs_usage"; exit ;;
18600 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18601 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18602 ac_cs_silent=: ;;
18604 # This is an error.
18605 -*) as_fn_error $? "unrecognized option: \`$1'
18606 Try \`$0 --help' for more information." ;;
18608 *) as_fn_append ac_config_targets " $1"
18609 ac_need_defaults=false ;;
18611 esac
18612 shift
18613 done
18615 ac_configure_extra_args=
18617 if $ac_cs_silent; then
18618 exec 6>/dev/null
18619 ac_configure_extra_args="$ac_configure_extra_args --silent"
18622 _ACEOF
18623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18624 if \$ac_cs_recheck; then
18625 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18626 shift
18627 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18628 CONFIG_SHELL='$SHELL'
18629 export CONFIG_SHELL
18630 exec "\$@"
18633 _ACEOF
18634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18635 exec 5>>config.log
18637 echo
18638 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18639 ## Running $as_me. ##
18640 _ASBOX
18641 $as_echo "$ac_log"
18642 } >&5
18644 _ACEOF
18645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18647 # INIT-COMMANDS
18649 wine_fn_output_makedep ()
18651 as_dir=tools; as_fn_mkdir_p
18652 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18654 wine_fn_output_makefile ()
18656 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18657 `cat $wine_rules_file`
18658 _WINE_EOF
18659 as_fn_error $? "could not create Makefile" "$LINENO" 5
18661 wine_fn_output_gitignore ()
18663 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18664 $GITIGNORE
18665 _WINE_EOF
18666 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18669 _ACEOF
18671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18673 # Handling of arguments.
18674 for ac_config_target in $ac_config_targets
18676 case $ac_config_target in
18677 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18678 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18679 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18680 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18681 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18682 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18683 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18684 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18685 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18686 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18687 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18688 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18689 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18690 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18692 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18693 esac
18694 done
18697 # If the user did not use the arguments to specify the items to instantiate,
18698 # then the envvar interface is used. Set only those that are not.
18699 # We use the long form for the default assignment because of an extremely
18700 # bizarre bug on SunOS 4.1.3.
18701 if $ac_need_defaults; then
18702 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18703 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18704 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18705 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18708 # Have a temporary directory for convenience. Make it in the build tree
18709 # simply because there is no reason against having it here, and in addition,
18710 # creating and moving files from /tmp can sometimes cause problems.
18711 # Hook for its removal unless debugging.
18712 # Note that there is a small window in which the directory will not be cleaned:
18713 # after its creation but before its name has been assigned to `$tmp'.
18714 $debug ||
18716 tmp= ac_tmp=
18717 trap 'exit_status=$?
18718 : "${ac_tmp:=$tmp}"
18719 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18721 trap 'as_fn_exit 1' 1 2 13 15
18723 # Create a (secure) tmp directory for tmp files.
18726 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18727 test -d "$tmp"
18728 } ||
18730 tmp=./conf$$-$RANDOM
18731 (umask 077 && mkdir "$tmp")
18732 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18733 ac_tmp=$tmp
18735 # Set up the scripts for CONFIG_FILES section.
18736 # No need to generate them if there are no CONFIG_FILES.
18737 # This happens for instance with `./config.status config.h'.
18738 if test -n "$CONFIG_FILES"; then
18741 ac_cr=`echo X | tr X '\015'`
18742 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18743 # But we know of no other shell where ac_cr would be empty at this
18744 # point, so we can use a bashism as a fallback.
18745 if test "x$ac_cr" = x; then
18746 eval ac_cr=\$\'\\r\'
18748 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18749 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18750 ac_cs_awk_cr='\\r'
18751 else
18752 ac_cs_awk_cr=$ac_cr
18755 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18756 _ACEOF
18760 echo "cat >conf$$subs.awk <<_ACEOF" &&
18761 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18762 echo "_ACEOF"
18763 } >conf$$subs.sh ||
18764 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18765 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18766 ac_delim='%!_!# '
18767 for ac_last_try in false false false false false :; do
18768 . ./conf$$subs.sh ||
18769 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18771 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18772 if test $ac_delim_n = $ac_delim_num; then
18773 break
18774 elif $ac_last_try; then
18775 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18776 else
18777 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18779 done
18780 rm -f conf$$subs.sh
18782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18783 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18784 _ACEOF
18785 sed -n '
18787 s/^/S["/; s/!.*/"]=/
18790 s/^[^!]*!//
18791 :repl
18792 t repl
18793 s/'"$ac_delim"'$//
18794 t delim
18797 s/\(.\{148\}\)..*/\1/
18798 t more1
18799 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18802 b repl
18803 :more1
18804 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18807 s/.\{148\}//
18808 t nl
18809 :delim
18811 s/\(.\{148\}\)..*/\1/
18812 t more2
18813 s/["\\]/\\&/g; s/^/"/; s/$/"/
18816 :more2
18817 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18820 s/.\{148\}//
18821 t delim
18822 ' <conf$$subs.awk | sed '
18823 /^[^""]/{
18825 s/\n//
18827 ' >>$CONFIG_STATUS || ac_write_fail=1
18828 rm -f conf$$subs.awk
18829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18830 _ACAWK
18831 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18832 for (key in S) S_is_set[key] = 1
18833 FS = "\a"
18837 line = $ 0
18838 nfields = split(line, field, "@")
18839 substed = 0
18840 len = length(field[1])
18841 for (i = 2; i < nfields; i++) {
18842 key = field[i]
18843 keylen = length(key)
18844 if (S_is_set[key]) {
18845 value = S[key]
18846 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18847 len += length(value) + length(field[++i])
18848 substed = 1
18849 } else
18850 len += 1 + keylen
18853 print line
18856 _ACAWK
18857 _ACEOF
18858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18859 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18860 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18861 else
18863 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18864 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18865 _ACEOF
18867 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18868 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18869 # trailing colons and then remove the whole line if VPATH becomes empty
18870 # (actually we leave an empty line to preserve line numbers).
18871 if test "x$srcdir" = x.; then
18872 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18874 s///
18875 s/^/:/
18876 s/[ ]*$/:/
18877 s/:\$(srcdir):/:/g
18878 s/:\${srcdir}:/:/g
18879 s/:@srcdir@:/:/g
18880 s/^:*//
18881 s/:*$//
18883 s/\(=[ ]*\).*/\1/
18885 s/\n//
18886 s/^[^=]*=[ ]*$//
18890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18891 fi # test -n "$CONFIG_FILES"
18893 # Set up the scripts for CONFIG_HEADERS section.
18894 # No need to generate them if there are no CONFIG_HEADERS.
18895 # This happens for instance with `./config.status Makefile'.
18896 if test -n "$CONFIG_HEADERS"; then
18897 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18898 BEGIN {
18899 _ACEOF
18901 # Transform confdefs.h into an awk script `defines.awk', embedded as
18902 # here-document in config.status, that substitutes the proper values into
18903 # config.h.in to produce config.h.
18905 # Create a delimiter string that does not exist in confdefs.h, to ease
18906 # handling of long lines.
18907 ac_delim='%!_!# '
18908 for ac_last_try in false false :; do
18909 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18910 if test -z "$ac_tt"; then
18911 break
18912 elif $ac_last_try; then
18913 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18914 else
18915 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18917 done
18919 # For the awk script, D is an array of macro values keyed by name,
18920 # likewise P contains macro parameters if any. Preserve backslash
18921 # newline sequences.
18923 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18924 sed -n '
18925 s/.\{148\}/&'"$ac_delim"'/g
18926 t rset
18927 :rset
18928 s/^[ ]*#[ ]*define[ ][ ]*/ /
18929 t def
18931 :def
18932 s/\\$//
18933 t bsnl
18934 s/["\\]/\\&/g
18935 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18936 D["\1"]=" \3"/p
18937 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18939 :bsnl
18940 s/["\\]/\\&/g
18941 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18942 D["\1"]=" \3\\\\\\n"\\/p
18943 t cont
18944 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18945 t cont
18947 :cont
18949 s/.\{148\}/&'"$ac_delim"'/g
18950 t clear
18951 :clear
18952 s/\\$//
18953 t bsnlc
18954 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18956 :bsnlc
18957 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18958 b cont
18959 ' <confdefs.h | sed '
18960 s/'"$ac_delim"'/"\\\
18961 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18964 for (key in D) D_is_set[key] = 1
18965 FS = "\a"
18967 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18968 line = \$ 0
18969 split(line, arg, " ")
18970 if (arg[1] == "#") {
18971 defundef = arg[2]
18972 mac1 = arg[3]
18973 } else {
18974 defundef = substr(arg[1], 2)
18975 mac1 = arg[2]
18977 split(mac1, mac2, "(") #)
18978 macro = mac2[1]
18979 prefix = substr(line, 1, index(line, defundef) - 1)
18980 if (D_is_set[macro]) {
18981 # Preserve the white space surrounding the "#".
18982 print prefix "define", macro P[macro] D[macro]
18983 next
18984 } else {
18985 # Replace #undef with comments. This is necessary, for example,
18986 # in the case of _POSIX_SOURCE, which is predefined and required
18987 # on some systems where configure will not decide to define it.
18988 if (defundef == "undef") {
18989 print "/*", prefix defundef, macro, "*/"
18990 next
18994 { print }
18995 _ACAWK
18996 _ACEOF
18997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18998 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18999 fi # test -n "$CONFIG_HEADERS"
19002 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19003 shift
19004 for ac_tag
19006 case $ac_tag in
19007 :[FHLC]) ac_mode=$ac_tag; continue;;
19008 esac
19009 case $ac_mode$ac_tag in
19010 :[FHL]*:*);;
19011 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19012 :[FH]-) ac_tag=-:-;;
19013 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19014 esac
19015 ac_save_IFS=$IFS
19016 IFS=:
19017 set x $ac_tag
19018 IFS=$ac_save_IFS
19019 shift
19020 ac_file=$1
19021 shift
19023 case $ac_mode in
19024 :L) ac_source=$1;;
19025 :[FH])
19026 ac_file_inputs=
19027 for ac_f
19029 case $ac_f in
19030 -) ac_f="$ac_tmp/stdin";;
19031 *) # Look for the file first in the build tree, then in the source tree
19032 # (if the path is not absolute). The absolute path cannot be DOS-style,
19033 # because $ac_f cannot contain `:'.
19034 test -f "$ac_f" ||
19035 case $ac_f in
19036 [\\/$]*) false;;
19037 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19038 esac ||
19039 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19040 esac
19041 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19042 as_fn_append ac_file_inputs " '$ac_f'"
19043 done
19045 # Let's still pretend it is `configure' which instantiates (i.e., don't
19046 # use $as_me), people would be surprised to read:
19047 # /* config.h. Generated by config.status. */
19048 configure_input='Generated from '`
19049 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19050 `' by configure.'
19051 if test x"$ac_file" != x-; then
19052 configure_input="$ac_file. $configure_input"
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19054 $as_echo "$as_me: creating $ac_file" >&6;}
19056 # Neutralize special characters interpreted by sed in replacement strings.
19057 case $configure_input in #(
19058 *\&* | *\|* | *\\* )
19059 ac_sed_conf_input=`$as_echo "$configure_input" |
19060 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19061 *) ac_sed_conf_input=$configure_input;;
19062 esac
19064 case $ac_tag in
19065 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19066 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19067 esac
19069 esac
19071 ac_dir=`$as_dirname -- "$ac_file" ||
19072 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19073 X"$ac_file" : 'X\(//\)[^/]' \| \
19074 X"$ac_file" : 'X\(//\)$' \| \
19075 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19076 $as_echo X"$ac_file" |
19077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19078 s//\1/
19081 /^X\(\/\/\)[^/].*/{
19082 s//\1/
19085 /^X\(\/\/\)$/{
19086 s//\1/
19089 /^X\(\/\).*/{
19090 s//\1/
19093 s/.*/./; q'`
19094 as_dir="$ac_dir"; as_fn_mkdir_p
19095 ac_builddir=.
19097 case "$ac_dir" in
19098 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19100 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19101 # A ".." for each directory in $ac_dir_suffix.
19102 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19103 case $ac_top_builddir_sub in
19104 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19105 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19106 esac ;;
19107 esac
19108 ac_abs_top_builddir=$ac_pwd
19109 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19110 # for backward compatibility:
19111 ac_top_builddir=$ac_top_build_prefix
19113 case $srcdir in
19114 .) # We are building in place.
19115 ac_srcdir=.
19116 ac_top_srcdir=$ac_top_builddir_sub
19117 ac_abs_top_srcdir=$ac_pwd ;;
19118 [\\/]* | ?:[\\/]* ) # Absolute name.
19119 ac_srcdir=$srcdir$ac_dir_suffix;
19120 ac_top_srcdir=$srcdir
19121 ac_abs_top_srcdir=$srcdir ;;
19122 *) # Relative name.
19123 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19124 ac_top_srcdir=$ac_top_build_prefix$srcdir
19125 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19126 esac
19127 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19130 case $ac_mode in
19133 # CONFIG_FILE
19136 _ACEOF
19138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19139 # If the template does not know about datarootdir, expand it.
19140 # FIXME: This hack should be removed a few years after 2.60.
19141 ac_datarootdir_hack=; ac_datarootdir_seen=
19142 ac_sed_dataroot='
19143 /datarootdir/ {
19147 /@datadir@/p
19148 /@docdir@/p
19149 /@infodir@/p
19150 /@localedir@/p
19151 /@mandir@/p'
19152 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19153 *datarootdir*) ac_datarootdir_seen=yes;;
19154 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19156 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19157 _ACEOF
19158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19159 ac_datarootdir_hack='
19160 s&@datadir@&$datadir&g
19161 s&@docdir@&$docdir&g
19162 s&@infodir@&$infodir&g
19163 s&@localedir@&$localedir&g
19164 s&@mandir@&$mandir&g
19165 s&\\\${datarootdir}&$datarootdir&g' ;;
19166 esac
19167 _ACEOF
19169 # Neutralize VPATH when `$srcdir' = `.'.
19170 # Shell code in configure.ac might set extrasub.
19171 # FIXME: do we really want to maintain this feature?
19172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19173 ac_sed_extra="$ac_vpsub
19174 $extrasub
19175 _ACEOF
19176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19178 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19179 s|@configure_input@|$ac_sed_conf_input|;t t
19180 s&@top_builddir@&$ac_top_builddir_sub&;t t
19181 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19182 s&@srcdir@&$ac_srcdir&;t t
19183 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19184 s&@top_srcdir@&$ac_top_srcdir&;t t
19185 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19186 s&@builddir@&$ac_builddir&;t t
19187 s&@abs_builddir@&$ac_abs_builddir&;t t
19188 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19189 $ac_datarootdir_hack
19191 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19192 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19194 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19195 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19196 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19197 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19199 which seems to be undefined. Please make sure it is defined" >&5
19200 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19201 which seems to be undefined. Please make sure it is defined" >&2;}
19203 rm -f "$ac_tmp/stdin"
19204 case $ac_file in
19205 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19206 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19207 esac \
19208 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19212 # CONFIG_HEADER
19214 if test x"$ac_file" != x-; then
19216 $as_echo "/* $configure_input */" \
19217 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19218 } >"$ac_tmp/config.h" \
19219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19220 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19222 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19223 else
19224 rm -f "$ac_file"
19225 mv "$ac_tmp/config.h" "$ac_file" \
19226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19228 else
19229 $as_echo "/* $configure_input */" \
19230 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19231 || as_fn_error $? "could not create -" "$LINENO" 5
19236 # CONFIG_LINK
19239 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19241 else
19242 # Prefer the file from the source tree if names are identical.
19243 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19244 ac_source=$srcdir/$ac_source
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19248 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19250 if test ! -r "$ac_source"; then
19251 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19253 rm -f "$ac_file"
19255 # Try a relative symlink, then a hard link, then a copy.
19256 case $ac_source in
19257 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19258 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19259 esac
19260 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19261 ln "$ac_source" "$ac_file" 2>/dev/null ||
19262 cp -p "$ac_source" "$ac_file" ||
19263 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19266 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19267 $as_echo "$as_me: executing $ac_file commands" >&6;}
19269 esac
19272 case $ac_file$ac_mode in
19273 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19274 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19275 "Makefile":C) wine_fn_output_makefile Makefile ;;
19276 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19278 esac
19279 done # for ac_tag
19282 as_fn_exit 0
19283 _ACEOF
19284 ac_clean_files=$ac_clean_files_save
19286 test $ac_write_fail = 0 ||
19287 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19290 # configure is writing to config.log, and then calls config.status.
19291 # config.status does its own redirection, appending to config.log.
19292 # Unfortunately, on DOS this fails, as config.log is still kept open
19293 # by configure, so config.status won't be able to write to it; its
19294 # output is simply discarded. So we exec the FD to /dev/null,
19295 # effectively closing config.log, so it can be properly (re)opened and
19296 # appended to by config.status. When coming back to configure, we
19297 # need to make the FD available again.
19298 if test "$no_create" != yes; then
19299 ac_cs_success=:
19300 ac_config_status_args=
19301 test "$silent" = yes &&
19302 ac_config_status_args="$ac_config_status_args --quiet"
19303 exec 5>/dev/null
19304 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19305 exec 5>>config.log
19306 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19307 # would make configure fail if this is the last instruction.
19308 $ac_cs_success || as_fn_exit 1
19310 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19312 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19316 if test "$no_create" = "yes"
19317 then
19318 exit 0
19321 ac_save_IFS="$IFS"
19322 if test "x$wine_notices != "x; then
19323 echo >&6
19324 IFS="|"
19325 for msg in $wine_notices; do
19326 IFS="$ac_save_IFS"
19327 if ${msg:+false} :; then :
19329 else
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19331 $as_echo "$as_me: $msg" >&6;}
19333 done
19335 IFS="|"
19336 for msg in $wine_warnings; do
19337 IFS="$ac_save_IFS"
19338 if ${msg:+false} :; then :
19340 else
19341 echo >&2
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19343 $as_echo "$as_me: WARNING: $msg" >&2;}
19345 done
19346 IFS="$ac_save_IFS"
19348 $as_echo "
19349 $as_me: Finished. Do '${ac_make}' to compile Wine.
19350 " >&6