wscript: Added IHost::Echo implementation.
[wine.git] / configure
blob04312096084f71fe5dc0c09701ea2ff66225b1c9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.35.
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.35'
584 PACKAGE_STRING='Wine 1.7.35'
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_credui
946 enable_crtdll
947 enable_crypt32
948 enable_cryptdlg
949 enable_cryptdll
950 enable_cryptext
951 enable_cryptnet
952 enable_cryptui
953 enable_ctapi32
954 enable_ctl3d32
955 enable_d2d1
956 enable_d3d10
957 enable_d3d10_1
958 enable_d3d10core
959 enable_d3d11
960 enable_d3d8
961 enable_d3d9
962 enable_d3dcompiler_33
963 enable_d3dcompiler_34
964 enable_d3dcompiler_35
965 enable_d3dcompiler_36
966 enable_d3dcompiler_37
967 enable_d3dcompiler_38
968 enable_d3dcompiler_39
969 enable_d3dcompiler_40
970 enable_d3dcompiler_41
971 enable_d3dcompiler_42
972 enable_d3dcompiler_43
973 enable_d3dim
974 enable_d3drm
975 enable_d3dx10_33
976 enable_d3dx10_34
977 enable_d3dx10_35
978 enable_d3dx10_36
979 enable_d3dx10_37
980 enable_d3dx10_38
981 enable_d3dx10_39
982 enable_d3dx10_40
983 enable_d3dx10_41
984 enable_d3dx10_42
985 enable_d3dx10_43
986 enable_d3dx11_42
987 enable_d3dx11_43
988 enable_d3dx9_24
989 enable_d3dx9_25
990 enable_d3dx9_26
991 enable_d3dx9_27
992 enable_d3dx9_28
993 enable_d3dx9_29
994 enable_d3dx9_30
995 enable_d3dx9_31
996 enable_d3dx9_32
997 enable_d3dx9_33
998 enable_d3dx9_34
999 enable_d3dx9_35
1000 enable_d3dx9_36
1001 enable_d3dx9_37
1002 enable_d3dx9_38
1003 enable_d3dx9_39
1004 enable_d3dx9_40
1005 enable_d3dx9_41
1006 enable_d3dx9_42
1007 enable_d3dx9_43
1008 enable_d3dxof
1009 enable_dbgeng
1010 enable_dbghelp
1011 enable_dciman32
1012 enable_ddraw
1013 enable_ddrawex
1014 enable_devenum
1015 enable_dhcpcsvc
1016 enable_difxapi
1017 enable_dinput
1018 enable_dinput8
1019 enable_dispex
1020 enable_dmband
1021 enable_dmcompos
1022 enable_dmime
1023 enable_dmloader
1024 enable_dmscript
1025 enable_dmstyle
1026 enable_dmsynth
1027 enable_dmusic
1028 enable_dmusic32
1029 enable_dnsapi
1030 enable_dplay
1031 enable_dplayx
1032 enable_dpnaddr
1033 enable_dpnet
1034 enable_dpnhpast
1035 enable_dpnlobby
1036 enable_dpvoice
1037 enable_dpwsockx
1038 enable_drmclien
1039 enable_dsound
1040 enable_dssenh
1041 enable_dswave
1042 enable_dwmapi
1043 enable_dwrite
1044 enable_dxdiagn
1045 enable_dxgi
1046 enable_dxva2
1047 enable_explorerframe
1048 enable_ext_ms_win_gdi_devcaps_l1_1_0
1049 enable_faultrep
1050 enable_fltlib
1051 enable_fntcache
1052 enable_fontsub
1053 enable_fusion
1054 enable_fwpuclnt
1055 enable_gameux
1056 enable_gdi32
1057 enable_gdiplus
1058 enable_glu32
1059 enable_gphoto2_ds
1060 enable_gpkcsp
1061 enable_hal
1062 enable_hhctrl_ocx
1063 enable_hid
1064 enable_hlink
1065 enable_hnetcfg
1066 enable_httpapi
1067 enable_iccvid
1068 enable_icmp
1069 enable_ieframe
1070 enable_imaadp32_acm
1071 enable_imagehlp
1072 enable_imm32
1073 enable_inetcomm
1074 enable_inetcpl_cpl
1075 enable_inetmib1
1076 enable_infosoft
1077 enable_initpki
1078 enable_inkobj
1079 enable_inseng
1080 enable_iphlpapi
1081 enable_itircl
1082 enable_itss
1083 enable_joy_cpl
1084 enable_jscript
1085 enable_jsproxy
1086 enable_kernel32
1087 enable_ksuser
1088 enable_ktmw32
1089 enable_loadperf
1090 enable_localspl
1091 enable_localui
1092 enable_lz32
1093 enable_mapi32
1094 enable_mapistub
1095 enable_mciavi32
1096 enable_mcicda
1097 enable_mciqtz32
1098 enable_mciseq
1099 enable_mciwave
1100 enable_mfplat
1101 enable_mfreadwrite
1102 enable_mgmtapi
1103 enable_midimap
1104 enable_mlang
1105 enable_mmcndmgr
1106 enable_mmdevapi
1107 enable_mountmgr_sys
1108 enable_mpr
1109 enable_mprapi
1110 enable_msacm32_drv
1111 enable_msacm32
1112 enable_msadp32_acm
1113 enable_msasn1
1114 enable_mscat32
1115 enable_mscms
1116 enable_mscoree
1117 enable_msctf
1118 enable_msdaps
1119 enable_msdmo
1120 enable_msftedit
1121 enable_msg711_acm
1122 enable_msgsm32_acm
1123 enable_mshtml_tlb
1124 enable_mshtml
1125 enable_msi
1126 enable_msident
1127 enable_msimg32
1128 enable_msimsg
1129 enable_msimtf
1130 enable_msisip
1131 enable_msisys_ocx
1132 enable_msls31
1133 enable_msnet32
1134 enable_mspatcha
1135 enable_msrle32
1136 enable_mssign32
1137 enable_mssip32
1138 enable_mstask
1139 enable_msvcirt
1140 enable_msvcm80
1141 enable_msvcm90
1142 enable_msvcp100
1143 enable_msvcp110
1144 enable_msvcp120
1145 enable_msvcp120_app
1146 enable_msvcp60
1147 enable_msvcp70
1148 enable_msvcp71
1149 enable_msvcp80
1150 enable_msvcp90
1151 enable_msvcr100
1152 enable_msvcr110
1153 enable_msvcr120
1154 enable_msvcr120_app
1155 enable_msvcr70
1156 enable_msvcr71
1157 enable_msvcr80
1158 enable_msvcr90
1159 enable_msvcrt
1160 enable_msvcrt20
1161 enable_msvcrt40
1162 enable_msvcrtd
1163 enable_msvfw32
1164 enable_msvidc32
1165 enable_mswsock
1166 enable_msxml
1167 enable_msxml2
1168 enable_msxml3
1169 enable_msxml4
1170 enable_msxml6
1171 enable_nddeapi
1172 enable_ndis_sys
1173 enable_netapi32
1174 enable_netcfgx
1175 enable_netprofm
1176 enable_newdev
1177 enable_normaliz
1178 enable_npmshtml
1179 enable_npptools
1180 enable_ntdll
1181 enable_ntdsapi
1182 enable_ntoskrnl_exe
1183 enable_ntprint
1184 enable_objsel
1185 enable_odbc32
1186 enable_odbccp32
1187 enable_odbccu32
1188 enable_ole32
1189 enable_oleacc
1190 enable_oleaut32
1191 enable_olecli32
1192 enable_oledb32
1193 enable_oledlg
1194 enable_olepro32
1195 enable_olesvr32
1196 enable_olethk32
1197 enable_openal32
1198 enable_opencl
1199 enable_opengl32
1200 enable_packager
1201 enable_pdh
1202 enable_photometadatahandler
1203 enable_pidgen
1204 enable_powrprof
1205 enable_printui
1206 enable_prntvpt
1207 enable_propsys
1208 enable_psapi
1209 enable_pstorec
1210 enable_qcap
1211 enable_qedit
1212 enable_qmgr
1213 enable_qmgrprxy
1214 enable_quartz
1215 enable_query
1216 enable_rasapi32
1217 enable_rasdlg
1218 enable_regapi
1219 enable_resutils
1220 enable_riched20
1221 enable_riched32
1222 enable_rpcrt4
1223 enable_rsabase
1224 enable_rsaenh
1225 enable_rstrtmgr
1226 enable_rtutils
1227 enable_samlib
1228 enable_sane_ds
1229 enable_scarddlg
1230 enable_sccbase
1231 enable_schannel
1232 enable_schedsvc
1233 enable_scrrun
1234 enable_scsiport_sys
1235 enable_secur32
1236 enable_security
1237 enable_sensapi
1238 enable_serialui
1239 enable_setupapi
1240 enable_sfc
1241 enable_sfc_os
1242 enable_shdoclc
1243 enable_shdocvw
1244 enable_shell32
1245 enable_shfolder
1246 enable_shlwapi
1247 enable_slbcsp
1248 enable_slc
1249 enable_snmpapi
1250 enable_softpub
1251 enable_spoolss
1252 enable_stdole2_tlb
1253 enable_stdole32_tlb
1254 enable_sti
1255 enable_svrapi
1256 enable_sxs
1257 enable_t2embed
1258 enable_tapi32
1259 enable_taskschd
1260 enable_traffic
1261 enable_twain_32
1262 enable_unicows
1263 enable_updspapi
1264 enable_url
1265 enable_urlmon
1266 enable_usbd_sys
1267 enable_user32
1268 enable_userenv
1269 enable_usp10
1270 enable_uxtheme
1271 enable_vbscript
1272 enable_vcomp
1273 enable_vcomp100
1274 enable_vcomp90
1275 enable_vdmdbg
1276 enable_version
1277 enable_vssapi
1278 enable_wbemdisp
1279 enable_wbemprox
1280 enable_webservices
1281 enable_wer
1282 enable_wevtapi
1283 enable_wiaservc
1284 enable_windowscodecs
1285 enable_windowscodecsext
1286 enable_winealsa_drv
1287 enable_winecoreaudio_drv
1288 enable_wined3d
1289 enable_winegstreamer
1290 enable_winejoystick_drv
1291 enable_winemac_drv
1292 enable_winemapi
1293 enable_winemp3_acm
1294 enable_wineoss_drv
1295 enable_wineps_drv
1296 enable_wineqtdecoder
1297 enable_winex11_drv
1298 enable_wing32
1299 enable_winhttp
1300 enable_wininet
1301 enable_winmm
1302 enable_winnls32
1303 enable_winscard
1304 enable_winspool_drv
1305 enable_winsta
1306 enable_wintab32
1307 enable_wintrust
1308 enable_wlanapi
1309 enable_wldap32
1310 enable_wmi
1311 enable_wmiutils
1312 enable_wmp
1313 enable_wmvcore
1314 enable_wnaspi32
1315 enable_wpcap
1316 enable_ws2_32
1317 enable_wshom_ocx
1318 enable_wsnmp32
1319 enable_wsock32
1320 enable_wtsapi32
1321 enable_wuapi
1322 enable_wuaueng
1323 enable_x3daudio1_7
1324 enable_xapofx1_1
1325 enable_xaudio2_7
1326 enable_xinput1_1
1327 enable_xinput1_2
1328 enable_xinput1_3
1329 enable_xinput1_4
1330 enable_xinput9_1_0
1331 enable_xmllite
1332 enable_xolehlp
1333 enable_xpsprint
1334 enable_xpssvcs
1335 enable_documentation
1336 enable_fonts
1337 enable_include
1338 enable_libs_port
1339 enable_libs_wine
1340 enable_libs_wpp
1341 enable_loader
1342 enable_arp
1343 enable_aspnet_regiis
1344 enable_attrib
1345 enable_cabarc
1346 enable_cacls
1347 enable_clock
1348 enable_cmd
1349 enable_conhost
1350 enable_control
1351 enable_cscript
1352 enable_dpnsvr
1353 enable_dxdiag
1354 enable_eject
1355 enable_expand
1356 enable_explorer
1357 enable_extrac32
1358 enable_findstr
1359 enable_hh
1360 enable_hostname
1361 enable_icinfo
1362 enable_iexplore
1363 enable_ipconfig
1364 enable_lodctr
1365 enable_mofcomp
1366 enable_mshta
1367 enable_msiexec
1368 enable_net
1369 enable_netsh
1370 enable_netstat
1371 enable_ngen
1372 enable_notepad
1373 enable_oleview
1374 enable_ping
1375 enable_plugplay
1376 enable_presentationfontcache
1377 enable_progman
1378 enable_reg
1379 enable_regasm
1380 enable_regedit
1381 enable_regsvcs
1382 enable_regsvr32
1383 enable_rpcss
1384 enable_rundll32
1385 enable_sc
1386 enable_schtasks
1387 enable_sdbinst
1388 enable_secedit
1389 enable_servicemodelreg
1390 enable_services
1391 enable_spoolsv
1392 enable_start
1393 enable_svchost
1394 enable_systeminfo
1395 enable_taskkill
1396 enable_tasklist
1397 enable_taskmgr
1398 enable_termsv
1399 enable_uninstaller
1400 enable_unlodctr
1401 enable_view
1402 enable_wevtutil
1403 enable_wineboot
1404 enable_winebrowser
1405 enable_winecfg
1406 enable_wineconsole
1407 enable_winedbg
1408 enable_winedevice
1409 enable_winefile
1410 enable_winemenubuilder
1411 enable_winemine
1412 enable_winemsibuilder
1413 enable_winepath
1414 enable_winetest
1415 enable_winhlp32
1416 enable_winver
1417 enable_wmic
1418 enable_wordpad
1419 enable_write
1420 enable_wscript
1421 enable_wusa
1422 enable_xcopy
1423 enable_server
1424 enable_tools
1426 ac_precious_vars='build_alias
1427 host_alias
1428 target_alias
1430 CFLAGS
1431 LDFLAGS
1432 LIBS
1433 CPPFLAGS
1435 CXXFLAGS
1438 XMKMF
1439 XML2_CFLAGS
1440 XML2_LIBS
1441 XSLT_CFLAGS
1442 XSLT_LIBS
1443 DBUS_CFLAGS
1444 DBUS_LIBS
1445 HAL_CFLAGS
1446 HAL_LIBS
1447 GNUTLS_CFLAGS
1448 GNUTLS_LIBS
1449 SANE_CFLAGS
1450 SANE_LIBS
1451 GPHOTO2_CFLAGS
1452 GPHOTO2_LIBS
1453 GPHOTO2_PORT_CFLAGS
1454 GPHOTO2_PORT_LIBS
1455 LCMS2_CFLAGS
1456 LCMS2_LIBS
1457 FREETYPE_CFLAGS
1458 FREETYPE_LIBS
1459 GSTREAMER_CFLAGS
1460 GSTREAMER_LIBS
1461 CAPI20_CFLAGS
1462 CAPI20_LIBS
1463 FONTCONFIG_CFLAGS
1464 FONTCONFIG_LIBS
1465 JPEG_CFLAGS
1466 JPEG_LIBS
1467 PNG_CFLAGS
1468 PNG_LIBS
1469 TIFF_CFLAGS
1470 TIFF_LIBS
1471 MPG123_CFLAGS
1472 MPG123_LIBS'
1475 # Initialize some variables set by options.
1476 ac_init_help=
1477 ac_init_version=false
1478 ac_unrecognized_opts=
1479 ac_unrecognized_sep=
1480 # The variables have the same names as the options, with
1481 # dashes changed to underlines.
1482 cache_file=/dev/null
1483 exec_prefix=NONE
1484 no_create=
1485 no_recursion=
1486 prefix=NONE
1487 program_prefix=NONE
1488 program_suffix=NONE
1489 program_transform_name=s,x,x,
1490 silent=
1491 site=
1492 srcdir=
1493 verbose=
1494 x_includes=NONE
1495 x_libraries=NONE
1497 # Installation directory options.
1498 # These are left unexpanded so users can "make install exec_prefix=/foo"
1499 # and all the variables that are supposed to be based on exec_prefix
1500 # by default will actually change.
1501 # Use braces instead of parens because sh, perl, etc. also accept them.
1502 # (The list follows the same order as the GNU Coding Standards.)
1503 bindir='${exec_prefix}/bin'
1504 sbindir='${exec_prefix}/sbin'
1505 libexecdir='${exec_prefix}/libexec'
1506 datarootdir='${prefix}/share'
1507 datadir='${datarootdir}'
1508 sysconfdir='${prefix}/etc'
1509 sharedstatedir='${prefix}/com'
1510 localstatedir='${prefix}/var'
1511 includedir='${prefix}/include'
1512 oldincludedir='/usr/include'
1513 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1514 infodir='${datarootdir}/info'
1515 htmldir='${docdir}'
1516 dvidir='${docdir}'
1517 pdfdir='${docdir}'
1518 psdir='${docdir}'
1519 libdir='${exec_prefix}/lib'
1520 localedir='${datarootdir}/locale'
1521 mandir='${datarootdir}/man'
1523 ac_prev=
1524 ac_dashdash=
1525 for ac_option
1527 # If the previous option needs an argument, assign it.
1528 if test -n "$ac_prev"; then
1529 eval $ac_prev=\$ac_option
1530 ac_prev=
1531 continue
1534 case $ac_option in
1535 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1536 *=) ac_optarg= ;;
1537 *) ac_optarg=yes ;;
1538 esac
1540 # Accept the important Cygnus configure options, so we can diagnose typos.
1542 case $ac_dashdash$ac_option in
1544 ac_dashdash=yes ;;
1546 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1547 ac_prev=bindir ;;
1548 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1549 bindir=$ac_optarg ;;
1551 -build | --build | --buil | --bui | --bu)
1552 ac_prev=build_alias ;;
1553 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1554 build_alias=$ac_optarg ;;
1556 -cache-file | --cache-file | --cache-fil | --cache-fi \
1557 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1558 ac_prev=cache_file ;;
1559 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1560 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1561 cache_file=$ac_optarg ;;
1563 --config-cache | -C)
1564 cache_file=config.cache ;;
1566 -datadir | --datadir | --datadi | --datad)
1567 ac_prev=datadir ;;
1568 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1569 datadir=$ac_optarg ;;
1571 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1572 | --dataroo | --dataro | --datar)
1573 ac_prev=datarootdir ;;
1574 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1575 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1576 datarootdir=$ac_optarg ;;
1578 -disable-* | --disable-*)
1579 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1580 # Reject names that are not valid shell variable names.
1581 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1582 as_fn_error $? "invalid feature name: $ac_useropt"
1583 ac_useropt_orig=$ac_useropt
1584 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1585 case $ac_user_opts in
1587 "enable_$ac_useropt"
1588 "*) ;;
1589 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1590 ac_unrecognized_sep=', ';;
1591 esac
1592 eval enable_$ac_useropt=no ;;
1594 -docdir | --docdir | --docdi | --doc | --do)
1595 ac_prev=docdir ;;
1596 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1597 docdir=$ac_optarg ;;
1599 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1600 ac_prev=dvidir ;;
1601 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1602 dvidir=$ac_optarg ;;
1604 -enable-* | --enable-*)
1605 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1606 # Reject names that are not valid shell variable names.
1607 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1608 as_fn_error $? "invalid feature name: $ac_useropt"
1609 ac_useropt_orig=$ac_useropt
1610 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1611 case $ac_user_opts in
1613 "enable_$ac_useropt"
1614 "*) ;;
1615 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1616 ac_unrecognized_sep=', ';;
1617 esac
1618 eval enable_$ac_useropt=\$ac_optarg ;;
1620 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1621 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1622 | --exec | --exe | --ex)
1623 ac_prev=exec_prefix ;;
1624 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1625 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1626 | --exec=* | --exe=* | --ex=*)
1627 exec_prefix=$ac_optarg ;;
1629 -gas | --gas | --ga | --g)
1630 # Obsolete; use --with-gas.
1631 with_gas=yes ;;
1633 -help | --help | --hel | --he | -h)
1634 ac_init_help=long ;;
1635 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1636 ac_init_help=recursive ;;
1637 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1638 ac_init_help=short ;;
1640 -host | --host | --hos | --ho)
1641 ac_prev=host_alias ;;
1642 -host=* | --host=* | --hos=* | --ho=*)
1643 host_alias=$ac_optarg ;;
1645 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1646 ac_prev=htmldir ;;
1647 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1648 | --ht=*)
1649 htmldir=$ac_optarg ;;
1651 -includedir | --includedir | --includedi | --included | --include \
1652 | --includ | --inclu | --incl | --inc)
1653 ac_prev=includedir ;;
1654 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1655 | --includ=* | --inclu=* | --incl=* | --inc=*)
1656 includedir=$ac_optarg ;;
1658 -infodir | --infodir | --infodi | --infod | --info | --inf)
1659 ac_prev=infodir ;;
1660 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1661 infodir=$ac_optarg ;;
1663 -libdir | --libdir | --libdi | --libd)
1664 ac_prev=libdir ;;
1665 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1666 libdir=$ac_optarg ;;
1668 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1669 | --libexe | --libex | --libe)
1670 ac_prev=libexecdir ;;
1671 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1672 | --libexe=* | --libex=* | --libe=*)
1673 libexecdir=$ac_optarg ;;
1675 -localedir | --localedir | --localedi | --localed | --locale)
1676 ac_prev=localedir ;;
1677 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1678 localedir=$ac_optarg ;;
1680 -localstatedir | --localstatedir | --localstatedi | --localstated \
1681 | --localstate | --localstat | --localsta | --localst | --locals)
1682 ac_prev=localstatedir ;;
1683 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1684 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1685 localstatedir=$ac_optarg ;;
1687 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1688 ac_prev=mandir ;;
1689 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1690 mandir=$ac_optarg ;;
1692 -nfp | --nfp | --nf)
1693 # Obsolete; use --without-fp.
1694 with_fp=no ;;
1696 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1697 | --no-cr | --no-c | -n)
1698 no_create=yes ;;
1700 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1701 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1702 no_recursion=yes ;;
1704 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1705 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1706 | --oldin | --oldi | --old | --ol | --o)
1707 ac_prev=oldincludedir ;;
1708 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1709 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1710 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1711 oldincludedir=$ac_optarg ;;
1713 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1714 ac_prev=prefix ;;
1715 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1716 prefix=$ac_optarg ;;
1718 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1719 | --program-pre | --program-pr | --program-p)
1720 ac_prev=program_prefix ;;
1721 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1722 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1723 program_prefix=$ac_optarg ;;
1725 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1726 | --program-suf | --program-su | --program-s)
1727 ac_prev=program_suffix ;;
1728 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1729 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1730 program_suffix=$ac_optarg ;;
1732 -program-transform-name | --program-transform-name \
1733 | --program-transform-nam | --program-transform-na \
1734 | --program-transform-n | --program-transform- \
1735 | --program-transform | --program-transfor \
1736 | --program-transfo | --program-transf \
1737 | --program-trans | --program-tran \
1738 | --progr-tra | --program-tr | --program-t)
1739 ac_prev=program_transform_name ;;
1740 -program-transform-name=* | --program-transform-name=* \
1741 | --program-transform-nam=* | --program-transform-na=* \
1742 | --program-transform-n=* | --program-transform-=* \
1743 | --program-transform=* | --program-transfor=* \
1744 | --program-transfo=* | --program-transf=* \
1745 | --program-trans=* | --program-tran=* \
1746 | --progr-tra=* | --program-tr=* | --program-t=*)
1747 program_transform_name=$ac_optarg ;;
1749 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1750 ac_prev=pdfdir ;;
1751 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1752 pdfdir=$ac_optarg ;;
1754 -psdir | --psdir | --psdi | --psd | --ps)
1755 ac_prev=psdir ;;
1756 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1757 psdir=$ac_optarg ;;
1759 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1760 | -silent | --silent | --silen | --sile | --sil)
1761 silent=yes ;;
1763 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1764 ac_prev=sbindir ;;
1765 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1766 | --sbi=* | --sb=*)
1767 sbindir=$ac_optarg ;;
1769 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1770 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1771 | --sharedst | --shareds | --shared | --share | --shar \
1772 | --sha | --sh)
1773 ac_prev=sharedstatedir ;;
1774 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1775 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1776 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1777 | --sha=* | --sh=*)
1778 sharedstatedir=$ac_optarg ;;
1780 -site | --site | --sit)
1781 ac_prev=site ;;
1782 -site=* | --site=* | --sit=*)
1783 site=$ac_optarg ;;
1785 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1786 ac_prev=srcdir ;;
1787 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1788 srcdir=$ac_optarg ;;
1790 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1791 | --syscon | --sysco | --sysc | --sys | --sy)
1792 ac_prev=sysconfdir ;;
1793 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1794 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1795 sysconfdir=$ac_optarg ;;
1797 -target | --target | --targe | --targ | --tar | --ta | --t)
1798 ac_prev=target_alias ;;
1799 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1800 target_alias=$ac_optarg ;;
1802 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1803 verbose=yes ;;
1805 -version | --version | --versio | --versi | --vers | -V)
1806 ac_init_version=: ;;
1808 -with-* | --with-*)
1809 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1810 # Reject names that are not valid shell variable names.
1811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1812 as_fn_error $? "invalid package name: $ac_useropt"
1813 ac_useropt_orig=$ac_useropt
1814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1815 case $ac_user_opts in
1817 "with_$ac_useropt"
1818 "*) ;;
1819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1820 ac_unrecognized_sep=', ';;
1821 esac
1822 eval with_$ac_useropt=\$ac_optarg ;;
1824 -without-* | --without-*)
1825 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1826 # Reject names that are not valid shell variable names.
1827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1828 as_fn_error $? "invalid package name: $ac_useropt"
1829 ac_useropt_orig=$ac_useropt
1830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1831 case $ac_user_opts in
1833 "with_$ac_useropt"
1834 "*) ;;
1835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1836 ac_unrecognized_sep=', ';;
1837 esac
1838 eval with_$ac_useropt=no ;;
1840 --x)
1841 # Obsolete; use --with-x.
1842 with_x=yes ;;
1844 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1845 | --x-incl | --x-inc | --x-in | --x-i)
1846 ac_prev=x_includes ;;
1847 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1848 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1849 x_includes=$ac_optarg ;;
1851 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1852 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1853 ac_prev=x_libraries ;;
1854 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1855 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1856 x_libraries=$ac_optarg ;;
1858 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1859 Try \`$0 --help' for more information"
1862 *=*)
1863 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1864 # Reject names that are not valid shell variable names.
1865 case $ac_envvar in #(
1866 '' | [0-9]* | *[!_$as_cr_alnum]* )
1867 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1868 esac
1869 eval $ac_envvar=\$ac_optarg
1870 export $ac_envvar ;;
1873 # FIXME: should be removed in autoconf 3.0.
1874 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1875 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1876 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1877 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1880 esac
1881 done
1883 if test -n "$ac_prev"; then
1884 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1885 as_fn_error $? "missing argument to $ac_option"
1888 if test -n "$ac_unrecognized_opts"; then
1889 case $enable_option_checking in
1890 no) ;;
1891 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1892 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1893 esac
1896 # Check all directory arguments for consistency.
1897 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1898 datadir sysconfdir sharedstatedir localstatedir includedir \
1899 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1900 libdir localedir mandir
1902 eval ac_val=\$$ac_var
1903 # Remove trailing slashes.
1904 case $ac_val in
1905 */ )
1906 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1907 eval $ac_var=\$ac_val;;
1908 esac
1909 # Be sure to have absolute directory names.
1910 case $ac_val in
1911 [\\/$]* | ?:[\\/]* ) continue;;
1912 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1913 esac
1914 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1915 done
1917 # There might be people who depend on the old broken behavior: `$host'
1918 # used to hold the argument of --host etc.
1919 # FIXME: To remove some day.
1920 build=$build_alias
1921 host=$host_alias
1922 target=$target_alias
1924 # FIXME: To remove some day.
1925 if test "x$host_alias" != x; then
1926 if test "x$build_alias" = x; then
1927 cross_compiling=maybe
1928 elif test "x$build_alias" != "x$host_alias"; then
1929 cross_compiling=yes
1933 ac_tool_prefix=
1934 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1936 test "$silent" = yes && exec 6>/dev/null
1939 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1940 ac_ls_di=`ls -di .` &&
1941 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1942 as_fn_error $? "working directory cannot be determined"
1943 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1944 as_fn_error $? "pwd does not report name of working directory"
1947 # Find the source files, if location was not specified.
1948 if test -z "$srcdir"; then
1949 ac_srcdir_defaulted=yes
1950 # Try the directory containing this script, then the parent directory.
1951 ac_confdir=`$as_dirname -- "$as_myself" ||
1952 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1953 X"$as_myself" : 'X\(//\)[^/]' \| \
1954 X"$as_myself" : 'X\(//\)$' \| \
1955 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1956 $as_echo X"$as_myself" |
1957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1958 s//\1/
1961 /^X\(\/\/\)[^/].*/{
1962 s//\1/
1965 /^X\(\/\/\)$/{
1966 s//\1/
1969 /^X\(\/\).*/{
1970 s//\1/
1973 s/.*/./; q'`
1974 srcdir=$ac_confdir
1975 if test ! -r "$srcdir/$ac_unique_file"; then
1976 srcdir=..
1978 else
1979 ac_srcdir_defaulted=no
1981 if test ! -r "$srcdir/$ac_unique_file"; then
1982 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1983 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1985 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1986 ac_abs_confdir=`(
1987 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1988 pwd)`
1989 # When building in place, set srcdir=.
1990 if test "$ac_abs_confdir" = "$ac_pwd"; then
1991 srcdir=.
1993 # Remove unnecessary trailing slashes from srcdir.
1994 # Double slashes in file names in object file debugging info
1995 # mess up M-x gdb in Emacs.
1996 case $srcdir in
1997 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1998 esac
1999 for ac_var in $ac_precious_vars; do
2000 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2001 eval ac_env_${ac_var}_value=\$${ac_var}
2002 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2003 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2004 done
2007 # Report the --help message.
2009 if test "$ac_init_help" = "long"; then
2010 # Omit some internal or obsolete options to make the list less imposing.
2011 # This message is too long to be a string in the A/UX 3.1 sh.
2012 cat <<_ACEOF
2013 \`configure' configures Wine 1.7.35 to adapt to many kinds of systems.
2015 Usage: $0 [OPTION]... [VAR=VALUE]...
2017 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2018 VAR=VALUE. See below for descriptions of some of the useful variables.
2020 Defaults for the options are specified in brackets.
2022 Configuration:
2023 -h, --help display this help and exit
2024 --help=short display options specific to this package
2025 --help=recursive display the short help of all the included packages
2026 -V, --version display version information and exit
2027 -q, --quiet, --silent do not print \`checking ...' messages
2028 --cache-file=FILE cache test results in FILE [disabled]
2029 -C, --config-cache alias for \`--cache-file=config.cache'
2030 -n, --no-create do not create output files
2031 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2033 Installation directories:
2034 --prefix=PREFIX install architecture-independent files in PREFIX
2035 [$ac_default_prefix]
2036 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2037 [PREFIX]
2039 By default, \`make install' will install all the files in
2040 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2041 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2042 for instance \`--prefix=\$HOME'.
2044 For better control, use the options below.
2046 Fine tuning of the installation directories:
2047 --bindir=DIR user executables [EPREFIX/bin]
2048 --sbindir=DIR system admin executables [EPREFIX/sbin]
2049 --libexecdir=DIR program executables [EPREFIX/libexec]
2050 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2051 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2052 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2053 --libdir=DIR object code libraries [EPREFIX/lib]
2054 --includedir=DIR C header files [PREFIX/include]
2055 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2056 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2057 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2058 --infodir=DIR info documentation [DATAROOTDIR/info]
2059 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2060 --mandir=DIR man documentation [DATAROOTDIR/man]
2061 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2062 --htmldir=DIR html documentation [DOCDIR]
2063 --dvidir=DIR dvi documentation [DOCDIR]
2064 --pdfdir=DIR pdf documentation [DOCDIR]
2065 --psdir=DIR ps documentation [DOCDIR]
2066 _ACEOF
2068 cat <<\_ACEOF
2070 X features:
2071 --x-includes=DIR X include files are in DIR
2072 --x-libraries=DIR X library files are in DIR
2074 System types:
2075 --build=BUILD configure for building on BUILD [guessed]
2076 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2077 _ACEOF
2080 if test -n "$ac_init_help"; then
2081 case $ac_init_help in
2082 short | recursive ) echo "Configuration of Wine 1.7.35:";;
2083 esac
2084 cat <<\_ACEOF
2086 Optional Features:
2087 --disable-option-checking ignore unrecognized --enable/--with options
2088 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2089 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2090 --disable-win16 do not include Win16 support
2091 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2092 binaries)
2093 --disable-tests do not build the regression tests
2094 --enable-maintainer-mode
2095 enable maintainer-specific build rules
2096 --disable-largefile omit support for large files
2098 Optional Packages:
2099 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2100 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2101 --without-alsa do not use the Alsa sound support
2102 --without-capi do not use CAPI (ISDN support)
2103 --without-cms do not use CMS (color management support)
2104 --without-coreaudio do not use the CoreAudio sound support
2105 --without-cups do not use CUPS
2106 --without-curses do not use (n)curses
2107 --without-dbus do not use DBus (dynamic device support)
2108 --without-fontconfig do not use fontconfig
2109 --without-freetype do not use the FreeType library
2110 --without-gettext do not use gettext
2111 --with-gettextpo use the GetTextPO library to rebuild po files
2112 --without-gphoto do not use gphoto (Digital Camera support)
2113 --without-glu do not use the GLU library
2114 --without-gnutls do not use GnuTLS (schannel support)
2115 --without-gsm do not use libgsm (GSM 06.10 codec support)
2116 --without-gstreamer do not use GStreamer (codecs support)
2117 --without-hal do not use HAL (dynamic device support)
2118 --without-jpeg do not use JPEG
2119 --without-ldap do not use LDAP
2120 --without-mpg123 do not use the mpg123 library
2121 --without-netapi do not use the Samba NetAPI library
2122 --without-openal do not use OpenAL
2123 --without-opencl do not use OpenCL
2124 --without-opengl do not use OpenGL
2125 --without-osmesa do not use the OSMesa library
2126 --without-oss do not use the OSS sound support
2127 --without-pcap do not use the Packet Capture library
2128 --without-png do not use PNG
2129 --without-pthread do not use the pthread library
2130 --without-sane do not use SANE (scanner support)
2131 --without-tiff do not use TIFF
2132 --without-v4l do not use v4l1 (v4l support)
2133 --without-xcomposite do not use the Xcomposite extension
2134 --without-xcursor do not use the Xcursor extension
2135 --without-xinerama do not use Xinerama (multi-monitor support)
2136 --without-xinput do not use the Xinput extension
2137 --without-xinput2 do not use the Xinput 2 extension
2138 --without-xml do not use XML
2139 --without-xrandr do not use Xrandr (resolution changes)
2140 --without-xrender do not use the Xrender extension
2141 --without-xshape do not use the Xshape extension
2142 --without-xshm do not use XShm (shared memory extension)
2143 --without-xslt do not use XSLT
2144 --without-xxf86vm do not use XFree video mode extension
2145 --without-zlib do not use Zlib (data compression)
2146 --with-wine-tools=DIR use Wine tools from directory DIR
2147 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2148 --with-x use the X Window System
2150 Some influential environment variables:
2151 CC C compiler command
2152 CFLAGS C compiler flags
2153 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2154 nonstandard directory <lib dir>
2155 LIBS libraries to pass to the linker, e.g. -l<library>
2156 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2157 you have headers in a nonstandard directory <include dir>
2158 CXX C++ compiler command
2159 CXXFLAGS C++ compiler flags
2160 CPP C preprocessor
2161 XMKMF Path to xmkmf, Makefile generator for X Window System
2162 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2163 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2164 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2165 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2166 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2167 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2168 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2169 HAL_LIBS Linker flags for hal, overriding pkg-config
2170 GNUTLS_CFLAGS
2171 C compiler flags for gnutls, overriding pkg-config
2172 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2173 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2174 SANE_LIBS Linker flags for libsane, overriding pkg-config
2175 GPHOTO2_CFLAGS
2176 C compiler flags for libgphoto2, overriding pkg-config
2177 GPHOTO2_LIBS
2178 Linker flags for libgphoto2, overriding pkg-config
2179 GPHOTO2_PORT_CFLAGS
2180 C compiler flags for libgphoto2_port, overriding pkg-config
2181 GPHOTO2_PORT_LIBS
2182 Linker flags for libgphoto2_port, overriding pkg-config
2183 LCMS2_CFLAGS
2184 C compiler flags for lcms2, overriding pkg-config
2185 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2186 FREETYPE_CFLAGS
2187 C compiler flags for freetype2, overriding pkg-config
2188 FREETYPE_LIBS
2189 Linker flags for freetype2, overriding pkg-config
2190 GSTREAMER_CFLAGS
2191 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2192 GSTREAMER_LIBS
2193 Linker flags for gstreamer-app-0.10, overriding pkg-config
2194 CAPI20_CFLAGS
2195 C compiler flags for capi20, overriding pkg-config
2196 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2197 FONTCONFIG_CFLAGS
2198 C compiler flags for fontconfig, overriding pkg-config
2199 FONTCONFIG_LIBS
2200 Linker flags for fontconfig, overriding pkg-config
2201 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2202 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2203 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2204 PNG_LIBS Linker flags for libpng, overriding pkg-config
2205 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2206 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2207 MPG123_CFLAGS
2208 C compiler flags for libmpg123, overriding pkg-config
2209 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2211 Use these variables to override the choices made by `configure' or to help
2212 it to find libraries and programs with nonstandard names/locations.
2214 Report bugs to <wine-devel@winehq.org>.
2215 Wine home page: <http://www.winehq.org>.
2216 _ACEOF
2217 ac_status=$?
2220 if test "$ac_init_help" = "recursive"; then
2221 # If there are subdirs, report their specific --help.
2222 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2223 test -d "$ac_dir" ||
2224 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2225 continue
2226 ac_builddir=.
2228 case "$ac_dir" in
2229 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2231 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2232 # A ".." for each directory in $ac_dir_suffix.
2233 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2234 case $ac_top_builddir_sub in
2235 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2236 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2237 esac ;;
2238 esac
2239 ac_abs_top_builddir=$ac_pwd
2240 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2241 # for backward compatibility:
2242 ac_top_builddir=$ac_top_build_prefix
2244 case $srcdir in
2245 .) # We are building in place.
2246 ac_srcdir=.
2247 ac_top_srcdir=$ac_top_builddir_sub
2248 ac_abs_top_srcdir=$ac_pwd ;;
2249 [\\/]* | ?:[\\/]* ) # Absolute name.
2250 ac_srcdir=$srcdir$ac_dir_suffix;
2251 ac_top_srcdir=$srcdir
2252 ac_abs_top_srcdir=$srcdir ;;
2253 *) # Relative name.
2254 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2255 ac_top_srcdir=$ac_top_build_prefix$srcdir
2256 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2257 esac
2258 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2260 cd "$ac_dir" || { ac_status=$?; continue; }
2261 # Check for guested configure.
2262 if test -f "$ac_srcdir/configure.gnu"; then
2263 echo &&
2264 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2265 elif test -f "$ac_srcdir/configure"; then
2266 echo &&
2267 $SHELL "$ac_srcdir/configure" --help=recursive
2268 else
2269 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2270 fi || ac_status=$?
2271 cd "$ac_pwd" || { ac_status=$?; break; }
2272 done
2275 test -n "$ac_init_help" && exit $ac_status
2276 if $ac_init_version; then
2277 cat <<\_ACEOF
2278 Wine configure 1.7.35
2279 generated by GNU Autoconf 2.69
2281 Copyright (C) 2012 Free Software Foundation, Inc.
2282 This configure script is free software; the Free Software Foundation
2283 gives unlimited permission to copy, distribute and modify it.
2284 _ACEOF
2285 exit
2288 ## ------------------------ ##
2289 ## Autoconf initialization. ##
2290 ## ------------------------ ##
2292 # ac_fn_c_try_compile LINENO
2293 # --------------------------
2294 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2295 ac_fn_c_try_compile ()
2297 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2298 rm -f conftest.$ac_objext
2299 if { { ac_try="$ac_compile"
2300 case "(($ac_try" in
2301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2302 *) ac_try_echo=$ac_try;;
2303 esac
2304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2305 $as_echo "$ac_try_echo"; } >&5
2306 (eval "$ac_compile") 2>conftest.err
2307 ac_status=$?
2308 if test -s conftest.err; then
2309 grep -v '^ *+' conftest.err >conftest.er1
2310 cat conftest.er1 >&5
2311 mv -f conftest.er1 conftest.err
2313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2314 test $ac_status = 0; } && {
2315 test -z "$ac_c_werror_flag" ||
2316 test ! -s conftest.err
2317 } && test -s conftest.$ac_objext; then :
2318 ac_retval=0
2319 else
2320 $as_echo "$as_me: failed program was:" >&5
2321 sed 's/^/| /' conftest.$ac_ext >&5
2323 ac_retval=1
2325 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2326 as_fn_set_status $ac_retval
2328 } # ac_fn_c_try_compile
2330 # ac_fn_cxx_try_compile LINENO
2331 # ----------------------------
2332 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2333 ac_fn_cxx_try_compile ()
2335 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2336 rm -f conftest.$ac_objext
2337 if { { ac_try="$ac_compile"
2338 case "(($ac_try" in
2339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2340 *) ac_try_echo=$ac_try;;
2341 esac
2342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2343 $as_echo "$ac_try_echo"; } >&5
2344 (eval "$ac_compile") 2>conftest.err
2345 ac_status=$?
2346 if test -s conftest.err; then
2347 grep -v '^ *+' conftest.err >conftest.er1
2348 cat conftest.er1 >&5
2349 mv -f conftest.er1 conftest.err
2351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2352 test $ac_status = 0; } && {
2353 test -z "$ac_cxx_werror_flag" ||
2354 test ! -s conftest.err
2355 } && test -s conftest.$ac_objext; then :
2356 ac_retval=0
2357 else
2358 $as_echo "$as_me: failed program was:" >&5
2359 sed 's/^/| /' conftest.$ac_ext >&5
2361 ac_retval=1
2363 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2364 as_fn_set_status $ac_retval
2366 } # ac_fn_cxx_try_compile
2368 # ac_fn_c_try_link LINENO
2369 # -----------------------
2370 # Try to link conftest.$ac_ext, and return whether this succeeded.
2371 ac_fn_c_try_link ()
2373 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2374 rm -f conftest.$ac_objext conftest$ac_exeext
2375 if { { ac_try="$ac_link"
2376 case "(($ac_try" in
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2379 esac
2380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2381 $as_echo "$ac_try_echo"; } >&5
2382 (eval "$ac_link") 2>conftest.err
2383 ac_status=$?
2384 if test -s conftest.err; then
2385 grep -v '^ *+' conftest.err >conftest.er1
2386 cat conftest.er1 >&5
2387 mv -f conftest.er1 conftest.err
2389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2390 test $ac_status = 0; } && {
2391 test -z "$ac_c_werror_flag" ||
2392 test ! -s conftest.err
2393 } && test -s conftest$ac_exeext && {
2394 test "$cross_compiling" = yes ||
2395 test -x conftest$ac_exeext
2396 }; then :
2397 ac_retval=0
2398 else
2399 $as_echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2402 ac_retval=1
2404 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2405 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2406 # interfere with the next link command; also delete a directory that is
2407 # left behind by Apple's compiler. We do this before executing the actions.
2408 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2409 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2410 as_fn_set_status $ac_retval
2412 } # ac_fn_c_try_link
2414 # ac_fn_c_try_cpp LINENO
2415 # ----------------------
2416 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2417 ac_fn_c_try_cpp ()
2419 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2420 if { { ac_try="$ac_cpp conftest.$ac_ext"
2421 case "(($ac_try" in
2422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2423 *) ac_try_echo=$ac_try;;
2424 esac
2425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2426 $as_echo "$ac_try_echo"; } >&5
2427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2428 ac_status=$?
2429 if test -s conftest.err; then
2430 grep -v '^ *+' conftest.err >conftest.er1
2431 cat conftest.er1 >&5
2432 mv -f conftest.er1 conftest.err
2434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2435 test $ac_status = 0; } > conftest.i && {
2436 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2437 test ! -s conftest.err
2438 }; then :
2439 ac_retval=0
2440 else
2441 $as_echo "$as_me: failed program was:" >&5
2442 sed 's/^/| /' conftest.$ac_ext >&5
2444 ac_retval=1
2446 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2447 as_fn_set_status $ac_retval
2449 } # ac_fn_c_try_cpp
2451 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2452 # -------------------------------------------------------
2453 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2454 # the include files in INCLUDES and setting the cache variable VAR
2455 # accordingly.
2456 ac_fn_c_check_header_mongrel ()
2458 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2459 if eval \${$3+:} false; then :
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2461 $as_echo_n "checking for $2... " >&6; }
2462 if eval \${$3+:} false; then :
2463 $as_echo_n "(cached) " >&6
2465 eval ac_res=\$$3
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2467 $as_echo "$ac_res" >&6; }
2468 else
2469 # Is the header compilable?
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2471 $as_echo_n "checking $2 usability... " >&6; }
2472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2475 #include <$2>
2476 _ACEOF
2477 if ac_fn_c_try_compile "$LINENO"; then :
2478 ac_header_compiler=yes
2479 else
2480 ac_header_compiler=no
2482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2484 $as_echo "$ac_header_compiler" >&6; }
2486 # Is the header present?
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2488 $as_echo_n "checking $2 presence... " >&6; }
2489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2491 #include <$2>
2492 _ACEOF
2493 if ac_fn_c_try_cpp "$LINENO"; then :
2494 ac_header_preproc=yes
2495 else
2496 ac_header_preproc=no
2498 rm -f conftest.err conftest.i conftest.$ac_ext
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2500 $as_echo "$ac_header_preproc" >&6; }
2502 # So? What about this header?
2503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2504 yes:no: )
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2506 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2508 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2510 no:yes:* )
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2512 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2514 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2516 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2518 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2520 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2521 ( $as_echo "## ------------------------------------ ##
2522 ## Report this to wine-devel@winehq.org ##
2523 ## ------------------------------------ ##"
2524 ) | sed "s/^/$as_me: WARNING: /" >&2
2526 esac
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2528 $as_echo_n "checking for $2... " >&6; }
2529 if eval \${$3+:} false; then :
2530 $as_echo_n "(cached) " >&6
2531 else
2532 eval "$3=\$ac_header_compiler"
2534 eval ac_res=\$$3
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2536 $as_echo "$ac_res" >&6; }
2538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2540 } # ac_fn_c_check_header_mongrel
2542 # ac_fn_c_try_run LINENO
2543 # ----------------------
2544 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2545 # that executables *can* be run.
2546 ac_fn_c_try_run ()
2548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2549 if { { ac_try="$ac_link"
2550 case "(($ac_try" in
2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2553 esac
2554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2555 $as_echo "$ac_try_echo"; } >&5
2556 (eval "$ac_link") 2>&5
2557 ac_status=$?
2558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2559 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2560 { { case "(($ac_try" in
2561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2562 *) ac_try_echo=$ac_try;;
2563 esac
2564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2565 $as_echo "$ac_try_echo"; } >&5
2566 (eval "$ac_try") 2>&5
2567 ac_status=$?
2568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2569 test $ac_status = 0; }; }; then :
2570 ac_retval=0
2571 else
2572 $as_echo "$as_me: program exited with status $ac_status" >&5
2573 $as_echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.$ac_ext >&5
2576 ac_retval=$ac_status
2578 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2580 as_fn_set_status $ac_retval
2582 } # ac_fn_c_try_run
2584 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2585 # -------------------------------------------------------
2586 # Tests whether HEADER exists and can be compiled using the include files in
2587 # INCLUDES, setting the cache variable VAR accordingly.
2588 ac_fn_c_check_header_compile ()
2590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2592 $as_echo_n "checking for $2... " >&6; }
2593 if eval \${$3+:} false; then :
2594 $as_echo_n "(cached) " >&6
2595 else
2596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2597 /* end confdefs.h. */
2599 #include <$2>
2600 _ACEOF
2601 if ac_fn_c_try_compile "$LINENO"; then :
2602 eval "$3=yes"
2603 else
2604 eval "$3=no"
2606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 eval ac_res=\$$3
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2610 $as_echo "$ac_res" >&6; }
2611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2613 } # ac_fn_c_check_header_compile
2615 # ac_fn_c_check_func LINENO FUNC VAR
2616 # ----------------------------------
2617 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2618 ac_fn_c_check_func ()
2620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2622 $as_echo_n "checking for $2... " >&6; }
2623 if eval \${$3+:} false; then :
2624 $as_echo_n "(cached) " >&6
2625 else
2626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2628 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2630 #define $2 innocuous_$2
2632 /* System header to define __stub macros and hopefully few prototypes,
2633 which can conflict with char $2 (); below.
2634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2635 <limits.h> exists even on freestanding compilers. */
2637 #ifdef __STDC__
2638 # include <limits.h>
2639 #else
2640 # include <assert.h>
2641 #endif
2643 #undef $2
2645 /* Override any GCC internal prototype to avoid an error.
2646 Use char because int might match the return type of a GCC
2647 builtin and then its argument prototype would still apply. */
2648 #ifdef __cplusplus
2649 extern "C"
2650 #endif
2651 char $2 ();
2652 /* The GNU C library defines this for functions which it implements
2653 to always fail with ENOSYS. Some functions are actually named
2654 something starting with __ and the normal name is an alias. */
2655 #if defined __stub_$2 || defined __stub___$2
2656 choke me
2657 #endif
2660 main ()
2662 return $2 ();
2664 return 0;
2666 _ACEOF
2667 if ac_fn_c_try_link "$LINENO"; then :
2668 eval "$3=yes"
2669 else
2670 eval "$3=no"
2672 rm -f core conftest.err conftest.$ac_objext \
2673 conftest$ac_exeext conftest.$ac_ext
2675 eval ac_res=\$$3
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2677 $as_echo "$ac_res" >&6; }
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 } # ac_fn_c_check_func
2682 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2683 # ----------------------------------------------------
2684 # Tries to find if the field MEMBER exists in type AGGR, after including
2685 # INCLUDES, setting cache variable VAR accordingly.
2686 ac_fn_c_check_member ()
2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2690 $as_echo_n "checking for $2.$3... " >&6; }
2691 if eval \${$4+:} false; then :
2692 $as_echo_n "(cached) " >&6
2693 else
2694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2695 /* end confdefs.h. */
2698 main ()
2700 static $2 ac_aggr;
2701 if (ac_aggr.$3)
2702 return 0;
2704 return 0;
2706 _ACEOF
2707 if ac_fn_c_try_compile "$LINENO"; then :
2708 eval "$4=yes"
2709 else
2710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2711 /* end confdefs.h. */
2714 main ()
2716 static $2 ac_aggr;
2717 if (sizeof ac_aggr.$3)
2718 return 0;
2720 return 0;
2722 _ACEOF
2723 if ac_fn_c_try_compile "$LINENO"; then :
2724 eval "$4=yes"
2725 else
2726 eval "$4=no"
2728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2732 eval ac_res=\$$4
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2734 $as_echo "$ac_res" >&6; }
2735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2737 } # ac_fn_c_check_member
2739 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2740 # -------------------------------------------
2741 # Tests whether TYPE exists after having included INCLUDES, setting cache
2742 # variable VAR accordingly.
2743 ac_fn_c_check_type ()
2745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2747 $as_echo_n "checking for $2... " >&6; }
2748 if eval \${$3+:} false; then :
2749 $as_echo_n "(cached) " >&6
2750 else
2751 eval "$3=no"
2752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2753 /* end confdefs.h. */
2756 main ()
2758 if (sizeof ($2))
2759 return 0;
2761 return 0;
2763 _ACEOF
2764 if ac_fn_c_try_compile "$LINENO"; then :
2765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h. */
2769 main ()
2771 if (sizeof (($2)))
2772 return 0;
2774 return 0;
2776 _ACEOF
2777 if ac_fn_c_try_compile "$LINENO"; then :
2779 else
2780 eval "$3=yes"
2782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786 eval ac_res=\$$3
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2788 $as_echo "$ac_res" >&6; }
2789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2791 } # ac_fn_c_check_type
2792 cat >config.log <<_ACEOF
2793 This file contains any messages produced by compilers while
2794 running configure, to aid debugging if configure makes a mistake.
2796 It was created by Wine $as_me 1.7.35, which was
2797 generated by GNU Autoconf 2.69. Invocation command line was
2799 $ $0 $@
2801 _ACEOF
2802 exec 5>>config.log
2804 cat <<_ASUNAME
2805 ## --------- ##
2806 ## Platform. ##
2807 ## --------- ##
2809 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2810 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2811 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2812 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2813 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2815 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2816 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2818 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2819 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2820 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2821 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2822 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2823 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2824 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2826 _ASUNAME
2828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2829 for as_dir in $PATH
2831 IFS=$as_save_IFS
2832 test -z "$as_dir" && as_dir=.
2833 $as_echo "PATH: $as_dir"
2834 done
2835 IFS=$as_save_IFS
2837 } >&5
2839 cat >&5 <<_ACEOF
2842 ## ----------- ##
2843 ## Core tests. ##
2844 ## ----------- ##
2846 _ACEOF
2849 # Keep a trace of the command line.
2850 # Strip out --no-create and --no-recursion so they do not pile up.
2851 # Strip out --silent because we don't want to record it for future runs.
2852 # Also quote any args containing shell meta-characters.
2853 # Make two passes to allow for proper duplicate-argument suppression.
2854 ac_configure_args=
2855 ac_configure_args0=
2856 ac_configure_args1=
2857 ac_must_keep_next=false
2858 for ac_pass in 1 2
2860 for ac_arg
2862 case $ac_arg in
2863 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2864 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2865 | -silent | --silent | --silen | --sile | --sil)
2866 continue ;;
2867 *\'*)
2868 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2869 esac
2870 case $ac_pass in
2871 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2873 as_fn_append ac_configure_args1 " '$ac_arg'"
2874 if test $ac_must_keep_next = true; then
2875 ac_must_keep_next=false # Got value, back to normal.
2876 else
2877 case $ac_arg in
2878 *=* | --config-cache | -C | -disable-* | --disable-* \
2879 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2880 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2881 | -with-* | --with-* | -without-* | --without-* | --x)
2882 case "$ac_configure_args0 " in
2883 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2884 esac
2886 -* ) ac_must_keep_next=true ;;
2887 esac
2889 as_fn_append ac_configure_args " '$ac_arg'"
2891 esac
2892 done
2893 done
2894 { ac_configure_args0=; unset ac_configure_args0;}
2895 { ac_configure_args1=; unset ac_configure_args1;}
2897 # When interrupted or exit'd, cleanup temporary files, and complete
2898 # config.log. We remove comments because anyway the quotes in there
2899 # would cause problems or look ugly.
2900 # WARNING: Use '\'' to represent an apostrophe within the trap.
2901 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2902 trap 'exit_status=$?
2903 # Save into config.log some information that might help in debugging.
2905 echo
2907 $as_echo "## ---------------- ##
2908 ## Cache variables. ##
2909 ## ---------------- ##"
2910 echo
2911 # The following way of writing the cache mishandles newlines in values,
2913 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2914 eval ac_val=\$$ac_var
2915 case $ac_val in #(
2916 *${as_nl}*)
2917 case $ac_var in #(
2918 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2919 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2920 esac
2921 case $ac_var in #(
2922 _ | IFS | as_nl) ;; #(
2923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2924 *) { eval $ac_var=; unset $ac_var;} ;;
2925 esac ;;
2926 esac
2927 done
2928 (set) 2>&1 |
2929 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2930 *${as_nl}ac_space=\ *)
2931 sed -n \
2932 "s/'\''/'\''\\\\'\'''\''/g;
2933 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2934 ;; #(
2936 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2938 esac |
2939 sort
2941 echo
2943 $as_echo "## ----------------- ##
2944 ## Output variables. ##
2945 ## ----------------- ##"
2946 echo
2947 for ac_var in $ac_subst_vars
2949 eval ac_val=\$$ac_var
2950 case $ac_val in
2951 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2952 esac
2953 $as_echo "$ac_var='\''$ac_val'\''"
2954 done | sort
2955 echo
2957 if test -n "$ac_subst_files"; then
2958 $as_echo "## ------------------- ##
2959 ## File substitutions. ##
2960 ## ------------------- ##"
2961 echo
2962 for ac_var in $ac_subst_files
2964 eval ac_val=\$$ac_var
2965 case $ac_val in
2966 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2967 esac
2968 $as_echo "$ac_var='\''$ac_val'\''"
2969 done | sort
2970 echo
2973 if test -s confdefs.h; then
2974 $as_echo "## ----------- ##
2975 ## confdefs.h. ##
2976 ## ----------- ##"
2977 echo
2978 cat confdefs.h
2979 echo
2981 test "$ac_signal" != 0 &&
2982 $as_echo "$as_me: caught signal $ac_signal"
2983 $as_echo "$as_me: exit $exit_status"
2984 } >&5
2985 rm -f core *.core core.conftest.* &&
2986 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2987 exit $exit_status
2989 for ac_signal in 1 2 13 15; do
2990 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2991 done
2992 ac_signal=0
2994 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2995 rm -f -r conftest* confdefs.h
2997 $as_echo "/* confdefs.h */" > confdefs.h
2999 # Predefined preprocessor variables.
3001 cat >>confdefs.h <<_ACEOF
3002 #define PACKAGE_NAME "$PACKAGE_NAME"
3003 _ACEOF
3005 cat >>confdefs.h <<_ACEOF
3006 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3007 _ACEOF
3009 cat >>confdefs.h <<_ACEOF
3010 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3011 _ACEOF
3013 cat >>confdefs.h <<_ACEOF
3014 #define PACKAGE_STRING "$PACKAGE_STRING"
3015 _ACEOF
3017 cat >>confdefs.h <<_ACEOF
3018 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3019 _ACEOF
3021 cat >>confdefs.h <<_ACEOF
3022 #define PACKAGE_URL "$PACKAGE_URL"
3023 _ACEOF
3026 # Let the site file select an alternate cache file if it wants to.
3027 # Prefer an explicitly selected file to automatically selected ones.
3028 ac_site_file1=NONE
3029 ac_site_file2=NONE
3030 if test -n "$CONFIG_SITE"; then
3031 # We do not want a PATH search for config.site.
3032 case $CONFIG_SITE in #((
3033 -*) ac_site_file1=./$CONFIG_SITE;;
3034 */*) ac_site_file1=$CONFIG_SITE;;
3035 *) ac_site_file1=./$CONFIG_SITE;;
3036 esac
3037 elif test "x$prefix" != xNONE; then
3038 ac_site_file1=$prefix/share/config.site
3039 ac_site_file2=$prefix/etc/config.site
3040 else
3041 ac_site_file1=$ac_default_prefix/share/config.site
3042 ac_site_file2=$ac_default_prefix/etc/config.site
3044 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3046 test "x$ac_site_file" = xNONE && continue
3047 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3049 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3050 sed 's/^/| /' "$ac_site_file" >&5
3051 . "$ac_site_file" \
3052 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3054 as_fn_error $? "failed to load site script $ac_site_file
3055 See \`config.log' for more details" "$LINENO" 5; }
3057 done
3059 if test -r "$cache_file"; then
3060 # Some versions of bash will fail to source /dev/null (special files
3061 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3062 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3064 $as_echo "$as_me: loading cache $cache_file" >&6;}
3065 case $cache_file in
3066 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3067 *) . "./$cache_file";;
3068 esac
3070 else
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3072 $as_echo "$as_me: creating cache $cache_file" >&6;}
3073 >$cache_file
3076 # Check that the precious variables saved in the cache have kept the same
3077 # value.
3078 ac_cache_corrupted=false
3079 for ac_var in $ac_precious_vars; do
3080 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3081 eval ac_new_set=\$ac_env_${ac_var}_set
3082 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3083 eval ac_new_val=\$ac_env_${ac_var}_value
3084 case $ac_old_set,$ac_new_set in
3085 set,)
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3087 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3088 ac_cache_corrupted=: ;;
3089 ,set)
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3091 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3092 ac_cache_corrupted=: ;;
3093 ,);;
3095 if test "x$ac_old_val" != "x$ac_new_val"; then
3096 # differences in whitespace do not lead to failure.
3097 ac_old_val_w=`echo x $ac_old_val`
3098 ac_new_val_w=`echo x $ac_new_val`
3099 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3101 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3102 ac_cache_corrupted=:
3103 else
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3105 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3106 eval $ac_var=\$ac_old_val
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3109 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3111 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3112 fi;;
3113 esac
3114 # Pass precious variables to config.status.
3115 if test "$ac_new_set" = set; then
3116 case $ac_new_val in
3117 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3118 *) ac_arg=$ac_var=$ac_new_val ;;
3119 esac
3120 case " $ac_configure_args " in
3121 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3122 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3123 esac
3125 done
3126 if $ac_cache_corrupted; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3130 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3131 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3133 ## -------------------- ##
3134 ## Main body of script. ##
3135 ## -------------------- ##
3137 ac_ext=c
3138 ac_cpp='$CPP $CPPFLAGS'
3139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3145 ac_config_headers="$ac_config_headers include/config.h"
3147 ac_aux_dir=
3148 for ac_dir in tools "$srcdir"/tools; do
3149 if test -f "$ac_dir/install-sh"; then
3150 ac_aux_dir=$ac_dir
3151 ac_install_sh="$ac_aux_dir/install-sh -c"
3152 break
3153 elif 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/shtool"; then
3158 ac_aux_dir=$ac_dir
3159 ac_install_sh="$ac_aux_dir/shtool install -c"
3160 break
3162 done
3163 if test -z "$ac_aux_dir"; then
3164 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3167 # These three variables are undocumented and unsupported,
3168 # and are intended to be withdrawn in a future Autoconf release.
3169 # They can cause serious problems if a builder's source tree is in a directory
3170 # whose full name contains unusual characters.
3171 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3172 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3173 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3177 libwine_version="1.0"
3181 # Check whether --enable-win16 was given.
3182 if test "${enable_win16+set}" = set; then :
3183 enableval=$enable_win16;
3186 # Check whether --enable-win64 was given.
3187 if test "${enable_win64+set}" = set; then :
3188 enableval=$enable_win64;
3191 # Check whether --enable-tests was given.
3192 if test "${enable_tests+set}" = set; then :
3193 enableval=$enable_tests;
3196 # Check whether --enable-maintainer-mode was given.
3197 if test "${enable_maintainer_mode+set}" = set; then :
3198 enableval=$enable_maintainer_mode;
3203 # Check whether --with-alsa was given.
3204 if test "${with_alsa+set}" = set; then :
3205 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3209 # Check whether --with-capi was given.
3210 if test "${with_capi+set}" = set; then :
3211 withval=$with_capi;
3215 # Check whether --with-cms was given.
3216 if test "${with_cms+set}" = set; then :
3217 withval=$with_cms;
3221 # Check whether --with-coreaudio was given.
3222 if test "${with_coreaudio+set}" = set; then :
3223 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3227 # Check whether --with-cups was given.
3228 if test "${with_cups+set}" = set; then :
3229 withval=$with_cups;
3233 # Check whether --with-curses was given.
3234 if test "${with_curses+set}" = set; then :
3235 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3239 # Check whether --with-dbus was given.
3240 if test "${with_dbus+set}" = set; then :
3241 withval=$with_dbus;
3245 # Check whether --with-fontconfig was given.
3246 if test "${with_fontconfig+set}" = set; then :
3247 withval=$with_fontconfig;
3251 # Check whether --with-freetype was given.
3252 if test "${with_freetype+set}" = set; then :
3253 withval=$with_freetype;
3257 # Check whether --with-gettext was given.
3258 if test "${with_gettext+set}" = set; then :
3259 withval=$with_gettext;
3263 # Check whether --with-gettextpo was given.
3264 if test "${with_gettextpo+set}" = set; then :
3265 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3269 # Check whether --with-gphoto was given.
3270 if test "${with_gphoto+set}" = set; then :
3271 withval=$with_gphoto;
3275 # Check whether --with-glu was given.
3276 if test "${with_glu+set}" = set; then :
3277 withval=$with_glu;
3281 # Check whether --with-gnutls was given.
3282 if test "${with_gnutls+set}" = set; then :
3283 withval=$with_gnutls;
3287 # Check whether --with-gsm was given.
3288 if test "${with_gsm+set}" = set; then :
3289 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3293 # Check whether --with-gstreamer was given.
3294 if test "${with_gstreamer+set}" = set; then :
3295 withval=$with_gstreamer;
3299 # Check whether --with-hal was given.
3300 if test "${with_hal+set}" = set; then :
3301 withval=$with_hal;
3305 # Check whether --with-jpeg was given.
3306 if test "${with_jpeg+set}" = set; then :
3307 withval=$with_jpeg;
3311 # Check whether --with-ldap was given.
3312 if test "${with_ldap+set}" = set; then :
3313 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3317 # Check whether --with-mpg123 was given.
3318 if test "${with_mpg123+set}" = set; then :
3319 withval=$with_mpg123;
3323 # Check whether --with-netapi was given.
3324 if test "${with_netapi+set}" = set; then :
3325 withval=$with_netapi;
3329 # Check whether --with-openal was given.
3330 if test "${with_openal+set}" = set; then :
3331 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3335 # Check whether --with-opencl was given.
3336 if test "${with_opencl+set}" = set; then :
3337 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3341 # Check whether --with-opengl was given.
3342 if test "${with_opengl+set}" = set; then :
3343 withval=$with_opengl;
3347 # Check whether --with-osmesa was given.
3348 if test "${with_osmesa+set}" = set; then :
3349 withval=$with_osmesa;
3353 # Check whether --with-oss was given.
3354 if test "${with_oss+set}" = set; then :
3355 withval=$with_oss;
3359 # Check whether --with-pcap was given.
3360 if test "${with_pcap+set}" = set; then :
3361 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3365 # Check whether --with-png was given.
3366 if test "${with_png+set}" = set; then :
3367 withval=$with_png;
3371 # Check whether --with-pthread was given.
3372 if test "${with_pthread+set}" = set; then :
3373 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3377 # Check whether --with-sane was given.
3378 if test "${with_sane+set}" = set; then :
3379 withval=$with_sane;
3383 # Check whether --with-tiff was given.
3384 if test "${with_tiff+set}" = set; then :
3385 withval=$with_tiff;
3389 # Check whether --with-v4l was given.
3390 if test "${with_v4l+set}" = set; then :
3391 withval=$with_v4l;
3395 # Check whether --with-xcomposite was given.
3396 if test "${with_xcomposite+set}" = set; then :
3397 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3401 # Check whether --with-xcursor was given.
3402 if test "${with_xcursor+set}" = set; then :
3403 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3407 # Check whether --with-xinerama was given.
3408 if test "${with_xinerama+set}" = set; then :
3409 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3413 # Check whether --with-xinput was given.
3414 if test "${with_xinput+set}" = set; then :
3415 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3419 # Check whether --with-xinput2 was given.
3420 if test "${with_xinput2+set}" = set; then :
3421 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3425 # Check whether --with-xml was given.
3426 if test "${with_xml+set}" = set; then :
3427 withval=$with_xml;
3431 # Check whether --with-xrandr was given.
3432 if test "${with_xrandr+set}" = set; then :
3433 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3437 # Check whether --with-xrender was given.
3438 if test "${with_xrender+set}" = set; then :
3439 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3443 # Check whether --with-xshape was given.
3444 if test "${with_xshape+set}" = set; then :
3445 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3449 # Check whether --with-xshm was given.
3450 if test "${with_xshm+set}" = set; then :
3451 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3455 # Check whether --with-xslt was given.
3456 if test "${with_xslt+set}" = set; then :
3457 withval=$with_xslt;
3461 # Check whether --with-xxf86vm was given.
3462 if test "${with_xxf86vm+set}" = set; then :
3463 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
3467 # Check whether --with-zlib was given.
3468 if test "${with_zlib+set}" = set; then :
3469 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3474 # Check whether --with-wine-tools was given.
3475 if test "${with_wine_tools+set}" = set; then :
3476 withval=$with_wine_tools;
3480 # Check whether --with-wine64 was given.
3481 if test "${with_wine64+set}" = set; then :
3482 withval=$with_wine64;
3486 # Make sure we can run config.sub.
3487 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3488 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3491 $as_echo_n "checking build system type... " >&6; }
3492 if ${ac_cv_build+:} false; then :
3493 $as_echo_n "(cached) " >&6
3494 else
3495 ac_build_alias=$build_alias
3496 test "x$ac_build_alias" = x &&
3497 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3498 test "x$ac_build_alias" = x &&
3499 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3500 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3501 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3505 $as_echo "$ac_cv_build" >&6; }
3506 case $ac_cv_build in
3507 *-*-*) ;;
3508 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3509 esac
3510 build=$ac_cv_build
3511 ac_save_IFS=$IFS; IFS='-'
3512 set x $ac_cv_build
3513 shift
3514 build_cpu=$1
3515 build_vendor=$2
3516 shift; shift
3517 # Remember, the first character of IFS is used to create $*,
3518 # except with old shells:
3519 build_os=$*
3520 IFS=$ac_save_IFS
3521 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3525 $as_echo_n "checking host system type... " >&6; }
3526 if ${ac_cv_host+:} false; then :
3527 $as_echo_n "(cached) " >&6
3528 else
3529 if test "x$host_alias" = x; then
3530 ac_cv_host=$ac_cv_build
3531 else
3532 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3533 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3538 $as_echo "$ac_cv_host" >&6; }
3539 case $ac_cv_host in
3540 *-*-*) ;;
3541 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3542 esac
3543 host=$ac_cv_host
3544 ac_save_IFS=$IFS; IFS='-'
3545 set x $ac_cv_host
3546 shift
3547 host_cpu=$1
3548 host_vendor=$2
3549 shift; shift
3550 # Remember, the first character of IFS is used to create $*,
3551 # except with old shells:
3552 host_os=$*
3553 IFS=$ac_save_IFS
3554 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3558 case "$srcdir" in
3559 .) ;;
3560 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3561 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3562 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3563 fi ;;
3564 esac
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3568 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3569 set x ${MAKE-make}
3570 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3571 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3572 $as_echo_n "(cached) " >&6
3573 else
3574 cat >conftest.make <<\_ACEOF
3575 SHELL = /bin/sh
3576 all:
3577 @echo '@@@%%%=$(MAKE)=@@@%%%'
3578 _ACEOF
3579 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3580 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3581 *@@@%%%=?*=@@@%%%*)
3582 eval ac_cv_prog_make_${ac_make}_set=yes;;
3584 eval ac_cv_prog_make_${ac_make}_set=no;;
3585 esac
3586 rm -f conftest.make
3588 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3590 $as_echo "yes" >&6; }
3591 SET_MAKE=
3592 else
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3595 SET_MAKE="MAKE=${MAKE-make}"
3598 ac_ext=c
3599 ac_cpp='$CPP $CPPFLAGS'
3600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3603 if test -n "$ac_tool_prefix"; then
3604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3605 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if ${ac_cv_prog_CC+:} false; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$CC"; then
3612 ac_cv_prog_CC="$CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3621 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3625 done
3626 done
3627 IFS=$as_save_IFS
3631 CC=$ac_cv_prog_CC
3632 if test -n "$CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3634 $as_echo "$CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3642 if test -z "$ac_cv_prog_CC"; then
3643 ac_ct_CC=$CC
3644 # Extract the first word of "gcc", so it can be a program name with args.
3645 set dummy gcc; ac_word=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3649 $as_echo_n "(cached) " >&6
3650 else
3651 if test -n "$ac_ct_CC"; then
3652 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3653 else
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 for as_dir in $PATH
3657 IFS=$as_save_IFS
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3661 ac_cv_prog_ac_ct_CC="gcc"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 break 2
3665 done
3666 done
3667 IFS=$as_save_IFS
3671 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3672 if test -n "$ac_ct_CC"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3674 $as_echo "$ac_ct_CC" >&6; }
3675 else
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3680 if test "x$ac_ct_CC" = x; then
3681 CC=""
3682 else
3683 case $cross_compiling:$ac_tool_warned in
3684 yes:)
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3687 ac_tool_warned=yes ;;
3688 esac
3689 CC=$ac_ct_CC
3691 else
3692 CC="$ac_cv_prog_CC"
3695 if test -z "$CC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3698 set dummy ${ac_tool_prefix}cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_CC+:} false; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 for as_dir in $PATH
3710 IFS=$as_save_IFS
3711 test -z "$as_dir" && as_dir=.
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3714 ac_cv_prog_CC="${ac_tool_prefix}cc"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 break 2
3718 done
3719 done
3720 IFS=$as_save_IFS
3724 CC=$ac_cv_prog_CC
3725 if test -n "$CC"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3727 $as_echo "$CC" >&6; }
3728 else
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3736 if test -z "$CC"; then
3737 # Extract the first word of "cc", so it can be a program name with args.
3738 set dummy cc; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_CC+:} false; then :
3742 $as_echo_n "(cached) " >&6
3743 else
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC="$CC" # Let the user override the test.
3746 else
3747 ac_prog_rejected=no
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3755 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3756 ac_prog_rejected=yes
3757 continue
3759 ac_cv_prog_CC="cc"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 break 2
3763 done
3764 done
3765 IFS=$as_save_IFS
3767 if test $ac_prog_rejected = yes; then
3768 # We found a bogon in the path, so make sure we never use it.
3769 set dummy $ac_cv_prog_CC
3770 shift
3771 if test $# != 0; then
3772 # We chose a different compiler from the bogus one.
3773 # However, it has the same basename, so the bogon will be chosen
3774 # first if we set CC to just the basename; use the full file name.
3775 shift
3776 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3781 CC=$ac_cv_prog_CC
3782 if test -n "$CC"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3784 $as_echo "$CC" >&6; }
3785 else
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3792 if test -z "$CC"; then
3793 if test -n "$ac_tool_prefix"; then
3794 for ac_prog in cl.exe
3796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if ${ac_cv_prog_CC+:} false; then :
3801 $as_echo_n "(cached) " >&6
3802 else
3803 if test -n "$CC"; then
3804 ac_cv_prog_CC="$CC" # Let the user override the test.
3805 else
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 for as_dir in $PATH
3809 IFS=$as_save_IFS
3810 test -z "$as_dir" && as_dir=.
3811 for ac_exec_ext in '' $ac_executable_extensions; do
3812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3813 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 break 2
3817 done
3818 done
3819 IFS=$as_save_IFS
3823 CC=$ac_cv_prog_CC
3824 if test -n "$CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826 $as_echo "$CC" >&6; }
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3833 test -n "$CC" && break
3834 done
3836 if test -z "$CC"; then
3837 ac_ct_CC=$CC
3838 for ac_prog in cl.exe
3840 # Extract the first word of "$ac_prog", so it can be a program name with args.
3841 set dummy $ac_prog; ac_word=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3845 $as_echo_n "(cached) " >&6
3846 else
3847 if test -n "$ac_ct_CC"; then
3848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3849 else
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 for as_dir in $PATH
3853 IFS=$as_save_IFS
3854 test -z "$as_dir" && as_dir=.
3855 for ac_exec_ext in '' $ac_executable_extensions; do
3856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3857 ac_cv_prog_ac_ct_CC="$ac_prog"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 break 2
3861 done
3862 done
3863 IFS=$as_save_IFS
3867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3868 if test -n "$ac_ct_CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3870 $as_echo "$ac_ct_CC" >&6; }
3871 else
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3877 test -n "$ac_ct_CC" && break
3878 done
3880 if test "x$ac_ct_CC" = x; then
3881 CC=""
3882 else
3883 case $cross_compiling:$ac_tool_warned in
3884 yes:)
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3887 ac_tool_warned=yes ;;
3888 esac
3889 CC=$ac_ct_CC
3896 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898 as_fn_error $? "no acceptable C compiler found in \$PATH
3899 See \`config.log' for more details" "$LINENO" 5; }
3901 # Provide some information about the compiler.
3902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3903 set X $ac_compile
3904 ac_compiler=$2
3905 for ac_option in --version -v -V -qversion; do
3906 { { ac_try="$ac_compiler $ac_option >&5"
3907 case "(($ac_try" in
3908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3909 *) ac_try_echo=$ac_try;;
3910 esac
3911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3912 $as_echo "$ac_try_echo"; } >&5
3913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3914 ac_status=$?
3915 if test -s conftest.err; then
3916 sed '10a\
3917 ... rest of stderr output deleted ...
3918 10q' conftest.err >conftest.er1
3919 cat conftest.er1 >&5
3921 rm -f conftest.er1 conftest.err
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }
3924 done
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3930 main ()
3934 return 0;
3936 _ACEOF
3937 ac_clean_files_save=$ac_clean_files
3938 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3939 # Try to create an executable without -o first, disregard a.out.
3940 # It will help us diagnose broken compilers, and finding out an intuition
3941 # of exeext.
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3943 $as_echo_n "checking whether the C compiler works... " >&6; }
3944 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3946 # The possible output files:
3947 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3949 ac_rmfiles=
3950 for ac_file in $ac_files
3952 case $ac_file in
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3954 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3955 esac
3956 done
3957 rm -f $ac_rmfiles
3959 if { { ac_try="$ac_link_default"
3960 case "(($ac_try" in
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3963 esac
3964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3965 $as_echo "$ac_try_echo"; } >&5
3966 (eval "$ac_link_default") 2>&5
3967 ac_status=$?
3968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3969 test $ac_status = 0; }; then :
3970 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3971 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3972 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3973 # so that the user can short-circuit this test for compilers unknown to
3974 # Autoconf.
3975 for ac_file in $ac_files ''
3977 test -f "$ac_file" || continue
3978 case $ac_file in
3979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3981 [ab].out )
3982 # We found the default executable, but exeext='' is most
3983 # certainly right.
3984 break;;
3985 *.* )
3986 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3987 then :; else
3988 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3990 # We set ac_cv_exeext here because the later test for it is not
3991 # safe: cross compilers may not add the suffix if given an `-o'
3992 # argument, so we may need to know it at that point already.
3993 # Even if this section looks crufty: it has the advantage of
3994 # actually working.
3995 break;;
3997 break;;
3998 esac
3999 done
4000 test "$ac_cv_exeext" = no && ac_cv_exeext=
4002 else
4003 ac_file=''
4005 if test -z "$ac_file"; then :
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4008 $as_echo "$as_me: failed program was:" >&5
4009 sed 's/^/| /' conftest.$ac_ext >&5
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error 77 "C compiler cannot create executables
4014 See \`config.log' for more details" "$LINENO" 5; }
4015 else
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4020 $as_echo_n "checking for C compiler default output file name... " >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4022 $as_echo "$ac_file" >&6; }
4023 ac_exeext=$ac_cv_exeext
4025 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4026 ac_clean_files=$ac_clean_files_save
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4028 $as_echo_n "checking for suffix of executables... " >&6; }
4029 if { { ac_try="$ac_link"
4030 case "(($ac_try" in
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4033 esac
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_link") 2>&5
4037 ac_status=$?
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }; then :
4040 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4041 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4042 # work properly (i.e., refer to `conftest.exe'), while it won't with
4043 # `rm'.
4044 for ac_file in conftest.exe conftest conftest.*; do
4045 test -f "$ac_file" || continue
4046 case $ac_file in
4047 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4048 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4049 break;;
4050 * ) break;;
4051 esac
4052 done
4053 else
4054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4056 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4057 See \`config.log' for more details" "$LINENO" 5; }
4059 rm -f conftest conftest$ac_cv_exeext
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4061 $as_echo "$ac_cv_exeext" >&6; }
4063 rm -f conftest.$ac_ext
4064 EXEEXT=$ac_cv_exeext
4065 ac_exeext=$EXEEXT
4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4068 #include <stdio.h>
4070 main ()
4072 FILE *f = fopen ("conftest.out", "w");
4073 return ferror (f) || fclose (f) != 0;
4076 return 0;
4078 _ACEOF
4079 ac_clean_files="$ac_clean_files conftest.out"
4080 # Check that the compiler produces executables we can run. If not, either
4081 # the compiler is broken, or we cross compile.
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4083 $as_echo_n "checking whether we are cross compiling... " >&6; }
4084 if test "$cross_compiling" != yes; then
4085 { { ac_try="$ac_link"
4086 case "(($ac_try" in
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4089 esac
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_link") 2>&5
4093 ac_status=$?
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }
4096 if { ac_try='./conftest$ac_cv_exeext'
4097 { { case "(($ac_try" in
4098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4100 esac
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_try") 2>&5
4104 ac_status=$?
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }; }; then
4107 cross_compiling=no
4108 else
4109 if test "$cross_compiling" = maybe; then
4110 cross_compiling=yes
4111 else
4112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4114 as_fn_error $? "cannot run C compiled programs.
4115 If you meant to cross compile, use \`--host'.
4116 See \`config.log' for more details" "$LINENO" 5; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4121 $as_echo "$cross_compiling" >&6; }
4123 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4124 ac_clean_files=$ac_clean_files_save
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4126 $as_echo_n "checking for suffix of object files... " >&6; }
4127 if ${ac_cv_objext+:} false; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4134 main ()
4138 return 0;
4140 _ACEOF
4141 rm -f conftest.o conftest.obj
4142 if { { ac_try="$ac_compile"
4143 case "(($ac_try" in
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4146 esac
4147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 $as_echo "$ac_try_echo"; } >&5
4149 (eval "$ac_compile") 2>&5
4150 ac_status=$?
4151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152 test $ac_status = 0; }; then :
4153 for ac_file in conftest.o conftest.obj conftest.*; do
4154 test -f "$ac_file" || continue;
4155 case $ac_file in
4156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4157 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4158 break;;
4159 esac
4160 done
4161 else
4162 $as_echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.$ac_ext >&5
4165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4167 as_fn_error $? "cannot compute suffix of object files: cannot compile
4168 See \`config.log' for more details" "$LINENO" 5; }
4170 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4173 $as_echo "$ac_cv_objext" >&6; }
4174 OBJEXT=$ac_cv_objext
4175 ac_objext=$OBJEXT
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4177 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4178 if ${ac_cv_c_compiler_gnu+:} false; then :
4179 $as_echo_n "(cached) " >&6
4180 else
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4185 main ()
4187 #ifndef __GNUC__
4188 choke me
4189 #endif
4192 return 0;
4194 _ACEOF
4195 if ac_fn_c_try_compile "$LINENO"; then :
4196 ac_compiler_gnu=yes
4197 else
4198 ac_compiler_gnu=no
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4205 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4206 if test $ac_compiler_gnu = yes; then
4207 GCC=yes
4208 else
4209 GCC=
4211 ac_test_CFLAGS=${CFLAGS+set}
4212 ac_save_CFLAGS=$CFLAGS
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4214 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4215 if ${ac_cv_prog_cc_g+:} false; then :
4216 $as_echo_n "(cached) " >&6
4217 else
4218 ac_save_c_werror_flag=$ac_c_werror_flag
4219 ac_c_werror_flag=yes
4220 ac_cv_prog_cc_g=no
4221 CFLAGS="-g"
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4226 main ()
4230 return 0;
4232 _ACEOF
4233 if ac_fn_c_try_compile "$LINENO"; then :
4234 ac_cv_prog_cc_g=yes
4235 else
4236 CFLAGS=""
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4241 main ()
4245 return 0;
4247 _ACEOF
4248 if ac_fn_c_try_compile "$LINENO"; then :
4250 else
4251 ac_c_werror_flag=$ac_save_c_werror_flag
4252 CFLAGS="-g"
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4257 main ()
4261 return 0;
4263 _ACEOF
4264 if ac_fn_c_try_compile "$LINENO"; then :
4265 ac_cv_prog_cc_g=yes
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272 ac_c_werror_flag=$ac_save_c_werror_flag
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4275 $as_echo "$ac_cv_prog_cc_g" >&6; }
4276 if test "$ac_test_CFLAGS" = set; then
4277 CFLAGS=$ac_save_CFLAGS
4278 elif test $ac_cv_prog_cc_g = yes; then
4279 if test "$GCC" = yes; then
4280 CFLAGS="-g -O2"
4281 else
4282 CFLAGS="-g"
4284 else
4285 if test "$GCC" = yes; then
4286 CFLAGS="-O2"
4287 else
4288 CFLAGS=
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4292 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4293 if ${ac_cv_prog_cc_c89+:} false; then :
4294 $as_echo_n "(cached) " >&6
4295 else
4296 ac_cv_prog_cc_c89=no
4297 ac_save_CC=$CC
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4300 #include <stdarg.h>
4301 #include <stdio.h>
4302 struct stat;
4303 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4304 struct buf { int x; };
4305 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4306 static char *e (p, i)
4307 char **p;
4308 int i;
4310 return p[i];
4312 static char *f (char * (*g) (char **, int), char **p, ...)
4314 char *s;
4315 va_list v;
4316 va_start (v,p);
4317 s = g (p, va_arg (v,int));
4318 va_end (v);
4319 return s;
4322 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4323 function prototypes and stuff, but not '\xHH' hex character constants.
4324 These don't provoke an error unfortunately, instead are silently treated
4325 as 'x'. The following induces an error, until -std is added to get
4326 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4327 array size at least. It's necessary to write '\x00'==0 to get something
4328 that's true only with -std. */
4329 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4331 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4332 inside strings and character constants. */
4333 #define FOO(x) 'x'
4334 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4336 int test (int i, double x);
4337 struct s1 {int (*f) (int a);};
4338 struct s2 {int (*f) (double a);};
4339 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4340 int argc;
4341 char **argv;
4343 main ()
4345 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4347 return 0;
4349 _ACEOF
4350 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4351 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4353 CC="$ac_save_CC $ac_arg"
4354 if ac_fn_c_try_compile "$LINENO"; then :
4355 ac_cv_prog_cc_c89=$ac_arg
4357 rm -f core conftest.err conftest.$ac_objext
4358 test "x$ac_cv_prog_cc_c89" != "xno" && break
4359 done
4360 rm -f conftest.$ac_ext
4361 CC=$ac_save_CC
4364 # AC_CACHE_VAL
4365 case "x$ac_cv_prog_cc_c89" in
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4368 $as_echo "none needed" >&6; } ;;
4369 xno)
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4371 $as_echo "unsupported" >&6; } ;;
4373 CC="$CC $ac_cv_prog_cc_c89"
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4375 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4376 esac
4377 if test "x$ac_cv_prog_cc_c89" != xno; then :
4381 ac_ext=c
4382 ac_cpp='$CPP $CPPFLAGS'
4383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4387 ac_ext=cpp
4388 ac_cpp='$CXXCPP $CPPFLAGS'
4389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4392 if test -z "$CXX"; then
4393 if test -n "$CCC"; then
4394 CXX=$CCC
4395 else
4396 if test -n "$ac_tool_prefix"; then
4397 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4400 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_prog_CXX+:} false; then :
4404 $as_echo_n "(cached) " >&6
4405 else
4406 if test -n "$CXX"; then
4407 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4408 else
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 for as_dir in $PATH
4412 IFS=$as_save_IFS
4413 test -z "$as_dir" && as_dir=.
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4416 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 break 2
4420 done
4421 done
4422 IFS=$as_save_IFS
4426 CXX=$ac_cv_prog_CXX
4427 if test -n "$CXX"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4429 $as_echo "$CXX" >&6; }
4430 else
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4436 test -n "$CXX" && break
4437 done
4439 if test -z "$CXX"; then
4440 ac_ct_CXX=$CXX
4441 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4443 # Extract the first word of "$ac_prog", so it can be a program name with args.
4444 set dummy $ac_prog; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4448 $as_echo_n "(cached) " >&6
4449 else
4450 if test -n "$ac_ct_CXX"; then
4451 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4452 else
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH
4456 IFS=$as_save_IFS
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_ac_ct_CXX="$ac_prog"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 break 2
4464 done
4465 done
4466 IFS=$as_save_IFS
4470 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4471 if test -n "$ac_ct_CXX"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4473 $as_echo "$ac_ct_CXX" >&6; }
4474 else
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4480 test -n "$ac_ct_CXX" && break
4481 done
4483 if test "x$ac_ct_CXX" = x; then
4484 CXX="g++"
4485 else
4486 case $cross_compiling:$ac_tool_warned in
4487 yes:)
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4490 ac_tool_warned=yes ;;
4491 esac
4492 CXX=$ac_ct_CXX
4498 # Provide some information about the compiler.
4499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4500 set X $ac_compile
4501 ac_compiler=$2
4502 for ac_option in --version -v -V -qversion; do
4503 { { ac_try="$ac_compiler $ac_option >&5"
4504 case "(($ac_try" in
4505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4506 *) ac_try_echo=$ac_try;;
4507 esac
4508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4509 $as_echo "$ac_try_echo"; } >&5
4510 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4511 ac_status=$?
4512 if test -s conftest.err; then
4513 sed '10a\
4514 ... rest of stderr output deleted ...
4515 10q' conftest.err >conftest.er1
4516 cat conftest.er1 >&5
4518 rm -f conftest.er1 conftest.err
4519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4520 test $ac_status = 0; }
4521 done
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4524 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4525 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4526 $as_echo_n "(cached) " >&6
4527 else
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4532 main ()
4534 #ifndef __GNUC__
4535 choke me
4536 #endif
4539 return 0;
4541 _ACEOF
4542 if ac_fn_cxx_try_compile "$LINENO"; then :
4543 ac_compiler_gnu=yes
4544 else
4545 ac_compiler_gnu=no
4547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4548 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4552 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4553 if test $ac_compiler_gnu = yes; then
4554 GXX=yes
4555 else
4556 GXX=
4558 ac_test_CXXFLAGS=${CXXFLAGS+set}
4559 ac_save_CXXFLAGS=$CXXFLAGS
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4561 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4562 if ${ac_cv_prog_cxx_g+:} false; then :
4563 $as_echo_n "(cached) " >&6
4564 else
4565 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4566 ac_cxx_werror_flag=yes
4567 ac_cv_prog_cxx_g=no
4568 CXXFLAGS="-g"
4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4573 main ()
4577 return 0;
4579 _ACEOF
4580 if ac_fn_cxx_try_compile "$LINENO"; then :
4581 ac_cv_prog_cxx_g=yes
4582 else
4583 CXXFLAGS=""
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4588 main ()
4592 return 0;
4594 _ACEOF
4595 if ac_fn_cxx_try_compile "$LINENO"; then :
4597 else
4598 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4599 CXXFLAGS="-g"
4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4604 main ()
4608 return 0;
4610 _ACEOF
4611 if ac_fn_cxx_try_compile "$LINENO"; then :
4612 ac_cv_prog_cxx_g=yes
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4622 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4623 if test "$ac_test_CXXFLAGS" = set; then
4624 CXXFLAGS=$ac_save_CXXFLAGS
4625 elif test $ac_cv_prog_cxx_g = yes; then
4626 if test "$GXX" = yes; then
4627 CXXFLAGS="-g -O2"
4628 else
4629 CXXFLAGS="-g"
4631 else
4632 if test "$GXX" = yes; then
4633 CXXFLAGS="-O2"
4634 else
4635 CXXFLAGS=
4638 ac_ext=c
4639 ac_cpp='$CPP $CPPFLAGS'
4640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4644 if test -n "$ac_tool_prefix"; then
4645 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4646 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if ${ac_cv_prog_CPPBIN+:} false; then :
4650 $as_echo_n "(cached) " >&6
4651 else
4652 if test -n "$CPPBIN"; then
4653 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4654 else
4655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4656 for as_dir in $PATH
4658 IFS=$as_save_IFS
4659 test -z "$as_dir" && as_dir=.
4660 for ac_exec_ext in '' $ac_executable_extensions; do
4661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4662 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 break 2
4666 done
4667 done
4668 IFS=$as_save_IFS
4672 CPPBIN=$ac_cv_prog_CPPBIN
4673 if test -n "$CPPBIN"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4675 $as_echo "$CPPBIN" >&6; }
4676 else
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4683 if test -z "$ac_cv_prog_CPPBIN"; then
4684 ac_ct_CPPBIN=$CPPBIN
4685 # Extract the first word of "cpp", so it can be a program name with args.
4686 set dummy cpp; ac_word=$2
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4688 $as_echo_n "checking for $ac_word... " >&6; }
4689 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4690 $as_echo_n "(cached) " >&6
4691 else
4692 if test -n "$ac_ct_CPPBIN"; then
4693 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4694 else
4695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4696 for as_dir in $PATH
4698 IFS=$as_save_IFS
4699 test -z "$as_dir" && as_dir=.
4700 for ac_exec_ext in '' $ac_executable_extensions; do
4701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4702 ac_cv_prog_ac_ct_CPPBIN="cpp"
4703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4704 break 2
4706 done
4707 done
4708 IFS=$as_save_IFS
4712 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4713 if test -n "$ac_ct_CPPBIN"; then
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4715 $as_echo "$ac_ct_CPPBIN" >&6; }
4716 else
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4721 if test "x$ac_ct_CPPBIN" = x; then
4722 CPPBIN="cpp"
4723 else
4724 case $cross_compiling:$ac_tool_warned in
4725 yes:)
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4728 ac_tool_warned=yes ;;
4729 esac
4730 CPPBIN=$ac_ct_CPPBIN
4732 else
4733 CPPBIN="$ac_cv_prog_CPPBIN"
4737 cat >>confdefs.h <<_ACEOF
4738 #define EXEEXT "$ac_exeext"
4739 _ACEOF
4741 if test -n "$ac_tool_prefix"; then
4742 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4743 set dummy ${ac_tool_prefix}ld; ac_word=$2
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4745 $as_echo_n "checking for $ac_word... " >&6; }
4746 if ${ac_cv_prog_LD+:} false; then :
4747 $as_echo_n "(cached) " >&6
4748 else
4749 if test -n "$LD"; then
4750 ac_cv_prog_LD="$LD" # Let the user override the test.
4751 else
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4753 for as_dir in $PATH
4755 IFS=$as_save_IFS
4756 test -z "$as_dir" && as_dir=.
4757 for ac_exec_ext in '' $ac_executable_extensions; do
4758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4759 ac_cv_prog_LD="${ac_tool_prefix}ld"
4760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4761 break 2
4763 done
4764 done
4765 IFS=$as_save_IFS
4769 LD=$ac_cv_prog_LD
4770 if test -n "$LD"; then
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4772 $as_echo "$LD" >&6; }
4773 else
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4775 $as_echo "no" >&6; }
4780 if test -z "$ac_cv_prog_LD"; then
4781 ac_ct_LD=$LD
4782 # Extract the first word of "ld", so it can be a program name with args.
4783 set dummy ld; ac_word=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4787 $as_echo_n "(cached) " >&6
4788 else
4789 if test -n "$ac_ct_LD"; then
4790 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4791 else
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793 for as_dir in $PATH
4795 IFS=$as_save_IFS
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4799 ac_cv_prog_ac_ct_LD="ld"
4800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4801 break 2
4803 done
4804 done
4805 IFS=$as_save_IFS
4809 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4810 if test -n "$ac_ct_LD"; then
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4812 $as_echo "$ac_ct_LD" >&6; }
4813 else
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4818 if test "x$ac_ct_LD" = x; then
4819 LD=""
4820 else
4821 case $cross_compiling:$ac_tool_warned in
4822 yes:)
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4825 ac_tool_warned=yes ;;
4826 esac
4827 LD=$ac_ct_LD
4829 else
4830 LD="$ac_cv_prog_LD"
4834 case $host in
4835 *-darwin*)
4836 if test "x$enable_win64" = "xyes"
4837 then
4838 CC="$CC -m64"
4839 CXX="$CXX -m64"
4840 host_cpu="x86_64"
4841 notice_platform="64-bit "
4842 TARGETFLAGS="-m64"
4844 else
4845 CC="$CC -m32"
4846 CXX="$CXX -m32"
4847 host_cpu="i386"
4848 notice_platform="32-bit "
4849 TARGETFLAGS="-m32"
4851 enable_win16=${enable_win16:-yes}
4853 with_fontconfig=${with_fontconfig:-no}
4855 x86_64*)
4856 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4857 then
4858 CC="$CC -m32"
4859 CXX="$CXX -m32"
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4861 $as_echo_n "checking whether $CC works... " >&6; }
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4867 main ()
4871 return 0;
4873 _ACEOF
4874 if ac_fn_c_try_link "$LINENO"; then :
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4876 $as_echo "yes" >&6; }
4877 else
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4880 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4882 rm -f core conftest.err conftest.$ac_objext \
4883 conftest$ac_exeext conftest.$ac_ext
4884 host_cpu="i386"
4885 notice_platform="32-bit "
4886 TARGETFLAGS="-m32"
4888 enable_win16=${enable_win16:-yes}
4889 else
4890 if test "x${GCC}" = "xyes"
4891 then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4893 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4896 #include <stdarg.h>
4898 main ()
4900 void func(__builtin_ms_va_list *args);
4902 return 0;
4904 _ACEOF
4905 if ac_fn_c_try_compile "$LINENO"; then :
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4907 $as_echo "yes" >&6; }
4908 else
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 $as_echo "no" >&6; }
4911 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4915 TARGETFLAGS="-m64"
4919 arm*)
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4921 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4924 int ac_test(int i) { return i; }
4926 main ()
4928 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4930 return 0;
4932 _ACEOF
4933 if ac_fn_c_try_link "$LINENO"; then :
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4935 $as_echo "yes" >&6; }
4936 else
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4939 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4941 rm -f core conftest.err conftest.$ac_objext \
4942 conftest$ac_exeext conftest.$ac_ext
4943 CFLAGS="$CFLAGS -marm"
4944 TARGETFLAGS="-marm"
4947 *-mingw32*|*-cygwin*)
4948 enable_win16=${enable_win16:-no}
4949 CFLAGS="$CFLAGS -D_WIN32"
4951 i[3456789]86*)
4952 enable_win16=${enable_win16:-yes}
4954 esac
4956 enable_win16=${enable_win16:-no}
4957 enable_win64=${enable_win64:-no}
4959 enable_winetest=${enable_winetest:-$enable_tests}
4961 if test -n "$with_wine64"
4962 then
4963 if test "x$enable_win64" = "xyes"
4964 then
4965 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4966 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4968 enable_fonts=${enable_fonts:-no}
4969 enable_server=${enable_server:-no}
4970 elif test "x$enable_win64" = "xyes"
4971 then
4972 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4976 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4977 if ${wine_cv_toolsdir+:} false; then :
4978 $as_echo_n "(cached) " >&6
4979 else
4980 wine_cv_toolsdir="$with_wine_tools"
4981 if test -z "$with_wine_tools"; then
4982 if test "$cross_compiling" = "yes"; then
4983 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4984 elif test -n "$with_wine64"; then
4985 wine_cv_toolsdir="$with_wine64"
4988 if test -z "$wine_cv_toolsdir"; then
4989 wine_makedep=tools/makedep
4990 wine_cv_toolsdir="\$(top_builddir)"
4991 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4992 wine_makedep=$wine_cv_toolsdir/tools/makedep
4993 case "$wine_cv_toolsdir" in
4994 /*) ;;
4995 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4996 esac
4997 enable_tools=${enable_tools:-no}
4998 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4999 else
5000 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5004 $as_echo "$wine_cv_toolsdir" >&6; }
5005 TOOLSDIR=$wine_cv_toolsdir
5007 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5008 then
5009 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5013 for ac_prog in flex
5015 # Extract the first word of "$ac_prog", so it can be a program name with args.
5016 set dummy $ac_prog; ac_word=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if ${ac_cv_prog_FLEX+:} false; then :
5020 $as_echo_n "(cached) " >&6
5021 else
5022 if test -n "$FLEX"; then
5023 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5024 else
5025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5026 for as_dir in $PATH
5028 IFS=$as_save_IFS
5029 test -z "$as_dir" && as_dir=.
5030 for ac_exec_ext in '' $ac_executable_extensions; do
5031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5032 ac_cv_prog_FLEX="$ac_prog"
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 break 2
5036 done
5037 done
5038 IFS=$as_save_IFS
5042 FLEX=$ac_cv_prog_FLEX
5043 if test -n "$FLEX"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5045 $as_echo "$FLEX" >&6; }
5046 else
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5052 test -n "$FLEX" && break
5053 done
5054 test -n "$FLEX" || FLEX="none"
5056 if test "$FLEX" = "none"
5057 then
5058 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5061 $as_echo_n "checking whether flex is recent enough... " >&6; }
5062 cat >conftest.l <<EOF
5063 %top{
5064 #include "prediluvian.h"
5068 if $FLEX -t conftest.l >/dev/null 2>&5
5069 then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5071 $as_echo "yes" >&6; }
5072 else
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5075 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5078 for ac_prog in bison
5080 # Extract the first word of "$ac_prog", so it can be a program name with args.
5081 set dummy $ac_prog; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_BISON+:} false; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$BISON"; then
5088 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_BISON="$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5101 done
5102 done
5103 IFS=$as_save_IFS
5107 BISON=$ac_cv_prog_BISON
5108 if test -n "$BISON"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5110 $as_echo "$BISON" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$BISON" && break
5118 done
5119 test -n "$BISON" || BISON="none"
5121 if test "$BISON" = "none"
5122 then
5123 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5126 if test -n "$ac_tool_prefix"; then
5127 for ac_prog in ar gar
5129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_AR+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 if test -n "$AR"; then
5137 ac_cv_prog_AR="$AR" # Let the user override the test.
5138 else
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 for as_dir in $PATH
5142 IFS=$as_save_IFS
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 break 2
5150 done
5151 done
5152 IFS=$as_save_IFS
5156 AR=$ac_cv_prog_AR
5157 if test -n "$AR"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5159 $as_echo "$AR" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5166 test -n "$AR" && break
5167 done
5169 if test -z "$AR"; then
5170 ac_ct_AR=$AR
5171 for ac_prog in ar gar
5173 # Extract the first word of "$ac_prog", so it can be a program name with args.
5174 set dummy $ac_prog; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 if test -n "$ac_ct_AR"; then
5181 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5182 else
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 for as_dir in $PATH
5186 IFS=$as_save_IFS
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_ac_ct_AR="$ac_prog"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 break 2
5194 done
5195 done
5196 IFS=$as_save_IFS
5200 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5201 if test -n "$ac_ct_AR"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5203 $as_echo "$ac_ct_AR" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5210 test -n "$ac_ct_AR" && break
5211 done
5213 if test "x$ac_ct_AR" = x; then
5214 AR="ar"
5215 else
5216 case $cross_compiling:$ac_tool_warned in
5217 yes:)
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5220 ac_tool_warned=yes ;;
5221 esac
5222 AR=$ac_ct_AR
5226 if test -n "$ac_tool_prefix"; then
5227 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5228 set dummy ${ac_tool_prefix}strip; ac_word=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_STRIP+:} false; then :
5232 $as_echo_n "(cached) " >&6
5233 else
5234 if test -n "$STRIP"; then
5235 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5248 done
5249 done
5250 IFS=$as_save_IFS
5254 STRIP=$ac_cv_prog_STRIP
5255 if test -n "$STRIP"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5257 $as_echo "$STRIP" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5265 if test -z "$ac_cv_prog_STRIP"; then
5266 ac_ct_STRIP=$STRIP
5267 # Extract the first word of "strip", so it can be a program name with args.
5268 set dummy strip; ac_word=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 if test -n "$ac_ct_STRIP"; then
5275 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5276 else
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278 for as_dir in $PATH
5280 IFS=$as_save_IFS
5281 test -z "$as_dir" && as_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5284 ac_cv_prog_ac_ct_STRIP="strip"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286 break 2
5288 done
5289 done
5290 IFS=$as_save_IFS
5294 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5295 if test -n "$ac_ct_STRIP"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5297 $as_echo "$ac_ct_STRIP" >&6; }
5298 else
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5303 if test "x$ac_ct_STRIP" = x; then
5304 STRIP="strip"
5305 else
5306 case $cross_compiling:$ac_tool_warned in
5307 yes:)
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned=yes ;;
5311 esac
5312 STRIP=$ac_ct_STRIP
5314 else
5315 STRIP="$ac_cv_prog_STRIP"
5318 ARFLAGS=rc
5320 if test -n "$ac_tool_prefix"; then
5321 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5322 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_RANLIB+:} false; then :
5326 $as_echo_n "(cached) " >&6
5327 else
5328 if test -n "$RANLIB"; then
5329 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5330 else
5331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5332 for as_dir in $PATH
5334 IFS=$as_save_IFS
5335 test -z "$as_dir" && as_dir=.
5336 for ac_exec_ext in '' $ac_executable_extensions; do
5337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 break 2
5342 done
5343 done
5344 IFS=$as_save_IFS
5348 RANLIB=$ac_cv_prog_RANLIB
5349 if test -n "$RANLIB"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5351 $as_echo "$RANLIB" >&6; }
5352 else
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5359 if test -z "$ac_cv_prog_RANLIB"; then
5360 ac_ct_RANLIB=$RANLIB
5361 # Extract the first word of "ranlib", so it can be a program name with args.
5362 set dummy ranlib; ac_word=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5366 $as_echo_n "(cached) " >&6
5367 else
5368 if test -n "$ac_ct_RANLIB"; then
5369 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5370 else
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 for as_dir in $PATH
5374 IFS=$as_save_IFS
5375 test -z "$as_dir" && as_dir=.
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_ac_ct_RANLIB="ranlib"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380 break 2
5382 done
5383 done
5384 IFS=$as_save_IFS
5388 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5389 if test -n "$ac_ct_RANLIB"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5391 $as_echo "$ac_ct_RANLIB" >&6; }
5392 else
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5397 if test "x$ac_ct_RANLIB" = x; then
5398 RANLIB=":"
5399 else
5400 case $cross_compiling:$ac_tool_warned in
5401 yes:)
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5404 ac_tool_warned=yes ;;
5405 esac
5406 RANLIB=$ac_ct_RANLIB
5408 else
5409 RANLIB="$ac_cv_prog_RANLIB"
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5413 $as_echo_n "checking whether ln -s works... " >&6; }
5414 LN_S=$as_ln_s
5415 if test "$LN_S" = "ln -s"; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5417 $as_echo "yes" >&6; }
5418 else
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5420 $as_echo "no, using $LN_S" >&6; }
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5424 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5425 if ${ac_cv_path_GREP+:} false; then :
5426 $as_echo_n "(cached) " >&6
5427 else
5428 if test -z "$GREP"; then
5429 ac_path_GREP_found=false
5430 # Loop through the user's path and test for each of PROGNAME-LIST
5431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5434 IFS=$as_save_IFS
5435 test -z "$as_dir" && as_dir=.
5436 for ac_prog in grep ggrep; do
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5439 as_fn_executable_p "$ac_path_GREP" || continue
5440 # Check for GNU ac_path_GREP and select it if it is found.
5441 # Check for GNU $ac_path_GREP
5442 case `"$ac_path_GREP" --version 2>&1` in
5443 *GNU*)
5444 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5446 ac_count=0
5447 $as_echo_n 0123456789 >"conftest.in"
5448 while :
5450 cat "conftest.in" "conftest.in" >"conftest.tmp"
5451 mv "conftest.tmp" "conftest.in"
5452 cp "conftest.in" "conftest.nl"
5453 $as_echo 'GREP' >> "conftest.nl"
5454 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5455 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5456 as_fn_arith $ac_count + 1 && ac_count=$as_val
5457 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5458 # Best one so far, save it but keep looking for a better one
5459 ac_cv_path_GREP="$ac_path_GREP"
5460 ac_path_GREP_max=$ac_count
5462 # 10*(2^10) chars as input seems more than enough
5463 test $ac_count -gt 10 && break
5464 done
5465 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5466 esac
5468 $ac_path_GREP_found && break 3
5469 done
5470 done
5471 done
5472 IFS=$as_save_IFS
5473 if test -z "$ac_cv_path_GREP"; then
5474 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5476 else
5477 ac_cv_path_GREP=$GREP
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5482 $as_echo "$ac_cv_path_GREP" >&6; }
5483 GREP="$ac_cv_path_GREP"
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5487 $as_echo_n "checking for egrep... " >&6; }
5488 if ${ac_cv_path_EGREP+:} false; then :
5489 $as_echo_n "(cached) " >&6
5490 else
5491 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5492 then ac_cv_path_EGREP="$GREP -E"
5493 else
5494 if test -z "$EGREP"; then
5495 ac_path_EGREP_found=false
5496 # Loop through the user's path and test for each of PROGNAME-LIST
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_prog in egrep; do
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5505 as_fn_executable_p "$ac_path_EGREP" || continue
5506 # Check for GNU ac_path_EGREP and select it if it is found.
5507 # Check for GNU $ac_path_EGREP
5508 case `"$ac_path_EGREP" --version 2>&1` in
5509 *GNU*)
5510 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5512 ac_count=0
5513 $as_echo_n 0123456789 >"conftest.in"
5514 while :
5516 cat "conftest.in" "conftest.in" >"conftest.tmp"
5517 mv "conftest.tmp" "conftest.in"
5518 cp "conftest.in" "conftest.nl"
5519 $as_echo 'EGREP' >> "conftest.nl"
5520 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5521 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5522 as_fn_arith $ac_count + 1 && ac_count=$as_val
5523 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5524 # Best one so far, save it but keep looking for a better one
5525 ac_cv_path_EGREP="$ac_path_EGREP"
5526 ac_path_EGREP_max=$ac_count
5528 # 10*(2^10) chars as input seems more than enough
5529 test $ac_count -gt 10 && break
5530 done
5531 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5532 esac
5534 $ac_path_EGREP_found && break 3
5535 done
5536 done
5537 done
5538 IFS=$as_save_IFS
5539 if test -z "$ac_cv_path_EGREP"; then
5540 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5542 else
5543 ac_cv_path_EGREP=$EGREP
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5549 $as_echo "$ac_cv_path_EGREP" >&6; }
5550 EGREP="$ac_cv_path_EGREP"
5553 # Extract the first word of "ldconfig", so it can be a program name with args.
5554 set dummy ldconfig; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_path_LDCONFIG+:} false; then :
5558 $as_echo_n "(cached) " >&6
5559 else
5560 case $LDCONFIG in
5561 [\\/]* | ?:[\\/]*)
5562 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 for as_dir in /sbin /usr/sbin $PATH
5568 IFS=$as_save_IFS
5569 test -z "$as_dir" && as_dir=.
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5572 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 break 2
5576 done
5577 done
5578 IFS=$as_save_IFS
5580 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5582 esac
5584 LDCONFIG=$ac_cv_path_LDCONFIG
5585 if test -n "$LDCONFIG"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5587 $as_echo "$LDCONFIG" >&6; }
5588 else
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5594 for ac_prog in msgfmt
5596 # Extract the first word of "$ac_prog", so it can be a program name with args.
5597 set dummy $ac_prog; ac_word=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_MSGFMT+:} false; then :
5601 $as_echo_n "(cached) " >&6
5602 else
5603 if test -n "$MSGFMT"; then
5604 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5605 else
5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 for as_dir in $PATH
5609 IFS=$as_save_IFS
5610 test -z "$as_dir" && as_dir=.
5611 for ac_exec_ext in '' $ac_executable_extensions; do
5612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_MSGFMT="$ac_prog"
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615 break 2
5617 done
5618 done
5619 IFS=$as_save_IFS
5623 MSGFMT=$ac_cv_prog_MSGFMT
5624 if test -n "$MSGFMT"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5626 $as_echo "$MSGFMT" >&6; }
5627 else
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5633 test -n "$MSGFMT" && break
5634 done
5635 test -n "$MSGFMT" || MSGFMT="false"
5637 if ${ac_tool_prefix+:} false; then :
5638 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5639 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5643 $as_echo_n "(cached) " >&6
5644 else
5645 if test -n "$PKG_CONFIG"; then
5646 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5647 else
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 for as_dir in $PATH
5651 IFS=$as_save_IFS
5652 test -z "$as_dir" && as_dir=.
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 break 2
5659 done
5660 done
5661 IFS=$as_save_IFS
5665 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5666 if test -n "$PKG_CONFIG"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5668 $as_echo "$PKG_CONFIG" >&6; }
5669 else
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5676 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5677 if test "x$cross_compiling" = xyes; then :
5679 else
5680 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5681 # Extract the first word of "pkg-config", so it can be a program name with args.
5682 set dummy pkg-config; ac_word=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -n "$PKG_CONFIG"; then
5689 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5690 else
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_PKG_CONFIG="pkg-config"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 break 2
5702 done
5703 done
5704 IFS=$as_save_IFS
5708 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5709 if test -n "$PKG_CONFIG"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5711 $as_echo "$PKG_CONFIG" >&6; }
5712 else
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5719 else
5720 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5723 if test "x$enable_maintainer_mode" != "xyes"
5724 then
5725 FONTFORGE=""
5726 RSVG=""
5727 CONVERT=""
5728 ICOTOOL=""
5729 else
5730 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5731 for ac_prog in fontforge
5733 # Extract the first word of "$ac_prog", so it can be a program name with args.
5734 set dummy $ac_prog; ac_word=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; }
5737 if ${ac_cv_prog_FONTFORGE+:} false; then :
5738 $as_echo_n "(cached) " >&6
5739 else
5740 if test -n "$FONTFORGE"; then
5741 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5742 else
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 for as_dir in $PATH
5746 IFS=$as_save_IFS
5747 test -z "$as_dir" && as_dir=.
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5750 ac_cv_prog_FONTFORGE="$ac_prog"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 break 2
5754 done
5755 done
5756 IFS=$as_save_IFS
5760 FONTFORGE=$ac_cv_prog_FONTFORGE
5761 if test -n "$FONTFORGE"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5763 $as_echo "$FONTFORGE" >&6; }
5764 else
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5770 test -n "$FONTFORGE" && break
5771 done
5772 test -n "$FONTFORGE" || FONTFORGE="false"
5774 for ac_prog in rsvg-convert rsvg
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_RSVG+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$RSVG"; then
5784 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_RSVG="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5797 done
5798 done
5799 IFS=$as_save_IFS
5803 RSVG=$ac_cv_prog_RSVG
5804 if test -n "$RSVG"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5806 $as_echo "$RSVG" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 test -n "$RSVG" && break
5814 done
5815 test -n "$RSVG" || RSVG="false"
5817 for ac_prog in convert
5819 # Extract the first word of "$ac_prog", so it can be a program name with args.
5820 set dummy $ac_prog; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_CONVERT+:} false; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 if test -n "$CONVERT"; then
5827 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5832 IFS=$as_save_IFS
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_CONVERT="$ac_prog"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 break 2
5840 done
5841 done
5842 IFS=$as_save_IFS
5846 CONVERT=$ac_cv_prog_CONVERT
5847 if test -n "$CONVERT"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5849 $as_echo "$CONVERT" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5856 test -n "$CONVERT" && break
5857 done
5858 test -n "$CONVERT" || CONVERT="false"
5860 for ac_prog in icotool
5862 # Extract the first word of "$ac_prog", so it can be a program name with args.
5863 set dummy $ac_prog; ac_word=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_ICOTOOL+:} false; then :
5867 $as_echo_n "(cached) " >&6
5868 else
5869 if test -n "$ICOTOOL"; then
5870 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5871 else
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 for as_dir in $PATH
5875 IFS=$as_save_IFS
5876 test -z "$as_dir" && as_dir=.
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5879 ac_cv_prog_ICOTOOL="$ac_prog"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 break 2
5883 done
5884 done
5885 IFS=$as_save_IFS
5889 ICOTOOL=$ac_cv_prog_ICOTOOL
5890 if test -n "$ICOTOOL"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5892 $as_echo "$ICOTOOL" >&6; }
5893 else
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5899 test -n "$ICOTOOL" && break
5900 done
5901 test -n "$ICOTOOL" || ICOTOOL="false"
5903 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5904 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5906 if test "$CONVERT" = false
5907 then
5908 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5909 else
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5911 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5912 convert_version=`convert --version | head -n1`
5913 if test "x$convert_version" != "x"
5914 then
5915 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5916 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5917 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5918 then
5919 CONVERT=false
5922 if test "$CONVERT" = false
5923 then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5925 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5926 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5927 else
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5929 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5933 if test "$ICOTOOL" = false
5934 then
5935 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5936 else
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5938 $as_echo_n "checking for recent enough icotool... " >&6; }
5939 icotool_version=`icotool --version | head -n1`
5940 if test "x$icotool_version" != "x"
5941 then
5942 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5943 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5944 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5945 then
5946 ICOTOOL=false
5947 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5950 if test "$ICOTOOL" = false
5951 then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5953 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5954 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5955 else
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5957 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5961 with_gettext=yes
5962 with_gettextpo=yes
5963 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5966 test "x$with_gettext" != xno || MSGFMT=false
5967 if test "$MSGFMT" != "false"
5968 then
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5970 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5971 cat >conftest.po <<EOF
5972 # comment
5973 msgctxt "ctxt"
5974 msgid "id"
5975 msgstr "str"
5977 if $MSGFMT -o /dev/null conftest.po 2>&5
5978 then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5980 $as_echo "yes" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5984 MSGFMT=false
5987 if test "$MSGFMT" = false; then :
5988 case "x$with_gettext" in
5989 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5990 xno) ;;
5991 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5992 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5993 esac
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5998 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5999 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 ac_check_lib_save_LIBS=$LIBS
6003 LIBS="-li386 $LIBS"
6004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6005 /* end confdefs.h. */
6007 /* Override any GCC internal prototype to avoid an error.
6008 Use char because int might match the return type of a GCC
6009 builtin and then its argument prototype would still apply. */
6010 #ifdef __cplusplus
6011 extern "C"
6012 #endif
6013 char i386_set_ldt ();
6015 main ()
6017 return i386_set_ldt ();
6019 return 0;
6021 _ACEOF
6022 if ac_fn_c_try_link "$LINENO"; then :
6023 ac_cv_lib_i386_i386_set_ldt=yes
6024 else
6025 ac_cv_lib_i386_i386_set_ldt=no
6027 rm -f core conftest.err conftest.$ac_objext \
6028 conftest$ac_exeext conftest.$ac_ext
6029 LIBS=$ac_check_lib_save_LIBS
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6032 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6033 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6034 cat >>confdefs.h <<_ACEOF
6035 #define HAVE_LIBI386 1
6036 _ACEOF
6038 LIBS="-li386 $LIBS"
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6043 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6044 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6045 $as_echo_n "(cached) " >&6
6046 else
6047 ac_check_lib_save_LIBS=$LIBS
6048 LIBS="-lossaudio $LIBS"
6049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6052 /* Override any GCC internal prototype to avoid an error.
6053 Use char because int might match the return type of a GCC
6054 builtin and then its argument prototype would still apply. */
6055 #ifdef __cplusplus
6056 extern "C"
6057 #endif
6058 char _oss_ioctl ();
6060 main ()
6062 return _oss_ioctl ();
6064 return 0;
6066 _ACEOF
6067 if ac_fn_c_try_link "$LINENO"; then :
6068 ac_cv_lib_ossaudio__oss_ioctl=yes
6069 else
6070 ac_cv_lib_ossaudio__oss_ioctl=no
6072 rm -f core conftest.err conftest.$ac_objext \
6073 conftest$ac_exeext conftest.$ac_ext
6074 LIBS=$ac_check_lib_save_LIBS
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6077 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6078 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6079 cat >>confdefs.h <<_ACEOF
6080 #define HAVE_LIBOSSAUDIO 1
6081 _ACEOF
6083 LIBS="-lossaudio $LIBS"
6088 OPENGL_LIBS=""
6092 # Check whether --enable-largefile was given.
6093 if test "${enable_largefile+set}" = set; then :
6094 enableval=$enable_largefile;
6097 if test "$enable_largefile" != no; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6100 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6101 if ${ac_cv_sys_largefile_CC+:} false; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 ac_cv_sys_largefile_CC=no
6105 if test "$GCC" != yes; then
6106 ac_save_CC=$CC
6107 while :; do
6108 # IRIX 6.2 and later do not support large files by default,
6109 # so use the C compiler's -n32 option if that helps.
6110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6111 /* end confdefs.h. */
6112 #include <sys/types.h>
6113 /* Check that off_t can represent 2**63 - 1 correctly.
6114 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6115 since some C++ compilers masquerading as C compilers
6116 incorrectly reject 9223372036854775807. */
6117 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6118 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6119 && LARGE_OFF_T % 2147483647 == 1)
6120 ? 1 : -1];
6122 main ()
6126 return 0;
6128 _ACEOF
6129 if ac_fn_c_try_compile "$LINENO"; then :
6130 break
6132 rm -f core conftest.err conftest.$ac_objext
6133 CC="$CC -n32"
6134 if ac_fn_c_try_compile "$LINENO"; then :
6135 ac_cv_sys_largefile_CC=' -n32'; break
6137 rm -f core conftest.err conftest.$ac_objext
6138 break
6139 done
6140 CC=$ac_save_CC
6141 rm -f conftest.$ac_ext
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6145 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6146 if test "$ac_cv_sys_largefile_CC" != no; then
6147 CC=$CC$ac_cv_sys_largefile_CC
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6151 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6152 if ${ac_cv_sys_file_offset_bits+:} false; then :
6153 $as_echo_n "(cached) " >&6
6154 else
6155 while :; do
6156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6157 /* end confdefs.h. */
6158 #include <sys/types.h>
6159 /* Check that off_t can represent 2**63 - 1 correctly.
6160 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6161 since some C++ compilers masquerading as C compilers
6162 incorrectly reject 9223372036854775807. */
6163 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6164 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6165 && LARGE_OFF_T % 2147483647 == 1)
6166 ? 1 : -1];
6168 main ()
6172 return 0;
6174 _ACEOF
6175 if ac_fn_c_try_compile "$LINENO"; then :
6176 ac_cv_sys_file_offset_bits=no; break
6178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6180 /* end confdefs.h. */
6181 #define _FILE_OFFSET_BITS 64
6182 #include <sys/types.h>
6183 /* Check that off_t can represent 2**63 - 1 correctly.
6184 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6185 since some C++ compilers masquerading as C compilers
6186 incorrectly reject 9223372036854775807. */
6187 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6188 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6189 && LARGE_OFF_T % 2147483647 == 1)
6190 ? 1 : -1];
6192 main ()
6196 return 0;
6198 _ACEOF
6199 if ac_fn_c_try_compile "$LINENO"; then :
6200 ac_cv_sys_file_offset_bits=64; break
6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6203 ac_cv_sys_file_offset_bits=unknown
6204 break
6205 done
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6208 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6209 case $ac_cv_sys_file_offset_bits in #(
6210 no | unknown) ;;
6212 cat >>confdefs.h <<_ACEOF
6213 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6214 _ACEOF
6216 esac
6217 rm -rf conftest*
6218 if test $ac_cv_sys_file_offset_bits = unknown; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6220 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6221 if ${ac_cv_sys_large_files+:} false; then :
6222 $as_echo_n "(cached) " >&6
6223 else
6224 while :; do
6225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6227 #include <sys/types.h>
6228 /* Check that off_t can represent 2**63 - 1 correctly.
6229 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6230 since some C++ compilers masquerading as C compilers
6231 incorrectly reject 9223372036854775807. */
6232 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6233 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6234 && LARGE_OFF_T % 2147483647 == 1)
6235 ? 1 : -1];
6237 main ()
6241 return 0;
6243 _ACEOF
6244 if ac_fn_c_try_compile "$LINENO"; then :
6245 ac_cv_sys_large_files=no; break
6247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6250 #define _LARGE_FILES 1
6251 #include <sys/types.h>
6252 /* Check that off_t can represent 2**63 - 1 correctly.
6253 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6254 since some C++ compilers masquerading as C compilers
6255 incorrectly reject 9223372036854775807. */
6256 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6257 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6258 && LARGE_OFF_T % 2147483647 == 1)
6259 ? 1 : -1];
6261 main ()
6265 return 0;
6267 _ACEOF
6268 if ac_fn_c_try_compile "$LINENO"; then :
6269 ac_cv_sys_large_files=1; break
6271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6272 ac_cv_sys_large_files=unknown
6273 break
6274 done
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6277 $as_echo "$ac_cv_sys_large_files" >&6; }
6278 case $ac_cv_sys_large_files in #(
6279 no | unknown) ;;
6281 cat >>confdefs.h <<_ACEOF
6282 #define _LARGE_FILES $ac_cv_sys_large_files
6283 _ACEOF
6285 esac
6286 rm -rf conftest*
6293 ac_ext=c
6294 ac_cpp='$CPP $CPPFLAGS'
6295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6299 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6300 # On Suns, sometimes $CPP names a directory.
6301 if test -n "$CPP" && test -d "$CPP"; then
6302 CPP=
6304 if test -z "$CPP"; then
6305 if ${ac_cv_prog_CPP+:} false; then :
6306 $as_echo_n "(cached) " >&6
6307 else
6308 # Double quotes because CPP needs to be expanded
6309 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6311 ac_preproc_ok=false
6312 for ac_c_preproc_warn_flag in '' yes
6314 # Use a header file that comes with gcc, so configuring glibc
6315 # with a fresh cross-compiler works.
6316 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6317 # <limits.h> exists even on freestanding compilers.
6318 # On the NeXT, cc -E runs the code through the compiler's parser,
6319 # not just through cpp. "Syntax error" is here to catch this case.
6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6322 #ifdef __STDC__
6323 # include <limits.h>
6324 #else
6325 # include <assert.h>
6326 #endif
6327 Syntax error
6328 _ACEOF
6329 if ac_fn_c_try_cpp "$LINENO"; then :
6331 else
6332 # Broken: fails on valid input.
6333 continue
6335 rm -f conftest.err conftest.i conftest.$ac_ext
6337 # OK, works on sane cases. Now check whether nonexistent headers
6338 # can be detected and how.
6339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <ac_nonexistent.h>
6342 _ACEOF
6343 if ac_fn_c_try_cpp "$LINENO"; then :
6344 # Broken: success on invalid input.
6345 continue
6346 else
6347 # Passes both tests.
6348 ac_preproc_ok=:
6349 break
6351 rm -f conftest.err conftest.i conftest.$ac_ext
6353 done
6354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6355 rm -f conftest.i conftest.err conftest.$ac_ext
6356 if $ac_preproc_ok; then :
6357 break
6360 done
6361 ac_cv_prog_CPP=$CPP
6364 CPP=$ac_cv_prog_CPP
6365 else
6366 ac_cv_prog_CPP=$CPP
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6369 $as_echo "$CPP" >&6; }
6370 ac_preproc_ok=false
6371 for ac_c_preproc_warn_flag in '' yes
6373 # Use a header file that comes with gcc, so configuring glibc
6374 # with a fresh cross-compiler works.
6375 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6376 # <limits.h> exists even on freestanding compilers.
6377 # On the NeXT, cc -E runs the code through the compiler's parser,
6378 # not just through cpp. "Syntax error" is here to catch this case.
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #ifdef __STDC__
6382 # include <limits.h>
6383 #else
6384 # include <assert.h>
6385 #endif
6386 Syntax error
6387 _ACEOF
6388 if ac_fn_c_try_cpp "$LINENO"; then :
6390 else
6391 # Broken: fails on valid input.
6392 continue
6394 rm -f conftest.err conftest.i conftest.$ac_ext
6396 # OK, works on sane cases. Now check whether nonexistent headers
6397 # can be detected and how.
6398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6400 #include <ac_nonexistent.h>
6401 _ACEOF
6402 if ac_fn_c_try_cpp "$LINENO"; then :
6403 # Broken: success on invalid input.
6404 continue
6405 else
6406 # Passes both tests.
6407 ac_preproc_ok=:
6408 break
6410 rm -f conftest.err conftest.i conftest.$ac_ext
6412 done
6413 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6414 rm -f conftest.i conftest.err conftest.$ac_ext
6415 if $ac_preproc_ok; then :
6417 else
6418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6420 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6421 See \`config.log' for more details" "$LINENO" 5; }
6424 ac_ext=c
6425 ac_cpp='$CPP $CPPFLAGS'
6426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6432 $as_echo_n "checking for ANSI C header files... " >&6; }
6433 if ${ac_cv_header_stdc+:} false; then :
6434 $as_echo_n "(cached) " >&6
6435 else
6436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6437 /* end confdefs.h. */
6438 #include <stdlib.h>
6439 #include <stdarg.h>
6440 #include <string.h>
6441 #include <float.h>
6444 main ()
6448 return 0;
6450 _ACEOF
6451 if ac_fn_c_try_compile "$LINENO"; then :
6452 ac_cv_header_stdc=yes
6453 else
6454 ac_cv_header_stdc=no
6456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6458 if test $ac_cv_header_stdc = yes; then
6459 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6461 /* end confdefs.h. */
6462 #include <string.h>
6464 _ACEOF
6465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6466 $EGREP "memchr" >/dev/null 2>&1; then :
6468 else
6469 ac_cv_header_stdc=no
6471 rm -f conftest*
6475 if test $ac_cv_header_stdc = yes; then
6476 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6478 /* end confdefs.h. */
6479 #include <stdlib.h>
6481 _ACEOF
6482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6483 $EGREP "free" >/dev/null 2>&1; then :
6485 else
6486 ac_cv_header_stdc=no
6488 rm -f conftest*
6492 if test $ac_cv_header_stdc = yes; then
6493 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6494 if test "$cross_compiling" = yes; then :
6496 else
6497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6499 #include <ctype.h>
6500 #include <stdlib.h>
6501 #if ((' ' & 0x0FF) == 0x020)
6502 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6503 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6504 #else
6505 # define ISLOWER(c) \
6506 (('a' <= (c) && (c) <= 'i') \
6507 || ('j' <= (c) && (c) <= 'r') \
6508 || ('s' <= (c) && (c) <= 'z'))
6509 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6510 #endif
6512 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6514 main ()
6516 int i;
6517 for (i = 0; i < 256; i++)
6518 if (XOR (islower (i), ISLOWER (i))
6519 || toupper (i) != TOUPPER (i))
6520 return 2;
6521 return 0;
6523 _ACEOF
6524 if ac_fn_c_try_run "$LINENO"; then :
6526 else
6527 ac_cv_header_stdc=no
6529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6530 conftest.$ac_objext conftest.beam conftest.$ac_ext
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6536 $as_echo "$ac_cv_header_stdc" >&6; }
6537 if test $ac_cv_header_stdc = yes; then
6539 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6543 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6544 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6545 inttypes.h stdint.h unistd.h
6546 do :
6547 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6548 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6550 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6551 cat >>confdefs.h <<_ACEOF
6552 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6553 _ACEOF
6557 done
6560 for ac_header in \
6561 AL/al.h \
6562 ApplicationServices/ApplicationServices.h \
6563 AudioToolbox/AudioConverter.h \
6564 AudioUnit/AudioUnit.h \
6565 AudioUnit/AudioComponent.h \
6566 CL/cl.h \
6567 Carbon/Carbon.h \
6568 CoreAudio/CoreAudio.h \
6569 CoreServices/CoreServices.h \
6570 DiskArbitration/DiskArbitration.h \
6571 IOKit/IOKitLib.h \
6572 IOKit/hid/IOHIDLib.h \
6573 OpenAL/al.h \
6574 OpenCL/opencl.h \
6575 QuickTime/ImageCompression.h \
6576 Security/Security.h \
6577 alias.h \
6578 alsa/asoundlib.h \
6579 arpa/inet.h \
6580 arpa/nameser.h \
6581 asm/types.h \
6582 asm/user.h \
6583 curses.h \
6584 direct.h \
6585 dirent.h \
6586 dlfcn.h \
6587 elf.h \
6588 float.h \
6589 fnmatch.h \
6590 getopt.h \
6591 gettext-po.h \
6592 grp.h \
6593 gsm.h \
6594 gsm/gsm.h \
6595 ieeefp.h \
6596 inet/mib2.h \
6597 io.h \
6598 kstat.h \
6599 lber.h \
6600 ldap.h \
6601 libproc.h \
6602 link.h \
6603 linux/cdrom.h \
6604 linux/compiler.h \
6605 linux/filter.h \
6606 linux/hdreg.h \
6607 linux/input.h \
6608 linux/ioctl.h \
6609 linux/joystick.h \
6610 linux/major.h \
6611 linux/param.h \
6612 linux/serial.h \
6613 linux/types.h \
6614 linux/ucdrom.h \
6615 lwp.h \
6616 mach-o/nlist.h \
6617 mach-o/loader.h \
6618 mach/mach.h \
6619 mach/machine.h \
6620 machine/cpu.h \
6621 machine/limits.h \
6622 machine/sysarch.h \
6623 mntent.h \
6624 ncurses.h \
6625 netdb.h \
6626 netinet/in.h \
6627 netinet/in_systm.h \
6628 netinet/tcp.h \
6629 netinet/tcp_fsm.h \
6630 pcap/pcap.h \
6631 poll.h \
6632 port.h \
6633 process.h \
6634 pthread.h \
6635 pwd.h \
6636 sched.h \
6637 scsi/scsi.h \
6638 scsi/scsi_ioctl.h \
6639 scsi/sg.h \
6640 stdbool.h \
6641 stdint.h \
6642 stropts.h \
6643 sys/asoundlib.h \
6644 sys/attr.h \
6645 sys/cdio.h \
6646 sys/elf32.h \
6647 sys/epoll.h \
6648 sys/event.h \
6649 sys/exec_elf.h \
6650 sys/filio.h \
6651 sys/inotify.h \
6652 sys/ioctl.h \
6653 sys/ipc.h \
6654 sys/limits.h \
6655 sys/link.h \
6656 sys/mman.h \
6657 sys/modem.h \
6658 sys/msg.h \
6659 sys/mtio.h \
6660 sys/param.h \
6661 sys/poll.h \
6662 sys/prctl.h \
6663 sys/protosw.h \
6664 sys/ptrace.h \
6665 sys/queue.h \
6666 sys/resource.h \
6667 sys/scsiio.h \
6668 sys/shm.h \
6669 sys/signal.h \
6670 sys/socket.h \
6671 sys/socketvar.h \
6672 sys/sockio.h \
6673 sys/statvfs.h \
6674 sys/strtio.h \
6675 sys/syscall.h \
6676 sys/tihdr.h \
6677 sys/time.h \
6678 sys/timeout.h \
6679 sys/times.h \
6680 sys/uio.h \
6681 sys/user.h \
6682 sys/utsname.h \
6683 sys/vm86.h \
6684 sys/wait.h \
6685 syscall.h \
6686 termios.h \
6687 unistd.h \
6688 utime.h \
6689 valgrind/memcheck.h \
6690 valgrind/valgrind.h \
6691 zlib.h
6693 do :
6694 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6695 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6696 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6697 cat >>confdefs.h <<_ACEOF
6698 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6699 _ACEOF
6703 done
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6706 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6707 if ${ac_cv_header_stat_broken+:} false; then :
6708 $as_echo_n "(cached) " >&6
6709 else
6710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6712 #include <sys/types.h>
6713 #include <sys/stat.h>
6715 #if defined S_ISBLK && defined S_IFDIR
6716 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6717 #endif
6719 #if defined S_ISBLK && defined S_IFCHR
6720 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6721 #endif
6723 #if defined S_ISLNK && defined S_IFREG
6724 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6725 #endif
6727 #if defined S_ISSOCK && defined S_IFREG
6728 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6729 #endif
6731 _ACEOF
6732 if ac_fn_c_try_compile "$LINENO"; then :
6733 ac_cv_header_stat_broken=no
6734 else
6735 ac_cv_header_stat_broken=yes
6737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6740 $as_echo "$ac_cv_header_stat_broken" >&6; }
6741 if test $ac_cv_header_stat_broken = yes; then
6743 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6749 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6750 do :
6751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6752 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6753 #ifdef HAVE_SYS_PARAM_H
6754 # include <sys/param.h>
6755 #endif
6757 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6758 cat >>confdefs.h <<_ACEOF
6759 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6760 _ACEOF
6764 done
6767 for ac_header in \
6768 netinet/ip.h \
6769 net/if.h \
6770 net/if_arp.h \
6771 net/if_dl.h \
6772 net/if_types.h \
6773 net/route.h \
6774 netinet/if_ether.h \
6775 netinet/if_inarp.h \
6776 netinet/in_pcb.h \
6777 netinet/ip_icmp.h \
6778 netinet/ip_var.h \
6779 netinet/udp.h \
6780 netipx/ipx.h \
6781 sys/un.h \
6783 do :
6784 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6785 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6786 #ifdef HAVE_SYS_SOCKET_H
6787 # include <sys/socket.h>
6788 #endif
6789 #ifdef HAVE_SYS_SOCKETVAR_H
6790 # include <sys/socketvar.h>
6791 #endif
6792 #ifdef HAVE_NET_ROUTE_H
6793 # include <net/route.h>
6794 #endif
6795 #ifdef HAVE_NETINET_IN_H
6796 # include <netinet/in.h>
6797 #endif
6798 #ifdef HAVE_NETINET_IN_SYSTM_H
6799 # include <netinet/in_systm.h>
6800 #endif
6801 #ifdef HAVE_NET_IF_H
6802 # include <net/if.h>
6803 #endif
6804 #ifdef HAVE_NETINET_IP_H
6805 # include <netinet/ip.h>
6806 #endif
6808 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6809 cat >>confdefs.h <<_ACEOF
6810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6811 _ACEOF
6815 done
6818 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6819 do :
6820 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6822 #ifdef HAVE_ALIAS_H
6823 # include <alias.h>
6824 #endif
6825 #ifdef HAVE_SYS_SOCKET_H
6826 # include <sys/socket.h>
6827 #endif
6828 #ifdef HAVE_SYS_SOCKETVAR_H
6829 # include <sys/socketvar.h>
6830 #endif
6831 #ifdef HAVE_SYS_TIMEOUT_H
6832 # include <sys/timeout.h>
6833 #endif
6834 #ifdef HAVE_NETINET_IN_H
6835 # include <netinet/in.h>
6836 #endif
6837 #ifdef HAVE_NETINET_IN_SYSTM_H
6838 # include <netinet/in_systm.h>
6839 #endif
6840 #ifdef HAVE_NETINET_IP_H
6841 # include <netinet/ip.h>
6842 #endif
6843 #ifdef HAVE_NETINET_IP_VAR_H
6844 # include <netinet/ip_var.h>
6845 #endif
6846 #ifdef HAVE_NETINET_IP_ICMP_H
6847 # include <netinet/ip_icmp.h>
6848 #endif
6849 #ifdef HAVE_NETINET_UDP_H
6850 # include <netinet/udp.h>
6851 #endif
6852 #ifdef HAVE_NETINET_TCP_H
6853 # include <netinet/tcp.h>
6854 #endif
6855 #ifdef HAVE_NETINET_TCP_TIMER_H
6856 #include <netinet/tcp_timer.h>
6857 #endif
6859 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6860 cat >>confdefs.h <<_ACEOF
6861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6862 _ACEOF
6866 done
6869 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6870 do :
6871 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6872 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6873 #ifdef HAVE_ASM_TYPES_H
6874 # include <asm/types.h>
6875 #endif
6876 #ifdef HAVE_SYS_SOCKET_H
6877 # include <sys/socket.h>
6878 #endif
6879 #ifdef HAVE_LINUX_TYPES_H
6880 # include <linux/types.h>
6881 #endif
6883 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6884 cat >>confdefs.h <<_ACEOF
6885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6886 _ACEOF
6890 done
6893 for ac_header in mach-o/dyld_images.h
6894 do :
6895 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6896 # include <stdbool.h>
6897 #endif
6898 #ifdef HAVE_STDINT_H
6899 # include <stdint.h>
6900 #endif
6902 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6903 cat >>confdefs.h <<_ACEOF
6904 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6905 _ACEOF
6909 done
6912 for ac_header in resolv.h
6913 do :
6914 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6915 #ifdef HAVE_SYS_SOCKET_H
6916 # include <sys/socket.h>
6917 #endif
6918 #ifdef HAVE_NETINET_IN_H
6919 # include <netinet/in.h>
6920 #endif
6921 #ifdef HAVE_ARPA_NAMESER_H
6922 # include <arpa/nameser.h>
6923 #endif
6925 if test "x$ac_cv_header_resolv_h" = xyes; then :
6926 cat >>confdefs.h <<_ACEOF
6927 #define HAVE_RESOLV_H 1
6928 _ACEOF
6932 done
6935 for ac_header in ifaddrs.h
6936 do :
6937 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6939 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6940 cat >>confdefs.h <<_ACEOF
6941 #define HAVE_IFADDRS_H 1
6942 _ACEOF
6946 done
6949 for ac_header in sys/ucontext.h
6950 do :
6951 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6953 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6954 cat >>confdefs.h <<_ACEOF
6955 #define HAVE_SYS_UCONTEXT_H 1
6956 _ACEOF
6960 done
6963 for ac_header in sys/thr.h
6964 do :
6965 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6966 #ifdef HAVE_SYS_UCONTEXT_H
6967 #include <sys/ucontext.h>
6968 #endif
6970 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6971 cat >>confdefs.h <<_ACEOF
6972 #define HAVE_SYS_THR_H 1
6973 _ACEOF
6977 done
6980 for ac_header in pthread_np.h
6981 do :
6982 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6983 #include <pthread.h>
6984 #endif
6986 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6987 cat >>confdefs.h <<_ACEOF
6988 #define HAVE_PTHREAD_NP_H 1
6989 _ACEOF
6993 done
6996 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6997 do :
6998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7000 #include <sys/time.h>
7001 #endif
7002 #include <sys/types.h>
7003 #ifdef HAVE_ASM_TYPES_H
7004 #include <asm/types.h>
7005 #endif
7007 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7008 cat >>confdefs.h <<_ACEOF
7009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7010 _ACEOF
7014 done
7017 for ac_header in libprocstat.h
7018 do :
7019 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7020 #include <sys/param.h>
7021 #endif
7022 #ifdef HAVE_SYS_QUEUE_H
7023 #include <sys/queue.h>
7024 #endif
7025 #ifdef HAVE_SYS_SOCKET_H
7026 #include <sys/socket.h>
7027 #endif
7029 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7030 cat >>confdefs.h <<_ACEOF
7031 #define HAVE_LIBPROCSTAT_H 1
7032 _ACEOF
7036 done
7040 dlldir="\${libdir}/wine"
7042 DLLPREFIX=""
7044 DLLFLAGS="-D_REENTRANT"
7046 LDRPATH_INSTALL=""
7048 LDRPATH_LOCAL=""
7050 LIBEXT="so"
7051 DLLEXT=".so"
7052 IMPLIBEXT="def"
7053 STATIC_IMPLIBEXT="def.a"
7054 # Extract the first word of "ldd", so it can be a program name with args.
7055 set dummy ldd; ac_word=$2
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7057 $as_echo_n "checking for $ac_word... " >&6; }
7058 if ${ac_cv_path_LDD+:} false; then :
7059 $as_echo_n "(cached) " >&6
7060 else
7061 case $LDD in
7062 [\\/]* | ?:[\\/]*)
7063 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 as_dummy="/sbin:/usr/sbin:$PATH"
7068 for as_dir in $as_dummy
7070 IFS=$as_save_IFS
7071 test -z "$as_dir" && as_dir=.
7072 for ac_exec_ext in '' $ac_executable_extensions; do
7073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7074 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076 break 2
7078 done
7079 done
7080 IFS=$as_save_IFS
7082 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7084 esac
7086 LDD=$ac_cv_path_LDD
7087 if test -n "$LDD"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7089 $as_echo "$LDD" >&6; }
7090 else
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7096 if test -n "$ac_tool_prefix"; then
7097 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7098 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100 $as_echo_n "checking for $ac_word... " >&6; }
7101 if ${ac_cv_prog_READELF+:} false; then :
7102 $as_echo_n "(cached) " >&6
7103 else
7104 if test -n "$READELF"; then
7105 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7106 else
7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108 for as_dir in $PATH
7110 IFS=$as_save_IFS
7111 test -z "$as_dir" && as_dir=.
7112 for ac_exec_ext in '' $ac_executable_extensions; do
7113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7114 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116 break 2
7118 done
7119 done
7120 IFS=$as_save_IFS
7124 READELF=$ac_cv_prog_READELF
7125 if test -n "$READELF"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7127 $as_echo "$READELF" >&6; }
7128 else
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 $as_echo "no" >&6; }
7135 if test -z "$ac_cv_prog_READELF"; then
7136 ac_ct_READELF=$READELF
7137 # Extract the first word of "readelf", so it can be a program name with args.
7138 set dummy readelf; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 $as_echo_n "checking for $ac_word... " >&6; }
7141 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7142 $as_echo_n "(cached) " >&6
7143 else
7144 if test -n "$ac_ct_READELF"; then
7145 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7146 else
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 for as_dir in $PATH
7150 IFS=$as_save_IFS
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_ac_ct_READELF="readelf"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7156 break 2
7158 done
7159 done
7160 IFS=$as_save_IFS
7164 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7165 if test -n "$ac_ct_READELF"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7167 $as_echo "$ac_ct_READELF" >&6; }
7168 else
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7173 if test "x$ac_ct_READELF" = x; then
7174 READELF="true"
7175 else
7176 case $cross_compiling:$ac_tool_warned in
7177 yes:)
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7180 ac_tool_warned=yes ;;
7181 esac
7182 READELF=$ac_ct_READELF
7184 else
7185 READELF="$ac_cv_prog_READELF"
7188 wine_rules_file=conf$$rules.make
7189 rm -f $wine_rules_file
7190 ALL_POT_FILES=""
7191 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7192 ALL_TEST_RESOURCES=""
7195 wine_fn_append_file ()
7197 as_fn_append $1 " \\$as_nl $2"
7200 wine_fn_ignore_file ()
7202 case "$1" in
7203 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7204 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7205 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7206 esac
7209 wine_fn_append_rule ()
7211 $as_echo "$1" >>$wine_rules_file
7214 wine_fn_has_flag ()
7216 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7219 wine_fn_depend_rules ()
7221 wine_fn_append_rule \
7222 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7223 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7224 depend: $ac_dir/depend
7225 .PHONY: $ac_dir/depend
7226 $ac_dir/depend: \$(MAKEDEP) dummy
7227 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7230 wine_fn_pot_rules ()
7232 test "x$with_gettextpo" = xyes || return
7234 if wine_fn_has_flag mc
7235 then
7236 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7237 wine_fn_append_rule \
7238 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7239 @cd $ac_dir && \$(MAKE) msg.pot
7240 $ac_dir/msg.pot: tools/wmc include"
7242 if wine_fn_has_flag po
7243 then
7244 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7245 wine_fn_append_rule \
7246 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7247 @cd $ac_dir && \$(MAKE) rsrc.pot
7248 $ac_dir/rsrc.pot: tools/wrc include"
7252 wine_fn_all_rules ()
7254 wine_fn_depend_rules
7255 wine_fn_append_rule \
7256 "all: $ac_dir
7257 .PHONY: $ac_dir
7258 $ac_dir: $ac_dir/Makefile dummy
7259 @cd $ac_dir && \$(MAKE)"
7262 wine_fn_install_rules ()
7264 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7266 wine_fn_append_rule \
7267 ".PHONY: $ac_dir/install $ac_dir/uninstall
7268 $ac_dir/install:: $ac_dir
7269 @cd $ac_dir && \$(MAKE) install
7270 $ac_dir/uninstall:: $ac_dir/Makefile
7271 @cd $ac_dir && \$(MAKE) uninstall
7272 install:: $ac_dir/install
7273 __uninstall__: $ac_dir/uninstall"
7275 if wine_fn_has_flag install-lib
7276 then
7277 wine_fn_append_rule \
7278 ".PHONY: $ac_dir/install-lib
7279 $ac_dir/install-lib:: $ac_dir
7280 @cd $ac_dir && \$(MAKE) install-lib
7281 install-lib:: $ac_dir/install-lib"
7284 if wine_fn_has_flag install-dev
7285 then
7286 wine_fn_append_rule \
7287 ".PHONY: $ac_dir/install-dev
7288 $ac_dir/install-dev:: $ac_dir
7289 @cd $ac_dir && \$(MAKE) install-dev
7290 install-dev:: $ac_dir/install-dev"
7294 wine_fn_clean_rules ()
7296 ac_clean=$@
7297 ac_extraclean="$ac_dir/Makefile"
7298 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7299 case $ac_dir in
7300 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7301 esac
7303 if wine_fn_has_flag clean
7304 then
7305 wine_fn_append_rule \
7306 "__clean__: $ac_dir/clean
7307 .PHONY: $ac_dir/clean
7308 $ac_dir/clean: $ac_dir/Makefile
7309 @cd $ac_dir && \$(MAKE) clean
7310 \$(RM) $ac_extraclean"
7311 else
7312 wine_fn_append_rule \
7313 "__clean__: $ac_dir/clean
7314 .PHONY: $ac_dir/clean
7315 $ac_dir/clean: dummy
7316 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7320 wine_fn_disabled_rules ()
7322 ac_clean=$@
7323 ac_extraclean="$ac_dir/Makefile"
7324 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7326 wine_fn_append_rule \
7327 "__clean__: $ac_dir/clean
7328 .PHONY: $ac_dir/clean
7329 $ac_dir/clean: dummy
7330 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7333 wine_fn_config_makefile ()
7335 ac_dir=$1
7336 ac_enable=$2
7337 ac_flags=$3
7339 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7340 wine_fn_disabled_rules; return
7342 wine_fn_all_rules
7343 wine_fn_install_rules
7344 wine_fn_clean_rules
7347 wine_fn_config_lib ()
7349 ac_name=$1
7350 ac_flags=$2
7351 ac_dir=dlls/$ac_name
7352 ac_deps="include"
7354 if test "x$enable_tools" = xno; then :
7356 else
7357 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7359 wine_fn_all_rules
7360 wine_fn_clean_rules
7362 wine_fn_append_rule \
7363 ".PHONY: $ac_dir/install $ac_dir/uninstall
7364 $ac_dir/install:: $ac_dir
7365 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7366 $ac_dir/uninstall::
7367 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7368 install install-dev:: $ac_dir/install
7369 __uninstall__: $ac_dir/uninstall
7370 __builddeps__: $ac_dir
7371 $ac_dir: $ac_deps"
7374 wine_fn_config_dll ()
7376 ac_name=$1
7377 ac_dir=dlls/$ac_name
7378 ac_enable=$2
7379 ac_flags=$3
7380 ac_implib=${4:-$ac_name}
7381 ac_file=$ac_dir/lib$ac_implib
7382 ac_dll=$ac_name
7383 ac_deps="include"
7384 ac_implibflags=""
7386 if test "x$enable_tools" = xno; then :
7388 else
7389 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7391 case $ac_name in
7392 *16) ac_implibflags=" -m16" ;;
7393 *.*) ;;
7394 *) ac_dll=$ac_dll.dll ;;
7395 esac
7397 ac_clean=
7398 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7399 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7400 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7401 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7403 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7404 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7405 then
7406 wine_fn_depend_rules
7407 wine_fn_clean_rules $ac_clean
7408 else
7409 wine_fn_disabled_rules $ac_clean
7410 return
7412 else
7413 wine_fn_all_rules
7414 wine_fn_clean_rules $ac_clean
7415 wine_fn_append_rule \
7416 "$ac_dir: __builddeps__
7417 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7418 @cd $ac_dir && \$(MAKE) \$@
7419 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7420 install install-lib:: $ac_dir/install-lib
7421 __uninstall__: $ac_dir/uninstall"
7422 if test -n "$DLLEXT"
7423 then
7424 wine_fn_append_rule \
7425 "$ac_dir/install-lib:: $ac_dir
7426 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7427 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7428 $ac_dir/uninstall::
7429 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7430 else
7431 wine_fn_append_rule \
7432 "$ac_dir/install-lib:: $ac_dir
7433 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7434 $ac_dir/uninstall::
7435 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7438 wine_fn_pot_rules
7441 if wine_fn_has_flag staticimplib
7442 then
7443 wine_fn_append_rule \
7444 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7445 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7446 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7447 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7448 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7449 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7450 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7451 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7452 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7453 $ac_dir/uninstall::
7454 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7455 install install-dev:: $ac_dir/install-dev
7456 __uninstall__: $ac_dir/uninstall"
7458 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7459 then
7460 wine_fn_append_rule \
7461 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7462 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7463 $ac_dir/uninstall::
7464 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7467 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7468 then
7469 wine_fn_append_rule \
7470 "__builddeps__: $ac_file.cross.a
7471 $ac_file.cross.a: $ac_dir/Makefile dummy
7472 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7475 elif wine_fn_has_flag implib
7476 then
7477 wine_fn_append_rule \
7478 "__builddeps__: $ac_file.$IMPLIBEXT
7479 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7480 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7481 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7482 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7483 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7484 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7485 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7486 $ac_dir/uninstall::
7487 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7488 install install-dev:: $ac_dir/install-dev
7489 __uninstall__: $ac_dir/uninstall"
7490 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7491 then
7492 wine_fn_append_rule \
7493 "__builddeps__: $ac_file.cross.a
7494 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7495 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7498 if test "$ac_name" != "$ac_implib"
7499 then
7500 wine_fn_append_rule \
7501 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7502 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7503 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7504 clean::
7505 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7506 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7507 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7508 then
7509 wine_fn_append_rule \
7510 "__builddeps__: dlls/lib$ac_implib.cross.a
7511 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7512 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7513 clean::
7514 \$(RM) dlls/lib$ac_implib.cross.a"
7515 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7521 wine_fn_config_program ()
7523 ac_name=$1
7524 ac_dir=programs/$ac_name
7525 ac_enable=$2
7526 ac_flags=$3
7527 ac_program=$ac_name
7529 case $ac_name in
7530 *.*) ;;
7531 *) ac_program=$ac_program.exe ;;
7532 esac
7534 ac_clean=
7535 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7536 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7537 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7538 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7540 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7541 wine_fn_disabled_rules $ac_clean; return
7544 wine_fn_all_rules
7545 wine_fn_clean_rules $ac_clean
7546 wine_fn_append_rule "$ac_dir: __builddeps__"
7547 wine_fn_pot_rules
7549 wine_fn_has_flag install || return
7550 wine_fn_append_rule \
7551 ".PHONY: $ac_dir/install $ac_dir/uninstall
7552 install install-lib:: $ac_dir/install
7553 __uninstall__: $ac_dir/uninstall"
7555 if test -n "$DLLEXT"
7556 then
7557 wine_fn_append_rule \
7558 "$ac_dir/install:: $ac_dir
7559 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7560 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7561 $ac_dir/uninstall::
7562 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7564 if test -z "$with_wine64" && wine_fn_has_flag installbin
7565 then
7566 wine_fn_append_rule \
7567 "$ac_dir/install:: __tooldeps__
7568 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7569 $ac_dir/uninstall::
7570 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7572 else
7573 wine_fn_append_rule \
7574 "$ac_dir/install:: $ac_dir
7575 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7576 $ac_dir/uninstall::
7577 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7580 if test -z "$with_wine64" && wine_fn_has_flag manpage
7581 then
7582 wine_fn_append_rule \
7583 "$ac_dir/install:: $ac_dir
7584 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7585 $ac_dir/uninstall::
7586 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7590 wine_fn_config_test ()
7592 ac_dir=$1
7593 ac_name=$2
7594 ac_flags=$3
7596 ac_clean=
7597 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7598 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7600 if test "x$enable_tests" = xno; then :
7601 wine_fn_disabled_rules $ac_clean; return
7604 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7605 wine_fn_all_rules
7606 wine_fn_clean_rules $ac_clean
7608 wine_fn_append_rule \
7609 "$ac_dir: programs/winetest/Makefile __builddeps__
7610 programs/winetest: $ac_dir
7611 check test: $ac_dir/test
7612 .PHONY: $ac_dir/test
7613 $ac_dir/test: dummy
7614 @cd $ac_dir && \$(MAKE) test
7615 testclean::
7616 \$(RM) $ac_dir/*.ok"
7618 if test -n "$CROSSTARGET"
7619 then
7620 wine_fn_append_rule \
7621 "crosstest: $ac_dir/crosstest
7622 .PHONY: $ac_dir/crosstest
7623 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7624 @cd $ac_dir && \$(MAKE) crosstest"
7628 wine_fn_config_tool ()
7630 ac_dir=$1
7631 ac_flags=$2
7632 if test "x$enable_tools" = xno; then :
7633 return
7636 wine_fn_all_rules
7637 wine_fn_install_rules
7638 wine_fn_clean_rules
7640 wine_fn_append_rule "__tooldeps__: $ac_dir"
7641 wine_fn_append_rule "$ac_dir: libs/port"
7642 case $ac_dir in
7643 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7644 esac
7647 wine_fn_config_symlink ()
7649 ac_linkdir=
7650 if test "x$1" = "x-d"
7651 then
7652 ac_linkdir=$2
7653 shift; shift
7655 ac_links=$@
7656 wine_fn_append_rule \
7657 "$ac_links:
7658 @./config.status \$@
7659 distclean::
7660 \$(RM) $ac_links"
7661 for f in $ac_links; do wine_fn_ignore_file $f; done
7662 test -n "$ac_linkdir" || return
7663 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7666 wine_binary="wine"
7667 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7668 loader_programs="$wine_binary wine-installed"
7669 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7671 LOADER_RULES="
7672 all: wine.inf
7674 install install-lib:: wine-installed
7675 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7677 uninstall::
7678 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7682 case $host_os in
7683 cygwin*|mingw32*)
7684 if test -n "$ac_tool_prefix"; then
7685 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7686 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7688 $as_echo_n "checking for $ac_word... " >&6; }
7689 if ${ac_cv_prog_DLLTOOL+:} false; then :
7690 $as_echo_n "(cached) " >&6
7691 else
7692 if test -n "$DLLTOOL"; then
7693 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7694 else
7695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7696 for as_dir in $PATH
7698 IFS=$as_save_IFS
7699 test -z "$as_dir" && as_dir=.
7700 for ac_exec_ext in '' $ac_executable_extensions; do
7701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7702 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7704 break 2
7706 done
7707 done
7708 IFS=$as_save_IFS
7712 DLLTOOL=$ac_cv_prog_DLLTOOL
7713 if test -n "$DLLTOOL"; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7715 $as_echo "$DLLTOOL" >&6; }
7716 else
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7718 $as_echo "no" >&6; }
7723 if test -z "$ac_cv_prog_DLLTOOL"; then
7724 ac_ct_DLLTOOL=$DLLTOOL
7725 # Extract the first word of "dlltool", so it can be a program name with args.
7726 set dummy dlltool; ac_word=$2
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7728 $as_echo_n "checking for $ac_word... " >&6; }
7729 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7730 $as_echo_n "(cached) " >&6
7731 else
7732 if test -n "$ac_ct_DLLTOOL"; then
7733 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7734 else
7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7736 for as_dir in $PATH
7738 IFS=$as_save_IFS
7739 test -z "$as_dir" && as_dir=.
7740 for ac_exec_ext in '' $ac_executable_extensions; do
7741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7742 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7744 break 2
7746 done
7747 done
7748 IFS=$as_save_IFS
7752 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7753 if test -n "$ac_ct_DLLTOOL"; then
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7755 $as_echo "$ac_ct_DLLTOOL" >&6; }
7756 else
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7758 $as_echo "no" >&6; }
7761 if test "x$ac_ct_DLLTOOL" = x; then
7762 DLLTOOL="false"
7763 else
7764 case $cross_compiling:$ac_tool_warned in
7765 yes:)
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7768 ac_tool_warned=yes ;;
7769 esac
7770 DLLTOOL=$ac_ct_DLLTOOL
7772 else
7773 DLLTOOL="$ac_cv_prog_DLLTOOL"
7776 LIBEXT="dll"
7777 DLLEXT=""
7778 IMPLIBEXT="a"
7779 STATIC_IMPLIBEXT="a"
7780 enable_iphlpapi=${enable_iphlpapi:-no}
7781 enable_kernel32=${enable_kernel32:-no}
7782 enable_msvcrt=${enable_msvcrt:-no}
7783 enable_ntdll=${enable_ntdll:-no}
7784 enable_ws2_32=${enable_ws2_32:-no}
7785 enable_loader=${enable_loader:-no}
7786 enable_server=${enable_server:-no}
7787 with_x=${with_x:-no}
7788 with_pthread=${with_pthread:-no}
7790 crtlibs=""
7791 case $host_os in
7792 mingw32*)
7793 crtlibs="-lmsvcrt"
7794 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7796 esac
7798 libwine_targets="libwine.dll libwine.a"
7799 LIBWINE_RULES="
7800 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7802 all: libwine.dll libwine.a
7804 libwine.a: \$(srcdir)/wine.def
7805 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7807 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7808 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7810 install install-lib:: libwine.dll
7811 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7813 install install-dev:: libwine.a
7814 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7816 uninstall::
7817 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7822 darwin*|macosx*)
7823 LIBEXT="dylib"
7824 DLLFLAGS="$DLLFLAGS -fPIC"
7825 LIBWINE_LDFLAGS="-multiply_defined suppress"
7826 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7827 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7828 COREFOUNDATION_LIBS="-framework CoreFoundation"
7830 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7832 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7834 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7836 CORESERVICES_LIBS="-framework CoreServices"
7838 APPKIT_LIBS="-framework AppKit"
7840 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7842 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7843 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7844 $as_echo_n "(cached) " >&6
7845 else
7846 ac_wine_try_cflags_saved=$CFLAGS
7847 CFLAGS="$CFLAGS -Wl,-no_pie"
7848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7849 /* end confdefs.h. */
7850 int main(int argc, char **argv) { return 0; }
7851 _ACEOF
7852 if ac_fn_c_try_link "$LINENO"; then :
7853 ac_cv_cflags__Wl__no_pie=yes
7854 else
7855 ac_cv_cflags__Wl__no_pie=no
7857 rm -f core conftest.err conftest.$ac_objext \
7858 conftest$ac_exeext conftest.$ac_ext
7859 CFLAGS=$ac_wine_try_cflags_saved
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7862 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7863 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7864 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7866 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7867 then
7868 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7871 if test "$ac_cv_header_Security_Security_h" = "yes"
7872 then
7873 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7875 ac_save_LIBS="$LIBS"
7876 LIBS="$LIBS $SECURITY_LIBS"
7877 for ac_func in SSLCopyPeerCertificates
7878 do :
7879 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7880 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7881 cat >>confdefs.h <<_ACEOF
7882 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7883 _ACEOF
7886 done
7888 LIBS="$ac_save_LIBS"
7889 with_gnutls=${with_gnutls:-no}
7891 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7892 then
7893 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7894 then
7895 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7897 else
7898 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7901 ac_save_LIBS="$LIBS"
7902 LIBS="$LIBS $COREAUDIO_LIBS"
7903 for ac_func in AUGraphAddNode
7904 do :
7905 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7906 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7907 cat >>confdefs.h <<_ACEOF
7908 #define HAVE_AUGRAPHADDNODE 1
7909 _ACEOF
7912 done
7914 LIBS="$ac_save_LIBS"
7916 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7917 then
7918 OPENAL_LIBS="-framework OpenAL"
7921 cat >>confdefs.h <<_ACEOF
7922 #define HAVE_OPENAL 1
7923 _ACEOF
7925 ac_cv_lib_openal=yes
7927 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7928 then
7929 OPENCL_LIBS="-framework OpenCL"
7931 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7933 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7934 then
7935 ac_save_LIBS="$LIBS"
7936 LIBS="$LIBS $IOKIT_LIBS"
7937 for ac_func in IOHIDManagerCreate
7938 do :
7939 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7940 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7941 cat >>confdefs.h <<_ACEOF
7942 #define HAVE_IOHIDMANAGERCREATE 1
7943 _ACEOF
7946 done
7948 LIBS="$ac_save_LIBS"
7950 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7951 then
7952 ac_save_LIBS="$LIBS"
7953 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7955 $as_echo_n "checking for the QuickTime framework... " >&6; }
7956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7957 /* end confdefs.h. */
7958 #include <QuickTime/ImageCompression.h>
7960 main ()
7962 CodecManagerVersion(NULL);
7964 return 0;
7966 _ACEOF
7967 if ac_fn_c_try_link "$LINENO"; then :
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7969 $as_echo "yes" >&6; }
7970 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7972 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7973 else
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7975 $as_echo "no" >&6; }
7976 ac_cv_header_QuickTime_ImageCompression_h=no
7978 rm -f core conftest.err conftest.$ac_objext \
7979 conftest$ac_exeext conftest.$ac_ext
7980 LIBS="$ac_save_LIBS"
7982 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7983 then
7984 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7986 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7987 then
7988 CARBON_LIBS="-framework Carbon"
7992 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7993 then
7994 ac_save_LIBS="$LIBS"
7995 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7996 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7997 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7998 enable_winemac_drv=${enable_winemac_drv:-yes}
8001 LIBS="$ac_save_LIBS"
8004 if test "x$enable_win16" = "xyes"
8005 then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8007 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8008 if test "$cross_compiling" = yes; then :
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8010 $as_echo "cross-compiling, assuming yes" >&6; }
8011 else
8012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8013 /* end confdefs.h. */
8014 asm(".text\n"
8015 "bad:\tnop;nop\n"
8016 "good:\tnop;nop\n\t"
8017 ".globl _testfunc\n"
8018 "_testfunc:\tcallw good");
8019 extern void testfunc();
8021 main ()
8023 unsigned short *p = (unsigned short *)testfunc;
8024 return p[0] != 0xe866 || p[1] != 0xfffa
8026 return 0;
8028 _ACEOF
8029 if ac_fn_c_try_run "$LINENO"; then :
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8031 $as_echo "yes" >&6; }
8032 else
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8035 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
8037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8038 conftest.$ac_objext conftest.beam conftest.$ac_ext
8043 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8044 LIBWINE_RULES="
8045 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8047 all: libwine.dylib
8049 libwine.$libwine_version.dylib: \$(OBJS)
8050 \$(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 \$@
8052 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8053 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8055 libwine.dylib: libwine.$libwine_soversion.dylib
8056 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8058 install install-lib:: libwine.$libwine_version.dylib
8059 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8060 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8062 install install-dev::
8063 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8065 uninstall::
8066 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8070 as_fn_append LOADER_RULES "
8071 $wine_binary: main.o wine_info.plist
8072 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8074 wine-installed: main.o wine_info.plist
8075 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8079 linux-android*)
8080 DLLFLAGS="$DLLFLAGS -fPIC"
8081 DLLPREFIX="lib"
8082 LDEXECFLAGS=""
8083 dlldir="\${libdir}"
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8085 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8086 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8087 $as_echo_n "(cached) " >&6
8088 else
8089 ac_wine_try_cflags_saved=$CFLAGS
8090 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8092 /* end confdefs.h. */
8093 int main(int argc, char **argv) { return 0; }
8094 _ACEOF
8095 if ac_fn_c_try_link "$LINENO"; then :
8096 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8097 else
8098 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8100 rm -f core conftest.err conftest.$ac_objext \
8101 conftest$ac_exeext conftest.$ac_ext
8102 CFLAGS=$ac_wine_try_cflags_saved
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8105 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8106 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8107 LDEXECFLAGS="-Wl,--export-dynamic"
8109 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8111 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8112 if eval \${$as_ac_var+:} false; then :
8113 $as_echo_n "(cached) " >&6
8114 else
8115 ac_wine_try_cflags_saved=$CFLAGS
8116 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8119 int main(int argc, char **argv) { return 0; }
8120 _ACEOF
8121 if ac_fn_c_try_link "$LINENO"; then :
8122 eval "$as_ac_var=yes"
8123 else
8124 eval "$as_ac_var=no"
8126 rm -f core conftest.err conftest.$ac_objext \
8127 conftest$ac_exeext conftest.$ac_ext
8128 CFLAGS=$ac_wine_try_cflags_saved
8130 eval ac_res=\$$as_ac_var
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8132 $as_echo "$ac_res" >&6; }
8133 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8134 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8135 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8136 else
8137 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8139 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8140 if eval \${$as_ac_var+:} false; then :
8141 $as_echo_n "(cached) " >&6
8142 else
8143 ac_wine_try_cflags_saved=$CFLAGS
8144 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8147 int main(int argc, char **argv) { return 0; }
8148 _ACEOF
8149 if ac_fn_c_try_link "$LINENO"; then :
8150 eval "$as_ac_var=yes"
8151 else
8152 eval "$as_ac_var=no"
8154 rm -f core conftest.err conftest.$ac_objext \
8155 conftest$ac_exeext conftest.$ac_ext
8156 CFLAGS=$ac_wine_try_cflags_saved
8158 eval ac_res=\$$as_ac_var
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8160 $as_echo "$ac_res" >&6; }
8161 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8162 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8163 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8168 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8169 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8170 $as_echo_n "(cached) " >&6
8171 else
8172 ac_wine_try_cflags_saved=$CFLAGS
8173 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8176 int main(int argc, char **argv) { return 0; }
8177 _ACEOF
8178 if ac_fn_c_try_link "$LINENO"; then :
8179 ac_cv_cflags__Wl___enable_new_dtags=yes
8180 else
8181 ac_cv_cflags__Wl___enable_new_dtags=no
8183 rm -f core conftest.err conftest.$ac_objext \
8184 conftest$ac_exeext conftest.$ac_ext
8185 CFLAGS=$ac_wine_try_cflags_saved
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8188 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8189 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8190 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8193 case $host_cpu in
8194 *i[3456789]86* | x86_64)
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8196 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8197 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8198 $as_echo_n "(cached) " >&6
8199 else
8200 ac_wine_try_cflags_saved=$CFLAGS
8201 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8203 /* end confdefs.h. */
8204 int main(int argc, char **argv) { return 0; }
8205 _ACEOF
8206 if ac_fn_c_try_link "$LINENO"; then :
8207 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8208 else
8209 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8211 rm -f core conftest.err conftest.$ac_objext \
8212 conftest$ac_exeext conftest.$ac_ext
8213 CFLAGS=$ac_wine_try_cflags_saved
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8216 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8217 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8218 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8221 esac
8223 libwine_targets="libwine.so"
8224 LIBWINE_RULES="
8225 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8227 all: libwine.so
8229 libwine.so: \$(OBJS)
8230 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8232 install install-lib:: libwine.so
8233 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8235 uninstall::
8236 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8240 as_fn_append LOADER_RULES "
8241 $wine_binary: main.o
8242 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8244 wine-installed: main.o
8245 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8250 DLLFLAGS="$DLLFLAGS -fPIC"
8251 LDEXECFLAGS=""
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8253 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8254 if ${ac_cv_c_dll_gnuelf+:} false; then :
8255 $as_echo_n "(cached) " >&6
8256 else
8257 ac_wine_try_cflags_saved=$CFLAGS
8258 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8260 /* end confdefs.h. */
8261 void myfunc() {}
8262 _ACEOF
8263 if ac_fn_c_try_link "$LINENO"; then :
8264 ac_cv_c_dll_gnuelf="yes"
8265 else
8266 ac_cv_c_dll_gnuelf="no"
8268 rm -f core conftest.err conftest.$ac_objext \
8269 conftest$ac_exeext conftest.$ac_ext
8270 CFLAGS=$ac_wine_try_cflags_saved
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8273 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8274 if test "$ac_cv_c_dll_gnuelf" = "yes"
8275 then
8276 LDSHARED="\$(CC) -shared"
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8278 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8279 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8280 $as_echo_n "(cached) " >&6
8281 else
8282 ac_wine_try_cflags_saved=$CFLAGS
8283 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8285 /* end confdefs.h. */
8286 int main(int argc, char **argv) { return 0; }
8287 _ACEOF
8288 if ac_fn_c_try_link "$LINENO"; then :
8289 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8290 else
8291 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8293 rm -f core conftest.err conftest.$ac_objext \
8294 conftest$ac_exeext conftest.$ac_ext
8295 CFLAGS=$ac_wine_try_cflags_saved
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8298 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8299 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8300 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8301 else
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8303 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8304 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8305 $as_echo_n "(cached) " >&6
8306 else
8307 ac_wine_try_cflags_saved=$CFLAGS
8308 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 int main(int argc, char **argv) { return 0; }
8312 _ACEOF
8313 if ac_fn_c_try_link "$LINENO"; then :
8314 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8315 else
8316 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8318 rm -f core conftest.err conftest.$ac_objext \
8319 conftest$ac_exeext conftest.$ac_ext
8320 CFLAGS=$ac_wine_try_cflags_saved
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8323 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8324 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8325 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8329 echo '{ global: *; };' >conftest.map
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8331 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8332 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8333 $as_echo_n "(cached) " >&6
8334 else
8335 ac_wine_try_cflags_saved=$CFLAGS
8336 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h. */
8339 int main(int argc, char **argv) { return 0; }
8340 _ACEOF
8341 if ac_fn_c_try_link "$LINENO"; then :
8342 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8343 else
8344 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8346 rm -f core conftest.err conftest.$ac_objext \
8347 conftest$ac_exeext conftest.$ac_ext
8348 CFLAGS=$ac_wine_try_cflags_saved
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8351 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8352 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8353 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8355 rm -f conftest.map
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8358 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8359 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 ac_wine_try_cflags_saved=$CFLAGS
8363 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8366 int main(int argc, char **argv) { return 0; }
8367 _ACEOF
8368 if ac_fn_c_try_link "$LINENO"; then :
8369 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8370 else
8371 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8373 rm -f core conftest.err conftest.$ac_objext \
8374 conftest$ac_exeext conftest.$ac_ext
8375 CFLAGS=$ac_wine_try_cflags_saved
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8378 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8379 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8380 LDEXECFLAGS="-Wl,--export-dynamic"
8383 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8385 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8386 if eval \${$as_ac_var+:} false; then :
8387 $as_echo_n "(cached) " >&6
8388 else
8389 ac_wine_try_cflags_saved=$CFLAGS
8390 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8392 /* end confdefs.h. */
8393 int main(int argc, char **argv) { return 0; }
8394 _ACEOF
8395 if ac_fn_c_try_link "$LINENO"; then :
8396 eval "$as_ac_var=yes"
8397 else
8398 eval "$as_ac_var=no"
8400 rm -f core conftest.err conftest.$ac_objext \
8401 conftest$ac_exeext conftest.$ac_ext
8402 CFLAGS=$ac_wine_try_cflags_saved
8404 eval ac_res=\$$as_ac_var
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8406 $as_echo "$ac_res" >&6; }
8407 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8408 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8409 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8410 else
8411 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8413 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8414 if eval \${$as_ac_var+:} false; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 ac_wine_try_cflags_saved=$CFLAGS
8418 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8421 int main(int argc, char **argv) { return 0; }
8422 _ACEOF
8423 if ac_fn_c_try_link "$LINENO"; then :
8424 eval "$as_ac_var=yes"
8425 else
8426 eval "$as_ac_var=no"
8428 rm -f core conftest.err conftest.$ac_objext \
8429 conftest$ac_exeext conftest.$ac_ext
8430 CFLAGS=$ac_wine_try_cflags_saved
8432 eval ac_res=\$$as_ac_var
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8434 $as_echo "$ac_res" >&6; }
8435 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8436 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8437 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8442 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8443 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 ac_wine_try_cflags_saved=$CFLAGS
8447 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8450 int main(int argc, char **argv) { return 0; }
8451 _ACEOF
8452 if ac_fn_c_try_link "$LINENO"; then :
8453 ac_cv_cflags__Wl___enable_new_dtags=yes
8454 else
8455 ac_cv_cflags__Wl___enable_new_dtags=no
8457 rm -f core conftest.err conftest.$ac_objext \
8458 conftest$ac_exeext conftest.$ac_ext
8459 CFLAGS=$ac_wine_try_cflags_saved
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8462 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8463 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8464 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8467 case $host_cpu in
8468 *i[3456789]86* | x86_64)
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8470 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8471 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8472 $as_echo_n "(cached) " >&6
8473 else
8474 ac_wine_try_cflags_saved=$CFLAGS
8475 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478 int main(int argc, char **argv) { return 0; }
8479 _ACEOF
8480 if ac_fn_c_try_link "$LINENO"; then :
8481 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8482 else
8483 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8485 rm -f core conftest.err conftest.$ac_objext \
8486 conftest$ac_exeext conftest.$ac_ext
8487 CFLAGS=$ac_wine_try_cflags_saved
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8490 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8491 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8492 case $host_os in
8493 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8494 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8495 esac
8498 # Extract the first word of "prelink", so it can be a program name with args.
8499 set dummy prelink; ac_word=$2
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8501 $as_echo_n "checking for $ac_word... " >&6; }
8502 if ${ac_cv_path_PRELINK+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 case $PRELINK in
8506 [\\/]* | ?:[\\/]*)
8507 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8511 for as_dir in /sbin /usr/sbin $PATH
8513 IFS=$as_save_IFS
8514 test -z "$as_dir" && as_dir=.
8515 for ac_exec_ext in '' $ac_executable_extensions; do
8516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8517 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8519 break 2
8521 done
8522 done
8523 IFS=$as_save_IFS
8525 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8527 esac
8529 PRELINK=$ac_cv_path_PRELINK
8530 if test -n "$PRELINK"; then
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8532 $as_echo "$PRELINK" >&6; }
8533 else
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8535 $as_echo "no" >&6; }
8539 if test "x$PRELINK" = xfalse
8540 then
8541 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8544 esac
8546 else
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8548 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8549 if ${ac_cv_c_dll_unixware+:} false; then :
8550 $as_echo_n "(cached) " >&6
8551 else
8552 ac_wine_try_cflags_saved=$CFLAGS
8553 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8556 void myfunc() {}
8557 _ACEOF
8558 if ac_fn_c_try_link "$LINENO"; then :
8559 ac_cv_c_dll_unixware="yes"
8560 else
8561 ac_cv_c_dll_unixware="no"
8563 rm -f core conftest.err conftest.$ac_objext \
8564 conftest$ac_exeext conftest.$ac_ext
8565 CFLAGS=$ac_wine_try_cflags_saved
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8568 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8569 if test "$ac_cv_c_dll_unixware" = "yes"
8570 then
8571 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8574 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8575 LIBWINE_RULES="
8576 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8578 all: libwine.so
8580 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8581 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8583 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8584 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8586 libwine.so: libwine.so.$libwine_soversion
8587 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8589 install install-lib:: libwine.so.$libwine_version
8590 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8591 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8593 install install-dev::
8594 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8596 uninstall::
8597 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8601 as_fn_append LOADER_RULES "
8602 $wine_binary: main.o
8603 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8605 wine-installed: main.o
8606 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8609 esac
8611 as_fn_append LIBWINE_RULES "
8612 EXTRA_TARGETS = $libwine_targets
8615 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8616 enable_winemac_drv=${enable_winemac_drv:-no}
8618 CROSSTARGET=""
8620 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8621 then
8622 case "$host_cpu" in
8623 i[3456789]86*)
8624 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
8625 mingw32-gcc" ;;
8626 x86_64)
8627 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 " ;;
8629 ac_prefix_list="" ;;
8630 esac
8631 for ac_prog in $ac_prefix_list
8633 # Extract the first word of "$ac_prog", so it can be a program name with args.
8634 set dummy $ac_prog; ac_word=$2
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8636 $as_echo_n "checking for $ac_word... " >&6; }
8637 if ${ac_cv_prog_CROSSCC+:} false; then :
8638 $as_echo_n "(cached) " >&6
8639 else
8640 if test -n "$CROSSCC"; then
8641 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8642 else
8643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8644 for as_dir in $PATH
8646 IFS=$as_save_IFS
8647 test -z "$as_dir" && as_dir=.
8648 for ac_exec_ext in '' $ac_executable_extensions; do
8649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8650 ac_cv_prog_CROSSCC="$ac_prog"
8651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8652 break 2
8654 done
8655 done
8656 IFS=$as_save_IFS
8660 CROSSCC=$ac_cv_prog_CROSSCC
8661 if test -n "$CROSSCC"; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8663 $as_echo "$CROSSCC" >&6; }
8664 else
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8666 $as_echo "no" >&6; }
8670 test -n "$CROSSCC" && break
8671 done
8672 test -n "$CROSSCC" || CROSSCC="false"
8674 if test "$CROSSCC" != "false"
8675 then
8676 ac_save_CC="$CC"
8677 CC="$CROSSCC"
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8679 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8684 main ()
8688 return 0;
8690 _ACEOF
8691 if ac_fn_c_try_compile "$LINENO"; then :
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8693 $as_echo "yes" >&6; }
8694 set x $CROSSCC
8695 shift
8696 while test $# -ge 1
8698 case "$1" in
8699 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8700 esac
8701 shift
8702 done
8703 else
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8705 $as_echo "no" >&6; }
8707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8708 CC="$ac_save_CC"
8713 if test "$ac_cv_header_pthread_h" = "yes"
8714 then
8715 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8716 if test "x$ac_cv_func_pthread_create" = xyes; then :
8718 else
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8720 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8721 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8722 $as_echo_n "(cached) " >&6
8723 else
8724 ac_check_lib_save_LIBS=$LIBS
8725 LIBS="-lpthread $LIBS"
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8729 /* Override any GCC internal prototype to avoid an error.
8730 Use char because int might match the return type of a GCC
8731 builtin and then its argument prototype would still apply. */
8732 #ifdef __cplusplus
8733 extern "C"
8734 #endif
8735 char pthread_create ();
8737 main ()
8739 return pthread_create ();
8741 return 0;
8743 _ACEOF
8744 if ac_fn_c_try_link "$LINENO"; then :
8745 ac_cv_lib_pthread_pthread_create=yes
8746 else
8747 ac_cv_lib_pthread_pthread_create=no
8749 rm -f core conftest.err conftest.$ac_objext \
8750 conftest$ac_exeext conftest.$ac_ext
8751 LIBS=$ac_check_lib_save_LIBS
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8754 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8755 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8756 PTHREAD_LIBS="-lpthread"
8763 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8764 case "x$with_pthread" in
8765 xno) ;;
8766 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8767 Wine cannot support threads without libpthread.
8768 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8769 esac
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8774 $as_echo_n "checking for X... " >&6; }
8777 # Check whether --with-x was given.
8778 if test "${with_x+set}" = set; then :
8779 withval=$with_x;
8782 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8783 if test "x$with_x" = xno; then
8784 # The user explicitly disabled X.
8785 have_x=disabled
8786 else
8787 case $x_includes,$x_libraries in #(
8788 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8789 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8790 $as_echo_n "(cached) " >&6
8791 else
8792 # One or both of the vars are not set, and there is no cached value.
8793 ac_x_includes=no ac_x_libraries=no
8794 rm -f -r conftest.dir
8795 if mkdir conftest.dir; then
8796 cd conftest.dir
8797 cat >Imakefile <<'_ACEOF'
8798 incroot:
8799 @echo incroot='${INCROOT}'
8800 usrlibdir:
8801 @echo usrlibdir='${USRLIBDIR}'
8802 libdir:
8803 @echo libdir='${LIBDIR}'
8804 _ACEOF
8805 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8806 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8807 for ac_var in incroot usrlibdir libdir; do
8808 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8809 done
8810 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8811 for ac_extension in a so sl dylib la dll; do
8812 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8813 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8814 ac_im_usrlibdir=$ac_im_libdir; break
8816 done
8817 # Screen out bogus values from the imake configuration. They are
8818 # bogus both because they are the default anyway, and because
8819 # using them would break gcc on systems where it needs fixed includes.
8820 case $ac_im_incroot in
8821 /usr/include) ac_x_includes= ;;
8822 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8823 esac
8824 case $ac_im_usrlibdir in
8825 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8826 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8827 esac
8829 cd ..
8830 rm -f -r conftest.dir
8833 # Standard set of common directories for X headers.
8834 # Check X11 before X11Rn because it is often a symlink to the current release.
8835 ac_x_header_dirs='
8836 /usr/X11/include
8837 /usr/X11R7/include
8838 /usr/X11R6/include
8839 /usr/X11R5/include
8840 /usr/X11R4/include
8842 /usr/include/X11
8843 /usr/include/X11R7
8844 /usr/include/X11R6
8845 /usr/include/X11R5
8846 /usr/include/X11R4
8848 /usr/local/X11/include
8849 /usr/local/X11R7/include
8850 /usr/local/X11R6/include
8851 /usr/local/X11R5/include
8852 /usr/local/X11R4/include
8854 /usr/local/include/X11
8855 /usr/local/include/X11R7
8856 /usr/local/include/X11R6
8857 /usr/local/include/X11R5
8858 /usr/local/include/X11R4
8860 /usr/X386/include
8861 /usr/x386/include
8862 /usr/XFree86/include/X11
8864 /usr/include
8865 /usr/local/include
8866 /usr/unsupported/include
8867 /usr/athena/include
8868 /usr/local/x11r5/include
8869 /usr/lpp/Xamples/include
8871 /usr/openwin/include
8872 /usr/openwin/share/include'
8874 if test "$ac_x_includes" = no; then
8875 # Guess where to find include files, by looking for Xlib.h.
8876 # First, try using that file with no special directory specified.
8877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h. */
8879 #include <X11/Xlib.h>
8880 _ACEOF
8881 if ac_fn_c_try_cpp "$LINENO"; then :
8882 # We can compile using X headers with no special include directory.
8883 ac_x_includes=
8884 else
8885 for ac_dir in $ac_x_header_dirs; do
8886 if test -r "$ac_dir/X11/Xlib.h"; then
8887 ac_x_includes=$ac_dir
8888 break
8890 done
8892 rm -f conftest.err conftest.i conftest.$ac_ext
8893 fi # $ac_x_includes = no
8895 if test "$ac_x_libraries" = no; then
8896 # Check for the libraries.
8897 # See if we find them without any special options.
8898 # Don't add to $LIBS permanently.
8899 ac_save_LIBS=$LIBS
8900 LIBS="-lX11 $LIBS"
8901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8903 #include <X11/Xlib.h>
8905 main ()
8907 XrmInitialize ()
8909 return 0;
8911 _ACEOF
8912 if ac_fn_c_try_link "$LINENO"; then :
8913 LIBS=$ac_save_LIBS
8914 # We can link X programs with no special library path.
8915 ac_x_libraries=
8916 else
8917 LIBS=$ac_save_LIBS
8918 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8920 # Don't even attempt the hair of trying to link an X program!
8921 for ac_extension in a so sl dylib la dll; do
8922 if test -r "$ac_dir/libX11.$ac_extension"; then
8923 ac_x_libraries=$ac_dir
8924 break 2
8926 done
8927 done
8929 rm -f core conftest.err conftest.$ac_objext \
8930 conftest$ac_exeext conftest.$ac_ext
8931 fi # $ac_x_libraries = no
8933 case $ac_x_includes,$ac_x_libraries in #(
8934 no,* | *,no | *\'*)
8935 # Didn't find X, or a directory has "'" in its name.
8936 ac_cv_have_x="have_x=no";; #(
8938 # Record where we found X for the cache.
8939 ac_cv_have_x="have_x=yes\
8940 ac_x_includes='$ac_x_includes'\
8941 ac_x_libraries='$ac_x_libraries'"
8942 esac
8944 ;; #(
8945 *) have_x=yes;;
8946 esac
8947 eval "$ac_cv_have_x"
8948 fi # $with_x != no
8950 if test "$have_x" != yes; then
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8952 $as_echo "$have_x" >&6; }
8953 no_x=yes
8954 else
8955 # If each of the values was on the command line, it overrides each guess.
8956 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8957 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8958 # Update the cache value to reflect the command line values.
8959 ac_cv_have_x="have_x=yes\
8960 ac_x_includes='$x_includes'\
8961 ac_x_libraries='$x_libraries'"
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8963 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8966 if test "$no_x" = yes; then
8967 # Not all programs may use this symbol, but it does not hurt to define it.
8969 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8971 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8972 else
8973 if test -n "$x_includes"; then
8974 X_CFLAGS="$X_CFLAGS -I$x_includes"
8977 # It would also be nice to do this for all -L options, not just this one.
8978 if test -n "$x_libraries"; then
8979 X_LIBS="$X_LIBS -L$x_libraries"
8980 # For Solaris; some versions of Sun CC require a space after -R and
8981 # others require no space. Words are not sufficient . . . .
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8983 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8984 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8985 ac_xsave_c_werror_flag=$ac_c_werror_flag
8986 ac_c_werror_flag=yes
8987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8988 /* end confdefs.h. */
8991 main ()
8995 return 0;
8997 _ACEOF
8998 if ac_fn_c_try_link "$LINENO"; then :
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9000 $as_echo "no" >&6; }
9001 X_LIBS="$X_LIBS -R$x_libraries"
9002 else
9003 LIBS="$ac_xsave_LIBS -R $x_libraries"
9004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9008 main ()
9012 return 0;
9014 _ACEOF
9015 if ac_fn_c_try_link "$LINENO"; then :
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9017 $as_echo "yes" >&6; }
9018 X_LIBS="$X_LIBS -R $x_libraries"
9019 else
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9021 $as_echo "neither works" >&6; }
9023 rm -f core conftest.err conftest.$ac_objext \
9024 conftest$ac_exeext conftest.$ac_ext
9026 rm -f core conftest.err conftest.$ac_objext \
9027 conftest$ac_exeext conftest.$ac_ext
9028 ac_c_werror_flag=$ac_xsave_c_werror_flag
9029 LIBS=$ac_xsave_LIBS
9032 # Check for system-dependent libraries X programs must link with.
9033 # Do this before checking for the system-independent R6 libraries
9034 # (-lICE), since we may need -lsocket or whatever for X linking.
9036 if test "$ISC" = yes; then
9037 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9038 else
9039 # Martyn Johnson says this is needed for Ultrix, if the X
9040 # libraries were built with DECnet support. And Karl Berry says
9041 # the Alpha needs dnet_stub (dnet does not exist).
9042 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9046 /* Override any GCC internal prototype to avoid an error.
9047 Use char because int might match the return type of a GCC
9048 builtin and then its argument prototype would still apply. */
9049 #ifdef __cplusplus
9050 extern "C"
9051 #endif
9052 char XOpenDisplay ();
9054 main ()
9056 return XOpenDisplay ();
9058 return 0;
9060 _ACEOF
9061 if ac_fn_c_try_link "$LINENO"; then :
9063 else
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9065 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9066 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 ac_check_lib_save_LIBS=$LIBS
9070 LIBS="-ldnet $LIBS"
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9074 /* Override any GCC internal prototype to avoid an error.
9075 Use char because int might match the return type of a GCC
9076 builtin and then its argument prototype would still apply. */
9077 #ifdef __cplusplus
9078 extern "C"
9079 #endif
9080 char dnet_ntoa ();
9082 main ()
9084 return dnet_ntoa ();
9086 return 0;
9088 _ACEOF
9089 if ac_fn_c_try_link "$LINENO"; then :
9090 ac_cv_lib_dnet_dnet_ntoa=yes
9091 else
9092 ac_cv_lib_dnet_dnet_ntoa=no
9094 rm -f core conftest.err conftest.$ac_objext \
9095 conftest$ac_exeext conftest.$ac_ext
9096 LIBS=$ac_check_lib_save_LIBS
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9099 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9100 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9101 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9104 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9106 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9107 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9108 $as_echo_n "(cached) " >&6
9109 else
9110 ac_check_lib_save_LIBS=$LIBS
9111 LIBS="-ldnet_stub $LIBS"
9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9115 /* Override any GCC internal prototype to avoid an error.
9116 Use char because int might match the return type of a GCC
9117 builtin and then its argument prototype would still apply. */
9118 #ifdef __cplusplus
9119 extern "C"
9120 #endif
9121 char dnet_ntoa ();
9123 main ()
9125 return dnet_ntoa ();
9127 return 0;
9129 _ACEOF
9130 if ac_fn_c_try_link "$LINENO"; then :
9131 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9132 else
9133 ac_cv_lib_dnet_stub_dnet_ntoa=no
9135 rm -f core conftest.err conftest.$ac_objext \
9136 conftest$ac_exeext conftest.$ac_ext
9137 LIBS=$ac_check_lib_save_LIBS
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9140 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9141 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9142 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9147 rm -f core conftest.err conftest.$ac_objext \
9148 conftest$ac_exeext conftest.$ac_ext
9149 LIBS="$ac_xsave_LIBS"
9151 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9152 # to get the SysV transport functions.
9153 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9154 # needs -lnsl.
9155 # The nsl library prevents programs from opening the X display
9156 # on Irix 5.2, according to T.E. Dickey.
9157 # The functions gethostbyname, getservbyname, and inet_addr are
9158 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9159 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9160 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9164 if test $ac_cv_func_gethostbyname = no; then
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9166 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9167 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9168 $as_echo_n "(cached) " >&6
9169 else
9170 ac_check_lib_save_LIBS=$LIBS
9171 LIBS="-lnsl $LIBS"
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9175 /* Override any GCC internal prototype to avoid an error.
9176 Use char because int might match the return type of a GCC
9177 builtin and then its argument prototype would still apply. */
9178 #ifdef __cplusplus
9179 extern "C"
9180 #endif
9181 char gethostbyname ();
9183 main ()
9185 return gethostbyname ();
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 ac_cv_lib_nsl_gethostbyname=yes
9192 else
9193 ac_cv_lib_nsl_gethostbyname=no
9195 rm -f core conftest.err conftest.$ac_objext \
9196 conftest$ac_exeext conftest.$ac_ext
9197 LIBS=$ac_check_lib_save_LIBS
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9200 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9201 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9202 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9205 if test $ac_cv_lib_nsl_gethostbyname = no; then
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9207 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9208 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210 else
9211 ac_check_lib_save_LIBS=$LIBS
9212 LIBS="-lbsd $LIBS"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9219 #ifdef __cplusplus
9220 extern "C"
9221 #endif
9222 char gethostbyname ();
9224 main ()
9226 return gethostbyname ();
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9232 ac_cv_lib_bsd_gethostbyname=yes
9233 else
9234 ac_cv_lib_bsd_gethostbyname=no
9236 rm -f core conftest.err conftest.$ac_objext \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_lib_save_LIBS
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9241 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9242 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9243 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9249 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9250 # socket/setsockopt and other routines are undefined under SCO ODT
9251 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9252 # on later versions), says Simon Leinen: it contains gethostby*
9253 # variants that don't use the name server (or something). -lsocket
9254 # must be given before -lnsl if both are needed. We assume that
9255 # if connect needs -lnsl, so does gethostbyname.
9256 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9257 if test "x$ac_cv_func_connect" = xyes; then :
9261 if test $ac_cv_func_connect = no; then
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9263 $as_echo_n "checking for connect in -lsocket... " >&6; }
9264 if ${ac_cv_lib_socket_connect+:} false; then :
9265 $as_echo_n "(cached) " >&6
9266 else
9267 ac_check_lib_save_LIBS=$LIBS
9268 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9272 /* Override any GCC internal prototype to avoid an error.
9273 Use char because int might match the return type of a GCC
9274 builtin and then its argument prototype would still apply. */
9275 #ifdef __cplusplus
9276 extern "C"
9277 #endif
9278 char connect ();
9280 main ()
9282 return connect ();
9284 return 0;
9286 _ACEOF
9287 if ac_fn_c_try_link "$LINENO"; then :
9288 ac_cv_lib_socket_connect=yes
9289 else
9290 ac_cv_lib_socket_connect=no
9292 rm -f core conftest.err conftest.$ac_objext \
9293 conftest$ac_exeext conftest.$ac_ext
9294 LIBS=$ac_check_lib_save_LIBS
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9297 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9298 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9299 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9304 # Guillermo Gomez says -lposix is necessary on A/UX.
9305 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9306 if test "x$ac_cv_func_remove" = xyes; then :
9310 if test $ac_cv_func_remove = no; then
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9312 $as_echo_n "checking for remove in -lposix... " >&6; }
9313 if ${ac_cv_lib_posix_remove+:} false; then :
9314 $as_echo_n "(cached) " >&6
9315 else
9316 ac_check_lib_save_LIBS=$LIBS
9317 LIBS="-lposix $LIBS"
9318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9319 /* end confdefs.h. */
9321 /* Override any GCC internal prototype to avoid an error.
9322 Use char because int might match the return type of a GCC
9323 builtin and then its argument prototype would still apply. */
9324 #ifdef __cplusplus
9325 extern "C"
9326 #endif
9327 char remove ();
9329 main ()
9331 return remove ();
9333 return 0;
9335 _ACEOF
9336 if ac_fn_c_try_link "$LINENO"; then :
9337 ac_cv_lib_posix_remove=yes
9338 else
9339 ac_cv_lib_posix_remove=no
9341 rm -f core conftest.err conftest.$ac_objext \
9342 conftest$ac_exeext conftest.$ac_ext
9343 LIBS=$ac_check_lib_save_LIBS
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9346 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9347 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9348 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9353 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9354 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9355 if test "x$ac_cv_func_shmat" = xyes; then :
9359 if test $ac_cv_func_shmat = no; then
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9361 $as_echo_n "checking for shmat in -lipc... " >&6; }
9362 if ${ac_cv_lib_ipc_shmat+:} false; then :
9363 $as_echo_n "(cached) " >&6
9364 else
9365 ac_check_lib_save_LIBS=$LIBS
9366 LIBS="-lipc $LIBS"
9367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9368 /* end confdefs.h. */
9370 /* Override any GCC internal prototype to avoid an error.
9371 Use char because int might match the return type of a GCC
9372 builtin and then its argument prototype would still apply. */
9373 #ifdef __cplusplus
9374 extern "C"
9375 #endif
9376 char shmat ();
9378 main ()
9380 return shmat ();
9382 return 0;
9384 _ACEOF
9385 if ac_fn_c_try_link "$LINENO"; then :
9386 ac_cv_lib_ipc_shmat=yes
9387 else
9388 ac_cv_lib_ipc_shmat=no
9390 rm -f core conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 LIBS=$ac_check_lib_save_LIBS
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9395 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9396 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9397 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9403 # Check for libraries that X11R6 Xt/Xaw programs need.
9404 ac_save_LDFLAGS=$LDFLAGS
9405 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9406 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9407 # check for ICE first), but we must link in the order -lSM -lICE or
9408 # we get undefined symbols. So assume we have SM if we have ICE.
9409 # These have to be linked with before -lX11, unlike the other
9410 # libraries we check for below, so use a different variable.
9411 # John Interrante, Karl Berry
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9413 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9414 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9415 $as_echo_n "(cached) " >&6
9416 else
9417 ac_check_lib_save_LIBS=$LIBS
9418 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9422 /* Override any GCC internal prototype to avoid an error.
9423 Use char because int might match the return type of a GCC
9424 builtin and then its argument prototype would still apply. */
9425 #ifdef __cplusplus
9426 extern "C"
9427 #endif
9428 char IceConnectionNumber ();
9430 main ()
9432 return IceConnectionNumber ();
9434 return 0;
9436 _ACEOF
9437 if ac_fn_c_try_link "$LINENO"; then :
9438 ac_cv_lib_ICE_IceConnectionNumber=yes
9439 else
9440 ac_cv_lib_ICE_IceConnectionNumber=no
9442 rm -f core conftest.err conftest.$ac_objext \
9443 conftest$ac_exeext conftest.$ac_ext
9444 LIBS=$ac_check_lib_save_LIBS
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9447 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9448 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9449 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9452 LDFLAGS=$ac_save_LDFLAGS
9457 if test "$have_x" = "yes"
9458 then
9459 ac_save_CPPFLAGS="$CPPFLAGS"
9460 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9463 $as_echo_n "checking for -lX11... " >&6; }
9464 if ${ac_cv_lib_soname_X11+:} false; then :
9465 $as_echo_n "(cached) " >&6
9466 else
9467 ac_check_soname_save_LIBS=$LIBS
9468 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9472 /* Override any GCC internal prototype to avoid an error.
9473 Use char because int might match the return type of a GCC
9474 builtin and then its argument prototype would still apply. */
9475 #ifdef __cplusplus
9476 extern "C"
9477 #endif
9478 char XCreateWindow ();
9480 main ()
9482 return XCreateWindow ();
9484 return 0;
9486 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"; then :
9488 case "$LIBEXT" in
9489 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9490 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'` ;;
9491 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9492 if ${ac_cv_lib_soname_X11:+false} :; then :
9493 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9494 fi ;;
9495 esac
9497 rm -f core conftest.err conftest.$ac_objext \
9498 conftest$ac_exeext conftest.$ac_ext
9499 LIBS=$ac_check_soname_save_LIBS
9501 if ${ac_cv_lib_soname_X11:+false} :; then :
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9503 $as_echo "not found" >&6; }
9505 else
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9507 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9509 cat >>confdefs.h <<_ACEOF
9510 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9511 _ACEOF
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9516 $as_echo_n "checking for -lXext... " >&6; }
9517 if ${ac_cv_lib_soname_Xext+:} false; then :
9518 $as_echo_n "(cached) " >&6
9519 else
9520 ac_check_soname_save_LIBS=$LIBS
9521 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9523 /* end confdefs.h. */
9525 /* Override any GCC internal prototype to avoid an error.
9526 Use char because int might match the return type of a GCC
9527 builtin and then its argument prototype would still apply. */
9528 #ifdef __cplusplus
9529 extern "C"
9530 #endif
9531 char XextCreateExtension ();
9533 main ()
9535 return XextCreateExtension ();
9537 return 0;
9539 _ACEOF
9540 if ac_fn_c_try_link "$LINENO"; then :
9541 case "$LIBEXT" in
9542 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9543 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'` ;;
9544 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9545 if ${ac_cv_lib_soname_Xext:+false} :; then :
9546 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9547 fi ;;
9548 esac
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 LIBS=$ac_check_soname_save_LIBS
9554 if ${ac_cv_lib_soname_Xext:+false} :; then :
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9556 $as_echo "not found" >&6; }
9558 else
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9560 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9562 cat >>confdefs.h <<_ACEOF
9563 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9564 _ACEOF
9566 X_LIBS="$X_LIBS -lXext"
9568 X_LIBS="$X_LIBS -lX11"
9570 for ac_header in X11/Xlib.h \
9571 X11/XKBlib.h \
9572 X11/Xutil.h \
9573 X11/Xcursor/Xcursor.h \
9574 X11/extensions/shape.h \
9575 X11/extensions/XInput.h \
9576 X11/extensions/XInput2.h \
9577 X11/extensions/XShm.h \
9578 X11/extensions/Xcomposite.h \
9579 X11/extensions/Xinerama.h \
9580 X11/extensions/Xrandr.h \
9581 X11/extensions/Xrender.h \
9582 X11/extensions/xf86vmode.h \
9583 X11/extensions/xf86vmproto.h
9584 do :
9585 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9586 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9587 # include <X11/Xlib.h>
9588 #endif
9589 #ifdef HAVE_X11_XUTIL_H
9590 # include <X11/Xutil.h>
9591 #endif
9593 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9594 cat >>confdefs.h <<_ACEOF
9595 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9596 _ACEOF
9600 done
9603 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9604 then
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9606 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9607 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9608 $as_echo_n "(cached) " >&6
9609 else
9610 ac_check_lib_save_LIBS=$LIBS
9611 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9613 /* end confdefs.h. */
9615 /* Override any GCC internal prototype to avoid an error.
9616 Use char because int might match the return type of a GCC
9617 builtin and then its argument prototype would still apply. */
9618 #ifdef __cplusplus
9619 extern "C"
9620 #endif
9621 char XkbQueryExtension ();
9623 main ()
9625 return XkbQueryExtension ();
9627 return 0;
9629 _ACEOF
9630 if ac_fn_c_try_link "$LINENO"; then :
9631 ac_cv_lib_X11_XkbQueryExtension=yes
9632 else
9633 ac_cv_lib_X11_XkbQueryExtension=no
9635 rm -f core conftest.err conftest.$ac_objext \
9636 conftest$ac_exeext conftest.$ac_ext
9637 LIBS=$ac_check_lib_save_LIBS
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9640 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9641 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9643 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9649 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9650 then
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9652 $as_echo_n "checking for -lXcursor... " >&6; }
9653 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9654 $as_echo_n "(cached) " >&6
9655 else
9656 ac_check_soname_save_LIBS=$LIBS
9657 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9659 /* end confdefs.h. */
9661 /* Override any GCC internal prototype to avoid an error.
9662 Use char because int might match the return type of a GCC
9663 builtin and then its argument prototype would still apply. */
9664 #ifdef __cplusplus
9665 extern "C"
9666 #endif
9667 char XcursorImageLoadCursor ();
9669 main ()
9671 return XcursorImageLoadCursor ();
9673 return 0;
9675 _ACEOF
9676 if ac_fn_c_try_link "$LINENO"; then :
9677 case "$LIBEXT" in
9678 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9679 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'` ;;
9680 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9681 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9682 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9683 fi ;;
9684 esac
9686 rm -f core conftest.err conftest.$ac_objext \
9687 conftest$ac_exeext conftest.$ac_ext
9688 LIBS=$ac_check_soname_save_LIBS
9690 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9692 $as_echo "not found" >&6; }
9694 else
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9696 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9698 cat >>confdefs.h <<_ACEOF
9699 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9700 _ACEOF
9705 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9706 case "x$with_xcursor" in
9707 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9708 xno) ;;
9709 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9710 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9711 esac
9714 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9715 then
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9717 $as_echo_n "checking for -lXi... " >&6; }
9718 if ${ac_cv_lib_soname_Xi+:} false; then :
9719 $as_echo_n "(cached) " >&6
9720 else
9721 ac_check_soname_save_LIBS=$LIBS
9722 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9726 /* Override any GCC internal prototype to avoid an error.
9727 Use char because int might match the return type of a GCC
9728 builtin and then its argument prototype would still apply. */
9729 #ifdef __cplusplus
9730 extern "C"
9731 #endif
9732 char XOpenDevice ();
9734 main ()
9736 return XOpenDevice ();
9738 return 0;
9740 _ACEOF
9741 if ac_fn_c_try_link "$LINENO"; then :
9742 case "$LIBEXT" in
9743 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9744 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'` ;;
9745 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9746 if ${ac_cv_lib_soname_Xi:+false} :; then :
9747 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9748 fi ;;
9749 esac
9751 rm -f core conftest.err conftest.$ac_objext \
9752 conftest$ac_exeext conftest.$ac_ext
9753 LIBS=$ac_check_soname_save_LIBS
9755 if ${ac_cv_lib_soname_Xi:+false} :; then :
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9757 $as_echo "not found" >&6; }
9759 else
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9761 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9763 cat >>confdefs.h <<_ACEOF
9764 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9765 _ACEOF
9770 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9771 case "x$with_xinput" in
9772 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9773 xno) ;;
9774 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9775 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9776 esac
9779 if test "x$ac_cv_lib_soname_Xi" != x
9780 then
9781 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9782 case "x$with_xinput2" in
9783 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9784 xno) ;;
9785 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9786 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9787 esac
9791 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9792 then
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9794 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9795 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9796 $as_echo_n "(cached) " >&6
9797 else
9798 ac_check_lib_save_LIBS=$LIBS
9799 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9806 #ifdef __cplusplus
9807 extern "C"
9808 #endif
9809 char XShmQueryExtension ();
9811 main ()
9813 return XShmQueryExtension ();
9815 return 0;
9817 _ACEOF
9818 if ac_fn_c_try_link "$LINENO"; then :
9819 ac_cv_lib_Xext_XShmQueryExtension=yes
9820 else
9821 ac_cv_lib_Xext_XShmQueryExtension=no
9823 rm -f core conftest.err conftest.$ac_objext \
9824 conftest$ac_exeext conftest.$ac_ext
9825 LIBS=$ac_check_lib_save_LIBS
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9828 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9829 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9831 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9836 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9837 case "x$with_xshm" in
9838 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9839 xno) ;;
9840 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9841 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9842 esac
9845 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9846 then
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9848 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9849 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9850 $as_echo_n "(cached) " >&6
9851 else
9852 ac_check_lib_save_LIBS=$LIBS
9853 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9857 /* Override any GCC internal prototype to avoid an error.
9858 Use char because int might match the return type of a GCC
9859 builtin and then its argument prototype would still apply. */
9860 #ifdef __cplusplus
9861 extern "C"
9862 #endif
9863 char XShapeQueryExtension ();
9865 main ()
9867 return XShapeQueryExtension ();
9869 return 0;
9871 _ACEOF
9872 if ac_fn_c_try_link "$LINENO"; then :
9873 ac_cv_lib_Xext_XShapeQueryExtension=yes
9874 else
9875 ac_cv_lib_Xext_XShapeQueryExtension=no
9877 rm -f core conftest.err conftest.$ac_objext \
9878 conftest$ac_exeext conftest.$ac_ext
9879 LIBS=$ac_check_lib_save_LIBS
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9882 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9883 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9885 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9890 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9891 case "x$with_xshape" in
9892 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9893 xno) ;;
9894 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9895 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9896 esac
9899 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9900 then
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9902 $as_echo_n "checking for -lXxf86vm... " >&6; }
9903 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9904 $as_echo_n "(cached) " >&6
9905 else
9906 ac_check_soname_save_LIBS=$LIBS
9907 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9911 /* Override any GCC internal prototype to avoid an error.
9912 Use char because int might match the return type of a GCC
9913 builtin and then its argument prototype would still apply. */
9914 #ifdef __cplusplus
9915 extern "C"
9916 #endif
9917 char XF86VidModeQueryExtension ();
9919 main ()
9921 return XF86VidModeQueryExtension ();
9923 return 0;
9925 _ACEOF
9926 if ac_fn_c_try_link "$LINENO"; then :
9927 case "$LIBEXT" in
9928 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9929 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'` ;;
9930 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9931 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9932 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9933 fi ;;
9934 esac
9936 rm -f core conftest.err conftest.$ac_objext \
9937 conftest$ac_exeext conftest.$ac_ext
9938 LIBS=$ac_check_soname_save_LIBS
9940 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9942 $as_echo "not found" >&6; }
9944 else
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9946 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9948 cat >>confdefs.h <<_ACEOF
9949 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9950 _ACEOF
9955 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9956 case "x$with_xxf86vm" in
9957 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9958 xno) ;;
9959 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9960 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9961 esac
9964 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9965 then
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9967 $as_echo_n "checking for -lXrender... " >&6; }
9968 if ${ac_cv_lib_soname_Xrender+:} false; then :
9969 $as_echo_n "(cached) " >&6
9970 else
9971 ac_check_soname_save_LIBS=$LIBS
9972 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9976 /* Override any GCC internal prototype to avoid an error.
9977 Use char because int might match the return type of a GCC
9978 builtin and then its argument prototype would still apply. */
9979 #ifdef __cplusplus
9980 extern "C"
9981 #endif
9982 char XRenderQueryExtension ();
9984 main ()
9986 return XRenderQueryExtension ();
9988 return 0;
9990 _ACEOF
9991 if ac_fn_c_try_link "$LINENO"; then :
9992 case "$LIBEXT" in
9993 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9994 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'` ;;
9995 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9996 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9997 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9998 fi ;;
9999 esac
10001 rm -f core conftest.err conftest.$ac_objext \
10002 conftest$ac_exeext conftest.$ac_ext
10003 LIBS=$ac_check_soname_save_LIBS
10005 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10007 $as_echo "not found" >&6; }
10009 else
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10011 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10013 cat >>confdefs.h <<_ACEOF
10014 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10015 _ACEOF
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10018 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10019 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10020 $as_echo_n "(cached) " >&6
10021 else
10022 ac_check_lib_save_LIBS=$LIBS
10023 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10030 #ifdef __cplusplus
10031 extern "C"
10032 #endif
10033 char XRenderSetPictureTransform ();
10035 main ()
10037 return XRenderSetPictureTransform ();
10039 return 0;
10041 _ACEOF
10042 if ac_fn_c_try_link "$LINENO"; then :
10043 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10044 else
10045 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10047 rm -f core conftest.err conftest.$ac_objext \
10048 conftest$ac_exeext conftest.$ac_ext
10049 LIBS=$ac_check_lib_save_LIBS
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10052 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10053 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10055 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10060 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10061 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10062 $as_echo_n "(cached) " >&6
10063 else
10064 ac_check_lib_save_LIBS=$LIBS
10065 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10069 /* Override any GCC internal prototype to avoid an error.
10070 Use char because int might match the return type of a GCC
10071 builtin and then its argument prototype would still apply. */
10072 #ifdef __cplusplus
10073 extern "C"
10074 #endif
10075 char XRenderCreateLinearGradient ();
10077 main ()
10079 return XRenderCreateLinearGradient ();
10081 return 0;
10083 _ACEOF
10084 if ac_fn_c_try_link "$LINENO"; then :
10085 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10086 else
10087 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10089 rm -f core conftest.err conftest.$ac_objext \
10090 conftest$ac_exeext conftest.$ac_ext
10091 LIBS=$ac_check_lib_save_LIBS
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10094 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10095 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10097 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10104 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10105 case "x$with_xrender" in
10106 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10107 xno) ;;
10108 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10109 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10110 esac
10113 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10114 then
10115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10117 #include <X11/Xlib.h>
10118 #include <X11/extensions/Xrandr.h>
10120 main ()
10122 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10124 return 0;
10126 _ACEOF
10127 if ac_fn_c_try_compile "$LINENO"; then :
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10129 $as_echo_n "checking for -lXrandr... " >&6; }
10130 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10131 $as_echo_n "(cached) " >&6
10132 else
10133 ac_check_soname_save_LIBS=$LIBS
10134 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10138 /* Override any GCC internal prototype to avoid an error.
10139 Use char because int might match the return type of a GCC
10140 builtin and then its argument prototype would still apply. */
10141 #ifdef __cplusplus
10142 extern "C"
10143 #endif
10144 char XRRQueryExtension ();
10146 main ()
10148 return XRRQueryExtension ();
10150 return 0;
10152 _ACEOF
10153 if ac_fn_c_try_link "$LINENO"; then :
10154 case "$LIBEXT" in
10155 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10156 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'` ;;
10157 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10158 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10159 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10160 fi ;;
10161 esac
10163 rm -f core conftest.err conftest.$ac_objext \
10164 conftest$ac_exeext conftest.$ac_ext
10165 LIBS=$ac_check_soname_save_LIBS
10167 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10169 $as_echo "not found" >&6; }
10171 else
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10173 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10175 cat >>confdefs.h <<_ACEOF
10176 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10177 _ACEOF
10179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10180 /* end confdefs.h. */
10181 #include <X11/Xlib.h>
10182 #include <X11/extensions/Xrandr.h>
10184 main ()
10186 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10188 return 0;
10190 _ACEOF
10191 if ac_fn_c_try_compile "$LINENO"; then :
10193 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10201 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10202 case "x$with_xrandr" in
10203 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10204 xno) ;;
10205 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10206 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10207 esac
10210 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10211 then
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 #include <X11/Xlib.h>
10215 #include <X11/extensions/Xinerama.h>
10217 main ()
10219 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10221 return 0;
10223 _ACEOF
10224 if ac_fn_c_try_compile "$LINENO"; then :
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10226 $as_echo_n "checking for -lXinerama... " >&6; }
10227 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10228 $as_echo_n "(cached) " >&6
10229 else
10230 ac_check_soname_save_LIBS=$LIBS
10231 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10238 #ifdef __cplusplus
10239 extern "C"
10240 #endif
10241 char XineramaQueryScreens ();
10243 main ()
10245 return XineramaQueryScreens ();
10247 return 0;
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 case "$LIBEXT" in
10252 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10253 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'` ;;
10254 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10255 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10256 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10257 fi ;;
10258 esac
10260 rm -f core conftest.err conftest.$ac_objext \
10261 conftest$ac_exeext conftest.$ac_ext
10262 LIBS=$ac_check_soname_save_LIBS
10264 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10266 $as_echo "not found" >&6; }
10268 else
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10270 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10272 cat >>confdefs.h <<_ACEOF
10273 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10274 _ACEOF
10279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10281 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10282 case "x$with_xinerama" in
10283 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10284 xno) ;;
10285 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10286 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10287 esac
10290 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10291 then
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10293 $as_echo_n "checking for -lXcomposite... " >&6; }
10294 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10295 $as_echo_n "(cached) " >&6
10296 else
10297 ac_check_soname_save_LIBS=$LIBS
10298 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10302 /* Override any GCC internal prototype to avoid an error.
10303 Use char because int might match the return type of a GCC
10304 builtin and then its argument prototype would still apply. */
10305 #ifdef __cplusplus
10306 extern "C"
10307 #endif
10308 char XCompositeRedirectWindow ();
10310 main ()
10312 return XCompositeRedirectWindow ();
10314 return 0;
10316 _ACEOF
10317 if ac_fn_c_try_link "$LINENO"; then :
10318 case "$LIBEXT" in
10319 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10320 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'` ;;
10321 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10322 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10323 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10324 fi ;;
10325 esac
10327 rm -f core conftest.err conftest.$ac_objext \
10328 conftest$ac_exeext conftest.$ac_ext
10329 LIBS=$ac_check_soname_save_LIBS
10331 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10333 $as_echo "not found" >&6; }
10335 else
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10337 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10339 cat >>confdefs.h <<_ACEOF
10340 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10341 _ACEOF
10346 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10347 case "x$with_xcomposite" in
10348 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10349 xno) ;;
10350 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10351 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10352 esac
10355 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10356 #include <X11/Xlib.h>
10357 #endif
10359 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10361 cat >>confdefs.h <<_ACEOF
10362 #define HAVE_XICCALLBACK_CALLBACK 1
10363 _ACEOF
10367 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10368 #include <X11/Xlib.h>
10369 #endif
10371 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10373 cat >>confdefs.h <<_ACEOF
10374 #define HAVE_XEVENT_XCOOKIE 1
10375 _ACEOF
10382 opengl_msg=""
10383 if test "x$with_opengl" != "xno"
10384 then
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10386 $as_echo_n "checking for -lGL... " >&6; }
10387 if ${ac_cv_lib_soname_GL+:} false; then :
10388 $as_echo_n "(cached) " >&6
10389 else
10390 ac_check_soname_save_LIBS=$LIBS
10391 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10395 /* Override any GCC internal prototype to avoid an error.
10396 Use char because int might match the return type of a GCC
10397 builtin and then its argument prototype would still apply. */
10398 #ifdef __cplusplus
10399 extern "C"
10400 #endif
10401 char glXCreateContext ();
10403 main ()
10405 return glXCreateContext ();
10407 return 0;
10409 _ACEOF
10410 if ac_fn_c_try_link "$LINENO"; then :
10411 case "$LIBEXT" in
10412 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10413 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'` ;;
10414 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10415 if ${ac_cv_lib_soname_GL:+false} :; then :
10416 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10417 fi ;;
10418 esac
10420 rm -f core conftest.err conftest.$ac_objext \
10421 conftest$ac_exeext conftest.$ac_ext
10422 LIBS=$ac_check_soname_save_LIBS
10424 if ${ac_cv_lib_soname_GL:+false} :; then :
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10426 $as_echo "not found" >&6; }
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10428 $as_echo_n "checking for -lGL... " >&6; }
10429 if ${ac_cv_lib_soname_GL+:} false; then :
10430 $as_echo_n "(cached) " >&6
10431 else
10432 ac_check_soname_save_LIBS=$LIBS
10433 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"
10434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10437 /* Override any GCC internal prototype to avoid an error.
10438 Use char because int might match the return type of a GCC
10439 builtin and then its argument prototype would still apply. */
10440 #ifdef __cplusplus
10441 extern "C"
10442 #endif
10443 char glXCreateContext ();
10445 main ()
10447 return glXCreateContext ();
10449 return 0;
10451 _ACEOF
10452 if ac_fn_c_try_link "$LINENO"; then :
10453 case "$LIBEXT" in
10454 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10455 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'` ;;
10456 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10457 if ${ac_cv_lib_soname_GL:+false} :; then :
10458 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10459 fi ;;
10460 esac
10462 rm -f core conftest.err conftest.$ac_objext \
10463 conftest$ac_exeext conftest.$ac_ext
10464 LIBS=$ac_check_soname_save_LIBS
10466 if ${ac_cv_lib_soname_GL:+false} :; then :
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10468 $as_echo "not found" >&6; }
10469 if test -f /usr/X11R6/lib/libGL.a
10470 then
10471 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10472 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10473 else
10474 opengl_msg="No OpenGL library found on this system."
10476 else
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10478 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10480 cat >>confdefs.h <<_ACEOF
10481 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10482 _ACEOF
10484 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"
10486 else
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10488 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10490 cat >>confdefs.h <<_ACEOF
10491 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10492 _ACEOF
10494 OPENGL_LIBS="-lGL"
10496 if test "x$with_glu" != "xno"
10497 then
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10499 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10500 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10501 $as_echo_n "(cached) " >&6
10502 else
10503 ac_check_lib_save_LIBS=$LIBS
10504 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10506 /* end confdefs.h. */
10508 /* Override any GCC internal prototype to avoid an error.
10509 Use char because int might match the return type of a GCC
10510 builtin and then its argument prototype would still apply. */
10511 #ifdef __cplusplus
10512 extern "C"
10513 #endif
10514 char gluLookAt ();
10516 main ()
10518 return gluLookAt ();
10520 return 0;
10522 _ACEOF
10523 if ac_fn_c_try_link "$LINENO"; then :
10524 ac_cv_lib_GLU_gluLookAt=yes
10525 else
10526 ac_cv_lib_GLU_gluLookAt=no
10528 rm -f core conftest.err conftest.$ac_objext \
10529 conftest$ac_exeext conftest.$ac_ext
10530 LIBS=$ac_check_lib_save_LIBS
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10533 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10534 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10538 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10539 case "x$with_glu" in
10540 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10541 xno) ;;
10542 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10543 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10544 esac
10548 if test "x$with_osmesa" != "xno"
10549 then
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10551 $as_echo_n "checking for -lOSMesa... " >&6; }
10552 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10553 $as_echo_n "(cached) " >&6
10554 else
10555 ac_check_soname_save_LIBS=$LIBS
10556 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10560 /* Override any GCC internal prototype to avoid an error.
10561 Use char because int might match the return type of a GCC
10562 builtin and then its argument prototype would still apply. */
10563 #ifdef __cplusplus
10564 extern "C"
10565 #endif
10566 char glAccum ();
10568 main ()
10570 return glAccum ();
10572 return 0;
10574 _ACEOF
10575 if ac_fn_c_try_link "$LINENO"; then :
10576 case "$LIBEXT" in
10577 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10578 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'` ;;
10579 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10580 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10581 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10582 fi ;;
10583 esac
10585 rm -f core conftest.err conftest.$ac_objext \
10586 conftest$ac_exeext conftest.$ac_ext
10587 LIBS=$ac_check_soname_save_LIBS
10589 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10591 $as_echo "not found" >&6; }
10593 else
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10595 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10597 cat >>confdefs.h <<_ACEOF
10598 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10599 _ACEOF
10603 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10604 case "x$with_osmesa" in
10605 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10606 xno) ;;
10607 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10608 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10609 esac
10613 if test -n "$opengl_msg"; then :
10614 case "x$with_opengl" in
10615 x) as_fn_append wine_warnings "|$opengl_msg
10616 OpenGL and Direct3D won't be supported." ;;
10617 xno) ;;
10618 *) as_fn_error $? "$opengl_msg
10619 OpenGL and Direct3D won't be supported.
10620 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10621 esac
10624 CPPFLAGS="$ac_save_CPPFLAGS"
10625 else
10626 X_CFLAGS=""
10627 X_LIBS=""
10628 enable_winex11_drv=${enable_winex11_drv:-no}
10630 if test "x$X_LIBS" = "x"; then :
10631 case "x$with_x" in
10632 xno) ;;
10633 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10634 without X support, which probably isn't what you want. You will need
10635 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10636 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10637 esac
10640 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10642 if test "$ac_cv_header_CL_cl_h" = "yes"
10643 then
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10645 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10646 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10647 $as_echo_n "(cached) " >&6
10648 else
10649 ac_check_lib_save_LIBS=$LIBS
10650 LIBS="-lOpenCL $LIBS"
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10654 /* Override any GCC internal prototype to avoid an error.
10655 Use char because int might match the return type of a GCC
10656 builtin and then its argument prototype would still apply. */
10657 #ifdef __cplusplus
10658 extern "C"
10659 #endif
10660 char clGetPlatformInfo ();
10662 main ()
10664 return clGetPlatformInfo ();
10666 return 0;
10668 _ACEOF
10669 if ac_fn_c_try_link "$LINENO"; then :
10670 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10671 else
10672 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10674 rm -f core conftest.err conftest.$ac_objext \
10675 conftest$ac_exeext conftest.$ac_ext
10676 LIBS=$ac_check_lib_save_LIBS
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10679 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10680 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10681 OPENCL_LIBS="-lOpenCL"
10686 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10687 case "x$with_opencl" in
10688 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10689 xno) ;;
10690 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10691 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10692 esac
10694 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10696 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10697 then
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10699 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10700 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10701 $as_echo_n "(cached) " >&6
10702 else
10703 ac_check_lib_save_LIBS=$LIBS
10704 LIBS="-lpcap $LIBS"
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10708 /* Override any GCC internal prototype to avoid an error.
10709 Use char because int might match the return type of a GCC
10710 builtin and then its argument prototype would still apply. */
10711 #ifdef __cplusplus
10712 extern "C"
10713 #endif
10714 char pcap_create ();
10716 main ()
10718 return pcap_create ();
10720 return 0;
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"; then :
10724 ac_cv_lib_pcap_pcap_create=yes
10725 else
10726 ac_cv_lib_pcap_pcap_create=no
10728 rm -f core conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730 LIBS=$ac_check_lib_save_LIBS
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10733 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10734 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10735 LIBPCAP="-lpcap"
10740 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10741 case "x$with_pcap" in
10742 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10743 xno) ;;
10744 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10745 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10746 esac
10748 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10751 if test "x$with_xml" != "xno"
10752 then
10753 if ${XML2_CFLAGS:+false} :; then :
10754 if ${PKG_CONFIG+:} false; then :
10755 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10758 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10759 if ${XML2_LIBS:+false} :; then :
10760 if ${PKG_CONFIG+:} false; then :
10761 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10764 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10765 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10766 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10767 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10768 ac_save_CPPFLAGS=$CPPFLAGS
10769 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10770 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10771 do :
10772 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10773 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10774 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10775 cat >>confdefs.h <<_ACEOF
10776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10777 _ACEOF
10781 done
10783 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"
10784 then
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10786 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10787 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10788 $as_echo_n "(cached) " >&6
10789 else
10790 ac_check_lib_save_LIBS=$LIBS
10791 LIBS="-lxml2 $XML2_LIBS $LIBS"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char xmlParseMemory ();
10803 main ()
10805 return xmlParseMemory ();
10807 return 0;
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"; then :
10811 ac_cv_lib_xml2_xmlParseMemory=yes
10812 else
10813 ac_cv_lib_xml2_xmlParseMemory=no
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 LIBS=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10820 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10821 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10823 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10825 else
10826 XML2_LIBS=""
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10830 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10831 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10832 $as_echo_n "(cached) " >&6
10833 else
10834 ac_check_lib_save_LIBS=$LIBS
10835 LIBS="-lxml2 $XML2_LIBS $LIBS"
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10842 #ifdef __cplusplus
10843 extern "C"
10844 #endif
10845 char xmlReadMemory ();
10847 main ()
10849 return xmlReadMemory ();
10851 return 0;
10853 _ACEOF
10854 if ac_fn_c_try_link "$LINENO"; then :
10855 ac_cv_lib_xml2_xmlReadMemory=yes
10856 else
10857 ac_cv_lib_xml2_xmlReadMemory=no
10859 rm -f core conftest.err conftest.$ac_objext \
10860 conftest$ac_exeext conftest.$ac_ext
10861 LIBS=$ac_check_lib_save_LIBS
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10864 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10865 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10867 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10872 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10873 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10874 $as_echo_n "(cached) " >&6
10875 else
10876 ac_check_lib_save_LIBS=$LIBS
10877 LIBS="-lxml2 $XML2_LIBS $LIBS"
10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10884 #ifdef __cplusplus
10885 extern "C"
10886 #endif
10887 char xmlNewDocPI ();
10889 main ()
10891 return xmlNewDocPI ();
10893 return 0;
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"; then :
10897 ac_cv_lib_xml2_xmlNewDocPI=yes
10898 else
10899 ac_cv_lib_xml2_xmlNewDocPI=no
10901 rm -f core conftest.err conftest.$ac_objext \
10902 conftest$ac_exeext conftest.$ac_ext
10903 LIBS=$ac_check_lib_save_LIBS
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10906 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10907 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10909 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10914 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10915 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10916 $as_echo_n "(cached) " >&6
10917 else
10918 ac_check_lib_save_LIBS=$LIBS
10919 LIBS="-lxml2 $XML2_LIBS $LIBS"
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10923 /* Override any GCC internal prototype to avoid an error.
10924 Use char because int might match the return type of a GCC
10925 builtin and then its argument prototype would still apply. */
10926 #ifdef __cplusplus
10927 extern "C"
10928 #endif
10929 char xmlSchemaSetParserStructuredErrors ();
10931 main ()
10933 return xmlSchemaSetParserStructuredErrors ();
10935 return 0;
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"; then :
10939 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10940 else
10941 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10943 rm -f core conftest.err conftest.$ac_objext \
10944 conftest$ac_exeext conftest.$ac_ext
10945 LIBS=$ac_check_lib_save_LIBS
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10948 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10949 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10951 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10956 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10957 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10958 $as_echo_n "(cached) " >&6
10959 else
10960 ac_check_lib_save_LIBS=$LIBS
10961 LIBS="-lxml2 $XML2_LIBS $LIBS"
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10968 #ifdef __cplusplus
10969 extern "C"
10970 #endif
10971 char xmlSchemaSetValidStructuredErrors ();
10973 main ()
10975 return xmlSchemaSetValidStructuredErrors ();
10977 return 0;
10979 _ACEOF
10980 if ac_fn_c_try_link "$LINENO"; then :
10981 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10982 else
10983 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10985 rm -f core conftest.err conftest.$ac_objext \
10986 conftest$ac_exeext conftest.$ac_ext
10987 LIBS=$ac_check_lib_save_LIBS
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10990 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10991 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10993 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10998 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10999 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11000 $as_echo_n "(cached) " >&6
11001 else
11002 ac_check_lib_save_LIBS=$LIBS
11003 LIBS="-lxml2 $XML2_LIBS $LIBS"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11010 #ifdef __cplusplus
11011 extern "C"
11012 #endif
11013 char xmlFirstElementChild ();
11015 main ()
11017 return xmlFirstElementChild ();
11019 return 0;
11021 _ACEOF
11022 if ac_fn_c_try_link "$LINENO"; then :
11023 ac_cv_lib_xml2_xmlFirstElementChild=yes
11024 else
11025 ac_cv_lib_xml2_xmlFirstElementChild=no
11027 rm -f core conftest.err conftest.$ac_objext \
11028 conftest$ac_exeext conftest.$ac_ext
11029 LIBS=$ac_check_lib_save_LIBS
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11032 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11033 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11035 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11039 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11041 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11043 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11047 else
11048 XML2_CFLAGS=""
11049 XML2_LIBS=""
11051 CPPFLAGS=$ac_save_CPPFLAGS
11052 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11053 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11056 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11057 case "x$with_xml" in
11058 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11059 xno) ;;
11060 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11061 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11062 esac
11065 if test "x$with_xslt" != "xno"
11066 then
11067 if ${XSLT_CFLAGS:+false} :; then :
11068 if ${PKG_CONFIG+:} false; then :
11069 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11072 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11073 if ${XSLT_LIBS:+false} :; then :
11074 if ${PKG_CONFIG+:} false; then :
11075 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11078 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11079 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11080 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11081 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11082 ac_save_CPPFLAGS=$CPPFLAGS
11083 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11084 for ac_header in libxslt/pattern.h libxslt/transform.h
11085 do :
11086 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11087 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11088 # include <libxslt/pattern.h>
11089 #endif
11091 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11092 cat >>confdefs.h <<_ACEOF
11093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11094 _ACEOF
11098 done
11100 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11101 then
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11103 $as_echo_n "checking for -lxslt... " >&6; }
11104 if ${ac_cv_lib_soname_xslt+:} false; then :
11105 $as_echo_n "(cached) " >&6
11106 else
11107 ac_check_soname_save_LIBS=$LIBS
11108 LIBS="-lxslt $XSLT_LIBS $LIBS"
11109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11115 #ifdef __cplusplus
11116 extern "C"
11117 #endif
11118 char xsltCompilePattern ();
11120 main ()
11122 return xsltCompilePattern ();
11124 return 0;
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"; then :
11128 case "$LIBEXT" in
11129 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11130 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'` ;;
11131 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11132 if ${ac_cv_lib_soname_xslt:+false} :; then :
11133 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11134 fi ;;
11135 esac
11137 rm -f core conftest.err conftest.$ac_objext \
11138 conftest$ac_exeext conftest.$ac_ext
11139 LIBS=$ac_check_soname_save_LIBS
11141 if ${ac_cv_lib_soname_xslt:+false} :; then :
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11143 $as_echo "not found" >&6; }
11145 else
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11147 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11149 cat >>confdefs.h <<_ACEOF
11150 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11151 _ACEOF
11155 else
11156 XSLT_CFLAGS=""
11158 CPPFLAGS=$ac_save_CPPFLAGS
11159 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11160 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11163 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11164 case "x$with_xslt" in
11165 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11166 xno) ;;
11167 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11168 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11169 esac
11172 if test "x$with_dbus" != "xno"
11173 then
11174 if ${DBUS_CFLAGS:+false} :; then :
11175 if ${PKG_CONFIG+:} false; then :
11176 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11180 if ${DBUS_LIBS:+false} :; then :
11181 if ${PKG_CONFIG+:} false; then :
11182 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11187 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11188 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11189 ac_save_CPPFLAGS=$CPPFLAGS
11190 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11191 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11192 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11194 $as_echo_n "checking for -ldbus-1... " >&6; }
11195 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11196 $as_echo_n "(cached) " >&6
11197 else
11198 ac_check_soname_save_LIBS=$LIBS
11199 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11206 #ifdef __cplusplus
11207 extern "C"
11208 #endif
11209 char dbus_connection_close ();
11211 main ()
11213 return dbus_connection_close ();
11215 return 0;
11217 _ACEOF
11218 if ac_fn_c_try_link "$LINENO"; then :
11219 case "$LIBEXT" in
11220 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11221 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'` ;;
11222 *) 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'`
11223 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11224 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11225 fi ;;
11226 esac
11228 rm -f core conftest.err conftest.$ac_objext \
11229 conftest$ac_exeext conftest.$ac_ext
11230 LIBS=$ac_check_soname_save_LIBS
11232 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11234 $as_echo "not found" >&6; }
11235 DBUS_CFLAGS=""
11236 else
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11238 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11240 cat >>confdefs.h <<_ACEOF
11241 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11242 _ACEOF
11246 else
11247 DBUS_CFLAGS=""
11251 CPPFLAGS=$ac_save_CPPFLAGS
11252 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11253 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11256 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11257 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11258 case "x$with_dbus" in
11259 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11260 xno) ;;
11261 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11262 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11263 esac
11266 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11267 then
11268 if ${HAL_CFLAGS:+false} :; then :
11269 if ${PKG_CONFIG+:} false; then :
11270 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11274 if ${HAL_LIBS:+false} :; then :
11275 if ${PKG_CONFIG+:} false; then :
11276 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11280 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11281 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11282 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11283 ac_save_CPPFLAGS=$CPPFLAGS
11284 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11285 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11286 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11288 $as_echo_n "checking for -lhal... " >&6; }
11289 if ${ac_cv_lib_soname_hal+:} false; then :
11290 $as_echo_n "(cached) " >&6
11291 else
11292 ac_check_soname_save_LIBS=$LIBS
11293 LIBS="-lhal $HAL_LIBS $LIBS"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char libhal_ctx_new ();
11305 main ()
11307 return libhal_ctx_new ();
11309 return 0;
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 case "$LIBEXT" in
11314 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11315 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'` ;;
11316 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11317 if ${ac_cv_lib_soname_hal:+false} :; then :
11318 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11319 fi ;;
11320 esac
11322 rm -f core conftest.err conftest.$ac_objext \
11323 conftest$ac_exeext conftest.$ac_ext
11324 LIBS=$ac_check_soname_save_LIBS
11326 if ${ac_cv_lib_soname_hal:+false} :; then :
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11328 $as_echo "not found" >&6; }
11329 HAL_CFLAGS=""
11330 else
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11332 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11334 cat >>confdefs.h <<_ACEOF
11335 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11336 _ACEOF
11340 else
11341 HAL_CFLAGS=""
11345 CPPFLAGS=$ac_save_CPPFLAGS
11346 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11347 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11349 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11350 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11351 case "x$with_hal" in
11352 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11353 xno) ;;
11354 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11355 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11356 esac
11360 if test "x$with_gnutls" != "xno"
11361 then
11362 if ${GNUTLS_CFLAGS:+false} :; then :
11363 if ${PKG_CONFIG+:} false; then :
11364 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11368 if ${GNUTLS_LIBS:+false} :; then :
11369 if ${PKG_CONFIG+:} false; then :
11370 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11375 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11376 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11377 ac_save_CPPFLAGS=$CPPFLAGS
11378 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11379 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11380 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11383 #include <gnutls/gnutls.h>
11384 #include <gnutls/crypto.h>
11386 main ()
11388 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11390 return 0;
11392 _ACEOF
11393 if ac_fn_c_try_compile "$LINENO"; then :
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11395 $as_echo_n "checking for -lgnutls... " >&6; }
11396 if ${ac_cv_lib_soname_gnutls+:} false; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_soname_save_LIBS=$LIBS
11400 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char gnutls_global_init ();
11412 main ()
11414 return gnutls_global_init ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 case "$LIBEXT" in
11421 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11422 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'` ;;
11423 *) 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'`
11424 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11425 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'`
11426 fi ;;
11427 esac
11429 rm -f core conftest.err conftest.$ac_objext \
11430 conftest$ac_exeext conftest.$ac_ext
11431 LIBS=$ac_check_soname_save_LIBS
11433 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11435 $as_echo "not found" >&6; }
11436 GNUTLS_CFLAGS=""
11437 else
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11439 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11441 cat >>confdefs.h <<_ACEOF
11442 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11443 _ACEOF
11448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11449 else
11450 GNUTLS_CFLAGS=""
11454 CPPFLAGS=$ac_save_CPPFLAGS
11455 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11456 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11459 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11460 case "x$with_gnutls" in
11461 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11462 xno) ;;
11463 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11464 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11465 esac
11468 CURSES_LIBS=""
11469 if test "$ac_cv_header_ncurses_h" = "yes"
11470 then
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11472 $as_echo_n "checking for -lncurses... " >&6; }
11473 if ${ac_cv_lib_soname_ncurses+:} false; then :
11474 $as_echo_n "(cached) " >&6
11475 else
11476 ac_check_soname_save_LIBS=$LIBS
11477 LIBS="-lncurses $LIBS"
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11484 #ifdef __cplusplus
11485 extern "C"
11486 #endif
11487 char waddch ();
11489 main ()
11491 return waddch ();
11493 return 0;
11495 _ACEOF
11496 if ac_fn_c_try_link "$LINENO"; then :
11497 case "$LIBEXT" in
11498 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11499 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'` ;;
11500 *) 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'`
11501 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11502 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11503 fi ;;
11504 esac
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_soname_save_LIBS
11510 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11512 $as_echo "not found" >&6; }
11514 else
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11516 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11518 cat >>confdefs.h <<_ACEOF
11519 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11520 _ACEOF
11522 CURSES_LIBS="-lncurses"
11524 elif test "$ac_cv_header_curses_h" = "yes"
11525 then
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11527 $as_echo_n "checking for -lcurses... " >&6; }
11528 if ${ac_cv_lib_soname_curses+:} false; then :
11529 $as_echo_n "(cached) " >&6
11530 else
11531 ac_check_soname_save_LIBS=$LIBS
11532 LIBS="-lcurses $LIBS"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11539 #ifdef __cplusplus
11540 extern "C"
11541 #endif
11542 char waddch ();
11544 main ()
11546 return waddch ();
11548 return 0;
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"; then :
11552 case "$LIBEXT" in
11553 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11554 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'` ;;
11555 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11556 if ${ac_cv_lib_soname_curses:+false} :; then :
11557 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11558 fi ;;
11559 esac
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_soname_save_LIBS
11565 if ${ac_cv_lib_soname_curses:+false} :; then :
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11567 $as_echo "not found" >&6; }
11569 else
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11571 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11573 cat >>confdefs.h <<_ACEOF
11574 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11575 _ACEOF
11577 CURSES_LIBS="-lcurses"
11580 ac_save_LIBS="$LIBS"
11581 LIBS="$LIBS $CURSES_LIBS"
11582 for ac_func in mousemask
11583 do :
11584 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11585 if test "x$ac_cv_func_mousemask" = xyes; then :
11586 cat >>confdefs.h <<_ACEOF
11587 #define HAVE_MOUSEMASK 1
11588 _ACEOF
11591 done
11593 LIBS="$ac_save_LIBS"
11594 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11595 case "x$with_curses" in
11596 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11597 xno) ;;
11598 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11599 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11600 esac
11603 if test "x$with_sane" != "xno"
11604 then
11605 if ${SANE_CFLAGS:+false} :; then :
11606 if ${PKG_CONFIG+:} false; then :
11607 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11610 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11611 if ${SANE_LIBS:+false} :; then :
11612 if ${PKG_CONFIG+:} false; then :
11613 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11616 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11618 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11619 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11620 ac_save_CPPFLAGS=$CPPFLAGS
11621 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11622 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11623 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11625 $as_echo_n "checking for -lsane... " >&6; }
11626 if ${ac_cv_lib_soname_sane+:} false; then :
11627 $as_echo_n "(cached) " >&6
11628 else
11629 ac_check_soname_save_LIBS=$LIBS
11630 LIBS="-lsane $SANE_LIBS $LIBS"
11631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11632 /* end confdefs.h. */
11634 /* Override any GCC internal prototype to avoid an error.
11635 Use char because int might match the return type of a GCC
11636 builtin and then its argument prototype would still apply. */
11637 #ifdef __cplusplus
11638 extern "C"
11639 #endif
11640 char sane_init ();
11642 main ()
11644 return sane_init ();
11646 return 0;
11648 _ACEOF
11649 if ac_fn_c_try_link "$LINENO"; then :
11650 case "$LIBEXT" in
11651 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11652 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'` ;;
11653 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11654 if ${ac_cv_lib_soname_sane:+false} :; then :
11655 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11656 fi ;;
11657 esac
11659 rm -f core conftest.err conftest.$ac_objext \
11660 conftest$ac_exeext conftest.$ac_ext
11661 LIBS=$ac_check_soname_save_LIBS
11663 if ${ac_cv_lib_soname_sane:+false} :; then :
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11665 $as_echo "not found" >&6; }
11666 SANE_CFLAGS=""
11667 else
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11669 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11671 cat >>confdefs.h <<_ACEOF
11672 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11673 _ACEOF
11677 else
11678 SANE_CFLAGS=""
11682 CPPFLAGS=$ac_save_CPPFLAGS
11683 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11684 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11687 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11688 case "x$with_sane" in
11689 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11690 xno) ;;
11691 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11692 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11693 esac
11696 if test "x$with_v4l" != "xno"
11697 then
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11699 $as_echo_n "checking for -lv4l1... " >&6; }
11700 if ${ac_cv_lib_soname_v4l1+:} false; then :
11701 $as_echo_n "(cached) " >&6
11702 else
11703 ac_check_soname_save_LIBS=$LIBS
11704 LIBS="-lv4l1 $LIBS"
11705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h. */
11708 /* Override any GCC internal prototype to avoid an error.
11709 Use char because int might match the return type of a GCC
11710 builtin and then its argument prototype would still apply. */
11711 #ifdef __cplusplus
11712 extern "C"
11713 #endif
11714 char v4l1_open ();
11716 main ()
11718 return v4l1_open ();
11720 return 0;
11722 _ACEOF
11723 if ac_fn_c_try_link "$LINENO"; then :
11724 case "$LIBEXT" in
11725 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11726 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'` ;;
11727 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11728 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11729 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11730 fi ;;
11731 esac
11733 rm -f core conftest.err conftest.$ac_objext \
11734 conftest$ac_exeext conftest.$ac_ext
11735 LIBS=$ac_check_soname_save_LIBS
11737 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11739 $as_echo "not found" >&6; }
11741 else
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11743 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11745 cat >>confdefs.h <<_ACEOF
11746 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11747 _ACEOF
11752 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11753 case "x$with_v4l" in
11754 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11755 xno) ;;
11756 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11757 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11758 esac
11761 if test "x$with_gphoto" != "xno"
11762 then
11763 if ${GPHOTO2_CFLAGS:+false} :; then :
11764 if ${PKG_CONFIG+:} false; then :
11765 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11768 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11769 if ${GPHOTO2_LIBS:+false} :; then :
11770 if ${PKG_CONFIG+:} false; then :
11771 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11774 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11775 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11776 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11777 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11778 ac_save_CPPFLAGS=$CPPFLAGS
11779 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11780 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11781 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11783 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11784 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11785 $as_echo_n "(cached) " >&6
11786 else
11787 ac_check_lib_save_LIBS=$LIBS
11788 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11792 /* Override any GCC internal prototype to avoid an error.
11793 Use char because int might match the return type of a GCC
11794 builtin and then its argument prototype would still apply. */
11795 #ifdef __cplusplus
11796 extern "C"
11797 #endif
11798 char gp_camera_new ();
11800 main ()
11802 return gp_camera_new ();
11804 return 0;
11806 _ACEOF
11807 if ac_fn_c_try_link "$LINENO"; then :
11808 ac_cv_lib_gphoto2_gp_camera_new=yes
11809 else
11810 ac_cv_lib_gphoto2_gp_camera_new=no
11812 rm -f core conftest.err conftest.$ac_objext \
11813 conftest$ac_exeext conftest.$ac_ext
11814 LIBS=$ac_check_lib_save_LIBS
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11817 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11818 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11820 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11822 else
11823 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11826 else
11827 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11831 CPPFLAGS=$ac_save_CPPFLAGS
11832 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11833 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11835 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11836 if ${PKG_CONFIG+:} false; then :
11837 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11840 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11841 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11842 if ${PKG_CONFIG+:} false; then :
11843 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11846 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11847 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11848 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11849 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11850 ac_save_CPPFLAGS=$CPPFLAGS
11851 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11852 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11853 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11855 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11856 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11857 $as_echo_n "(cached) " >&6
11858 else
11859 ac_check_lib_save_LIBS=$LIBS
11860 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11864 /* Override any GCC internal prototype to avoid an error.
11865 Use char because int might match the return type of a GCC
11866 builtin and then its argument prototype would still apply. */
11867 #ifdef __cplusplus
11868 extern "C"
11869 #endif
11870 char gp_port_info_list_new ();
11872 main ()
11874 return gp_port_info_list_new ();
11876 return 0;
11878 _ACEOF
11879 if ac_fn_c_try_link "$LINENO"; then :
11880 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11881 else
11882 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11884 rm -f core conftest.err conftest.$ac_objext \
11885 conftest$ac_exeext conftest.$ac_ext
11886 LIBS=$ac_check_lib_save_LIBS
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11889 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11890 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11892 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11894 else
11895 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11898 else
11899 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11903 CPPFLAGS=$ac_save_CPPFLAGS
11904 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11905 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11908 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11909 case "x$with_gphoto" in
11910 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11911 xno) ;;
11912 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11913 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11914 esac
11916 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11917 case "x$with_gphoto" in
11918 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11919 xno) ;;
11920 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11921 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11922 esac
11926 if test "$ac_cv_header_resolv_h" = "yes"
11927 then
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11929 $as_echo_n "checking for resolver library... " >&6; }
11930 if ${ac_cv_have_resolv+:} false; then :
11931 $as_echo_n "(cached) " >&6
11932 else
11933 ac_save_LIBS="$LIBS"
11934 for lib in '' -lresolv
11936 LIBS="$lib $ac_save_LIBS"
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #ifdef HAVE_NETINET_IN_H
11940 #include <netinet/in.h>
11941 #endif
11942 #include <resolv.h>
11944 main ()
11946 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11948 return 0;
11950 _ACEOF
11951 if ac_fn_c_try_link "$LINENO"; then :
11952 ac_cv_have_resolv=${lib:-"none required"}
11953 else
11954 ac_cv_have_resolv="not found"
11956 rm -f core conftest.err conftest.$ac_objext \
11957 conftest$ac_exeext conftest.$ac_ext
11958 test "x$ac_cv_have_resolv" = "xnot found" || break
11959 done
11960 LIBS="$ac_save_LIBS"
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11963 $as_echo "$ac_cv_have_resolv" >&6; }
11965 case "$ac_cv_have_resolv" in
11966 "not found") ;;
11967 "none required")
11969 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11972 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11974 RESOLV_LIBS=$ac_cv_have_resolv
11976 esac
11979 if test "x$with_cms" != "xno"
11980 then
11981 if ${LCMS2_CFLAGS:+false} :; then :
11982 if ${PKG_CONFIG+:} false; then :
11983 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11987 if ${LCMS2_LIBS:+false} :; then :
11988 if ${PKG_CONFIG+:} false; then :
11989 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11993 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11994 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11995 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11996 ac_save_CPPFLAGS=$CPPFLAGS
11997 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11998 for ac_header in lcms2.h
11999 do :
12000 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12001 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12002 cat >>confdefs.h <<_ACEOF
12003 #define HAVE_LCMS2_H 1
12004 _ACEOF
12008 done
12010 if test "$ac_cv_header_lcms2_h" = "yes"
12011 then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12013 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12014 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12015 $as_echo_n "(cached) " >&6
12016 else
12017 ac_check_lib_save_LIBS=$LIBS
12018 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12028 char cmsOpenProfileFromFile ();
12030 main ()
12032 return cmsOpenProfileFromFile ();
12034 return 0;
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"; then :
12038 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12039 else
12040 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12042 rm -f core conftest.err conftest.$ac_objext \
12043 conftest$ac_exeext conftest.$ac_ext
12044 LIBS=$ac_check_lib_save_LIBS
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12047 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12048 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12050 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12052 else
12053 LCMS2_LIBS=""
12056 else
12057 LCMS2_CFLAGS=""
12058 LCMS2_LIBS=""
12060 CPPFLAGS=$ac_save_CPPFLAGS
12061 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12062 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12065 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12066 case "x$with_cms" in
12067 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12068 xno) ;;
12069 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12070 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12071 esac
12074 if test "x$with_freetype" != "xno"
12075 then
12076 if ${FREETYPE_CFLAGS:+false} :; then :
12077 if ${PKG_CONFIG+:} false; then :
12078 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12081 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12082 if ${FREETYPE_LIBS:+false} :; then :
12083 if ${PKG_CONFIG+:} false; then :
12084 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12087 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12088 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12089 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12090 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12091 ac_save_CPPFLAGS=$CPPFLAGS
12092 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12093 for ac_header in ft2build.h
12094 do :
12095 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12096 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12097 cat >>confdefs.h <<_ACEOF
12098 #define HAVE_FT2BUILD_H 1
12099 _ACEOF
12103 done
12105 if test "$ac_cv_header_ft2build_h" = "yes"
12106 then
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12108 $as_echo_n "checking for -lfreetype... " >&6; }
12109 if ${ac_cv_lib_soname_freetype+:} false; then :
12110 $as_echo_n "(cached) " >&6
12111 else
12112 ac_check_soname_save_LIBS=$LIBS
12113 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12117 /* Override any GCC internal prototype to avoid an error.
12118 Use char because int might match the return type of a GCC
12119 builtin and then its argument prototype would still apply. */
12120 #ifdef __cplusplus
12121 extern "C"
12122 #endif
12123 char FT_Init_FreeType ();
12125 main ()
12127 return FT_Init_FreeType ();
12129 return 0;
12131 _ACEOF
12132 if ac_fn_c_try_link "$LINENO"; then :
12133 case "$LIBEXT" in
12134 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12135 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'` ;;
12136 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12137 if ${ac_cv_lib_soname_freetype:+false} :; then :
12138 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12139 fi ;;
12140 esac
12142 rm -f core conftest.err conftest.$ac_objext \
12143 conftest$ac_exeext conftest.$ac_ext
12144 LIBS=$ac_check_soname_save_LIBS
12146 if ${ac_cv_lib_soname_freetype:+false} :; then :
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12148 $as_echo "not found" >&6; }
12149 FREETYPE_LIBS=""
12150 else
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12152 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12154 cat >>confdefs.h <<_ACEOF
12155 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12156 _ACEOF
12159 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12161 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12162 #include FT_MODULE_H
12164 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12166 cat >>confdefs.h <<_ACEOF
12167 #define HAVE_FT_TRUETYPEENGINETYPE 1
12168 _ACEOF
12174 else
12175 FREETYPE_CFLAGS=""
12176 FREETYPE_LIBS=""
12178 CPPFLAGS=$ac_save_CPPFLAGS
12179 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12180 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12183 if test "x$ac_cv_lib_soname_freetype" = x; then :
12184 case "x$with_freetype" in
12185 xno) ;;
12186 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12187 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12188 esac
12190 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12193 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12194 if ${ac_cv_c_ppdev+:} false; then :
12195 $as_echo_n "(cached) " >&6
12196 else
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12199 #ifdef HAVE_SYS_IOCTL_H
12200 # include <sys/ioctl.h>
12201 #endif
12202 #include <linux/ppdev.h>
12204 main ()
12206 ioctl (1,PPCLAIM,0)
12208 return 0;
12210 _ACEOF
12211 if ac_fn_c_try_compile "$LINENO"; then :
12212 ac_cv_c_ppdev="yes"
12213 else
12214 ac_cv_c_ppdev="no"
12216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12219 $as_echo "$ac_cv_c_ppdev" >&6; }
12220 if test "$ac_cv_c_ppdev" = "yes"
12221 then
12223 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12227 ac_wine_check_funcs_save_LIBS="$LIBS"
12228 LIBS="$LIBS $PTHREAD_LIBS"
12229 for ac_func in \
12230 pthread_attr_get_np \
12231 pthread_getattr_np \
12232 pthread_getthreadid_np \
12233 pthread_get_stackaddr_np \
12234 pthread_get_stacksize_np
12235 do :
12236 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12237 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12238 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12239 cat >>confdefs.h <<_ACEOF
12240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12241 _ACEOF
12244 done
12246 LIBS="$ac_wine_check_funcs_save_LIBS"
12248 if test "$ac_cv_header_zlib_h" = "yes"
12249 then
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12251 $as_echo_n "checking for inflate in -lz... " >&6; }
12252 if ${ac_cv_lib_z_inflate+:} false; then :
12253 $as_echo_n "(cached) " >&6
12254 else
12255 ac_check_lib_save_LIBS=$LIBS
12256 LIBS="-lz $LIBS"
12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12260 /* Override any GCC internal prototype to avoid an error.
12261 Use char because int might match the return type of a GCC
12262 builtin and then its argument prototype would still apply. */
12263 #ifdef __cplusplus
12264 extern "C"
12265 #endif
12266 char inflate ();
12268 main ()
12270 return inflate ();
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_link "$LINENO"; then :
12276 ac_cv_lib_z_inflate=yes
12277 else
12278 ac_cv_lib_z_inflate=no
12280 rm -f core conftest.err conftest.$ac_objext \
12281 conftest$ac_exeext conftest.$ac_ext
12282 LIBS=$ac_check_lib_save_LIBS
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12285 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12286 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12288 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12290 Z_LIBS="-lz"
12295 if test "x$Z_LIBS" = "x"; then :
12296 case "x$with_zlib" in
12297 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12298 xno) ;;
12299 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12300 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12301 esac
12304 if test "x$enable_tools" != xno
12305 then
12306 if test "$ac_cv_header_gettext_po_h" = "yes"
12307 then
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12309 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12310 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12311 $as_echo_n "(cached) " >&6
12312 else
12313 ac_check_lib_save_LIBS=$LIBS
12314 LIBS="-lgettextpo $LIBS"
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12318 /* Override any GCC internal prototype to avoid an error.
12319 Use char because int might match the return type of a GCC
12320 builtin and then its argument prototype would still apply. */
12321 #ifdef __cplusplus
12322 extern "C"
12323 #endif
12324 char po_message_msgctxt ();
12326 main ()
12328 return po_message_msgctxt ();
12330 return 0;
12332 _ACEOF
12333 if ac_fn_c_try_link "$LINENO"; then :
12334 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12335 else
12336 ac_cv_lib_gettextpo_po_message_msgctxt=no
12338 rm -f core conftest.err conftest.$ac_objext \
12339 conftest$ac_exeext conftest.$ac_ext
12340 LIBS=$ac_check_lib_save_LIBS
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12343 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12344 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12346 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12348 GETTEXTPO_LIBS="-lgettextpo"
12353 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12354 case "x$with_gettextpo" in
12355 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12356 xno) ;;
12357 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12358 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12359 esac
12363 if test "x$with_gstreamer" != "xno"
12364 then
12365 if ${GSTREAMER_CFLAGS:+false} :; then :
12366 if ${PKG_CONFIG+:} false; then :
12367 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12371 if ${GSTREAMER_LIBS:+false} :; then :
12372 if ${PKG_CONFIG+:} false; then :
12373 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12378 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12379 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12380 ac_save_CPPFLAGS=$CPPFLAGS
12381 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12382 ac_gst_incl=""
12383 for i in $GSTREAMER_CFLAGS
12385 case "$i" in
12386 -I*) ac_gst_incl="$ac_gst_incl $i";;
12387 esac
12388 done
12389 GSTREAMER_CFLAGS=$ac_gst_incl
12390 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12391 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12392 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12393 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12394 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12396 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12399 #include <gst/app/gstappsink.h>
12401 main ()
12403 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12405 return 0;
12407 _ACEOF
12408 if ac_fn_c_try_compile "$LINENO"; then :
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12410 $as_echo "yes" >&6; }
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12412 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12413 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12414 $as_echo_n "(cached) " >&6
12415 else
12416 ac_check_lib_save_LIBS=$LIBS
12417 LIBS="-lgstreamer-0.10 $LIBS"
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12424 #ifdef __cplusplus
12425 extern "C"
12426 #endif
12427 char gst_pad_get_caps_reffed ();
12429 main ()
12431 return gst_pad_get_caps_reffed ();
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_link "$LINENO"; then :
12437 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12438 else
12439 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12441 rm -f core conftest.err conftest.$ac_objext \
12442 conftest$ac_exeext conftest.$ac_ext
12443 LIBS=$ac_check_lib_save_LIBS
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12446 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12447 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12449 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12450 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12451 $as_echo_n "(cached) " >&6
12452 else
12453 ac_check_lib_save_LIBS=$LIBS
12454 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12458 /* Override any GCC internal prototype to avoid an error.
12459 Use char because int might match the return type of a GCC
12460 builtin and then its argument prototype would still apply. */
12461 #ifdef __cplusplus
12462 extern "C"
12463 #endif
12464 char gst_app_buffer_new ();
12466 main ()
12468 return gst_app_buffer_new ();
12470 return 0;
12472 _ACEOF
12473 if ac_fn_c_try_link "$LINENO"; then :
12474 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12475 else
12476 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12478 rm -f core conftest.err conftest.$ac_objext \
12479 conftest$ac_exeext conftest.$ac_ext
12480 LIBS=$ac_check_lib_save_LIBS
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12483 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12484 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12490 else
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12492 $as_echo "no" >&6; }
12494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12498 else
12499 GSTREAMER_CFLAGS=""
12503 CPPFLAGS=$ac_save_CPPFLAGS
12504 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12505 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12508 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12509 case "x$with_gstreamer" in
12510 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12511 xno) ;;
12512 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12513 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12514 esac
12516 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12518 ALSA_LIBS=""
12520 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12521 then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12523 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12524 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12525 $as_echo_n "(cached) " >&6
12526 else
12527 ac_check_lib_save_LIBS=$LIBS
12528 LIBS="-lasound $LIBS"
12529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12532 /* Override any GCC internal prototype to avoid an error.
12533 Use char because int might match the return type of a GCC
12534 builtin and then its argument prototype would still apply. */
12535 #ifdef __cplusplus
12536 extern "C"
12537 #endif
12538 char snd_pcm_hw_params_get_access_mask ();
12540 main ()
12542 return snd_pcm_hw_params_get_access_mask ();
12544 return 0;
12546 _ACEOF
12547 if ac_fn_c_try_link "$LINENO"; then :
12548 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12549 else
12550 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12552 rm -f core conftest.err conftest.$ac_objext \
12553 conftest$ac_exeext conftest.$ac_ext
12554 LIBS=$ac_check_lib_save_LIBS
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12557 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12558 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12561 #ifdef HAVE_ALSA_ASOUNDLIB_H
12562 #include <alsa/asoundlib.h>
12563 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12564 #include <sys/asoundlib.h>
12565 #endif
12567 main ()
12569 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12571 return 0;
12573 _ACEOF
12574 if ac_fn_c_try_compile "$LINENO"; then :
12575 ALSA_LIBS="-lasound"
12577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12582 if test "x$with_oss" != xno
12583 then
12584 ac_save_CPPFLAGS="$CPPFLAGS"
12585 if test -f /etc/oss.conf
12586 then
12587 . /etc/oss.conf
12589 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12590 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12591 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12592 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12593 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12595 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12597 cat >>confdefs.h <<_ACEOF
12598 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12599 _ACEOF
12601 OSS4_CFLAGS="$ac_oss_incl"
12608 CPPFLAGS="$ac_save_CPPFLAGS"
12609 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12610 then
12611 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12615 if test "x$with_capi" != "xno"
12616 then
12617 if ${CAPI20_CFLAGS:+false} :; then :
12618 if ${PKG_CONFIG+:} false; then :
12619 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12623 if ${CAPI20_LIBS:+false} :; then :
12624 if ${PKG_CONFIG+:} false; then :
12625 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12630 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12631 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12632 ac_save_CPPFLAGS=$CPPFLAGS
12633 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12634 for ac_header in capi20.h linux/capi.h
12635 do :
12636 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12637 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12639 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12640 cat >>confdefs.h <<_ACEOF
12641 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12642 _ACEOF
12646 done
12648 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12649 then
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12651 $as_echo_n "checking for -lcapi20... " >&6; }
12652 if ${ac_cv_lib_soname_capi20+:} false; then :
12653 $as_echo_n "(cached) " >&6
12654 else
12655 ac_check_soname_save_LIBS=$LIBS
12656 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12658 /* end confdefs.h. */
12660 /* Override any GCC internal prototype to avoid an error.
12661 Use char because int might match the return type of a GCC
12662 builtin and then its argument prototype would still apply. */
12663 #ifdef __cplusplus
12664 extern "C"
12665 #endif
12666 char capi20_register ();
12668 main ()
12670 return capi20_register ();
12672 return 0;
12674 _ACEOF
12675 if ac_fn_c_try_link "$LINENO"; then :
12676 case "$LIBEXT" in
12677 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12678 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'` ;;
12679 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12680 if ${ac_cv_lib_soname_capi20:+false} :; then :
12681 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12682 fi ;;
12683 esac
12685 rm -f core conftest.err conftest.$ac_objext \
12686 conftest$ac_exeext conftest.$ac_ext
12687 LIBS=$ac_check_soname_save_LIBS
12689 if ${ac_cv_lib_soname_capi20:+false} :; then :
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12691 $as_echo "not found" >&6; }
12693 else
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12695 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12697 cat >>confdefs.h <<_ACEOF
12698 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12699 _ACEOF
12704 CPPFLAGS=$ac_save_CPPFLAGS
12705 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12706 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12709 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12710 case "x$with_capi" in
12711 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12712 xno) ;;
12713 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12714 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12715 esac
12718 CUPS_CFLAGS=""
12720 if test "x$with_cups" != "xno"
12721 then
12722 ac_save_CPPFLAGS="$CPPFLAGS"
12723 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12724 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12725 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12726 for ac_header in cups/cups.h
12727 do :
12728 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12729 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12730 cat >>confdefs.h <<_ACEOF
12731 #define HAVE_CUPS_CUPS_H 1
12732 _ACEOF
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12734 $as_echo_n "checking for -lcups... " >&6; }
12735 if ${ac_cv_lib_soname_cups+:} false; then :
12736 $as_echo_n "(cached) " >&6
12737 else
12738 ac_check_soname_save_LIBS=$LIBS
12739 LIBS="-lcups $ac_cups_libs $LIBS"
12740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12743 /* Override any GCC internal prototype to avoid an error.
12744 Use char because int might match the return type of a GCC
12745 builtin and then its argument prototype would still apply. */
12746 #ifdef __cplusplus
12747 extern "C"
12748 #endif
12749 char cupsGetDefault ();
12751 main ()
12753 return cupsGetDefault ();
12755 return 0;
12757 _ACEOF
12758 if ac_fn_c_try_link "$LINENO"; then :
12759 case "$LIBEXT" in
12760 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12761 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'` ;;
12762 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12763 if ${ac_cv_lib_soname_cups:+false} :; then :
12764 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12765 fi ;;
12766 esac
12768 rm -f core conftest.err conftest.$ac_objext \
12769 conftest$ac_exeext conftest.$ac_ext
12770 LIBS=$ac_check_soname_save_LIBS
12772 if ${ac_cv_lib_soname_cups:+false} :; then :
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12774 $as_echo "not found" >&6; }
12776 else
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12778 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12780 cat >>confdefs.h <<_ACEOF
12781 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12782 _ACEOF
12784 CUPS_CFLAGS="$ac_cups_cflags"
12788 done
12790 CPPFLAGS="$ac_save_CPPFLAGS"
12792 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12793 case "x$with_cups" in
12794 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12795 xno) ;;
12796 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12797 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12798 esac
12801 if test "x$with_fontconfig" != "xno"
12802 then
12803 if ${FONTCONFIG_CFLAGS:+false} :; then :
12804 if ${PKG_CONFIG+:} false; then :
12805 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12808 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12809 if ${FONTCONFIG_LIBS:+false} :; then :
12810 if ${PKG_CONFIG+:} false; then :
12811 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12814 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12816 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12817 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12818 ac_save_CPPFLAGS=$CPPFLAGS
12819 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12820 for ac_header in fontconfig/fontconfig.h
12821 do :
12822 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12823 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12824 cat >>confdefs.h <<_ACEOF
12825 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12826 _ACEOF
12830 done
12832 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12833 then
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12835 $as_echo_n "checking for -lfontconfig... " >&6; }
12836 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12837 $as_echo_n "(cached) " >&6
12838 else
12839 ac_check_soname_save_LIBS=$LIBS
12840 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 /* Override any GCC internal prototype to avoid an error.
12845 Use char because int might match the return type of a GCC
12846 builtin and then its argument prototype would still apply. */
12847 #ifdef __cplusplus
12848 extern "C"
12849 #endif
12850 char FcInit ();
12852 main ()
12854 return FcInit ();
12856 return 0;
12858 _ACEOF
12859 if ac_fn_c_try_link "$LINENO"; then :
12860 case "$LIBEXT" in
12861 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12862 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'` ;;
12863 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12864 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12865 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12866 fi ;;
12867 esac
12869 rm -f core conftest.err conftest.$ac_objext \
12870 conftest$ac_exeext conftest.$ac_ext
12871 LIBS=$ac_check_soname_save_LIBS
12873 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12875 $as_echo "not found" >&6; }
12876 FONTCONFIG_CFLAGS=""
12877 else
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12879 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12881 cat >>confdefs.h <<_ACEOF
12882 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12883 _ACEOF
12887 else
12888 FONTCONFIG_CFLAGS=""
12890 CPPFLAGS=$ac_save_CPPFLAGS
12891 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12892 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12895 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12896 case "x$with_fontconfig" in
12897 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12898 xno) ;;
12899 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12900 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12901 esac
12904 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12905 then
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12907 $as_echo_n "checking for -lgsm... " >&6; }
12908 if ${ac_cv_lib_soname_gsm+:} false; then :
12909 $as_echo_n "(cached) " >&6
12910 else
12911 ac_check_soname_save_LIBS=$LIBS
12912 LIBS="-lgsm $LIBS"
12913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12916 /* Override any GCC internal prototype to avoid an error.
12917 Use char because int might match the return type of a GCC
12918 builtin and then its argument prototype would still apply. */
12919 #ifdef __cplusplus
12920 extern "C"
12921 #endif
12922 char gsm_create ();
12924 main ()
12926 return gsm_create ();
12928 return 0;
12930 _ACEOF
12931 if ac_fn_c_try_link "$LINENO"; then :
12932 case "$LIBEXT" in
12933 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12934 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'` ;;
12935 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12936 if ${ac_cv_lib_soname_gsm:+false} :; then :
12937 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12938 fi ;;
12939 esac
12941 rm -f core conftest.err conftest.$ac_objext \
12942 conftest$ac_exeext conftest.$ac_ext
12943 LIBS=$ac_check_soname_save_LIBS
12945 if ${ac_cv_lib_soname_gsm:+false} :; then :
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12947 $as_echo "not found" >&6; }
12949 else
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12951 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12953 cat >>confdefs.h <<_ACEOF
12954 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12955 _ACEOF
12960 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12961 case "x$with_gsm" in
12962 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12963 xno) ;;
12964 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12965 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12966 esac
12969 if test "x$with_jpeg" != "xno"
12970 then
12971 if ${JPEG_CFLAGS:+false} :; then :
12972 if ${PKG_CONFIG+:} false; then :
12973 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12977 if ${JPEG_LIBS:+false} :; then :
12978 if ${PKG_CONFIG+:} false; then :
12979 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12984 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12985 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12986 ac_save_CPPFLAGS=$CPPFLAGS
12987 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12988 for ac_header in jpeglib.h
12989 do :
12990 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12991 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12992 cat >>confdefs.h <<_ACEOF
12993 #define HAVE_JPEGLIB_H 1
12994 _ACEOF
12998 done
13000 if test "$ac_cv_header_jpeglib_h" = "yes"
13001 then
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13003 $as_echo_n "checking for -ljpeg... " >&6; }
13004 if ${ac_cv_lib_soname_jpeg+:} false; then :
13005 $as_echo_n "(cached) " >&6
13006 else
13007 ac_check_soname_save_LIBS=$LIBS
13008 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13010 /* end confdefs.h. */
13012 /* Override any GCC internal prototype to avoid an error.
13013 Use char because int might match the return type of a GCC
13014 builtin and then its argument prototype would still apply. */
13015 #ifdef __cplusplus
13016 extern "C"
13017 #endif
13018 char jpeg_start_decompress ();
13020 main ()
13022 return jpeg_start_decompress ();
13024 return 0;
13026 _ACEOF
13027 if ac_fn_c_try_link "$LINENO"; then :
13028 case "$LIBEXT" in
13029 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13030 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'` ;;
13031 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13032 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13033 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13034 fi ;;
13035 esac
13037 rm -f core conftest.err conftest.$ac_objext \
13038 conftest$ac_exeext conftest.$ac_ext
13039 LIBS=$ac_check_soname_save_LIBS
13041 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13043 $as_echo "not found" >&6; }
13044 JPEG_CFLAGS=""
13045 else
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13047 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13049 cat >>confdefs.h <<_ACEOF
13050 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13051 _ACEOF
13055 else
13056 JPEG_CFLAGS=""
13058 CPPFLAGS=$ac_save_CPPFLAGS
13059 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13060 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13063 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13064 case "x$with_jpeg" in
13065 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13066 xno) ;;
13067 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13068 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13069 esac
13072 if test "x$with_png" != "xno"
13073 then
13074 if ${PNG_CFLAGS:+false} :; then :
13075 if ${PKG_CONFIG+:} false; then :
13076 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13079 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13080 if ${PNG_LIBS:+false} :; then :
13081 if ${PKG_CONFIG+:} false; then :
13082 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13085 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13087 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13088 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13089 ac_save_CPPFLAGS=$CPPFLAGS
13090 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13091 for ac_header in png.h
13092 do :
13093 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13094 if test "x$ac_cv_header_png_h" = xyes; then :
13095 cat >>confdefs.h <<_ACEOF
13096 #define HAVE_PNG_H 1
13097 _ACEOF
13101 done
13103 if test "$ac_cv_header_png_h" = "yes"
13104 then
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13106 $as_echo_n "checking for -lpng... " >&6; }
13107 if ${ac_cv_lib_soname_png+:} false; then :
13108 $as_echo_n "(cached) " >&6
13109 else
13110 ac_check_soname_save_LIBS=$LIBS
13111 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13115 /* Override any GCC internal prototype to avoid an error.
13116 Use char because int might match the return type of a GCC
13117 builtin and then its argument prototype would still apply. */
13118 #ifdef __cplusplus
13119 extern "C"
13120 #endif
13121 char png_create_read_struct ();
13123 main ()
13125 return png_create_read_struct ();
13127 return 0;
13129 _ACEOF
13130 if ac_fn_c_try_link "$LINENO"; then :
13131 case "$LIBEXT" in
13132 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13133 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'` ;;
13134 *) 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'`
13135 if ${ac_cv_lib_soname_png:+false} :; then :
13136 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13137 fi ;;
13138 esac
13140 rm -f core conftest.err conftest.$ac_objext \
13141 conftest$ac_exeext conftest.$ac_ext
13142 LIBS=$ac_check_soname_save_LIBS
13144 if ${ac_cv_lib_soname_png:+false} :; then :
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13146 $as_echo "not found" >&6; }
13147 PNG_CFLAGS=""
13148 else
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13150 $as_echo "$ac_cv_lib_soname_png" >&6; }
13152 cat >>confdefs.h <<_ACEOF
13153 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13154 _ACEOF
13156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13157 /* end confdefs.h. */
13158 #include <png.h>
13160 main ()
13162 typeof(png_set_expand_gray_1_2_4_to_8) *p
13164 return 0;
13166 _ACEOF
13167 if ac_fn_c_try_compile "$LINENO"; then :
13169 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13174 else
13175 PNG_CFLAGS=""
13177 CPPFLAGS=$ac_save_CPPFLAGS
13178 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13179 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13182 if test "x$ac_cv_lib_soname_png" = "x"; then :
13183 case "x$with_png" in
13184 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13185 xno) ;;
13186 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13187 This is an error since --with-png was requested." "$LINENO" 5 ;;
13188 esac
13191 if test "x$with_tiff" != "xno"
13192 then
13193 if ${TIFF_CFLAGS:+false} :; then :
13194 if ${PKG_CONFIG+:} false; then :
13195 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13199 if ${TIFF_LIBS:+false} :; then :
13200 if ${PKG_CONFIG+:} false; then :
13201 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13206 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13207 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13208 ac_save_CPPFLAGS=$CPPFLAGS
13209 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13210 for ac_header in tiffio.h
13211 do :
13212 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13213 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13214 cat >>confdefs.h <<_ACEOF
13215 #define HAVE_TIFFIO_H 1
13216 _ACEOF
13220 done
13222 if test "$ac_cv_header_tiffio_h" = "yes"
13223 then
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13225 $as_echo_n "checking for -ltiff... " >&6; }
13226 if ${ac_cv_lib_soname_tiff+:} false; then :
13227 $as_echo_n "(cached) " >&6
13228 else
13229 ac_check_soname_save_LIBS=$LIBS
13230 LIBS="-ltiff $TIFF_LIBS $LIBS"
13231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13232 /* end confdefs.h. */
13234 /* Override any GCC internal prototype to avoid an error.
13235 Use char because int might match the return type of a GCC
13236 builtin and then its argument prototype would still apply. */
13237 #ifdef __cplusplus
13238 extern "C"
13239 #endif
13240 char TIFFClientOpen ();
13242 main ()
13244 return TIFFClientOpen ();
13246 return 0;
13248 _ACEOF
13249 if ac_fn_c_try_link "$LINENO"; then :
13250 case "$LIBEXT" in
13251 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13252 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'` ;;
13253 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13254 if ${ac_cv_lib_soname_tiff:+false} :; then :
13255 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13256 fi ;;
13257 esac
13259 rm -f core conftest.err conftest.$ac_objext \
13260 conftest$ac_exeext conftest.$ac_ext
13261 LIBS=$ac_check_soname_save_LIBS
13263 if ${ac_cv_lib_soname_tiff:+false} :; then :
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13265 $as_echo "not found" >&6; }
13267 else
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13269 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13271 cat >>confdefs.h <<_ACEOF
13272 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13273 _ACEOF
13278 CPPFLAGS=$ac_save_CPPFLAGS
13279 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13280 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13283 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13284 case "x$with_tiff" in
13285 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13286 xno) ;;
13287 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13288 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13289 esac
13292 if test "x$with_mpg123" != "xno"
13293 then
13294 if ${MPG123_CFLAGS:+false} :; then :
13295 if ${PKG_CONFIG+:} false; then :
13296 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13300 if ${MPG123_LIBS:+false} :; then :
13301 if ${PKG_CONFIG+:} false; then :
13302 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13306 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13307 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13308 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13309 ac_save_CPPFLAGS=$CPPFLAGS
13310 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13311 for ac_header in mpg123.h
13312 do :
13313 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13314 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13315 cat >>confdefs.h <<_ACEOF
13316 #define HAVE_MPG123_H 1
13317 _ACEOF
13321 done
13323 if test "$ac_cv_header_mpg123_h" = "yes"
13324 then
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13326 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13327 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13328 $as_echo_n "(cached) " >&6
13329 else
13330 ac_check_lib_save_LIBS=$LIBS
13331 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13333 /* end confdefs.h. */
13335 /* Override any GCC internal prototype to avoid an error.
13336 Use char because int might match the return type of a GCC
13337 builtin and then its argument prototype would still apply. */
13338 #ifdef __cplusplus
13339 extern "C"
13340 #endif
13341 char mpg123_feed ();
13343 main ()
13345 return mpg123_feed ();
13347 return 0;
13349 _ACEOF
13350 if ac_fn_c_try_link "$LINENO"; then :
13351 ac_cv_lib_mpg123_mpg123_feed=yes
13352 else
13353 ac_cv_lib_mpg123_mpg123_feed=no
13355 rm -f core conftest.err conftest.$ac_objext \
13356 conftest$ac_exeext conftest.$ac_ext
13357 LIBS=$ac_check_lib_save_LIBS
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13360 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13361 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13363 else
13364 MPG123_LIBS=""
13367 else
13368 MPG123_CFLAGS=""
13369 MPG123_LIBS=""
13371 CPPFLAGS=$ac_save_CPPFLAGS
13372 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13373 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13376 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13377 case "x$with_mpg123" in
13378 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13379 xno) ;;
13380 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13381 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13382 esac
13384 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}
13386 if test "$ac_cv_header_AL_al_h" = "yes"
13387 then
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13389 $as_echo_n "checking for -lopenal... " >&6; }
13390 if ${ac_cv_lib_soname_openal+:} false; then :
13391 $as_echo_n "(cached) " >&6
13392 else
13393 ac_check_soname_save_LIBS=$LIBS
13394 LIBS="-lopenal $LIBS"
13395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13396 /* end confdefs.h. */
13398 /* Override any GCC internal prototype to avoid an error.
13399 Use char because int might match the return type of a GCC
13400 builtin and then its argument prototype would still apply. */
13401 #ifdef __cplusplus
13402 extern "C"
13403 #endif
13404 char alGetSource3i ();
13406 main ()
13408 return alGetSource3i ();
13410 return 0;
13412 _ACEOF
13413 if ac_fn_c_try_link "$LINENO"; then :
13414 case "$LIBEXT" in
13415 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13416 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'` ;;
13417 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13418 if ${ac_cv_lib_soname_openal:+false} :; then :
13419 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13420 fi ;;
13421 esac
13423 rm -f core conftest.err conftest.$ac_objext \
13424 conftest$ac_exeext conftest.$ac_ext
13425 LIBS=$ac_check_soname_save_LIBS
13427 if ${ac_cv_lib_soname_openal:+false} :; then :
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13429 $as_echo "not found" >&6; }
13431 else
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13433 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13435 cat >>confdefs.h <<_ACEOF
13436 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13437 _ACEOF
13439 OPENAL_LIBS="-lopenal"
13441 ac_cv_lib_openal=yes
13443 cat >>confdefs.h <<_ACEOF
13444 #define HAVE_OPENAL 1
13445 _ACEOF
13449 if test "x$ac_cv_lib_openal" != xyes; then :
13450 case "x$with_openal" in
13451 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13452 xno) ;;
13453 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13454 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13455 esac
13457 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13459 if test "$ac_cv_header_kstat_h" = "yes"
13460 then
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13462 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13463 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13464 $as_echo_n "(cached) " >&6
13465 else
13466 ac_check_lib_save_LIBS=$LIBS
13467 LIBS="-lkstat $LIBS"
13468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13469 /* end confdefs.h. */
13471 /* Override any GCC internal prototype to avoid an error.
13472 Use char because int might match the return type of a GCC
13473 builtin and then its argument prototype would still apply. */
13474 #ifdef __cplusplus
13475 extern "C"
13476 #endif
13477 char kstat_open ();
13479 main ()
13481 return kstat_open ();
13483 return 0;
13485 _ACEOF
13486 if ac_fn_c_try_link "$LINENO"; then :
13487 ac_cv_lib_kstat_kstat_open=yes
13488 else
13489 ac_cv_lib_kstat_kstat_open=no
13491 rm -f core conftest.err conftest.$ac_objext \
13492 conftest$ac_exeext conftest.$ac_ext
13493 LIBS=$ac_check_lib_save_LIBS
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13496 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13497 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13499 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13501 KSTAT_LIBS="-lkstat"
13507 if test "$ac_cv_header_libprocstat_h" = "yes"
13508 then
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13510 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13511 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13512 $as_echo_n "(cached) " >&6
13513 else
13514 ac_check_lib_save_LIBS=$LIBS
13515 LIBS="-lprocstat $LIBS"
13516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13517 /* end confdefs.h. */
13519 /* Override any GCC internal prototype to avoid an error.
13520 Use char because int might match the return type of a GCC
13521 builtin and then its argument prototype would still apply. */
13522 #ifdef __cplusplus
13523 extern "C"
13524 #endif
13525 char procstat_open_sysctl ();
13527 main ()
13529 return procstat_open_sysctl ();
13531 return 0;
13533 _ACEOF
13534 if ac_fn_c_try_link "$LINENO"; then :
13535 ac_cv_lib_procstat_procstat_open_sysctl=yes
13536 else
13537 ac_cv_lib_procstat_procstat_open_sysctl=no
13539 rm -f core conftest.err conftest.$ac_objext \
13540 conftest$ac_exeext conftest.$ac_ext
13541 LIBS=$ac_check_lib_save_LIBS
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13544 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13545 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13547 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13549 PROCSTAT_LIBS="-lprocstat"
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13556 $as_echo_n "checking for -lodbc... " >&6; }
13557 if ${ac_cv_lib_soname_odbc+:} false; then :
13558 $as_echo_n "(cached) " >&6
13559 else
13560 ac_check_soname_save_LIBS=$LIBS
13561 LIBS="-lodbc $LIBS"
13562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13565 /* Override any GCC internal prototype to avoid an error.
13566 Use char because int might match the return type of a GCC
13567 builtin and then its argument prototype would still apply. */
13568 #ifdef __cplusplus
13569 extern "C"
13570 #endif
13571 char SQLConnect ();
13573 main ()
13575 return SQLConnect ();
13577 return 0;
13579 _ACEOF
13580 if ac_fn_c_try_link "$LINENO"; then :
13581 case "$LIBEXT" in
13582 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13583 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'` ;;
13584 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13585 if ${ac_cv_lib_soname_odbc:+false} :; then :
13586 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13587 fi ;;
13588 esac
13590 rm -f core conftest.err conftest.$ac_objext \
13591 conftest$ac_exeext conftest.$ac_ext
13592 LIBS=$ac_check_soname_save_LIBS
13594 if ${ac_cv_lib_soname_odbc:+false} :; then :
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13596 $as_echo "not found" >&6; }
13597 cat >>confdefs.h <<_ACEOF
13598 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13599 _ACEOF
13601 else
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13603 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13605 cat >>confdefs.h <<_ACEOF
13606 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13607 _ACEOF
13612 if test "x$with_netapi" != "xno"
13613 then
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13615 $as_echo_n "checking for -lnetapi... " >&6; }
13616 if ${ac_cv_lib_soname_netapi+:} false; then :
13617 $as_echo_n "(cached) " >&6
13618 else
13619 ac_check_soname_save_LIBS=$LIBS
13620 LIBS="-lnetapi $LIBS"
13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13624 /* Override any GCC internal prototype to avoid an error.
13625 Use char because int might match the return type of a GCC
13626 builtin and then its argument prototype would still apply. */
13627 #ifdef __cplusplus
13628 extern "C"
13629 #endif
13630 char libnetapi_init ();
13632 main ()
13634 return libnetapi_init ();
13636 return 0;
13638 _ACEOF
13639 if ac_fn_c_try_link "$LINENO"; then :
13640 case "$LIBEXT" in
13641 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13642 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'` ;;
13643 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13644 if ${ac_cv_lib_soname_netapi:+false} :; then :
13645 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13646 fi ;;
13647 esac
13649 rm -f core conftest.err conftest.$ac_objext \
13650 conftest$ac_exeext conftest.$ac_ext
13651 LIBS=$ac_check_soname_save_LIBS
13653 if ${ac_cv_lib_soname_netapi:+false} :; then :
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13655 $as_echo "not found" >&6; }
13656 cat >>confdefs.h <<_ACEOF
13657 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13658 _ACEOF
13660 else
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13662 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13664 cat >>confdefs.h <<_ACEOF
13665 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13666 _ACEOF
13672 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13673 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13674 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13675 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13677 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13678 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13679 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13680 then
13681 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13685 EXTRACFLAGS=""
13687 if test "x${GCC}" = "xyes"
13688 then
13689 EXTRACFLAGS="-Wall -pipe"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13692 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13693 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13694 $as_echo_n "(cached) " >&6
13695 else
13696 if test "$cross_compiling" = yes; then :
13697 ac_cv_c_gcc_strength_bug="yes"
13698 else
13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13701 int L[4] = {0,1,2,3};
13703 main ()
13705 static int Array[3];
13706 unsigned int B = 3;
13707 int i;
13708 for(i=0; i<B; i++) Array[i] = i - 3;
13709 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13710 L[i] = 4;
13711 return (Array[1] != -2 || L[2] != 3)
13713 return 0;
13715 _ACEOF
13716 if ac_fn_c_try_run "$LINENO"; then :
13717 ac_cv_c_gcc_strength_bug="no"
13718 else
13719 ac_cv_c_gcc_strength_bug="yes"
13721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13722 conftest.$ac_objext conftest.beam conftest.$ac_ext
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13727 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13728 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13729 then
13730 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13734 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13735 if ${ac_cv_cflags__fno_builtin+:} false; then :
13736 $as_echo_n "(cached) " >&6
13737 else
13738 ac_wine_try_cflags_saved=$CFLAGS
13739 CFLAGS="$CFLAGS -fno-builtin"
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13742 int main(int argc, char **argv) { return 0; }
13743 _ACEOF
13744 if ac_fn_c_try_link "$LINENO"; then :
13745 ac_cv_cflags__fno_builtin=yes
13746 else
13747 ac_cv_cflags__fno_builtin=no
13749 rm -f core conftest.err conftest.$ac_objext \
13750 conftest$ac_exeext conftest.$ac_ext
13751 CFLAGS=$ac_wine_try_cflags_saved
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13754 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13755 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13756 BUILTINFLAG="-fno-builtin"
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13760 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13761 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13762 $as_echo_n "(cached) " >&6
13763 else
13764 ac_wine_try_cflags_saved=$CFLAGS
13765 CFLAGS="$CFLAGS -fno-strict-aliasing"
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13768 int main(int argc, char **argv) { return 0; }
13769 _ACEOF
13770 if ac_fn_c_try_link "$LINENO"; then :
13771 ac_cv_cflags__fno_strict_aliasing=yes
13772 else
13773 ac_cv_cflags__fno_strict_aliasing=no
13775 rm -f core conftest.err conftest.$ac_objext \
13776 conftest$ac_exeext conftest.$ac_ext
13777 CFLAGS=$ac_wine_try_cflags_saved
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13780 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13781 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13782 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13784 saved_CFLAGS=$CFLAGS
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13786 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13787 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13788 $as_echo_n "(cached) " >&6
13789 else
13790 ac_wine_try_cflags_saved=$CFLAGS
13791 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13794 int main(int argc, char **argv) { return 0; }
13795 _ACEOF
13796 if ac_fn_c_try_link "$LINENO"; then :
13797 ac_cv_cflags__Werror_unknown_warning_option=yes
13798 else
13799 ac_cv_cflags__Werror_unknown_warning_option=no
13801 rm -f core conftest.err conftest.$ac_objext \
13802 conftest$ac_exeext conftest.$ac_ext
13803 CFLAGS=$ac_wine_try_cflags_saved
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13806 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13807 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13808 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13811 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13812 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13813 $as_echo_n "(cached) " >&6
13814 else
13815 ac_wine_try_cflags_saved=$CFLAGS
13816 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13819 int main(int argc, char **argv) { return 0; }
13820 _ACEOF
13821 if ac_fn_c_try_link "$LINENO"; then :
13822 ac_cv_cflags__Wdeclaration_after_statement=yes
13823 else
13824 ac_cv_cflags__Wdeclaration_after_statement=no
13826 rm -f core conftest.err conftest.$ac_objext \
13827 conftest$ac_exeext conftest.$ac_ext
13828 CFLAGS=$ac_wine_try_cflags_saved
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13831 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13832 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13833 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13836 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13837 if ${ac_cv_cflags__Wempty_body+:} false; then :
13838 $as_echo_n "(cached) " >&6
13839 else
13840 ac_wine_try_cflags_saved=$CFLAGS
13841 CFLAGS="$CFLAGS -Wempty-body"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13844 int main(int argc, char **argv) { return 0; }
13845 _ACEOF
13846 if ac_fn_c_try_link "$LINENO"; then :
13847 ac_cv_cflags__Wempty_body=yes
13848 else
13849 ac_cv_cflags__Wempty_body=no
13851 rm -f core conftest.err conftest.$ac_objext \
13852 conftest$ac_exeext conftest.$ac_ext
13853 CFLAGS=$ac_wine_try_cflags_saved
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13856 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13857 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13858 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13861 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13862 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13863 $as_echo_n "(cached) " >&6
13864 else
13865 ac_wine_try_cflags_saved=$CFLAGS
13866 CFLAGS="$CFLAGS -Wignored-qualifiers"
13867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13869 int main(int argc, char **argv) { return 0; }
13870 _ACEOF
13871 if ac_fn_c_try_link "$LINENO"; then :
13872 ac_cv_cflags__Wignored_qualifiers=yes
13873 else
13874 ac_cv_cflags__Wignored_qualifiers=no
13876 rm -f core conftest.err conftest.$ac_objext \
13877 conftest$ac_exeext conftest.$ac_ext
13878 CFLAGS=$ac_wine_try_cflags_saved
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13881 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13882 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13883 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13886 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13887 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13888 $as_echo_n "(cached) " >&6
13889 else
13890 ac_wine_try_cflags_saved=$CFLAGS
13891 CFLAGS="$CFLAGS -Wstrict-prototypes"
13892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13894 int main(int argc, char **argv) { return 0; }
13895 _ACEOF
13896 if ac_fn_c_try_link "$LINENO"; then :
13897 ac_cv_cflags__Wstrict_prototypes=yes
13898 else
13899 ac_cv_cflags__Wstrict_prototypes=no
13901 rm -f core conftest.err conftest.$ac_objext \
13902 conftest$ac_exeext conftest.$ac_ext
13903 CFLAGS=$ac_wine_try_cflags_saved
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13906 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13907 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13908 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13911 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13912 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13913 $as_echo_n "(cached) " >&6
13914 else
13915 ac_wine_try_cflags_saved=$CFLAGS
13916 CFLAGS="$CFLAGS -Wtype-limits"
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13919 int main(int argc, char **argv) { return 0; }
13920 _ACEOF
13921 if ac_fn_c_try_link "$LINENO"; then :
13922 ac_cv_cflags__Wtype_limits=yes
13923 else
13924 ac_cv_cflags__Wtype_limits=no
13926 rm -f core conftest.err conftest.$ac_objext \
13927 conftest$ac_exeext conftest.$ac_ext
13928 CFLAGS=$ac_wine_try_cflags_saved
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13931 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13932 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13933 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13936 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13937 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13938 $as_echo_n "(cached) " >&6
13939 else
13940 ac_wine_try_cflags_saved=$CFLAGS
13941 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13944 int main(int argc, char **argv) { return 0; }
13945 _ACEOF
13946 if ac_fn_c_try_link "$LINENO"; then :
13947 ac_cv_cflags__Wunused_but_set_parameter=yes
13948 else
13949 ac_cv_cflags__Wunused_but_set_parameter=no
13951 rm -f core conftest.err conftest.$ac_objext \
13952 conftest$ac_exeext conftest.$ac_ext
13953 CFLAGS=$ac_wine_try_cflags_saved
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13956 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13957 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13958 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13961 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13962 if ${ac_cv_cflags__Wvla+:} false; then :
13963 $as_echo_n "(cached) " >&6
13964 else
13965 ac_wine_try_cflags_saved=$CFLAGS
13966 CFLAGS="$CFLAGS -Wvla"
13967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13968 /* end confdefs.h. */
13969 int main(int argc, char **argv) { return 0; }
13970 _ACEOF
13971 if ac_fn_c_try_link "$LINENO"; then :
13972 ac_cv_cflags__Wvla=yes
13973 else
13974 ac_cv_cflags__Wvla=no
13976 rm -f core conftest.err conftest.$ac_objext \
13977 conftest$ac_exeext conftest.$ac_ext
13978 CFLAGS=$ac_wine_try_cflags_saved
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13981 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13982 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13983 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13986 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13987 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13988 $as_echo_n "(cached) " >&6
13989 else
13990 ac_wine_try_cflags_saved=$CFLAGS
13991 CFLAGS="$CFLAGS -Wwrite-strings"
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13994 int main(int argc, char **argv) { return 0; }
13995 _ACEOF
13996 if ac_fn_c_try_link "$LINENO"; then :
13997 ac_cv_cflags__Wwrite_strings=yes
13998 else
13999 ac_cv_cflags__Wwrite_strings=no
14001 rm -f core conftest.err conftest.$ac_objext \
14002 conftest$ac_exeext conftest.$ac_ext
14003 CFLAGS=$ac_wine_try_cflags_saved
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14006 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14007 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14008 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14012 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14013 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14014 $as_echo_n "(cached) " >&6
14015 else
14016 ac_wine_try_cflags_saved=$CFLAGS
14017 CFLAGS="$CFLAGS -Wpointer-arith"
14018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h. */
14020 int main(int argc, char **argv) { return 0; }
14021 _ACEOF
14022 if ac_fn_c_try_link "$LINENO"; then :
14023 ac_cv_cflags__Wpointer_arith=yes
14024 else
14025 ac_cv_cflags__Wpointer_arith=no
14027 rm -f core conftest.err conftest.$ac_objext \
14028 conftest$ac_exeext conftest.$ac_ext
14029 CFLAGS=$ac_wine_try_cflags_saved
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14032 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14033 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14034 saved_string_h_CFLAGS=$CFLAGS
14035 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14037 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14038 if ${ac_cv_c_string_h_warnings+:} false; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14043 #include <string.h>
14045 main ()
14049 return 0;
14051 _ACEOF
14052 if ac_fn_c_try_compile "$LINENO"; then :
14053 ac_cv_c_string_h_warnings=no
14054 else
14055 ac_cv_c_string_h_warnings=yes
14057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14060 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14061 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14062 CFLAGS=$saved_string_h_CFLAGS
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14066 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14067 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14068 $as_echo_n "(cached) " >&6
14069 else
14070 ac_wine_try_cflags_saved=$CFLAGS
14071 CFLAGS="$CFLAGS -Wlogical-op"
14072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14074 int main(int argc, char **argv) { return 0; }
14075 _ACEOF
14076 if ac_fn_c_try_link "$LINENO"; then :
14077 ac_cv_cflags__Wlogical_op=yes
14078 else
14079 ac_cv_cflags__Wlogical_op=no
14081 rm -f core conftest.err conftest.$ac_objext \
14082 conftest$ac_exeext conftest.$ac_ext
14083 CFLAGS=$ac_wine_try_cflags_saved
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14086 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14087 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14088 saved_string_h_CFLAGS=$CFLAGS
14089 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14091 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14092 if ${ac_cv_c_logicalop_noisy+:} false; then :
14093 $as_echo_n "(cached) " >&6
14094 else
14095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14097 #include <string.h>
14098 char*f(const char *h,char n) {return strchr(h,n);}
14100 main ()
14104 return 0;
14106 _ACEOF
14107 if ac_fn_c_try_compile "$LINENO"; then :
14108 ac_cv_c_logicalop_noisy=no
14109 else
14110 ac_cv_c_logicalop_noisy=yes
14112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14115 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14116 CFLAGS=$saved_string_h_CFLAGS
14117 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14120 CFLAGS=$saved_CFLAGS
14122 for ac_flag in $CFLAGS; do
14123 case $ac_flag in
14124 -g) case $host_os in
14125 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14126 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14127 if ${ac_cv_cflags__gstabsp+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 ac_wine_try_cflags_saved=$CFLAGS
14131 CFLAGS="$CFLAGS -gstabs+"
14132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14134 int main(int argc, char **argv) { return 0; }
14135 _ACEOF
14136 if ac_fn_c_try_link "$LINENO"; then :
14137 ac_cv_cflags__gstabsp=yes
14138 else
14139 ac_cv_cflags__gstabsp=no
14141 rm -f core conftest.err conftest.$ac_objext \
14142 conftest$ac_exeext conftest.$ac_ext
14143 CFLAGS=$ac_wine_try_cflags_saved
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14146 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14147 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14148 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14149 fi ;;
14150 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14151 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14152 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14153 $as_echo_n "(cached) " >&6
14154 else
14155 ac_wine_try_cflags_saved=$CFLAGS
14156 CFLAGS="$CFLAGS -gdwarf-2"
14157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14159 int main(int argc, char **argv) { return 0; }
14160 _ACEOF
14161 if ac_fn_c_try_link "$LINENO"; then :
14162 ac_cv_cflags__gdwarf_2=yes
14163 else
14164 ac_cv_cflags__gdwarf_2=no
14166 rm -f core conftest.err conftest.$ac_objext \
14167 conftest$ac_exeext conftest.$ac_ext
14168 CFLAGS=$ac_wine_try_cflags_saved
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14171 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14172 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14173 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14176 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14177 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 ac_wine_try_cflags_saved=$CFLAGS
14181 CFLAGS="$CFLAGS -gstrict-dwarf"
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14184 int main(int argc, char **argv) { return 0; }
14185 _ACEOF
14186 if ac_fn_c_try_link "$LINENO"; then :
14187 ac_cv_cflags__gstrict_dwarf=yes
14188 else
14189 ac_cv_cflags__gstrict_dwarf=no
14191 rm -f core conftest.err conftest.$ac_objext \
14192 conftest$ac_exeext conftest.$ac_ext
14193 CFLAGS=$ac_wine_try_cflags_saved
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14196 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14197 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14198 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14199 fi ;;
14200 esac ;;
14201 esac
14202 done
14204 case $host_cpu in
14205 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14206 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14207 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14208 $as_echo_n "(cached) " >&6
14209 else
14210 ac_wine_try_cflags_saved=$CFLAGS
14211 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14214 int main(int argc, char **argv) { return 0; }
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"; then :
14217 ac_cv_cflags__fno_omit_frame_pointer=yes
14218 else
14219 ac_cv_cflags__fno_omit_frame_pointer=no
14221 rm -f core conftest.err conftest.$ac_objext \
14222 conftest$ac_exeext conftest.$ac_ext
14223 CFLAGS=$ac_wine_try_cflags_saved
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14226 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14227 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14228 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14229 fi ;;
14230 esac
14232 case $host in
14233 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14234 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14235 if ${ac_cv_cflags__Wno_format+:} false; then :
14236 $as_echo_n "(cached) " >&6
14237 else
14238 ac_wine_try_cflags_saved=$CFLAGS
14239 CFLAGS="$CFLAGS -Wno-format"
14240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14242 int main(int argc, char **argv) { return 0; }
14243 _ACEOF
14244 if ac_fn_c_try_link "$LINENO"; then :
14245 ac_cv_cflags__Wno_format=yes
14246 else
14247 ac_cv_cflags__Wno_format=no
14249 rm -f core conftest.err conftest.$ac_objext \
14250 conftest$ac_exeext conftest.$ac_ext
14251 CFLAGS=$ac_wine_try_cflags_saved
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14254 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14255 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14256 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14257 fi ;;
14258 esac
14260 if test "x$enable_maintainer_mode" = "xyes"
14261 then
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14263 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14264 if ${ac_cv_cflags__Werror+:} false; then :
14265 $as_echo_n "(cached) " >&6
14266 else
14267 ac_wine_try_cflags_saved=$CFLAGS
14268 CFLAGS="$CFLAGS -Werror"
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 int main(int argc, char **argv) { return 0; }
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"; then :
14274 ac_cv_cflags__Werror=yes
14275 else
14276 ac_cv_cflags__Werror=no
14278 rm -f core conftest.err conftest.$ac_objext \
14279 conftest$ac_exeext conftest.$ac_ext
14280 CFLAGS=$ac_wine_try_cflags_saved
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14283 $as_echo "$ac_cv_cflags__Werror" >&6; }
14284 if test "x$ac_cv_cflags__Werror" = xyes; then :
14285 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14289 saved_CFLAGS="$CFLAGS"
14290 CFLAGS="$CFLAGS -Werror"
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14292 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14293 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14294 $as_echo_n "(cached) " >&6
14295 else
14296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14298 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14300 main ()
14304 return 0;
14306 _ACEOF
14307 if ac_fn_c_try_compile "$LINENO"; then :
14308 ac_cv_have_ms_hook_prologue="yes"
14309 else
14310 ac_cv_have_ms_hook_prologue="no"
14312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14315 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14316 CFLAGS="$saved_CFLAGS"
14317 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14318 then
14320 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14322 else
14323 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14330 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14331 if ${ac_cv_c_fortify_enabled+:} false; then :
14332 $as_echo_n "(cached) " >&6
14333 else
14334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14336 #include <string.h>
14338 main ()
14340 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14341 #error Fortify enabled
14342 #endif
14344 return 0;
14346 _ACEOF
14347 if ac_fn_c_try_compile "$LINENO"; then :
14348 ac_cv_c_fortify_enabled=no
14349 else
14350 ac_cv_c_fortify_enabled=yes
14352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14355 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14356 if test "$ac_cv_c_fortify_enabled" = yes
14357 then
14358 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14363 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14364 if ${ac_cv_c_extern_prefix+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14369 extern int ac_test;
14371 main ()
14373 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14375 return 0;
14377 _ACEOF
14378 if ac_fn_c_try_link "$LINENO"; then :
14379 ac_cv_c_extern_prefix="yes"
14380 else
14381 ac_cv_c_extern_prefix="no"
14383 rm -f core conftest.err conftest.$ac_objext \
14384 conftest$ac_exeext conftest.$ac_ext
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14387 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14389 case $host_cpu in
14390 *i[3456789]86*)
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14392 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14393 if ${ac_cv_c_stdcall_suffix+:} false; then :
14394 $as_echo_n "(cached) " >&6
14395 else
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14398 #ifndef _MSC_VER
14399 #define __stdcall __attribute__((__stdcall__))
14400 #endif
14401 int __stdcall ac_test(int i) { return i; }
14403 main ()
14405 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14407 return 0;
14409 _ACEOF
14410 if ac_fn_c_try_link "$LINENO"; then :
14411 ac_cv_c_stdcall_suffix="yes"
14412 else
14413 ac_cv_c_stdcall_suffix="no"
14415 rm -f core conftest.err conftest.$ac_objext \
14416 conftest$ac_exeext conftest.$ac_ext
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14419 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14420 *) ac_cv_c_stdcall_suffix="no" ;;
14421 esac
14424 if test "$ac_cv_c_extern_prefix" = "yes"
14425 then
14426 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14428 asm_name_prefix="_"
14429 else
14430 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14432 asm_name_prefix=""
14436 if test "$ac_cv_c_stdcall_suffix" = "yes"
14437 then
14438 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14440 else
14441 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14447 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14448 if ${ac_cv_asm_func_def+:} false; then :
14449 $as_echo_n "(cached) " >&6
14450 else
14451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14452 /* end confdefs.h. */
14455 main ()
14457 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14459 return 0;
14461 _ACEOF
14462 if ac_fn_c_try_link "$LINENO"; then :
14463 ac_cv_asm_func_def=".def"
14464 else
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14469 main ()
14471 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14473 return 0;
14475 _ACEOF
14476 if ac_fn_c_try_link "$LINENO"; then :
14477 ac_cv_asm_func_def=".type @function"
14478 else
14479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14483 main ()
14485 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14487 return 0;
14489 _ACEOF
14490 if ac_fn_c_try_link "$LINENO"; then :
14491 ac_cv_asm_func_def=".type 2"
14492 else
14493 ac_cv_asm_func_def="unknown"
14495 rm -f core conftest.err conftest.$ac_objext \
14496 conftest$ac_exeext conftest.$ac_ext
14498 rm -f core conftest.err conftest.$ac_objext \
14499 conftest$ac_exeext conftest.$ac_ext
14501 rm -f core conftest.err conftest.$ac_objext \
14502 conftest$ac_exeext conftest.$ac_ext
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14505 $as_echo "$ac_cv_asm_func_def" >&6; }
14508 case "$ac_cv_asm_func_def" in
14509 ".def")
14510 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14512 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14513 ".type @function")
14514 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14516 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14517 ".type 2")
14518 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14520 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14522 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14524 asm_func_header="" ;;
14525 esac
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14528 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14529 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14530 $as_echo_n "(cached) " >&6
14531 else
14532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14534 asm(".text\n\t.long 0");
14536 main ()
14540 return 0;
14542 _ACEOF
14543 if ac_fn_c_try_compile "$LINENO"; then :
14544 ac_cv_c_asm_outside_funcs="yes"
14545 else
14546 ac_cv_c_asm_outside_funcs="no"
14548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14551 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14554 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14555 if ${ac_cv_c_dot_previous+:} false; then :
14556 $as_echo_n "(cached) " >&6
14557 else
14558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14562 main ()
14564 asm(".text\nac_test:\t.long 0\n\t.previous");
14566 return 0;
14568 _ACEOF
14569 if ac_fn_c_try_link "$LINENO"; then :
14570 ac_cv_c_dot_previous="yes"
14571 else
14572 ac_cv_c_dot_previous="no"
14574 rm -f core conftest.err conftest.$ac_objext \
14575 conftest$ac_exeext conftest.$ac_ext
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14578 $as_echo "$ac_cv_c_dot_previous" >&6; }
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14581 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14582 if ${ac_cv_c_cfi_support+:} false; then :
14583 $as_echo_n "(cached) " >&6
14584 else
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14589 main ()
14593 return 0;
14595 _ACEOF
14596 if ac_fn_c_try_compile "$LINENO"; then :
14597 ac_cv_c_cfi_support="yes"
14598 else
14599 ac_cv_c_cfi_support="no"
14601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14604 $as_echo "$ac_cv_c_cfi_support" >&6; }
14606 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14607 asm_func_trailer=""
14608 if test "$ac_cv_c_dot_previous" = "yes"
14609 then
14610 asm_func_trailer="\\n\\t.previous"
14612 if test "$ac_cv_c_cfi_support" = "yes"
14613 then
14614 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14615 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14617 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14619 UNWINDFLAGS=-fasynchronous-unwind-tables
14621 else
14622 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14626 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14629 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14630 then
14631 cat >>confdefs.h <<_ACEOF
14632 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14633 _ACEOF
14635 else
14636 cat >>confdefs.h <<_ACEOF
14637 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14638 _ACEOF
14642 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14645 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14649 case $build_os in
14650 cygwin*|mingw32*) TOOLSEXT=".exe"
14652 esac
14654 case $host_os in
14655 linux*)
14656 case $host_cpu in
14657 *i[3456789]86*|x86_64*)
14658 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14659 loader_programs="$loader_programs $wine_binary-preloader"
14660 as_fn_append LOADER_RULES "
14661 $wine_binary-preloader: preloader.o
14662 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14664 install install-lib:: $wine_binary-preloader
14665 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14667 uninstall::
14668 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14670 preloader_EXTRADEFS = $BUILTINFLAG
14671 " ;;
14672 esac
14674 esac
14675 as_fn_append LOADER_RULES "
14676 PROGRAMS = $loader_programs
14680 ac_save_CFLAGS="$CFLAGS"
14681 CFLAGS="$CFLAGS $BUILTINFLAG"
14682 for ac_func in \
14683 __res_get_state \
14684 __res_getservers \
14685 _finite \
14686 _isnan \
14687 _pclose \
14688 _popen \
14689 _snprintf \
14690 _spawnvp \
14691 _strdup \
14692 _stricmp \
14693 _strnicmp \
14694 _strtoi64 \
14695 _strtoui64 \
14696 _vsnprintf \
14697 asctime_r \
14698 chsize \
14699 dlopen \
14700 epoll_create \
14701 ffs \
14702 finitef \
14703 fnmatch \
14704 fork \
14705 fpclass \
14706 fstatfs \
14707 fstatvfs \
14708 ftruncate \
14709 futimens \
14710 futimes \
14711 futimesat \
14712 getattrlist \
14713 getdirentries \
14714 getopt_long_only \
14715 getpwuid \
14716 gettimeofday \
14717 getuid \
14718 if_nameindex \
14719 isnanf \
14720 kqueue \
14721 lstat \
14722 memmove \
14723 mmap \
14724 pclose \
14725 pipe2 \
14726 poll \
14727 popen \
14728 port_create \
14729 prctl \
14730 pread \
14731 proc_pidinfo \
14732 pwrite \
14733 readdir \
14734 readlink \
14735 sched_yield \
14736 select \
14737 setproctitle \
14738 setrlimit \
14739 settimeofday \
14740 sigaltstack \
14741 sigprocmask \
14742 snprintf \
14743 statfs \
14744 statvfs \
14745 strcasecmp \
14746 strdup \
14747 strerror \
14748 strncasecmp \
14749 strtold \
14750 strtoll \
14751 strtoull \
14752 symlink \
14753 tcdrain \
14754 thr_kill2 \
14755 timegm \
14756 usleep \
14757 vsnprintf
14759 do :
14760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14761 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14762 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14763 cat >>confdefs.h <<_ACEOF
14764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14765 _ACEOF
14768 done
14770 CFLAGS="$ac_save_CFLAGS"
14772 if test "$ac_cv_func_dlopen" = no
14773 then
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14775 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14776 if ${ac_cv_lib_dl_dlopen+:} false; then :
14777 $as_echo_n "(cached) " >&6
14778 else
14779 ac_check_lib_save_LIBS=$LIBS
14780 LIBS="-ldl $LIBS"
14781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14784 /* Override any GCC internal prototype to avoid an error.
14785 Use char because int might match the return type of a GCC
14786 builtin and then its argument prototype would still apply. */
14787 #ifdef __cplusplus
14788 extern "C"
14789 #endif
14790 char dlopen ();
14792 main ()
14794 return dlopen ();
14796 return 0;
14798 _ACEOF
14799 if ac_fn_c_try_link "$LINENO"; then :
14800 ac_cv_lib_dl_dlopen=yes
14801 else
14802 ac_cv_lib_dl_dlopen=no
14804 rm -f core conftest.err conftest.$ac_objext \
14805 conftest$ac_exeext conftest.$ac_ext
14806 LIBS=$ac_check_lib_save_LIBS
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14809 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14810 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14811 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14812 DL_LIBS="-ldl"
14817 ac_wine_check_funcs_save_LIBS="$LIBS"
14818 LIBS="$LIBS $DL_LIBS"
14819 for ac_func in dladdr
14820 do :
14821 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14822 if test "x$ac_cv_func_dladdr" = xyes; then :
14823 cat >>confdefs.h <<_ACEOF
14824 #define HAVE_DLADDR 1
14825 _ACEOF
14828 done
14830 LIBS="$ac_wine_check_funcs_save_LIBS"
14832 if test "$ac_cv_func_poll" = no
14833 then
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14835 $as_echo_n "checking for poll in -lpoll... " >&6; }
14836 if ${ac_cv_lib_poll_poll+:} false; then :
14837 $as_echo_n "(cached) " >&6
14838 else
14839 ac_check_lib_save_LIBS=$LIBS
14840 LIBS="-lpoll $LIBS"
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14844 /* Override any GCC internal prototype to avoid an error.
14845 Use char because int might match the return type of a GCC
14846 builtin and then its argument prototype would still apply. */
14847 #ifdef __cplusplus
14848 extern "C"
14849 #endif
14850 char poll ();
14852 main ()
14854 return poll ();
14856 return 0;
14858 _ACEOF
14859 if ac_fn_c_try_link "$LINENO"; then :
14860 ac_cv_lib_poll_poll=yes
14861 else
14862 ac_cv_lib_poll_poll=no
14864 rm -f core conftest.err conftest.$ac_objext \
14865 conftest$ac_exeext conftest.$ac_ext
14866 LIBS=$ac_check_lib_save_LIBS
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14869 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14870 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14871 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14872 POLL_LIBS="-lpoll"
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14879 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14880 if ${ac_cv_search_gethostbyname+:} false; then :
14881 $as_echo_n "(cached) " >&6
14882 else
14883 ac_func_search_save_LIBS=$LIBS
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14887 /* Override any GCC internal prototype to avoid an error.
14888 Use char because int might match the return type of a GCC
14889 builtin and then its argument prototype would still apply. */
14890 #ifdef __cplusplus
14891 extern "C"
14892 #endif
14893 char gethostbyname ();
14895 main ()
14897 return gethostbyname ();
14899 return 0;
14901 _ACEOF
14902 for ac_lib in '' nsl; do
14903 if test -z "$ac_lib"; then
14904 ac_res="none required"
14905 else
14906 ac_res=-l$ac_lib
14907 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14909 if ac_fn_c_try_link "$LINENO"; then :
14910 ac_cv_search_gethostbyname=$ac_res
14912 rm -f core conftest.err conftest.$ac_objext \
14913 conftest$ac_exeext
14914 if ${ac_cv_search_gethostbyname+:} false; then :
14915 break
14917 done
14918 if ${ac_cv_search_gethostbyname+:} false; then :
14920 else
14921 ac_cv_search_gethostbyname=no
14923 rm conftest.$ac_ext
14924 LIBS=$ac_func_search_save_LIBS
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14927 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14928 ac_res=$ac_cv_search_gethostbyname
14929 if test "$ac_res" != no; then :
14930 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14936 $as_echo_n "checking for library containing connect... " >&6; }
14937 if ${ac_cv_search_connect+:} false; then :
14938 $as_echo_n "(cached) " >&6
14939 else
14940 ac_func_search_save_LIBS=$LIBS
14941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14942 /* end confdefs.h. */
14944 /* Override any GCC internal prototype to avoid an error.
14945 Use char because int might match the return type of a GCC
14946 builtin and then its argument prototype would still apply. */
14947 #ifdef __cplusplus
14948 extern "C"
14949 #endif
14950 char connect ();
14952 main ()
14954 return connect ();
14956 return 0;
14958 _ACEOF
14959 for ac_lib in '' socket; do
14960 if test -z "$ac_lib"; then
14961 ac_res="none required"
14962 else
14963 ac_res=-l$ac_lib
14964 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14966 if ac_fn_c_try_link "$LINENO"; then :
14967 ac_cv_search_connect=$ac_res
14969 rm -f core conftest.err conftest.$ac_objext \
14970 conftest$ac_exeext
14971 if ${ac_cv_search_connect+:} false; then :
14972 break
14974 done
14975 if ${ac_cv_search_connect+:} false; then :
14977 else
14978 ac_cv_search_connect=no
14980 rm conftest.$ac_ext
14981 LIBS=$ac_func_search_save_LIBS
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14984 $as_echo "$ac_cv_search_connect" >&6; }
14985 ac_res=$ac_cv_search_connect
14986 if test "$ac_res" != no; then :
14987 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14993 $as_echo_n "checking for library containing inet_aton... " >&6; }
14994 if ${ac_cv_search_inet_aton+:} false; then :
14995 $as_echo_n "(cached) " >&6
14996 else
14997 ac_func_search_save_LIBS=$LIBS
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15001 /* Override any GCC internal prototype to avoid an error.
15002 Use char because int might match the return type of a GCC
15003 builtin and then its argument prototype would still apply. */
15004 #ifdef __cplusplus
15005 extern "C"
15006 #endif
15007 char inet_aton ();
15009 main ()
15011 return inet_aton ();
15013 return 0;
15015 _ACEOF
15016 for ac_lib in '' resolv; do
15017 if test -z "$ac_lib"; then
15018 ac_res="none required"
15019 else
15020 ac_res=-l$ac_lib
15021 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15023 if ac_fn_c_try_link "$LINENO"; then :
15024 ac_cv_search_inet_aton=$ac_res
15026 rm -f core conftest.err conftest.$ac_objext \
15027 conftest$ac_exeext
15028 if ${ac_cv_search_inet_aton+:} false; then :
15029 break
15031 done
15032 if ${ac_cv_search_inet_aton+:} false; then :
15034 else
15035 ac_cv_search_inet_aton=no
15037 rm conftest.$ac_ext
15038 LIBS=$ac_func_search_save_LIBS
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15041 $as_echo "$ac_cv_search_inet_aton" >&6; }
15042 ac_res=$ac_cv_search_inet_aton
15043 if test "$ac_res" != no; then :
15044 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15049 for ac_func in \
15050 getaddrinfo \
15051 getnameinfo \
15052 getnetbyname \
15053 getprotobyname \
15054 getprotobynumber \
15055 getservbyport \
15056 inet_addr \
15057 inet_network \
15058 inet_ntop \
15059 inet_pton \
15060 sendmsg \
15061 socketpair \
15063 do :
15064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15066 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15067 cat >>confdefs.h <<_ACEOF
15068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15069 _ACEOF
15072 done
15075 ac_save_LIBS=$LIBS
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15077 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15078 if ${ac_cv_search_clock_gettime+:} false; then :
15079 $as_echo_n "(cached) " >&6
15080 else
15081 ac_func_search_save_LIBS=$LIBS
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15085 /* Override any GCC internal prototype to avoid an error.
15086 Use char because int might match the return type of a GCC
15087 builtin and then its argument prototype would still apply. */
15088 #ifdef __cplusplus
15089 extern "C"
15090 #endif
15091 char clock_gettime ();
15093 main ()
15095 return clock_gettime ();
15097 return 0;
15099 _ACEOF
15100 for ac_lib in '' rt; do
15101 if test -z "$ac_lib"; then
15102 ac_res="none required"
15103 else
15104 ac_res=-l$ac_lib
15105 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15107 if ac_fn_c_try_link "$LINENO"; then :
15108 ac_cv_search_clock_gettime=$ac_res
15110 rm -f core conftest.err conftest.$ac_objext \
15111 conftest$ac_exeext
15112 if ${ac_cv_search_clock_gettime+:} false; then :
15113 break
15115 done
15116 if ${ac_cv_search_clock_gettime+:} false; then :
15118 else
15119 ac_cv_search_clock_gettime=no
15121 rm conftest.$ac_ext
15122 LIBS=$ac_func_search_save_LIBS
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15125 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15126 ac_res=$ac_cv_search_clock_gettime
15127 if test "$ac_res" != no; then :
15128 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15130 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15132 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15136 LIBS=$ac_save_LIBS
15138 LDAP_LIBS=""
15140 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15141 then
15142 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15144 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15146 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15147 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15148 $as_echo_n "(cached) " >&6
15149 else
15150 ac_check_lib_save_LIBS=$LIBS
15151 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h. */
15155 /* Override any GCC internal prototype to avoid an error.
15156 Use char because int might match the return type of a GCC
15157 builtin and then its argument prototype would still apply. */
15158 #ifdef __cplusplus
15159 extern "C"
15160 #endif
15161 char ldap_initialize ();
15163 main ()
15165 return ldap_initialize ();
15167 return 0;
15169 _ACEOF
15170 if ac_fn_c_try_link "$LINENO"; then :
15171 ac_cv_lib_ldap_r_ldap_initialize=yes
15172 else
15173 ac_cv_lib_ldap_r_ldap_initialize=no
15175 rm -f core conftest.err conftest.$ac_objext \
15176 conftest$ac_exeext conftest.$ac_ext
15177 LIBS=$ac_check_lib_save_LIBS
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15180 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15181 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15183 $as_echo_n "checking for ber_init in -llber... " >&6; }
15184 if ${ac_cv_lib_lber_ber_init+:} false; then :
15185 $as_echo_n "(cached) " >&6
15186 else
15187 ac_check_lib_save_LIBS=$LIBS
15188 LIBS="-llber $PTHREAD_LIBS $LIBS"
15189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15190 /* end confdefs.h. */
15192 /* Override any GCC internal prototype to avoid an error.
15193 Use char because int might match the return type of a GCC
15194 builtin and then its argument prototype would still apply. */
15195 #ifdef __cplusplus
15196 extern "C"
15197 #endif
15198 char ber_init ();
15200 main ()
15202 return ber_init ();
15204 return 0;
15206 _ACEOF
15207 if ac_fn_c_try_link "$LINENO"; then :
15208 ac_cv_lib_lber_ber_init=yes
15209 else
15210 ac_cv_lib_lber_ber_init=no
15212 rm -f core conftest.err conftest.$ac_objext \
15213 conftest$ac_exeext conftest.$ac_ext
15214 LIBS=$ac_check_lib_save_LIBS
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15217 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15218 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15220 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15222 LDAP_LIBS="-lldap_r -llber"
15229 ac_wine_check_funcs_save_LIBS="$LIBS"
15230 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15231 for ac_func in \
15232 ldap_count_references \
15233 ldap_first_reference \
15234 ldap_next_reference \
15235 ldap_parse_reference \
15236 ldap_parse_sort_control \
15237 ldap_parse_sortresponse_control \
15238 ldap_parse_vlv_control \
15239 ldap_parse_vlvresponse_control
15240 do :
15241 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15243 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15244 cat >>confdefs.h <<_ACEOF
15245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15246 _ACEOF
15249 done
15251 LIBS="$ac_wine_check_funcs_save_LIBS"
15253 if test "x$LDAP_LIBS" = "x"; then :
15254 case "x$with_ldap" in
15255 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15256 xno) ;;
15257 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15258 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15259 esac
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15263 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15264 if ${wine_cv_one_arg_mkdir+:} false; then :
15265 $as_echo_n "(cached) " >&6
15266 else
15267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15268 /* end confdefs.h. */
15269 #include <sys/stat.h>
15271 main ()
15273 mkdir("foo");
15275 return 0;
15277 _ACEOF
15278 if ac_fn_c_try_compile "$LINENO"; then :
15279 wine_cv_one_arg_mkdir=yes
15280 else
15281 wine_cv_one_arg_mkdir=no
15283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15286 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15287 if test "$wine_cv_one_arg_mkdir" = "yes"
15288 then
15290 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15295 $as_echo_n "checking for sched_setaffinity... " >&6; }
15296 if ${wine_cv_have_sched_setaffinity+:} false; then :
15297 $as_echo_n "(cached) " >&6
15298 else
15299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300 /* end confdefs.h. */
15301 #define _GNU_SOURCE
15302 #include <sched.h>
15304 main ()
15306 sched_setaffinity(0, 0, 0);
15308 return 0;
15310 _ACEOF
15311 if ac_fn_c_try_link "$LINENO"; then :
15312 wine_cv_have_sched_setaffinity=yes
15313 else
15314 wine_cv_have_sched_setaffinity=no
15316 rm -f core conftest.err conftest.$ac_objext \
15317 conftest$ac_exeext conftest.$ac_ext
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15320 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15321 if test "$wine_cv_have_sched_setaffinity" = "yes"
15322 then
15324 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15329 $as_echo_n "checking for fallocate... " >&6; }
15330 if ${wine_cv_have_fallocate+:} false; then :
15331 $as_echo_n "(cached) " >&6
15332 else
15333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15335 #define _GNU_SOURCE
15336 #include <fcntl.h>
15338 main ()
15340 fallocate(-1, 0, 0, 0);
15342 return 0;
15344 _ACEOF
15345 if ac_fn_c_try_link "$LINENO"; then :
15346 wine_cv_have_fallocate=yes
15347 else
15348 wine_cv_have_fallocate=no
15350 rm -f core conftest.err conftest.$ac_objext \
15351 conftest$ac_exeext conftest.$ac_ext
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15354 $as_echo "$wine_cv_have_fallocate" >&6; }
15355 if test "$wine_cv_have_fallocate" = "yes"
15356 then
15358 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15364 $as_echo_n "checking for inline... " >&6; }
15365 if ${ac_cv_c_inline+:} false; then :
15366 $as_echo_n "(cached) " >&6
15367 else
15368 ac_cv_c_inline=no
15369 for ac_kw in inline __inline__ __inline; do
15370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15372 #ifndef __cplusplus
15373 typedef int foo_t;
15374 static $ac_kw foo_t static_foo () {return 0; }
15375 $ac_kw foo_t foo () {return 0; }
15376 #endif
15378 _ACEOF
15379 if ac_fn_c_try_compile "$LINENO"; then :
15380 ac_cv_c_inline=$ac_kw
15382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15383 test "$ac_cv_c_inline" != no && break
15384 done
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15388 $as_echo "$ac_cv_c_inline" >&6; }
15390 case $ac_cv_c_inline in
15391 inline | yes) ;;
15393 case $ac_cv_c_inline in
15394 no) ac_val=;;
15395 *) ac_val=$ac_cv_c_inline;;
15396 esac
15397 cat >>confdefs.h <<_ACEOF
15398 #ifndef __cplusplus
15399 #define inline $ac_val
15400 #endif
15401 _ACEOF
15403 esac
15405 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15406 if test "x$ac_cv_type_mode_t" = xyes; then :
15408 cat >>confdefs.h <<_ACEOF
15409 #define HAVE_MODE_T 1
15410 _ACEOF
15414 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15415 if test "x$ac_cv_type_off_t" = xyes; then :
15417 cat >>confdefs.h <<_ACEOF
15418 #define HAVE_OFF_T 1
15419 _ACEOF
15423 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15424 if test "x$ac_cv_type_pid_t" = xyes; then :
15426 cat >>confdefs.h <<_ACEOF
15427 #define HAVE_PID_T 1
15428 _ACEOF
15432 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15433 if test "x$ac_cv_type_size_t" = xyes; then :
15435 cat >>confdefs.h <<_ACEOF
15436 #define HAVE_SIZE_T 1
15437 _ACEOF
15441 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15442 if test "x$ac_cv_type_ssize_t" = xyes; then :
15444 cat >>confdefs.h <<_ACEOF
15445 #define HAVE_SSIZE_T 1
15446 _ACEOF
15450 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15451 if test "x$ac_cv_type_long_long" = xyes; then :
15453 cat >>confdefs.h <<_ACEOF
15454 #define HAVE_LONG_LONG 1
15455 _ACEOF
15459 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15460 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15462 cat >>confdefs.h <<_ACEOF
15463 #define HAVE_FSBLKCNT_T 1
15464 _ACEOF
15468 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15469 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15471 cat >>confdefs.h <<_ACEOF
15472 #define HAVE_FSFILCNT_T 1
15473 _ACEOF
15478 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15479 #include <signal.h>
15481 if test "x$ac_cv_type_sigset_t" = xyes; then :
15483 cat >>confdefs.h <<_ACEOF
15484 #define HAVE_SIGSET_T 1
15485 _ACEOF
15490 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15492 if test "x$ac_cv_type_request_sense" = xyes; then :
15494 cat >>confdefs.h <<_ACEOF
15495 #define HAVE_REQUEST_SENSE 1
15496 _ACEOF
15502 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15503 #ifdef HAVE_SYS_SOCKET_H
15504 #include <sys/socket.h>
15505 #endif
15506 #ifdef HAVE_SYS_SOCKETVAR_H
15507 #include <sys/socketvar.h>
15508 #endif
15509 #ifdef HAVE_NET_ROUTE_H
15510 #include <net/route.h>
15511 #endif
15512 #ifdef HAVE_NETINET_IN_H
15513 #include <netinet/in.h>
15514 #endif
15515 #ifdef HAVE_NETINET_IN_SYSTM_H
15516 #include <netinet/in_systm.h>
15517 #endif
15518 #ifdef HAVE_NETINET_IP_H
15519 #include <netinet/ip.h>
15520 #endif
15521 #ifdef HAVE_NETINET_IN_PCB_H
15522 #include <netinet/in_pcb.h>
15523 #endif
15525 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15527 cat >>confdefs.h <<_ACEOF
15528 #define HAVE_STRUCT_XINPGEN 1
15529 _ACEOF
15535 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15536 #include <link.h>
15537 #endif
15538 #ifdef HAVE_SYS_LINK_H
15539 #include <sys/link.h>
15540 #endif
15542 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15544 cat >>confdefs.h <<_ACEOF
15545 #define HAVE_STRUCT_R_DEBUG 1
15546 _ACEOF
15550 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15551 #include <link.h>
15552 #endif
15553 #ifdef HAVE_SYS_LINK_H
15554 #include <sys/link.h>
15555 #endif
15557 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15559 cat >>confdefs.h <<_ACEOF
15560 #define HAVE_STRUCT_LINK_MAP 1
15561 _ACEOF
15567 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15568 #include <linux/input.h>
15569 #endif
15571 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15575 _ACEOF
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15582 $as_echo_n "checking for sigaddset... " >&6; }
15583 if ${wine_cv_have_sigaddset+:} false; then :
15584 $as_echo_n "(cached) " >&6
15585 else
15586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15587 /* end confdefs.h. */
15588 #include <signal.h>
15590 main ()
15592 sigset_t set; sigaddset(&set,SIGTERM);
15594 return 0;
15596 _ACEOF
15597 if ac_fn_c_try_link "$LINENO"; then :
15598 wine_cv_have_sigaddset=yes
15599 else
15600 wine_cv_have_sigaddset=no
15602 rm -f core conftest.err conftest.$ac_objext \
15603 conftest$ac_exeext conftest.$ac_ext
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15606 $as_echo "$wine_cv_have_sigaddset" >&6; }
15607 if test "$wine_cv_have_sigaddset" = "yes"
15608 then
15610 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15616 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15617 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15618 $as_echo_n "(cached) " >&6
15619 else
15620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15621 /* end confdefs.h. */
15622 #include <netdb.h>
15624 main ()
15627 char *name=0;
15628 struct hostent he;
15629 struct hostent *result;
15630 char *buf=0;
15631 int bufsize=0;
15632 int errnr;
15633 char *addr=0;
15634 int addrlen=0;
15635 int addrtype=0;
15636 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15637 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15640 return 0;
15642 _ACEOF
15643 if ac_fn_c_try_link "$LINENO"; then :
15644 wine_cv_linux_gethostbyname_r_6=yes
15645 else
15646 wine_cv_linux_gethostbyname_r_6=no
15649 rm -f core conftest.err conftest.$ac_objext \
15650 conftest$ac_exeext conftest.$ac_ext
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15654 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15655 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15656 then
15658 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15662 if test "$ac_cv_header_linux_joystick_h" = "yes"
15663 then
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15665 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15666 if ${wine_cv_linux_joystick_22_api+:} false; then :
15667 $as_echo_n "(cached) " >&6
15668 else
15669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15670 /* end confdefs.h. */
15672 #include <sys/ioctl.h>
15673 #include <sys/types.h>
15674 #include <linux/joystick.h>
15676 struct js_event blub;
15677 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15678 #error "no 2.2 header"
15679 #endif
15682 main ()
15684 /*empty*/
15686 return 0;
15688 _ACEOF
15689 if ac_fn_c_try_compile "$LINENO"; then :
15690 wine_cv_linux_joystick_22_api=yes
15691 else
15692 wine_cv_linux_joystick_22_api=no
15694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15698 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15699 if test "$wine_cv_linux_joystick_22_api" = "yes"
15700 then
15702 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15708 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15709 #ifdef HAVE_SYS_PARAM_H
15710 # include <sys/param.h>
15711 #endif
15712 #ifdef HAVE_SYS_MOUNT_H
15713 # include <sys/mount.h>
15714 #endif
15715 #ifdef HAVE_SYS_VFS_H
15716 # include <sys/vfs.h>
15717 #endif
15718 #ifdef HAVE_SYS_STATFS_H
15719 # include <sys/statfs.h>
15720 #endif
15722 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15724 cat >>confdefs.h <<_ACEOF
15725 #define HAVE_STRUCT_STATFS_F_BFREE 1
15726 _ACEOF
15730 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15731 #ifdef HAVE_SYS_PARAM_H
15732 # include <sys/param.h>
15733 #endif
15734 #ifdef HAVE_SYS_MOUNT_H
15735 # include <sys/mount.h>
15736 #endif
15737 #ifdef HAVE_SYS_VFS_H
15738 # include <sys/vfs.h>
15739 #endif
15740 #ifdef HAVE_SYS_STATFS_H
15741 # include <sys/statfs.h>
15742 #endif
15744 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15746 cat >>confdefs.h <<_ACEOF
15747 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15748 _ACEOF
15752 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15753 #ifdef HAVE_SYS_PARAM_H
15754 # include <sys/param.h>
15755 #endif
15756 #ifdef HAVE_SYS_MOUNT_H
15757 # include <sys/mount.h>
15758 #endif
15759 #ifdef HAVE_SYS_VFS_H
15760 # include <sys/vfs.h>
15761 #endif
15762 #ifdef HAVE_SYS_STATFS_H
15763 # include <sys/statfs.h>
15764 #endif
15766 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15770 _ACEOF
15774 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15775 #ifdef HAVE_SYS_PARAM_H
15776 # include <sys/param.h>
15777 #endif
15778 #ifdef HAVE_SYS_MOUNT_H
15779 # include <sys/mount.h>
15780 #endif
15781 #ifdef HAVE_SYS_VFS_H
15782 # include <sys/vfs.h>
15783 #endif
15784 #ifdef HAVE_SYS_STATFS_H
15785 # include <sys/statfs.h>
15786 #endif
15788 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15790 cat >>confdefs.h <<_ACEOF
15791 #define HAVE_STRUCT_STATFS_F_FFREE 1
15792 _ACEOF
15796 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15797 #ifdef HAVE_SYS_PARAM_H
15798 # include <sys/param.h>
15799 #endif
15800 #ifdef HAVE_SYS_MOUNT_H
15801 # include <sys/mount.h>
15802 #endif
15803 #ifdef HAVE_SYS_VFS_H
15804 # include <sys/vfs.h>
15805 #endif
15806 #ifdef HAVE_SYS_STATFS_H
15807 # include <sys/statfs.h>
15808 #endif
15810 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15812 cat >>confdefs.h <<_ACEOF
15813 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15814 _ACEOF
15818 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15819 #ifdef HAVE_SYS_PARAM_H
15820 # include <sys/param.h>
15821 #endif
15822 #ifdef HAVE_SYS_MOUNT_H
15823 # include <sys/mount.h>
15824 #endif
15825 #ifdef HAVE_SYS_VFS_H
15826 # include <sys/vfs.h>
15827 #endif
15828 #ifdef HAVE_SYS_STATFS_H
15829 # include <sys/statfs.h>
15830 #endif
15832 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15834 cat >>confdefs.h <<_ACEOF
15835 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15836 _ACEOF
15842 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15843 #include <sys/statvfs.h>
15844 #endif
15846 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15848 cat >>confdefs.h <<_ACEOF
15849 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15850 _ACEOF
15856 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15857 #include <dirent.h>
15858 #endif
15860 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15862 cat >>confdefs.h <<_ACEOF
15863 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15864 _ACEOF
15870 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15871 #ifdef HAVE_SYS_SOCKET_H
15872 # include <sys/socket.h>
15873 #endif
15874 #ifdef HAVE_SYS_UN_H
15875 # include <sys/un.h>
15876 #endif
15878 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15880 cat >>confdefs.h <<_ACEOF
15881 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15882 _ACEOF
15886 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15887 #ifdef HAVE_SYS_SOCKET_H
15888 # include <sys/socket.h>
15889 #endif
15890 #ifdef HAVE_SYS_UN_H
15891 # include <sys/un.h>
15892 #endif
15894 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15896 cat >>confdefs.h <<_ACEOF
15897 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15898 _ACEOF
15902 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15903 #ifdef HAVE_SYS_SOCKET_H
15904 # include <sys/socket.h>
15905 #endif
15906 #ifdef HAVE_SYS_UN_H
15907 # include <sys/un.h>
15908 #endif
15910 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15912 cat >>confdefs.h <<_ACEOF
15913 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15914 _ACEOF
15920 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15921 #ifdef HAVE_SCSI_SG_H
15922 #include <scsi/sg.h>
15923 #endif
15925 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15927 cat >>confdefs.h <<_ACEOF
15928 #define HAVE_SCSIREQ_T_CMD 1
15929 _ACEOF
15933 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>
15934 #ifdef HAVE_SCSI_SG_H
15935 #include <scsi/sg.h>
15936 #endif
15938 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15940 cat >>confdefs.h <<_ACEOF
15941 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15942 _ACEOF
15948 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15950 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15952 cat >>confdefs.h <<_ACEOF
15953 #define HAVE_SIGINFO_T_SI_FD 1
15954 _ACEOF
15960 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15961 #ifdef HAVE_SYS_MTIO_H
15962 #include <sys/mtio.h>
15963 #endif
15965 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15967 cat >>confdefs.h <<_ACEOF
15968 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15969 _ACEOF
15973 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15974 #ifdef HAVE_SYS_MTIO_H
15975 #include <sys/mtio.h>
15976 #endif
15978 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15980 cat >>confdefs.h <<_ACEOF
15981 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15982 _ACEOF
15986 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15987 #ifdef HAVE_SYS_MTIO_H
15988 #include <sys/mtio.h>
15989 #endif
15991 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15993 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15995 _ACEOF
16001 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16002 #include <getopt.h>
16003 #endif
16005 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16007 cat >>confdefs.h <<_ACEOF
16008 #define HAVE_STRUCT_OPTION_NAME 1
16009 _ACEOF
16015 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16016 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16018 cat >>confdefs.h <<_ACEOF
16019 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16020 _ACEOF
16024 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16025 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16027 cat >>confdefs.h <<_ACEOF
16028 #define HAVE_STRUCT_STAT_ST_MTIM 1
16029 _ACEOF
16033 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16034 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16036 cat >>confdefs.h <<_ACEOF
16037 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16038 _ACEOF
16042 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16043 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16045 cat >>confdefs.h <<_ACEOF
16046 #define HAVE_STRUCT_STAT_ST_CTIM 1
16047 _ACEOF
16051 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16052 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16054 cat >>confdefs.h <<_ACEOF
16055 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16056 _ACEOF
16060 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16061 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16063 cat >>confdefs.h <<_ACEOF
16064 #define HAVE_STRUCT_STAT_ST_ATIM 1
16065 _ACEOF
16069 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16070 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16072 cat >>confdefs.h <<_ACEOF
16073 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16074 _ACEOF
16078 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16079 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16081 cat >>confdefs.h <<_ACEOF
16082 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16083 _ACEOF
16087 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16088 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16090 cat >>confdefs.h <<_ACEOF
16091 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16092 _ACEOF
16096 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16097 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16099 cat >>confdefs.h <<_ACEOF
16100 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16101 _ACEOF
16105 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16106 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16108 cat >>confdefs.h <<_ACEOF
16109 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16110 _ACEOF
16114 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16115 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16117 cat >>confdefs.h <<_ACEOF
16118 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16119 _ACEOF
16125 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
16126 #include <sys/types.h>
16127 #endif
16128 #ifdef HAVE_NETINET_IN_H
16129 #include <netinet/in.h>
16130 #endif
16132 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16134 cat >>confdefs.h <<_ACEOF
16135 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16136 _ACEOF
16142 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16143 #include <resolv.h>
16144 #endif
16146 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16148 cat >>confdefs.h <<_ACEOF
16149 #define HAVE_STRUCT___RES_STATE 1
16150 _ACEOF
16156 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
16157 #include <resolv.h>
16158 #endif
16160 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16162 cat >>confdefs.h <<_ACEOF
16163 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16164 _ACEOF
16170 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16171 #include <sys/types.h>
16172 #endif
16173 #ifdef HAVE_NETINET_IN_H
16174 # include <netinet/in.h>
16175 #endif
16176 #ifdef HAVE_ARPA_NAMESER_H
16177 # include <arpa/nameser.h>
16178 #endif
16180 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16182 cat >>confdefs.h <<_ACEOF
16183 #define HAVE_NS_MSG__MSG_PTR 1
16184 _ACEOF
16190 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16191 #include <sys/types.h>
16192 #endif
16193 #ifdef HAVE_NETINET_IP_H
16194 #include <netinet/ip.h>
16195 #endif
16196 #ifdef HAVE_NETINET_IP_ICMP_H
16197 #include <netinet/ip_icmp.h>
16198 #endif
16199 #ifdef HAVE_NETINET_ICMP_VAR_H
16200 #include <netinet/icmp_var.h>
16201 #endif
16203 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16205 cat >>confdefs.h <<_ACEOF
16206 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16207 _ACEOF
16213 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16214 #include <sys/types.h>
16215 #endif
16216 #ifdef HAVE_ALIAS_H
16217 #include <alias.h>
16218 #endif
16219 #ifdef HAVE_SYS_SOCKET_H
16220 #include <sys/socket.h>
16221 #endif
16222 #ifdef HAVE_SYS_SOCKETVAR_H
16223 #include <sys/socketvar.h>
16224 #endif
16225 #ifdef HAVE_SYS_TIMEOUT_H
16226 #include <sys/timeout.h>
16227 #endif
16228 #ifdef HAVE_NETINET_IN_H
16229 #include <netinet/in.h>
16230 #endif
16231 #ifdef HAVE_NETINET_IN_SYSTM_H
16232 #include <netinet/in_systm.h>
16233 #endif
16234 #ifdef HAVE_NETINET_IP_H
16235 #include <netinet/ip.h>
16236 #endif
16237 #ifdef HAVE_NETINET_IP_VAR_H
16238 #include <netinet/ip_var.h>
16239 #endif
16240 #ifdef HAVE_NETINET_IP_ICMP_H
16241 #include <netinet/ip_icmp.h>
16242 #endif
16243 #ifdef HAVE_NETINET_ICMP_VAR_H
16244 #include <netinet/icmp_var.h>
16245 #endif
16247 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16249 cat >>confdefs.h <<_ACEOF
16250 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16251 _ACEOF
16257 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16258 #include <sys/types.h>
16259 #endif
16260 #ifdef HAVE_SYS_SOCKETVAR_H
16261 #include <sys/socketvar.h>
16262 #endif
16263 #ifdef HAVE_NETINET_IN_H
16264 #include <netinet/in.h>
16265 #endif
16266 #ifdef HAVE_NETINET_IP_VAR_H
16267 #include <netinet/ip_var.h>
16268 #endif
16270 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16272 cat >>confdefs.h <<_ACEOF
16273 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16274 _ACEOF
16280 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
16281 #include <netinet/ip_var.h>
16282 #endif
16284 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16288 _ACEOF
16294 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16295 #include <sys/types.h>
16296 #endif
16297 #ifdef HAVE_SYS_SOCKETVAR_H
16298 #include <sys/socketvar.h>
16299 #endif
16300 #ifdef HAVE_NETINET_IN_H
16301 #include <netinet/in.h>
16302 #endif
16303 #ifdef HAVE_NETINET_TCP_H
16304 #include <netinet/tcp.h>
16305 #endif
16306 #ifdef HAVE_NETINET_TCP_VAR_H
16307 #include <netinet/tcp_var.h>
16308 #endif
16310 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16312 cat >>confdefs.h <<_ACEOF
16313 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16314 _ACEOF
16320 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
16321 #include <netinet/tcp_var.h>
16322 #endif
16324 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16326 cat >>confdefs.h <<_ACEOF
16327 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16328 _ACEOF
16334 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16335 #include <sys/types.h>
16336 #endif
16337 #ifdef HAVE_NETINET_IN_H
16338 #include <netinet/in.h>
16339 #endif
16340 #ifdef HAVE_NETINET_IP_VAR_H
16341 #include <netinet/ip_var.h>
16342 #endif
16343 #ifdef HAVE_NETINET_UDP_H
16344 #include <netinet/udp.h>
16345 #endif
16346 #ifdef HAVE_NETINET_UDP_VAR_H
16347 #include <netinet/udp_var.h>
16348 #endif
16350 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16352 cat >>confdefs.h <<_ACEOF
16353 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16354 _ACEOF
16360 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16361 #include <sys/types.h>
16362 #endif
16363 #ifdef HAVE_NET_IF_H
16364 # include <net/if.h>
16365 #endif
16367 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16369 cat >>confdefs.h <<_ACEOF
16370 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16371 _ACEOF
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16378 $as_echo_n "checking for timezone variable... " >&6; }
16379 if ${ac_cv_have_timezone+:} false; then :
16380 $as_echo_n "(cached) " >&6
16381 else
16382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16384 #include <time.h>
16386 main ()
16388 timezone = 1
16390 return 0;
16392 _ACEOF
16393 if ac_fn_c_try_link "$LINENO"; then :
16394 ac_cv_have_timezone="yes"
16395 else
16396 ac_cv_have_timezone="no"
16398 rm -f core conftest.err conftest.$ac_objext \
16399 conftest$ac_exeext conftest.$ac_ext
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16402 $as_echo "$ac_cv_have_timezone" >&6; }
16403 if test "$ac_cv_have_timezone" = "yes"
16404 then
16406 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16410 $as_echo_n "checking for daylight variable... " >&6; }
16411 if ${ac_cv_have_daylight+:} false; then :
16412 $as_echo_n "(cached) " >&6
16413 else
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 #include <time.h>
16418 main ()
16420 daylight = 1
16422 return 0;
16424 _ACEOF
16425 if ac_fn_c_try_link "$LINENO"; then :
16426 ac_cv_have_daylight="yes"
16427 else
16428 ac_cv_have_daylight="no"
16430 rm -f core conftest.err conftest.$ac_objext \
16431 conftest$ac_exeext conftest.$ac_ext
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16434 $as_echo "$ac_cv_have_daylight" >&6; }
16435 if test "$ac_cv_have_daylight" = "yes"
16436 then
16438 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16442 ac_save_LIBS="$LIBS"
16443 LIBS="$LIBS -lm"
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16445 $as_echo_n "checking for isfinite... " >&6; }
16446 if ${ac_cv_have_isfinite+:} false; then :
16447 $as_echo_n "(cached) " >&6
16448 else
16449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16451 #define _GNU_SOURCE
16452 #include <math.h>
16454 main ()
16456 float f = 0.0; return isfinite(f)
16458 return 0;
16460 _ACEOF
16461 if ac_fn_c_try_link "$LINENO"; then :
16462 ac_cv_have_isfinite="yes"
16463 else
16464 ac_cv_have_isfinite="no"
16466 rm -f core conftest.err conftest.$ac_objext \
16467 conftest$ac_exeext conftest.$ac_ext
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16470 $as_echo "$ac_cv_have_isfinite" >&6; }
16471 if test "$ac_cv_have_isfinite" = "yes"
16472 then
16474 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16479 $as_echo_n "checking for isinf... " >&6; }
16480 if ${ac_cv_have_isinf+:} false; then :
16481 $as_echo_n "(cached) " >&6
16482 else
16483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16485 #include <math.h>
16487 main ()
16489 float f = 0.0; return isinf(f)
16491 return 0;
16493 _ACEOF
16494 if ac_fn_c_try_link "$LINENO"; then :
16495 ac_cv_have_isinf="yes"
16496 else
16497 ac_cv_have_isinf="no"
16499 rm -f core conftest.err conftest.$ac_objext \
16500 conftest$ac_exeext conftest.$ac_ext
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16503 $as_echo "$ac_cv_have_isinf" >&6; }
16504 if test "$ac_cv_have_isinf" = "yes"
16505 then
16507 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16512 $as_echo_n "checking for isnan... " >&6; }
16513 if ${ac_cv_have_isnan+:} false; then :
16514 $as_echo_n "(cached) " >&6
16515 else
16516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16517 /* end confdefs.h. */
16518 #include <math.h>
16520 main ()
16522 float f = 0.0; return isnan(f)
16524 return 0;
16526 _ACEOF
16527 if ac_fn_c_try_link "$LINENO"; then :
16528 ac_cv_have_isnan="yes"
16529 else
16530 ac_cv_have_isnan="no"
16532 rm -f core conftest.err conftest.$ac_objext \
16533 conftest$ac_exeext conftest.$ac_ext
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16536 $as_echo "$ac_cv_have_isnan" >&6; }
16537 if test "$ac_cv_have_isnan" = "yes"
16538 then
16540 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16544 for ac_func in \
16545 cbrt \
16546 cbrtf \
16547 exp2 \
16548 exp2f \
16549 llrint \
16550 llrintf \
16551 llround \
16552 llroundf \
16553 log2 \
16554 log2f \
16555 lrint \
16556 lrintf \
16557 lround \
16558 lroundf \
16559 rint \
16560 rintf \
16561 round \
16562 roundf \
16563 trunc \
16564 truncf
16566 do :
16567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16569 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16570 cat >>confdefs.h <<_ACEOF
16571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16572 _ACEOF
16575 done
16577 LIBS="$ac_save_LIBS"
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16580 $as_echo_n "checking for __builtin_clz... " >&6; }
16581 if ${ac_cv_have___builtin_clz+:} false; then :
16582 $as_echo_n "(cached) " >&6
16583 else
16584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16585 /* end confdefs.h. */
16588 main ()
16590 return __builtin_clz(1)
16592 return 0;
16594 _ACEOF
16595 if ac_fn_c_try_link "$LINENO"; then :
16596 ac_cv_have___builtin_clz="yes"
16597 else
16598 ac_cv_have___builtin_clz="no"
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16604 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16605 if test "$ac_cv_have___builtin_clz" = "yes"
16606 then
16608 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16613 case $host_cpu in
16614 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16615 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16616 if ${ac_cv_cpp_def___i386__+:} false; then :
16617 $as_echo_n "(cached) " >&6
16618 else
16619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16621 #ifndef __i386__
16623 #endif
16624 _ACEOF
16625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16626 $EGREP "yes" >/dev/null 2>&1; then :
16627 ac_cv_cpp_def___i386__=yes
16628 else
16629 ac_cv_cpp_def___i386__=no
16631 rm -f conftest*
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16635 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16636 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16637 CFLAGS="$CFLAGS -D__i386__"
16638 LINTFLAGS="$LINTFLAGS -D__i386__"
16639 fi ;;
16640 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16641 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16642 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16643 $as_echo_n "(cached) " >&6
16644 else
16645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16646 /* end confdefs.h. */
16647 #ifndef __x86_64__
16649 #endif
16650 _ACEOF
16651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16652 $EGREP "yes" >/dev/null 2>&1; then :
16653 ac_cv_cpp_def___x86_64__=yes
16654 else
16655 ac_cv_cpp_def___x86_64__=no
16657 rm -f conftest*
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16661 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16662 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16663 CFLAGS="$CFLAGS -D__x86_64__"
16664 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16665 fi ;;
16666 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16667 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16668 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16669 $as_echo_n "(cached) " >&6
16670 else
16671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16672 /* end confdefs.h. */
16673 #ifndef __sparc64__
16675 #endif
16676 _ACEOF
16677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16678 $EGREP "yes" >/dev/null 2>&1; then :
16679 ac_cv_cpp_def___sparc64__=yes
16680 else
16681 ac_cv_cpp_def___sparc64__=no
16683 rm -f conftest*
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16687 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16688 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16689 CFLAGS="$CFLAGS -D__sparc64__"
16690 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16691 fi ;;
16692 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16693 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16694 if ${ac_cv_cpp_def___sparc__+:} false; then :
16695 $as_echo_n "(cached) " >&6
16696 else
16697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16699 #ifndef __sparc__
16701 #endif
16702 _ACEOF
16703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16704 $EGREP "yes" >/dev/null 2>&1; then :
16705 ac_cv_cpp_def___sparc__=yes
16706 else
16707 ac_cv_cpp_def___sparc__=no
16709 rm -f conftest*
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16713 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16714 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16715 CFLAGS="$CFLAGS -D__sparc__"
16716 LINTFLAGS="$LINTFLAGS -D__sparc__"
16717 fi ;;
16718 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16719 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16720 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16721 $as_echo_n "(cached) " >&6
16722 else
16723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16725 #ifndef __powerpc64__
16727 #endif
16728 _ACEOF
16729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16730 $EGREP "yes" >/dev/null 2>&1; then :
16731 ac_cv_cpp_def___powerpc64__=yes
16732 else
16733 ac_cv_cpp_def___powerpc64__=no
16735 rm -f conftest*
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16739 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16740 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16741 CFLAGS="$CFLAGS -D__powerpc64__"
16742 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16743 fi ;;
16744 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16745 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16746 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16747 $as_echo_n "(cached) " >&6
16748 else
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #ifndef __powerpc__
16753 #endif
16754 _ACEOF
16755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16756 $EGREP "yes" >/dev/null 2>&1; then :
16757 ac_cv_cpp_def___powerpc__=yes
16758 else
16759 ac_cv_cpp_def___powerpc__=no
16761 rm -f conftest*
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16765 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16766 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16767 CFLAGS="$CFLAGS -D__powerpc__"
16768 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16769 fi ;;
16770 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16771 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16772 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16773 $as_echo_n "(cached) " >&6
16774 else
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16777 #ifndef __aarch64__
16779 #endif
16780 _ACEOF
16781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16782 $EGREP "yes" >/dev/null 2>&1; then :
16783 ac_cv_cpp_def___aarch64__=yes
16784 else
16785 ac_cv_cpp_def___aarch64__=no
16787 rm -f conftest*
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16791 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16792 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16793 CFLAGS="$CFLAGS -D__aarch64__"
16794 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16795 fi ;;
16796 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16797 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16798 if ${ac_cv_cpp_def___arm__+:} false; then :
16799 $as_echo_n "(cached) " >&6
16800 else
16801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16802 /* end confdefs.h. */
16803 #ifndef __arm__
16805 #endif
16806 _ACEOF
16807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16808 $EGREP "yes" >/dev/null 2>&1; then :
16809 ac_cv_cpp_def___arm__=yes
16810 else
16811 ac_cv_cpp_def___arm__=no
16813 rm -f conftest*
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16817 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16818 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16819 CFLAGS="$CFLAGS -D__arm__"
16820 LINTFLAGS="$LINTFLAGS -D__arm__"
16821 fi ;;
16822 esac
16824 case $host_vendor in
16825 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16826 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16827 if ${ac_cv_cpp_def___sun__+:} false; then :
16828 $as_echo_n "(cached) " >&6
16829 else
16830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h. */
16832 #ifndef __sun__
16834 #endif
16835 _ACEOF
16836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16837 $EGREP "yes" >/dev/null 2>&1; then :
16838 ac_cv_cpp_def___sun__=yes
16839 else
16840 ac_cv_cpp_def___sun__=no
16842 rm -f conftest*
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16846 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16847 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16848 CFLAGS="$CFLAGS -D__sun__"
16849 LINTFLAGS="$LINTFLAGS -D__sun__"
16850 fi ;;
16851 esac
16857 ac_config_commands="$ac_config_commands include/stamp-h"
16859 $as_echo_n "creating Makefile rules..." >&6
16861 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16862 SOCKET_LIBS = $SOCKET_LIBS
16863 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16864 IOKIT_LIBS = $IOKIT_LIBS
16865 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16866 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16867 CORESERVICES_LIBS = $CORESERVICES_LIBS
16868 APPKIT_LIBS = $APPKIT_LIBS
16869 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16870 SECURITY_LIBS = $SECURITY_LIBS
16871 COREAUDIO_LIBS = $COREAUDIO_LIBS
16872 OPENAL_LIBS = $OPENAL_LIBS
16873 OPENCL_LIBS = $OPENCL_LIBS
16874 QUICKTIME_LIBS = $QUICKTIME_LIBS
16875 CARBON_LIBS = $CARBON_LIBS
16876 PTHREAD_LIBS = $PTHREAD_LIBS
16877 X_CFLAGS = $X_CFLAGS
16878 X_PRE_LIBS = $X_PRE_LIBS
16879 X_LIBS = $X_LIBS
16880 X_EXTRA_LIBS = $X_EXTRA_LIBS
16881 XML2_CFLAGS = $XML2_CFLAGS
16882 XML2_LIBS = $XML2_LIBS
16883 XSLT_CFLAGS = $XSLT_CFLAGS
16884 XSLT_LIBS = $XSLT_LIBS
16885 DBUS_CFLAGS = $DBUS_CFLAGS
16886 DBUS_LIBS = $DBUS_LIBS
16887 HAL_CFLAGS = $HAL_CFLAGS
16888 HAL_LIBS = $HAL_LIBS
16889 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16890 GNUTLS_LIBS = $GNUTLS_LIBS
16891 SANE_CFLAGS = $SANE_CFLAGS
16892 SANE_LIBS = $SANE_LIBS
16893 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16894 GPHOTO2_LIBS = $GPHOTO2_LIBS
16895 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16896 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16897 RESOLV_LIBS = $RESOLV_LIBS
16898 LCMS2_CFLAGS = $LCMS2_CFLAGS
16899 LCMS2_LIBS = $LCMS2_LIBS
16900 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16901 FREETYPE_LIBS = $FREETYPE_LIBS
16902 Z_LIBS = $Z_LIBS
16903 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16904 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16905 GSTREAMER_LIBS = $GSTREAMER_LIBS
16906 ALSA_LIBS = $ALSA_LIBS
16907 OSS4_CFLAGS = $OSS4_CFLAGS
16908 CAPI20_CFLAGS = $CAPI20_CFLAGS
16909 CAPI20_LIBS = $CAPI20_LIBS
16910 CUPS_CFLAGS = $CUPS_CFLAGS
16911 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16912 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16913 JPEG_CFLAGS = $JPEG_CFLAGS
16914 JPEG_LIBS = $JPEG_LIBS
16915 PNG_CFLAGS = $PNG_CFLAGS
16916 PNG_LIBS = $PNG_LIBS
16917 TIFF_CFLAGS = $TIFF_CFLAGS
16918 TIFF_LIBS = $TIFF_LIBS
16919 MPG123_CFLAGS = $MPG123_CFLAGS
16920 MPG123_LIBS = $MPG123_LIBS
16921 KSTAT_LIBS = $KSTAT_LIBS
16922 PROCSTAT_LIBS = $PROCSTAT_LIBS
16923 DL_LIBS = $DL_LIBS
16924 POLL_LIBS = $POLL_LIBS
16925 RT_LIBS = $RT_LIBS
16926 LDAP_LIBS = $LDAP_LIBS
16931 wine_fn_append_rule "
16932 # Rules automatically generated by configure
16934 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16936 .INIT: Makefile
16937 .MAKEFILEDEPS:
16938 all: Makefile
16939 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16940 @./config.status Make.tmp Makefile"
16942 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16943 .gitignore: config.status
16944 @./config.status .gitignore"
16946 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16947 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16949 if test "x$enable_fonts" != xno; then
16950 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16951 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16952 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16953 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16954 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16956 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16957 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16958 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16959 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16960 ac_config_links="$ac_config_links wine:tools/winewrapper"
16961 wine_fn_config_symlink wine
16962 if test "x$enable_win64" != xno; then
16963 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16964 wine_fn_config_symlink wine64
16967 wine_fn_config_dll acledit enable_acledit
16968 wine_fn_config_dll aclui enable_aclui implib
16969 wine_fn_config_dll activeds enable_activeds implib
16970 wine_fn_config_dll actxprxy enable_actxprxy clean
16971 wine_fn_config_lib adsiid
16972 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16973 wine_fn_config_test dlls/advapi32/tests advapi32_test
16974 wine_fn_config_dll advpack enable_advpack implib
16975 wine_fn_config_test dlls/advpack/tests advpack_test
16976 wine_fn_config_dll amstream enable_amstream clean
16977 wine_fn_config_test dlls/amstream/tests amstream_test
16978 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16979 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16980 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16981 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16982 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16983 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16984 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16985 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16986 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16987 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16988 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16989 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16990 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16991 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16992 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16993 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16994 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16995 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16996 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16997 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16998 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16999 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17000 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17002 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17003 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17004 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17006 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17007 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17010 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17011 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17014 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17015 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17016 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17019 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17022 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17025 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17026 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17027 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17028 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17029 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17030 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17031 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17032 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17034 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17035 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17036 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17037 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17038 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17039 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17040 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17041 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17042 wine_fn_config_dll apphelp enable_apphelp
17043 wine_fn_config_test dlls/apphelp/tests apphelp_test
17044 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17045 wine_fn_config_dll atl enable_atl clean,implib
17046 wine_fn_config_test dlls/atl/tests atl_test
17047 wine_fn_config_dll atl100 enable_atl100 clean,implib
17048 wine_fn_config_test dlls/atl100/tests atl100_test
17049 wine_fn_config_dll atl110 enable_atl110 clean
17050 wine_fn_config_dll atl80 enable_atl80 clean,implib
17051 wine_fn_config_test dlls/atl80/tests atl80_test
17052 wine_fn_config_dll atl90 enable_atl90 clean
17053 wine_fn_config_dll authz enable_authz
17054 wine_fn_config_dll avicap32 enable_avicap32 implib
17055 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17056 wine_fn_config_test dlls/avifil32/tests avifil32_test
17057 wine_fn_config_dll avifile.dll16 enable_win16
17058 wine_fn_config_dll avrt enable_avrt implib
17059 wine_fn_config_dll bcrypt enable_bcrypt
17060 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17061 wine_fn_config_dll browseui enable_browseui clean,po
17062 wine_fn_config_test dlls/browseui/tests browseui_test
17063 wine_fn_config_dll cabinet enable_cabinet implib
17064 wine_fn_config_test dlls/cabinet/tests cabinet_test
17065 wine_fn_config_dll capi2032 enable_capi2032 implib
17066 wine_fn_config_dll cards enable_cards implib
17067 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17068 wine_fn_config_dll clusapi enable_clusapi implib
17069 wine_fn_config_dll combase enable_combase
17070 wine_fn_config_test dlls/combase/tests combase_test
17071 wine_fn_config_dll comcat enable_comcat
17072 wine_fn_config_test dlls/comcat/tests comcat_test
17073 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17074 wine_fn_config_test dlls/comctl32/tests comctl32_test
17075 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17076 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17077 wine_fn_config_dll comm.drv16 enable_win16
17078 wine_fn_config_dll commdlg.dll16 enable_win16
17079 wine_fn_config_dll compobj.dll16 enable_win16
17080 wine_fn_config_dll compstui enable_compstui implib
17081 wine_fn_config_dll comsvcs enable_comsvcs implib
17082 wine_fn_config_dll credui enable_credui implib,po
17083 wine_fn_config_test dlls/credui/tests credui_test
17084 wine_fn_config_dll crtdll enable_crtdll implib
17085 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17086 wine_fn_config_test dlls/crypt32/tests crypt32_test
17087 wine_fn_config_dll cryptdlg enable_cryptdlg po
17088 wine_fn_config_dll cryptdll enable_cryptdll implib
17089 wine_fn_config_dll cryptext enable_cryptext
17090 wine_fn_config_dll cryptnet enable_cryptnet implib
17091 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17092 wine_fn_config_dll cryptui enable_cryptui implib,po
17093 wine_fn_config_test dlls/cryptui/tests cryptui_test
17094 wine_fn_config_dll ctapi32 enable_ctapi32
17095 wine_fn_config_dll ctl3d.dll16 enable_win16
17096 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17097 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17098 wine_fn_config_dll d2d1 enable_d2d1 implib
17099 wine_fn_config_test dlls/d2d1/tests d2d1_test
17100 wine_fn_config_dll d3d10 enable_d3d10 implib
17101 wine_fn_config_test dlls/d3d10/tests d3d10_test
17102 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17103 wine_fn_config_dll d3d10core enable_d3d10core implib
17104 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17105 wine_fn_config_dll d3d11 enable_d3d11
17106 wine_fn_config_dll d3d8 enable_d3d8 implib
17107 wine_fn_config_test dlls/d3d8/tests d3d8_test
17108 wine_fn_config_dll d3d9 enable_d3d9 implib
17109 wine_fn_config_test dlls/d3d9/tests d3d9_test
17110 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17111 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17112 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17113 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17114 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17115 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17116 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17117 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17118 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17119 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17120 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17121 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17122 wine_fn_config_dll d3dim enable_d3dim implib
17123 wine_fn_config_dll d3drm enable_d3drm implib
17124 wine_fn_config_test dlls/d3drm/tests d3drm_test
17125 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17126 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17127 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17128 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17129 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17130 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17131 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17132 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17133 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17134 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17135 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17136 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17137 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17138 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17139 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17140 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17141 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17142 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17143 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17144 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17145 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17146 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17147 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17148 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17149 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17150 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17151 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17152 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17153 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17154 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17155 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17156 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17157 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17158 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17159 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17160 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17161 wine_fn_config_dll dbgeng enable_dbgeng implib
17162 wine_fn_config_dll dbghelp enable_dbghelp implib
17163 wine_fn_config_dll dciman32 enable_dciman32 implib
17164 wine_fn_config_dll ddeml.dll16 enable_win16
17165 wine_fn_config_dll ddraw enable_ddraw clean,implib
17166 wine_fn_config_test dlls/ddraw/tests ddraw_test
17167 wine_fn_config_dll ddrawex enable_ddrawex clean
17168 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17169 wine_fn_config_dll devenum enable_devenum clean,po
17170 wine_fn_config_test dlls/devenum/tests devenum_test
17171 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17172 wine_fn_config_dll difxapi enable_difxapi
17173 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17174 wine_fn_config_test dlls/dinput/tests dinput_test
17175 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17176 wine_fn_config_test dlls/dinput8/tests dinput8_test
17177 wine_fn_config_dll dispdib.dll16 enable_win16
17178 wine_fn_config_dll dispex enable_dispex clean
17179 wine_fn_config_test dlls/dispex/tests dispex_test
17180 wine_fn_config_dll display.drv16 enable_win16
17181 wine_fn_config_dll dmband enable_dmband clean
17182 wine_fn_config_test dlls/dmband/tests dmband_test
17183 wine_fn_config_dll dmcompos enable_dmcompos clean
17184 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17185 wine_fn_config_dll dmime enable_dmime clean
17186 wine_fn_config_test dlls/dmime/tests dmime_test
17187 wine_fn_config_dll dmloader enable_dmloader clean
17188 wine_fn_config_test dlls/dmloader/tests dmloader_test
17189 wine_fn_config_dll dmscript enable_dmscript clean
17190 wine_fn_config_test dlls/dmscript/tests dmscript_test
17191 wine_fn_config_dll dmstyle enable_dmstyle clean
17192 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17193 wine_fn_config_dll dmsynth enable_dmsynth clean
17194 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17195 wine_fn_config_dll dmusic enable_dmusic clean
17196 wine_fn_config_test dlls/dmusic/tests dmusic_test
17197 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17198 wine_fn_config_dll dnsapi enable_dnsapi implib
17199 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17200 wine_fn_config_dll dplay enable_dplay implib
17201 wine_fn_config_dll dplayx enable_dplayx clean,implib
17202 wine_fn_config_test dlls/dplayx/tests dplayx_test
17203 wine_fn_config_dll dpnaddr enable_dpnaddr
17204 wine_fn_config_dll dpnet enable_dpnet clean,implib
17205 wine_fn_config_test dlls/dpnet/tests dpnet_test
17206 wine_fn_config_dll dpnhpast enable_dpnhpast
17207 wine_fn_config_dll dpnlobby enable_dpnlobby
17208 wine_fn_config_dll dpvoice enable_dpvoice clean
17209 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17210 wine_fn_config_dll dpwsockx enable_dpwsockx
17211 wine_fn_config_dll drmclien enable_drmclien
17212 wine_fn_config_dll dsound enable_dsound clean,implib
17213 wine_fn_config_test dlls/dsound/tests dsound_test
17214 wine_fn_config_dll dssenh enable_dssenh
17215 wine_fn_config_test dlls/dssenh/tests dssenh_test
17216 wine_fn_config_dll dswave enable_dswave clean
17217 wine_fn_config_test dlls/dswave/tests dswave_test
17218 wine_fn_config_dll dwmapi enable_dwmapi implib
17219 wine_fn_config_dll dwrite enable_dwrite implib
17220 wine_fn_config_test dlls/dwrite/tests dwrite_test
17221 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17222 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17223 wine_fn_config_lib dxerr8
17224 wine_fn_config_lib dxerr9
17225 wine_fn_config_dll dxgi enable_dxgi implib
17226 wine_fn_config_test dlls/dxgi/tests dxgi_test
17227 wine_fn_config_lib dxguid
17228 wine_fn_config_dll dxva2 enable_dxva2
17229 wine_fn_config_dll explorerframe enable_explorerframe clean
17230 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17231 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17232 wine_fn_config_dll faultrep enable_faultrep implib
17233 wine_fn_config_test dlls/faultrep/tests faultrep_test
17234 wine_fn_config_dll fltlib enable_fltlib
17235 wine_fn_config_dll fntcache enable_fntcache
17236 wine_fn_config_dll fontsub enable_fontsub
17237 wine_fn_config_dll fusion enable_fusion
17238 wine_fn_config_test dlls/fusion/tests fusion_test
17239 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17240 wine_fn_config_dll gameux enable_gameux clean
17241 wine_fn_config_test dlls/gameux/tests gameux_test
17242 wine_fn_config_dll gdi.exe16 enable_win16
17243 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17244 wine_fn_config_test dlls/gdi32/tests gdi32_test
17245 wine_fn_config_dll gdiplus enable_gdiplus implib
17246 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17247 wine_fn_config_dll glu32 enable_glu32 implib
17248 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17249 wine_fn_config_dll gpkcsp enable_gpkcsp
17250 wine_fn_config_dll hal enable_hal
17251 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17252 wine_fn_config_dll hid enable_hid implib
17253 wine_fn_config_dll hlink enable_hlink clean,implib
17254 wine_fn_config_test dlls/hlink/tests hlink_test
17255 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17256 wine_fn_config_dll httpapi enable_httpapi
17257 wine_fn_config_dll iccvid enable_iccvid po
17258 wine_fn_config_dll icmp enable_icmp
17259 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17260 wine_fn_config_test dlls/ieframe/tests ieframe_test
17261 wine_fn_config_dll ifsmgr.vxd enable_win16
17262 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17263 wine_fn_config_dll imagehlp enable_imagehlp implib
17264 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17265 wine_fn_config_dll imm.dll16 enable_win16
17266 wine_fn_config_dll imm32 enable_imm32 implib
17267 wine_fn_config_test dlls/imm32/tests imm32_test
17268 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17269 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17270 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17271 wine_fn_config_dll inetmib1 enable_inetmib1
17272 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17273 wine_fn_config_dll infosoft enable_infosoft clean
17274 wine_fn_config_test dlls/infosoft/tests infosoft_test
17275 wine_fn_config_dll initpki enable_initpki
17276 wine_fn_config_dll inkobj enable_inkobj
17277 wine_fn_config_dll inseng enable_inseng clean
17278 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17279 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17280 wine_fn_config_dll itircl enable_itircl
17281 wine_fn_config_dll itss enable_itss clean
17282 wine_fn_config_test dlls/itss/tests itss_test
17283 wine_fn_config_dll joy.cpl enable_joy_cpl po
17284 wine_fn_config_dll jscript enable_jscript clean,po
17285 wine_fn_config_test dlls/jscript/tests jscript_test
17286 wine_fn_config_dll jsproxy enable_jsproxy implib
17287 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17288 wine_fn_config_test dlls/kernel32/tests kernel32_test
17289 wine_fn_config_dll keyboard.drv16 enable_win16
17290 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17291 wine_fn_config_dll ksuser enable_ksuser
17292 wine_fn_config_dll ktmw32 enable_ktmw32
17293 wine_fn_config_dll loadperf enable_loadperf implib
17294 wine_fn_config_dll localspl enable_localspl po
17295 wine_fn_config_test dlls/localspl/tests localspl_test
17296 wine_fn_config_dll localui enable_localui po
17297 wine_fn_config_test dlls/localui/tests localui_test
17298 wine_fn_config_dll lz32 enable_lz32 implib
17299 wine_fn_config_test dlls/lz32/tests lz32_test
17300 wine_fn_config_dll lzexpand.dll16 enable_win16
17301 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17302 wine_fn_config_test dlls/mapi32/tests mapi32_test
17303 wine_fn_config_dll mapistub enable_mapistub
17304 wine_fn_config_dll mciavi32 enable_mciavi32
17305 wine_fn_config_dll mcicda enable_mcicda
17306 wine_fn_config_dll mciqtz32 enable_mciqtz32
17307 wine_fn_config_dll mciseq enable_mciseq
17308 wine_fn_config_dll mciwave enable_mciwave
17309 wine_fn_config_dll mfplat enable_mfplat
17310 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17311 wine_fn_config_dll mgmtapi enable_mgmtapi
17312 wine_fn_config_dll midimap enable_midimap
17313 wine_fn_config_dll mlang enable_mlang clean,implib
17314 wine_fn_config_test dlls/mlang/tests mlang_test
17315 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17316 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17317 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17318 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17319 wine_fn_config_dll mmdevldr.vxd enable_win16
17320 wine_fn_config_dll mmsystem.dll16 enable_win16
17321 wine_fn_config_dll monodebg.vxd enable_win16
17322 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17323 wine_fn_config_dll mouse.drv16 enable_win16
17324 wine_fn_config_dll mpr enable_mpr implib,po
17325 wine_fn_config_test dlls/mpr/tests mpr_test
17326 wine_fn_config_dll mprapi enable_mprapi implib
17327 wine_fn_config_dll msacm.dll16 enable_win16
17328 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17329 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17330 wine_fn_config_test dlls/msacm32/tests msacm32_test
17331 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17332 wine_fn_config_dll msasn1 enable_msasn1 implib
17333 wine_fn_config_dll mscat32 enable_mscat32
17334 wine_fn_config_dll mscms enable_mscms implib
17335 wine_fn_config_test dlls/mscms/tests mscms_test
17336 wine_fn_config_dll mscoree enable_mscoree clean
17337 wine_fn_config_test dlls/mscoree/tests mscoree_test
17338 wine_fn_config_dll msctf enable_msctf clean
17339 wine_fn_config_test dlls/msctf/tests msctf_test
17340 wine_fn_config_dll msdaps enable_msdaps clean
17341 wine_fn_config_dll msdmo enable_msdmo implib
17342 wine_fn_config_test dlls/msdmo/tests msdmo_test
17343 wine_fn_config_dll msftedit enable_msftedit
17344 wine_fn_config_dll msg711.acm enable_msg711_acm
17345 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17346 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17347 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17348 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17349 wine_fn_config_dll msi enable_msi clean,implib,po
17350 wine_fn_config_test dlls/msi/tests msi_test
17351 wine_fn_config_dll msident enable_msident clean
17352 wine_fn_config_dll msimg32 enable_msimg32 implib
17353 wine_fn_config_dll msimsg enable_msimsg
17354 wine_fn_config_dll msimtf enable_msimtf clean
17355 wine_fn_config_dll msisip enable_msisip
17356 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17357 wine_fn_config_dll msls31 enable_msls31
17358 wine_fn_config_dll msnet32 enable_msnet32
17359 wine_fn_config_dll mspatcha enable_mspatcha
17360 wine_fn_config_dll msrle32 enable_msrle32 po
17361 wine_fn_config_test dlls/msrle32/tests msrle32_test
17362 wine_fn_config_dll mssign32 enable_mssign32
17363 wine_fn_config_dll mssip32 enable_mssip32
17364 wine_fn_config_dll mstask enable_mstask clean
17365 wine_fn_config_test dlls/mstask/tests mstask_test
17366 wine_fn_config_dll msvcirt enable_msvcirt
17367 wine_fn_config_dll msvcm80 enable_msvcm80
17368 wine_fn_config_dll msvcm90 enable_msvcm90
17369 wine_fn_config_dll msvcp100 enable_msvcp100
17370 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17371 wine_fn_config_dll msvcp110 enable_msvcp110
17372 wine_fn_config_dll msvcp120 enable_msvcp120
17373 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17374 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17375 wine_fn_config_dll msvcp60 enable_msvcp60
17376 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17377 wine_fn_config_dll msvcp70 enable_msvcp70
17378 wine_fn_config_dll msvcp71 enable_msvcp71
17379 wine_fn_config_dll msvcp80 enable_msvcp80
17380 wine_fn_config_dll msvcp90 enable_msvcp90
17381 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17382 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17383 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17384 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17385 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17386 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17387 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17388 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17389 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17390 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17391 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17392 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17393 wine_fn_config_dll msvcrt enable_msvcrt implib
17394 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17395 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17396 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17397 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17398 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17399 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17400 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17401 wine_fn_config_dll msvidc32 enable_msvidc32 po
17402 wine_fn_config_dll msvideo.dll16 enable_win16
17403 wine_fn_config_dll mswsock enable_mswsock implib
17404 wine_fn_config_dll msxml enable_msxml clean
17405 wine_fn_config_dll msxml2 enable_msxml2 clean
17406 wine_fn_config_dll msxml3 enable_msxml3 clean
17407 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17408 wine_fn_config_dll msxml4 enable_msxml4 clean
17409 wine_fn_config_dll msxml6 enable_msxml6 clean
17410 wine_fn_config_dll nddeapi enable_nddeapi implib
17411 wine_fn_config_dll ndis.sys enable_ndis_sys
17412 wine_fn_config_dll netapi32 enable_netapi32 implib
17413 wine_fn_config_test dlls/netapi32/tests netapi32_test
17414 wine_fn_config_dll netcfgx enable_netcfgx clean
17415 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17416 wine_fn_config_dll netprofm enable_netprofm clean
17417 wine_fn_config_test dlls/netprofm/tests netprofm_test
17418 wine_fn_config_dll newdev enable_newdev implib
17419 wine_fn_config_dll normaliz enable_normaliz implib
17420 wine_fn_config_dll npmshtml enable_npmshtml
17421 wine_fn_config_dll npptools enable_npptools
17422 wine_fn_config_dll ntdll enable_ntdll implib
17423 wine_fn_config_test dlls/ntdll/tests ntdll_test
17424 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17425 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17426 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17427 wine_fn_config_dll ntprint enable_ntprint
17428 wine_fn_config_test dlls/ntprint/tests ntprint_test
17429 wine_fn_config_dll objsel enable_objsel clean
17430 wine_fn_config_dll odbc32 enable_odbc32 implib
17431 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17432 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17433 wine_fn_config_dll odbccu32 enable_odbccu32
17434 wine_fn_config_dll ole2.dll16 enable_win16
17435 wine_fn_config_dll ole2conv.dll16 enable_win16
17436 wine_fn_config_dll ole2disp.dll16 enable_win16
17437 wine_fn_config_dll ole2nls.dll16 enable_win16
17438 wine_fn_config_dll ole2prox.dll16 enable_win16
17439 wine_fn_config_dll ole2thk.dll16 enable_win16
17440 wine_fn_config_dll ole32 enable_ole32 clean,implib
17441 wine_fn_config_test dlls/ole32/tests ole32_test
17442 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17443 wine_fn_config_test dlls/oleacc/tests oleacc_test
17444 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17445 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17446 wine_fn_config_dll olecli.dll16 enable_win16
17447 wine_fn_config_dll olecli32 enable_olecli32 implib
17448 wine_fn_config_dll oledb32 enable_oledb32 clean
17449 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17450 wine_fn_config_dll oledlg enable_oledlg implib,po
17451 wine_fn_config_dll olepro32 enable_olepro32 implib
17452 wine_fn_config_dll olesvr.dll16 enable_win16
17453 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17454 wine_fn_config_dll olethk32 enable_olethk32
17455 wine_fn_config_dll openal32 enable_openal32
17456 wine_fn_config_dll opencl enable_opencl
17457 wine_fn_config_dll opengl32 enable_opengl32 implib
17458 wine_fn_config_test dlls/opengl32/tests opengl32_test
17459 wine_fn_config_dll packager enable_packager clean
17460 wine_fn_config_test dlls/packager/tests packager_test
17461 wine_fn_config_dll pdh enable_pdh implib
17462 wine_fn_config_test dlls/pdh/tests pdh_test
17463 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17464 wine_fn_config_dll pidgen enable_pidgen
17465 wine_fn_config_dll powrprof enable_powrprof implib
17466 wine_fn_config_dll printui enable_printui
17467 wine_fn_config_dll prntvpt enable_prntvpt
17468 wine_fn_config_dll propsys enable_propsys clean,implib
17469 wine_fn_config_test dlls/propsys/tests propsys_test
17470 wine_fn_config_dll psapi enable_psapi implib
17471 wine_fn_config_test dlls/psapi/tests psapi_test
17472 wine_fn_config_dll pstorec enable_pstorec clean
17473 wine_fn_config_dll qcap enable_qcap
17474 wine_fn_config_test dlls/qcap/tests qcap_test
17475 wine_fn_config_dll qedit enable_qedit clean
17476 wine_fn_config_test dlls/qedit/tests qedit_test
17477 wine_fn_config_dll qmgr enable_qmgr clean
17478 wine_fn_config_test dlls/qmgr/tests qmgr_test
17479 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17480 wine_fn_config_dll quartz enable_quartz clean,implib
17481 wine_fn_config_test dlls/quartz/tests quartz_test clean
17482 wine_fn_config_dll query enable_query
17483 wine_fn_config_dll rasapi16.dll16 enable_win16
17484 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17485 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17486 wine_fn_config_dll rasdlg enable_rasdlg implib
17487 wine_fn_config_dll regapi enable_regapi
17488 wine_fn_config_dll resutils enable_resutils implib
17489 wine_fn_config_dll riched20 enable_riched20 implib
17490 wine_fn_config_test dlls/riched20/tests riched20_test
17491 wine_fn_config_dll riched32 enable_riched32
17492 wine_fn_config_test dlls/riched32/tests riched32_test
17493 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17494 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17495 wine_fn_config_dll rsabase enable_rsabase
17496 wine_fn_config_dll rsaenh enable_rsaenh implib
17497 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17498 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17499 wine_fn_config_dll rtutils enable_rtutils implib
17500 wine_fn_config_dll samlib enable_samlib
17501 wine_fn_config_dll sane.ds enable_sane_ds po
17502 wine_fn_config_dll scarddlg enable_scarddlg
17503 wine_fn_config_dll sccbase enable_sccbase
17504 wine_fn_config_dll schannel enable_schannel
17505 wine_fn_config_test dlls/schannel/tests schannel_test
17506 wine_fn_config_dll schedsvc enable_schedsvc clean
17507 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17508 wine_fn_config_dll scrrun enable_scrrun clean
17509 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17510 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17511 wine_fn_config_dll secur32 enable_secur32 implib
17512 wine_fn_config_test dlls/secur32/tests secur32_test
17513 wine_fn_config_dll security enable_security
17514 wine_fn_config_dll sensapi enable_sensapi implib
17515 wine_fn_config_dll serialui enable_serialui implib,po
17516 wine_fn_config_test dlls/serialui/tests serialui_test
17517 wine_fn_config_dll setupapi enable_setupapi implib,po
17518 wine_fn_config_test dlls/setupapi/tests setupapi_test
17519 wine_fn_config_dll setupx.dll16 enable_win16
17520 wine_fn_config_dll sfc enable_sfc implib
17521 wine_fn_config_dll sfc_os enable_sfc_os implib
17522 wine_fn_config_dll shdoclc enable_shdoclc po
17523 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17524 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17525 wine_fn_config_dll shell.dll16 enable_win16
17526 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17527 wine_fn_config_test dlls/shell32/tests shell32_test
17528 wine_fn_config_dll shfolder enable_shfolder implib
17529 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17530 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17531 wine_fn_config_dll slbcsp enable_slbcsp
17532 wine_fn_config_dll slc enable_slc implib
17533 wine_fn_config_dll snmpapi enable_snmpapi implib
17534 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17535 wine_fn_config_dll softpub enable_softpub
17536 wine_fn_config_dll sound.drv16 enable_win16
17537 wine_fn_config_dll spoolss enable_spoolss implib
17538 wine_fn_config_test dlls/spoolss/tests spoolss_test
17539 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17540 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17541 wine_fn_config_dll sti enable_sti clean,implib
17542 wine_fn_config_test dlls/sti/tests sti_test
17543 wine_fn_config_dll storage.dll16 enable_win16
17544 wine_fn_config_dll stress.dll16 enable_win16
17545 wine_fn_config_lib strmbase
17546 wine_fn_config_lib strmiids
17547 wine_fn_config_dll svrapi enable_svrapi
17548 wine_fn_config_dll sxs enable_sxs implib
17549 wine_fn_config_test dlls/sxs/tests sxs_test
17550 wine_fn_config_dll system.drv16 enable_win16
17551 wine_fn_config_dll t2embed enable_t2embed
17552 wine_fn_config_dll tapi32 enable_tapi32 implib
17553 wine_fn_config_dll taskschd enable_taskschd clean
17554 wine_fn_config_test dlls/taskschd/tests taskschd_test
17555 wine_fn_config_dll toolhelp.dll16 enable_win16
17556 wine_fn_config_dll traffic enable_traffic
17557 wine_fn_config_dll twain.dll16 enable_win16
17558 wine_fn_config_dll twain_32 enable_twain_32
17559 wine_fn_config_test dlls/twain_32/tests twain_32_test
17560 wine_fn_config_dll typelib.dll16 enable_win16
17561 wine_fn_config_dll unicows enable_unicows implib
17562 wine_fn_config_dll updspapi enable_updspapi
17563 wine_fn_config_dll url enable_url implib
17564 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17565 wine_fn_config_test dlls/urlmon/tests urlmon_test
17566 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17567 wine_fn_config_dll user.exe16 enable_win16
17568 wine_fn_config_dll user32 enable_user32 clean,implib,po
17569 wine_fn_config_test dlls/user32/tests user32_test
17570 wine_fn_config_dll userenv enable_userenv implib
17571 wine_fn_config_test dlls/userenv/tests userenv_test
17572 wine_fn_config_dll usp10 enable_usp10 implib
17573 wine_fn_config_test dlls/usp10/tests usp10_test
17574 wine_fn_config_lib uuid
17575 wine_fn_config_dll uxtheme enable_uxtheme implib
17576 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17577 wine_fn_config_dll vbscript enable_vbscript clean
17578 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17579 wine_fn_config_dll vcomp enable_vcomp
17580 wine_fn_config_dll vcomp100 enable_vcomp100
17581 wine_fn_config_dll vcomp90 enable_vcomp90
17582 wine_fn_config_dll vdhcp.vxd enable_win16
17583 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17584 wine_fn_config_dll ver.dll16 enable_win16
17585 wine_fn_config_dll version enable_version implib
17586 wine_fn_config_test dlls/version/tests version_test
17587 wine_fn_config_dll vmm.vxd enable_win16
17588 wine_fn_config_dll vnbt.vxd enable_win16
17589 wine_fn_config_dll vnetbios.vxd enable_win16
17590 wine_fn_config_dll vssapi enable_vssapi
17591 wine_fn_config_dll vtdapi.vxd enable_win16
17592 wine_fn_config_dll vwin32.vxd enable_win16
17593 wine_fn_config_dll w32skrnl enable_win16
17594 wine_fn_config_dll w32sys.dll16 enable_win16
17595 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17596 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17597 wine_fn_config_dll wbemprox enable_wbemprox clean
17598 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17599 wine_fn_config_dll webservices enable_webservices implib
17600 wine_fn_config_dll wer enable_wer implib
17601 wine_fn_config_test dlls/wer/tests wer_test
17602 wine_fn_config_dll wevtapi enable_wevtapi
17603 wine_fn_config_dll wiaservc enable_wiaservc clean
17604 wine_fn_config_dll win32s16.dll16 enable_win16
17605 wine_fn_config_dll win87em.dll16 enable_win16
17606 wine_fn_config_dll winaspi.dll16 enable_win16
17607 wine_fn_config_dll windebug.dll16 enable_win16
17608 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17609 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17610 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17611 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17612 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17613 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17614 wine_fn_config_lib winecrt0
17615 wine_fn_config_dll wined3d enable_wined3d implib
17616 wine_fn_config_dll winegstreamer enable_winegstreamer
17617 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17618 wine_fn_config_dll winemac.drv enable_winemac_drv
17619 wine_fn_config_dll winemapi enable_winemapi
17620 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17621 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17622 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17623 wine_fn_config_dll wineps16.drv16 enable_win16
17624 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17625 wine_fn_config_dll winex11.drv enable_winex11_drv
17626 wine_fn_config_dll wing.dll16 enable_win16
17627 wine_fn_config_dll wing32 enable_wing32
17628 wine_fn_config_dll winhttp enable_winhttp clean,implib
17629 wine_fn_config_test dlls/winhttp/tests winhttp_test
17630 wine_fn_config_dll wininet enable_wininet implib,po
17631 wine_fn_config_test dlls/wininet/tests wininet_test
17632 wine_fn_config_dll winmm enable_winmm implib,po
17633 wine_fn_config_test dlls/winmm/tests winmm_test
17634 wine_fn_config_dll winnls.dll16 enable_win16
17635 wine_fn_config_dll winnls32 enable_winnls32 implib
17636 wine_fn_config_dll winscard enable_winscard implib
17637 wine_fn_config_dll winsock.dll16 enable_win16
17638 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17639 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17640 wine_fn_config_dll winsta enable_winsta
17641 wine_fn_config_dll wintab.dll16 enable_win16
17642 wine_fn_config_dll wintab32 enable_wintab32 implib
17643 wine_fn_config_test dlls/wintab32/tests wintab32_test
17644 wine_fn_config_dll wintrust enable_wintrust implib
17645 wine_fn_config_test dlls/wintrust/tests wintrust_test
17646 wine_fn_config_dll wlanapi enable_wlanapi
17647 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17648 wine_fn_config_test dlls/wldap32/tests wldap32_test
17649 wine_fn_config_dll wmi enable_wmi
17650 wine_fn_config_dll wmiutils enable_wmiutils clean
17651 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17652 wine_fn_config_dll wmp enable_wmp clean
17653 wine_fn_config_test dlls/wmp/tests wmp_test
17654 wine_fn_config_dll wmvcore enable_wmvcore
17655 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17656 wine_fn_config_dll wow32 enable_win16 implib
17657 wine_fn_config_dll wpcap enable_wpcap
17658 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17659 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17660 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17661 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17662 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17663 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17664 wine_fn_config_dll wsock32 enable_wsock32 implib
17665 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17666 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17667 wine_fn_config_dll wuapi enable_wuapi clean
17668 wine_fn_config_dll wuaueng enable_wuaueng
17669 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17670 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17671 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17672 wine_fn_config_dll xinput1_1 enable_xinput1_1
17673 wine_fn_config_dll xinput1_2 enable_xinput1_2
17674 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17675 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17676 wine_fn_config_dll xinput1_4 enable_xinput1_4
17677 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17678 wine_fn_config_dll xmllite enable_xmllite implib
17679 wine_fn_config_test dlls/xmllite/tests xmllite_test
17680 wine_fn_config_dll xolehlp enable_xolehlp
17681 wine_fn_config_dll xpsprint enable_xpsprint
17682 wine_fn_config_dll xpssvcs enable_xpssvcs
17683 wine_fn_config_makefile documentation enable_documentation clean
17684 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17685 wine_fn_config_makefile include enable_include clean,install-dev
17686 wine_fn_config_makefile libs/port enable_libs_port
17687 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17688 wine_fn_config_makefile libs/wpp enable_libs_wpp
17689 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17690 wine_fn_config_program arp enable_arp install
17691 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17692 wine_fn_config_program attrib enable_attrib install,po
17693 wine_fn_config_program cabarc enable_cabarc install
17694 wine_fn_config_program cacls enable_cacls install
17695 wine_fn_config_program clock enable_clock install,po
17696 wine_fn_config_program cmd enable_cmd install,po
17697 wine_fn_config_test programs/cmd/tests cmd.exe_test
17698 wine_fn_config_program conhost enable_conhost install
17699 wine_fn_config_program control enable_control install
17700 wine_fn_config_program cscript enable_cscript clean,install
17701 wine_fn_config_program dpnsvr enable_dpnsvr install
17702 wine_fn_config_program dxdiag enable_dxdiag install,po
17703 wine_fn_config_program eject enable_eject install
17704 wine_fn_config_program expand enable_expand install
17705 wine_fn_config_program explorer enable_explorer install,po
17706 wine_fn_config_program extrac32 enable_extrac32 install
17707 wine_fn_config_program findstr enable_findstr install
17708 wine_fn_config_program hh enable_hh install
17709 wine_fn_config_program hostname enable_hostname install,po
17710 wine_fn_config_program icinfo enable_icinfo install
17711 wine_fn_config_program iexplore enable_iexplore install
17712 wine_fn_config_program ipconfig enable_ipconfig install,po
17713 wine_fn_config_program lodctr enable_lodctr install
17714 wine_fn_config_program mofcomp enable_mofcomp install
17715 wine_fn_config_program mshta enable_mshta install
17716 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17717 wine_fn_config_program net enable_net install,po
17718 wine_fn_config_program netsh enable_netsh install
17719 wine_fn_config_program netstat enable_netstat install,po
17720 wine_fn_config_program ngen enable_ngen install
17721 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17722 wine_fn_config_program oleview enable_oleview install,po
17723 wine_fn_config_program ping enable_ping install
17724 wine_fn_config_program plugplay enable_plugplay install
17725 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17726 wine_fn_config_program progman enable_progman install,po
17727 wine_fn_config_program reg enable_reg install,po
17728 wine_fn_config_test programs/reg/tests reg.exe_test
17729 wine_fn_config_program regasm enable_regasm install
17730 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17731 wine_fn_config_test programs/regedit/tests regedit.exe_test
17732 wine_fn_config_program regsvcs enable_regsvcs install
17733 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17734 wine_fn_config_program rpcss enable_rpcss clean,install
17735 wine_fn_config_program rundll.exe16 enable_win16 install
17736 wine_fn_config_program rundll32 enable_rundll32 install
17737 wine_fn_config_program sc enable_sc install
17738 wine_fn_config_program schtasks enable_schtasks install
17739 wine_fn_config_program sdbinst enable_sdbinst install
17740 wine_fn_config_program secedit enable_secedit install
17741 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17742 wine_fn_config_program services enable_services clean,install
17743 wine_fn_config_test programs/services/tests services.exe_test
17744 wine_fn_config_program spoolsv enable_spoolsv install
17745 wine_fn_config_program start enable_start install,po
17746 wine_fn_config_program svchost enable_svchost install
17747 wine_fn_config_program systeminfo enable_systeminfo install
17748 wine_fn_config_program taskkill enable_taskkill install,po
17749 wine_fn_config_program tasklist enable_tasklist install
17750 wine_fn_config_program taskmgr enable_taskmgr install,po
17751 wine_fn_config_program termsv enable_termsv install
17752 wine_fn_config_program uninstaller enable_uninstaller install,po
17753 wine_fn_config_program unlodctr enable_unlodctr install
17754 wine_fn_config_program view enable_view install,po
17755 wine_fn_config_program wevtutil enable_wevtutil install
17756 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17757 wine_fn_config_program winebrowser enable_winebrowser install
17758 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17759 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17760 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17761 wine_fn_config_program winedevice enable_winedevice install
17762 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17763 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17764 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17765 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17766 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17767 wine_fn_config_program winetest enable_winetest clean
17768 wine_fn_config_program winevdm enable_win16 install
17769 wine_fn_config_program winhelp.exe16 enable_win16 install
17770 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17771 wine_fn_config_program winoldap.mod16 enable_win16 install
17772 wine_fn_config_program winver enable_winver install
17773 wine_fn_config_program wmic enable_wmic install,po
17774 wine_fn_config_program wordpad enable_wordpad install,po
17775 wine_fn_config_program write enable_write install,po
17776 wine_fn_config_program wscript enable_wscript clean,install
17777 wine_fn_config_test programs/wscript/tests wscript.exe_test
17778 wine_fn_config_program wusa enable_wusa install
17779 wine_fn_config_program xcopy enable_xcopy install,po
17780 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17781 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17782 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17783 wine_fn_config_tool tools/sfnt2fon clean
17784 wine_fn_config_tool tools/widl clean,install-dev,manpage
17785 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17786 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17787 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17788 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17789 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17791 LINGUAS="\
17792 ar \
17793 bg \
17794 ca \
17795 cs \
17796 da \
17797 de \
17798 el \
17799 en \
17800 en_US \
17801 eo \
17802 es \
17803 fa \
17804 fi \
17805 fr \
17806 he \
17807 hi \
17808 hr \
17809 hu \
17810 it \
17811 ja \
17812 ko \
17813 lt \
17814 ml \
17815 nb_NO \
17816 nl \
17817 or \
17818 pa \
17819 pl \
17820 pt_BR \
17821 pt_PT \
17822 rm \
17823 ro \
17824 ru \
17825 sk \
17826 sl \
17827 sr_RS@cyrillic \
17828 sr_RS@latin \
17829 sv \
17830 te \
17831 th \
17832 tr \
17833 uk \
17834 wa \
17835 zh_CN \
17836 zh_TW"
17841 wine_fn_ignore_file ".gitignore"
17842 wine_fn_ignore_file "Makefile"
17843 wine_fn_ignore_file "TAGS"
17844 wine_fn_ignore_file "tags"
17845 wine_fn_ignore_file "autom4te.cache"
17846 wine_fn_ignore_file "config.cache"
17847 wine_fn_ignore_file "config.log"
17848 wine_fn_ignore_file "config.status"
17849 wine_fn_ignore_file "configure.lineno"
17850 wine_fn_ignore_file "include/config.h"
17851 wine_fn_ignore_file "include/stamp-h"
17852 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17854 if test "x$enable_tools" != xno
17855 then
17856 wine_fn_ignore_file "tools/makedep$ac_exeext"
17857 ac_config_commands="$ac_config_commands tools/makedep"
17861 ac_config_commands="$ac_config_commands Makefile"
17864 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17868 if test "x$enable_maintainer_mode" = xyes
17869 then
17870 wine_fn_append_rule "configure: configure.ac aclocal.m4
17871 autoconf --warnings=all
17872 include/config.h.in: include/stamp-h.in
17873 include/stamp-h.in: configure.ac aclocal.m4
17874 autoheader --warnings=all
17875 @echo timestamp > \$@"
17878 if test "x$with_gettextpo" = xyes
17879 then
17880 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17881 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17882 \$(LINGUAS:%=po/%.po): po/wine.pot
17883 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17884 po/wine.pot: \$(ALL_POT_FILES)
17885 msgcat -o \$@ \$(ALL_POT_FILES)"
17888 if test "$MSGFMT" != false
17889 then
17890 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17891 clean::
17892 \$(RM) \$(LINGUAS:%=po/%.mo)"
17894 posrc="po"
17895 test "$srcdir" = . || posrc="$srcdir/po"
17896 for i in $LINGUAS
17898 wine_fn_ignore_file "po/$i.mo"
17899 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17900 \$(MSGFMT) -o \$@ $posrc/$i.po"
17901 done
17902 else
17903 LINGUAS=
17906 if test "x$enable_tools" != xno
17907 then
17908 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17909 @./config.status tools/makedep
17910 Makefile: tools/makedep$ac_exeext
17911 distclean:: clean
17912 \$(RM) tools/makedep$ac_exeext"
17913 else
17914 wine_fn_append_rule "\$(MAKEDEP):
17915 @echo \"You need to run make in $TOOLSDIR first\" && false"
17918 if test -n "$with_wine64"
17919 then
17920 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17921 fonts server tools:
17922 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17923 $with_wine64/loader/wine:
17924 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17925 $with_wine64/loader/wine-preloader:
17926 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17927 clean::
17928 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17929 else
17930 as_fn_append LOADER_RULES "
17931 install install-lib:: wine.inf install-man-pages
17932 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17933 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17935 uninstall::
17936 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17940 if test "$srcdir" = .
17941 then
17942 ac_config_commands="$ac_config_commands .gitignore"
17946 $as_echo " done" >&6
17947 cat >confcache <<\_ACEOF
17948 # This file is a shell script that caches the results of configure
17949 # tests run on this system so they can be shared between configure
17950 # scripts and configure runs, see configure's option --config-cache.
17951 # It is not useful on other systems. If it contains results you don't
17952 # want to keep, you may remove or edit it.
17954 # config.status only pays attention to the cache file if you give it
17955 # the --recheck option to rerun configure.
17957 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17958 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17959 # following values.
17961 _ACEOF
17963 # The following way of writing the cache mishandles newlines in values,
17964 # but we know of no workaround that is simple, portable, and efficient.
17965 # So, we kill variables containing newlines.
17966 # Ultrix sh set writes to stderr and can't be redirected directly,
17967 # and sets the high bit in the cache file unless we assign to the vars.
17969 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17970 eval ac_val=\$$ac_var
17971 case $ac_val in #(
17972 *${as_nl}*)
17973 case $ac_var in #(
17974 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17975 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17976 esac
17977 case $ac_var in #(
17978 _ | IFS | as_nl) ;; #(
17979 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17980 *) { eval $ac_var=; unset $ac_var;} ;;
17981 esac ;;
17982 esac
17983 done
17985 (set) 2>&1 |
17986 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17987 *${as_nl}ac_space=\ *)
17988 # `set' does not quote correctly, so add quotes: double-quote
17989 # substitution turns \\\\ into \\, and sed turns \\ into \.
17990 sed -n \
17991 "s/'/'\\\\''/g;
17992 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17993 ;; #(
17995 # `set' quotes correctly as required by POSIX, so do not add quotes.
17996 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17998 esac |
17999 sort
18001 sed '
18002 /^ac_cv_env_/b end
18003 t clear
18004 :clear
18005 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18006 t end
18007 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18008 :end' >>confcache
18009 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18010 if test -w "$cache_file"; then
18011 if test "x$cache_file" != "x/dev/null"; then
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18013 $as_echo "$as_me: updating cache $cache_file" >&6;}
18014 if test ! -f "$cache_file" || test -h "$cache_file"; then
18015 cat confcache >"$cache_file"
18016 else
18017 case $cache_file in #(
18018 */* | ?:*)
18019 mv -f confcache "$cache_file"$$ &&
18020 mv -f "$cache_file"$$ "$cache_file" ;; #(
18022 mv -f confcache "$cache_file" ;;
18023 esac
18026 else
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18028 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18031 rm -f confcache
18033 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18034 # Let make expand exec_prefix.
18035 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18037 DEFS=-DHAVE_CONFIG_H
18039 ac_libobjs=
18040 ac_ltlibobjs=
18042 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18043 # 1. Remove the extension, and $U if already installed.
18044 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18045 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18046 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18047 # will be set to the directory where LIBOBJS objects are built.
18048 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18049 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18050 done
18051 LIBOBJS=$ac_libobjs
18053 LTLIBOBJS=$ac_ltlibobjs
18057 : "${CONFIG_STATUS=./config.status}"
18058 ac_write_fail=0
18059 ac_clean_files_save=$ac_clean_files
18060 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18062 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18063 as_write_fail=0
18064 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18065 #! $SHELL
18066 # Generated by $as_me.
18067 # Run this file to recreate the current configuration.
18068 # Compiler output produced by configure, useful for debugging
18069 # configure, is in config.log if it exists.
18071 debug=false
18072 ac_cs_recheck=false
18073 ac_cs_silent=false
18075 SHELL=\${CONFIG_SHELL-$SHELL}
18076 export SHELL
18077 _ASEOF
18078 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18079 ## -------------------- ##
18080 ## M4sh Initialization. ##
18081 ## -------------------- ##
18083 # Be more Bourne compatible
18084 DUALCASE=1; export DUALCASE # for MKS sh
18085 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18086 emulate sh
18087 NULLCMD=:
18088 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18089 # is contrary to our usage. Disable this feature.
18090 alias -g '${1+"$@"}'='"$@"'
18091 setopt NO_GLOB_SUBST
18092 else
18093 case `(set -o) 2>/dev/null` in #(
18094 *posix*) :
18095 set -o posix ;; #(
18096 *) :
18098 esac
18102 as_nl='
18104 export as_nl
18105 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18106 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18107 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18108 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18109 # Prefer a ksh shell builtin over an external printf program on Solaris,
18110 # but without wasting forks for bash or zsh.
18111 if test -z "$BASH_VERSION$ZSH_VERSION" \
18112 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18113 as_echo='print -r --'
18114 as_echo_n='print -rn --'
18115 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18116 as_echo='printf %s\n'
18117 as_echo_n='printf %s'
18118 else
18119 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18120 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18121 as_echo_n='/usr/ucb/echo -n'
18122 else
18123 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18124 as_echo_n_body='eval
18125 arg=$1;
18126 case $arg in #(
18127 *"$as_nl"*)
18128 expr "X$arg" : "X\\(.*\\)$as_nl";
18129 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18130 esac;
18131 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18133 export as_echo_n_body
18134 as_echo_n='sh -c $as_echo_n_body as_echo'
18136 export as_echo_body
18137 as_echo='sh -c $as_echo_body as_echo'
18140 # The user is always right.
18141 if test "${PATH_SEPARATOR+set}" != set; then
18142 PATH_SEPARATOR=:
18143 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18144 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18145 PATH_SEPARATOR=';'
18150 # IFS
18151 # We need space, tab and new line, in precisely that order. Quoting is
18152 # there to prevent editors from complaining about space-tab.
18153 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18154 # splitting by setting IFS to empty value.)
18155 IFS=" "" $as_nl"
18157 # Find who we are. Look in the path if we contain no directory separator.
18158 as_myself=
18159 case $0 in #((
18160 *[\\/]* ) as_myself=$0 ;;
18161 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18162 for as_dir in $PATH
18164 IFS=$as_save_IFS
18165 test -z "$as_dir" && as_dir=.
18166 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18167 done
18168 IFS=$as_save_IFS
18171 esac
18172 # We did not find ourselves, most probably we were run as `sh COMMAND'
18173 # in which case we are not to be found in the path.
18174 if test "x$as_myself" = x; then
18175 as_myself=$0
18177 if test ! -f "$as_myself"; then
18178 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18179 exit 1
18182 # Unset variables that we do not need and which cause bugs (e.g. in
18183 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18184 # suppresses any "Segmentation fault" message there. '((' could
18185 # trigger a bug in pdksh 5.2.14.
18186 for as_var in BASH_ENV ENV MAIL MAILPATH
18187 do eval test x\${$as_var+set} = xset \
18188 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18189 done
18190 PS1='$ '
18191 PS2='> '
18192 PS4='+ '
18194 # NLS nuisances.
18195 LC_ALL=C
18196 export LC_ALL
18197 LANGUAGE=C
18198 export LANGUAGE
18200 # CDPATH.
18201 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18204 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18205 # ----------------------------------------
18206 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18207 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18208 # script with STATUS, using 1 if that was 0.
18209 as_fn_error ()
18211 as_status=$1; test $as_status -eq 0 && as_status=1
18212 if test "$4"; then
18213 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18214 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18216 $as_echo "$as_me: error: $2" >&2
18217 as_fn_exit $as_status
18218 } # as_fn_error
18221 # as_fn_set_status STATUS
18222 # -----------------------
18223 # Set $? to STATUS, without forking.
18224 as_fn_set_status ()
18226 return $1
18227 } # as_fn_set_status
18229 # as_fn_exit STATUS
18230 # -----------------
18231 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18232 as_fn_exit ()
18234 set +e
18235 as_fn_set_status $1
18236 exit $1
18237 } # as_fn_exit
18239 # as_fn_unset VAR
18240 # ---------------
18241 # Portably unset VAR.
18242 as_fn_unset ()
18244 { eval $1=; unset $1;}
18246 as_unset=as_fn_unset
18247 # as_fn_append VAR VALUE
18248 # ----------------------
18249 # Append the text in VALUE to the end of the definition contained in VAR. Take
18250 # advantage of any shell optimizations that allow amortized linear growth over
18251 # repeated appends, instead of the typical quadratic growth present in naive
18252 # implementations.
18253 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18254 eval 'as_fn_append ()
18256 eval $1+=\$2
18258 else
18259 as_fn_append ()
18261 eval $1=\$$1\$2
18263 fi # as_fn_append
18265 # as_fn_arith ARG...
18266 # ------------------
18267 # Perform arithmetic evaluation on the ARGs, and store the result in the
18268 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18269 # must be portable across $(()) and expr.
18270 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18271 eval 'as_fn_arith ()
18273 as_val=$(( $* ))
18275 else
18276 as_fn_arith ()
18278 as_val=`expr "$@" || test $? -eq 1`
18280 fi # as_fn_arith
18283 if expr a : '\(a\)' >/dev/null 2>&1 &&
18284 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18285 as_expr=expr
18286 else
18287 as_expr=false
18290 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18291 as_basename=basename
18292 else
18293 as_basename=false
18296 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18297 as_dirname=dirname
18298 else
18299 as_dirname=false
18302 as_me=`$as_basename -- "$0" ||
18303 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18304 X"$0" : 'X\(//\)$' \| \
18305 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18306 $as_echo X/"$0" |
18307 sed '/^.*\/\([^/][^/]*\)\/*$/{
18308 s//\1/
18311 /^X\/\(\/\/\)$/{
18312 s//\1/
18315 /^X\/\(\/\).*/{
18316 s//\1/
18319 s/.*/./; q'`
18321 # Avoid depending upon Character Ranges.
18322 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18323 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18324 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18325 as_cr_digits='0123456789'
18326 as_cr_alnum=$as_cr_Letters$as_cr_digits
18328 ECHO_C= ECHO_N= ECHO_T=
18329 case `echo -n x` in #(((((
18330 -n*)
18331 case `echo 'xy\c'` in
18332 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18333 xy) ECHO_C='\c';;
18334 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18335 ECHO_T=' ';;
18336 esac;;
18338 ECHO_N='-n';;
18339 esac
18341 rm -f conf$$ conf$$.exe conf$$.file
18342 if test -d conf$$.dir; then
18343 rm -f conf$$.dir/conf$$.file
18344 else
18345 rm -f conf$$.dir
18346 mkdir conf$$.dir 2>/dev/null
18348 if (echo >conf$$.file) 2>/dev/null; then
18349 if ln -s conf$$.file conf$$ 2>/dev/null; then
18350 as_ln_s='ln -s'
18351 # ... but there are two gotchas:
18352 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18353 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18354 # In both cases, we have to default to `cp -pR'.
18355 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18356 as_ln_s='cp -pR'
18357 elif ln conf$$.file conf$$ 2>/dev/null; then
18358 as_ln_s=ln
18359 else
18360 as_ln_s='cp -pR'
18362 else
18363 as_ln_s='cp -pR'
18365 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18366 rmdir conf$$.dir 2>/dev/null
18369 # as_fn_mkdir_p
18370 # -------------
18371 # Create "$as_dir" as a directory, including parents if necessary.
18372 as_fn_mkdir_p ()
18375 case $as_dir in #(
18376 -*) as_dir=./$as_dir;;
18377 esac
18378 test -d "$as_dir" || eval $as_mkdir_p || {
18379 as_dirs=
18380 while :; do
18381 case $as_dir in #(
18382 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18383 *) as_qdir=$as_dir;;
18384 esac
18385 as_dirs="'$as_qdir' $as_dirs"
18386 as_dir=`$as_dirname -- "$as_dir" ||
18387 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18388 X"$as_dir" : 'X\(//\)[^/]' \| \
18389 X"$as_dir" : 'X\(//\)$' \| \
18390 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18391 $as_echo X"$as_dir" |
18392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18393 s//\1/
18396 /^X\(\/\/\)[^/].*/{
18397 s//\1/
18400 /^X\(\/\/\)$/{
18401 s//\1/
18404 /^X\(\/\).*/{
18405 s//\1/
18408 s/.*/./; q'`
18409 test -d "$as_dir" && break
18410 done
18411 test -z "$as_dirs" || eval "mkdir $as_dirs"
18412 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18415 } # as_fn_mkdir_p
18416 if mkdir -p . 2>/dev/null; then
18417 as_mkdir_p='mkdir -p "$as_dir"'
18418 else
18419 test -d ./-p && rmdir ./-p
18420 as_mkdir_p=false
18424 # as_fn_executable_p FILE
18425 # -----------------------
18426 # Test if FILE is an executable regular file.
18427 as_fn_executable_p ()
18429 test -f "$1" && test -x "$1"
18430 } # as_fn_executable_p
18431 as_test_x='test -x'
18432 as_executable_p=as_fn_executable_p
18434 # Sed expression to map a string onto a valid CPP name.
18435 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18437 # Sed expression to map a string onto a valid variable name.
18438 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18441 exec 6>&1
18442 ## ----------------------------------- ##
18443 ## Main body of $CONFIG_STATUS script. ##
18444 ## ----------------------------------- ##
18445 _ASEOF
18446 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18449 # Save the log message, to keep $0 and so on meaningful, and to
18450 # report actual input values of CONFIG_FILES etc. instead of their
18451 # values after options handling.
18452 ac_log="
18453 This file was extended by Wine $as_me 1.7.35, which was
18454 generated by GNU Autoconf 2.69. Invocation command line was
18456 CONFIG_FILES = $CONFIG_FILES
18457 CONFIG_HEADERS = $CONFIG_HEADERS
18458 CONFIG_LINKS = $CONFIG_LINKS
18459 CONFIG_COMMANDS = $CONFIG_COMMANDS
18460 $ $0 $@
18462 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18465 _ACEOF
18467 case $ac_config_files in *"
18468 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18469 esac
18471 case $ac_config_headers in *"
18472 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18473 esac
18476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18477 # Files that config.status was made for.
18478 config_files="$ac_config_files"
18479 config_headers="$ac_config_headers"
18480 config_links="$ac_config_links"
18481 config_commands="$ac_config_commands"
18483 _ACEOF
18485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18486 ac_cs_usage="\
18487 \`$as_me' instantiates files and other configuration actions
18488 from templates according to the current configuration. Unless the files
18489 and actions are specified as TAGs, all are instantiated by default.
18491 Usage: $0 [OPTION]... [TAG]...
18493 -h, --help print this help, then exit
18494 -V, --version print version number and configuration settings, then exit
18495 --config print configuration, then exit
18496 -q, --quiet, --silent
18497 do not print progress messages
18498 -d, --debug don't remove temporary files
18499 --recheck update $as_me by reconfiguring in the same conditions
18500 --file=FILE[:TEMPLATE]
18501 instantiate the configuration file FILE
18502 --header=FILE[:TEMPLATE]
18503 instantiate the configuration header FILE
18505 Configuration files:
18506 $config_files
18508 Configuration headers:
18509 $config_headers
18511 Configuration links:
18512 $config_links
18514 Configuration commands:
18515 $config_commands
18517 Report bugs to <wine-devel@winehq.org>.
18518 Wine home page: <http://www.winehq.org>."
18520 _ACEOF
18521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18522 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18523 ac_cs_version="\\
18524 Wine config.status 1.7.35
18525 configured by $0, generated by GNU Autoconf 2.69,
18526 with options \\"\$ac_cs_config\\"
18528 Copyright (C) 2012 Free Software Foundation, Inc.
18529 This config.status script is free software; the Free Software Foundation
18530 gives unlimited permission to copy, distribute and modify it."
18532 ac_pwd='$ac_pwd'
18533 srcdir='$srcdir'
18534 test -n "\$AWK" || AWK=awk
18535 _ACEOF
18537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18538 # The default lists apply if the user does not specify any file.
18539 ac_need_defaults=:
18540 while test $# != 0
18542 case $1 in
18543 --*=?*)
18544 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18545 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18546 ac_shift=:
18548 --*=)
18549 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18550 ac_optarg=
18551 ac_shift=:
18554 ac_option=$1
18555 ac_optarg=$2
18556 ac_shift=shift
18558 esac
18560 case $ac_option in
18561 # Handling of the options.
18562 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18563 ac_cs_recheck=: ;;
18564 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18565 $as_echo "$ac_cs_version"; exit ;;
18566 --config | --confi | --conf | --con | --co | --c )
18567 $as_echo "$ac_cs_config"; exit ;;
18568 --debug | --debu | --deb | --de | --d | -d )
18569 debug=: ;;
18570 --file | --fil | --fi | --f )
18571 $ac_shift
18572 case $ac_optarg in
18573 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18574 '') as_fn_error $? "missing file argument" ;;
18575 esac
18576 as_fn_append CONFIG_FILES " '$ac_optarg'"
18577 ac_need_defaults=false;;
18578 --header | --heade | --head | --hea )
18579 $ac_shift
18580 case $ac_optarg in
18581 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18582 esac
18583 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18584 ac_need_defaults=false;;
18585 --he | --h)
18586 # Conflict between --help and --header
18587 as_fn_error $? "ambiguous option: \`$1'
18588 Try \`$0 --help' for more information.";;
18589 --help | --hel | -h )
18590 $as_echo "$ac_cs_usage"; exit ;;
18591 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18592 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18593 ac_cs_silent=: ;;
18595 # This is an error.
18596 -*) as_fn_error $? "unrecognized option: \`$1'
18597 Try \`$0 --help' for more information." ;;
18599 *) as_fn_append ac_config_targets " $1"
18600 ac_need_defaults=false ;;
18602 esac
18603 shift
18604 done
18606 ac_configure_extra_args=
18608 if $ac_cs_silent; then
18609 exec 6>/dev/null
18610 ac_configure_extra_args="$ac_configure_extra_args --silent"
18613 _ACEOF
18614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18615 if \$ac_cs_recheck; then
18616 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18617 shift
18618 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18619 CONFIG_SHELL='$SHELL'
18620 export CONFIG_SHELL
18621 exec "\$@"
18624 _ACEOF
18625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18626 exec 5>>config.log
18628 echo
18629 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18630 ## Running $as_me. ##
18631 _ASBOX
18632 $as_echo "$ac_log"
18633 } >&5
18635 _ACEOF
18636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18638 # INIT-COMMANDS
18640 wine_fn_output_makedep ()
18642 as_dir=tools; as_fn_mkdir_p
18643 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18645 wine_fn_output_makefile ()
18647 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18648 `cat $wine_rules_file`
18649 _WINE_EOF
18650 as_fn_error $? "could not create Makefile" "$LINENO" 5
18652 wine_fn_output_gitignore ()
18654 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18655 $GITIGNORE
18656 _WINE_EOF
18657 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18660 _ACEOF
18662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18664 # Handling of arguments.
18665 for ac_config_target in $ac_config_targets
18667 case $ac_config_target in
18668 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18669 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18670 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18671 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18672 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18673 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18674 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18675 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18676 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18677 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18678 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18679 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18680 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18681 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18683 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18684 esac
18685 done
18688 # If the user did not use the arguments to specify the items to instantiate,
18689 # then the envvar interface is used. Set only those that are not.
18690 # We use the long form for the default assignment because of an extremely
18691 # bizarre bug on SunOS 4.1.3.
18692 if $ac_need_defaults; then
18693 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18694 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18695 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18696 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18699 # Have a temporary directory for convenience. Make it in the build tree
18700 # simply because there is no reason against having it here, and in addition,
18701 # creating and moving files from /tmp can sometimes cause problems.
18702 # Hook for its removal unless debugging.
18703 # Note that there is a small window in which the directory will not be cleaned:
18704 # after its creation but before its name has been assigned to `$tmp'.
18705 $debug ||
18707 tmp= ac_tmp=
18708 trap 'exit_status=$?
18709 : "${ac_tmp:=$tmp}"
18710 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18712 trap 'as_fn_exit 1' 1 2 13 15
18714 # Create a (secure) tmp directory for tmp files.
18717 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18718 test -d "$tmp"
18719 } ||
18721 tmp=./conf$$-$RANDOM
18722 (umask 077 && mkdir "$tmp")
18723 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18724 ac_tmp=$tmp
18726 # Set up the scripts for CONFIG_FILES section.
18727 # No need to generate them if there are no CONFIG_FILES.
18728 # This happens for instance with `./config.status config.h'.
18729 if test -n "$CONFIG_FILES"; then
18732 ac_cr=`echo X | tr X '\015'`
18733 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18734 # But we know of no other shell where ac_cr would be empty at this
18735 # point, so we can use a bashism as a fallback.
18736 if test "x$ac_cr" = x; then
18737 eval ac_cr=\$\'\\r\'
18739 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18740 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18741 ac_cs_awk_cr='\\r'
18742 else
18743 ac_cs_awk_cr=$ac_cr
18746 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18747 _ACEOF
18751 echo "cat >conf$$subs.awk <<_ACEOF" &&
18752 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18753 echo "_ACEOF"
18754 } >conf$$subs.sh ||
18755 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18756 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18757 ac_delim='%!_!# '
18758 for ac_last_try in false false false false false :; do
18759 . ./conf$$subs.sh ||
18760 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18762 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18763 if test $ac_delim_n = $ac_delim_num; then
18764 break
18765 elif $ac_last_try; then
18766 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18767 else
18768 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18770 done
18771 rm -f conf$$subs.sh
18773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18774 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18775 _ACEOF
18776 sed -n '
18778 s/^/S["/; s/!.*/"]=/
18781 s/^[^!]*!//
18782 :repl
18783 t repl
18784 s/'"$ac_delim"'$//
18785 t delim
18788 s/\(.\{148\}\)..*/\1/
18789 t more1
18790 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18793 b repl
18794 :more1
18795 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18798 s/.\{148\}//
18799 t nl
18800 :delim
18802 s/\(.\{148\}\)..*/\1/
18803 t more2
18804 s/["\\]/\\&/g; s/^/"/; s/$/"/
18807 :more2
18808 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18811 s/.\{148\}//
18812 t delim
18813 ' <conf$$subs.awk | sed '
18814 /^[^""]/{
18816 s/\n//
18818 ' >>$CONFIG_STATUS || ac_write_fail=1
18819 rm -f conf$$subs.awk
18820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18821 _ACAWK
18822 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18823 for (key in S) S_is_set[key] = 1
18824 FS = "\a"
18828 line = $ 0
18829 nfields = split(line, field, "@")
18830 substed = 0
18831 len = length(field[1])
18832 for (i = 2; i < nfields; i++) {
18833 key = field[i]
18834 keylen = length(key)
18835 if (S_is_set[key]) {
18836 value = S[key]
18837 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18838 len += length(value) + length(field[++i])
18839 substed = 1
18840 } else
18841 len += 1 + keylen
18844 print line
18847 _ACAWK
18848 _ACEOF
18849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18850 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18851 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18852 else
18854 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18855 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18856 _ACEOF
18858 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18859 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18860 # trailing colons and then remove the whole line if VPATH becomes empty
18861 # (actually we leave an empty line to preserve line numbers).
18862 if test "x$srcdir" = x.; then
18863 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18865 s///
18866 s/^/:/
18867 s/[ ]*$/:/
18868 s/:\$(srcdir):/:/g
18869 s/:\${srcdir}:/:/g
18870 s/:@srcdir@:/:/g
18871 s/^:*//
18872 s/:*$//
18874 s/\(=[ ]*\).*/\1/
18876 s/\n//
18877 s/^[^=]*=[ ]*$//
18881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18882 fi # test -n "$CONFIG_FILES"
18884 # Set up the scripts for CONFIG_HEADERS section.
18885 # No need to generate them if there are no CONFIG_HEADERS.
18886 # This happens for instance with `./config.status Makefile'.
18887 if test -n "$CONFIG_HEADERS"; then
18888 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18889 BEGIN {
18890 _ACEOF
18892 # Transform confdefs.h into an awk script `defines.awk', embedded as
18893 # here-document in config.status, that substitutes the proper values into
18894 # config.h.in to produce config.h.
18896 # Create a delimiter string that does not exist in confdefs.h, to ease
18897 # handling of long lines.
18898 ac_delim='%!_!# '
18899 for ac_last_try in false false :; do
18900 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18901 if test -z "$ac_tt"; then
18902 break
18903 elif $ac_last_try; then
18904 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18905 else
18906 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18908 done
18910 # For the awk script, D is an array of macro values keyed by name,
18911 # likewise P contains macro parameters if any. Preserve backslash
18912 # newline sequences.
18914 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18915 sed -n '
18916 s/.\{148\}/&'"$ac_delim"'/g
18917 t rset
18918 :rset
18919 s/^[ ]*#[ ]*define[ ][ ]*/ /
18920 t def
18922 :def
18923 s/\\$//
18924 t bsnl
18925 s/["\\]/\\&/g
18926 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18927 D["\1"]=" \3"/p
18928 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18930 :bsnl
18931 s/["\\]/\\&/g
18932 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18933 D["\1"]=" \3\\\\\\n"\\/p
18934 t cont
18935 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18936 t cont
18938 :cont
18940 s/.\{148\}/&'"$ac_delim"'/g
18941 t clear
18942 :clear
18943 s/\\$//
18944 t bsnlc
18945 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18947 :bsnlc
18948 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18949 b cont
18950 ' <confdefs.h | sed '
18951 s/'"$ac_delim"'/"\\\
18952 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18955 for (key in D) D_is_set[key] = 1
18956 FS = "\a"
18958 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18959 line = \$ 0
18960 split(line, arg, " ")
18961 if (arg[1] == "#") {
18962 defundef = arg[2]
18963 mac1 = arg[3]
18964 } else {
18965 defundef = substr(arg[1], 2)
18966 mac1 = arg[2]
18968 split(mac1, mac2, "(") #)
18969 macro = mac2[1]
18970 prefix = substr(line, 1, index(line, defundef) - 1)
18971 if (D_is_set[macro]) {
18972 # Preserve the white space surrounding the "#".
18973 print prefix "define", macro P[macro] D[macro]
18974 next
18975 } else {
18976 # Replace #undef with comments. This is necessary, for example,
18977 # in the case of _POSIX_SOURCE, which is predefined and required
18978 # on some systems where configure will not decide to define it.
18979 if (defundef == "undef") {
18980 print "/*", prefix defundef, macro, "*/"
18981 next
18985 { print }
18986 _ACAWK
18987 _ACEOF
18988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18989 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18990 fi # test -n "$CONFIG_HEADERS"
18993 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18994 shift
18995 for ac_tag
18997 case $ac_tag in
18998 :[FHLC]) ac_mode=$ac_tag; continue;;
18999 esac
19000 case $ac_mode$ac_tag in
19001 :[FHL]*:*);;
19002 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19003 :[FH]-) ac_tag=-:-;;
19004 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19005 esac
19006 ac_save_IFS=$IFS
19007 IFS=:
19008 set x $ac_tag
19009 IFS=$ac_save_IFS
19010 shift
19011 ac_file=$1
19012 shift
19014 case $ac_mode in
19015 :L) ac_source=$1;;
19016 :[FH])
19017 ac_file_inputs=
19018 for ac_f
19020 case $ac_f in
19021 -) ac_f="$ac_tmp/stdin";;
19022 *) # Look for the file first in the build tree, then in the source tree
19023 # (if the path is not absolute). The absolute path cannot be DOS-style,
19024 # because $ac_f cannot contain `:'.
19025 test -f "$ac_f" ||
19026 case $ac_f in
19027 [\\/$]*) false;;
19028 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19029 esac ||
19030 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19031 esac
19032 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19033 as_fn_append ac_file_inputs " '$ac_f'"
19034 done
19036 # Let's still pretend it is `configure' which instantiates (i.e., don't
19037 # use $as_me), people would be surprised to read:
19038 # /* config.h. Generated by config.status. */
19039 configure_input='Generated from '`
19040 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19041 `' by configure.'
19042 if test x"$ac_file" != x-; then
19043 configure_input="$ac_file. $configure_input"
19044 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19045 $as_echo "$as_me: creating $ac_file" >&6;}
19047 # Neutralize special characters interpreted by sed in replacement strings.
19048 case $configure_input in #(
19049 *\&* | *\|* | *\\* )
19050 ac_sed_conf_input=`$as_echo "$configure_input" |
19051 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19052 *) ac_sed_conf_input=$configure_input;;
19053 esac
19055 case $ac_tag in
19056 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19057 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19058 esac
19060 esac
19062 ac_dir=`$as_dirname -- "$ac_file" ||
19063 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19064 X"$ac_file" : 'X\(//\)[^/]' \| \
19065 X"$ac_file" : 'X\(//\)$' \| \
19066 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19067 $as_echo X"$ac_file" |
19068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19069 s//\1/
19072 /^X\(\/\/\)[^/].*/{
19073 s//\1/
19076 /^X\(\/\/\)$/{
19077 s//\1/
19080 /^X\(\/\).*/{
19081 s//\1/
19084 s/.*/./; q'`
19085 as_dir="$ac_dir"; as_fn_mkdir_p
19086 ac_builddir=.
19088 case "$ac_dir" in
19089 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19091 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19092 # A ".." for each directory in $ac_dir_suffix.
19093 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19094 case $ac_top_builddir_sub in
19095 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19096 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19097 esac ;;
19098 esac
19099 ac_abs_top_builddir=$ac_pwd
19100 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19101 # for backward compatibility:
19102 ac_top_builddir=$ac_top_build_prefix
19104 case $srcdir in
19105 .) # We are building in place.
19106 ac_srcdir=.
19107 ac_top_srcdir=$ac_top_builddir_sub
19108 ac_abs_top_srcdir=$ac_pwd ;;
19109 [\\/]* | ?:[\\/]* ) # Absolute name.
19110 ac_srcdir=$srcdir$ac_dir_suffix;
19111 ac_top_srcdir=$srcdir
19112 ac_abs_top_srcdir=$srcdir ;;
19113 *) # Relative name.
19114 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19115 ac_top_srcdir=$ac_top_build_prefix$srcdir
19116 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19117 esac
19118 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19121 case $ac_mode in
19124 # CONFIG_FILE
19127 _ACEOF
19129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19130 # If the template does not know about datarootdir, expand it.
19131 # FIXME: This hack should be removed a few years after 2.60.
19132 ac_datarootdir_hack=; ac_datarootdir_seen=
19133 ac_sed_dataroot='
19134 /datarootdir/ {
19138 /@datadir@/p
19139 /@docdir@/p
19140 /@infodir@/p
19141 /@localedir@/p
19142 /@mandir@/p'
19143 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19144 *datarootdir*) ac_datarootdir_seen=yes;;
19145 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19147 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19148 _ACEOF
19149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19150 ac_datarootdir_hack='
19151 s&@datadir@&$datadir&g
19152 s&@docdir@&$docdir&g
19153 s&@infodir@&$infodir&g
19154 s&@localedir@&$localedir&g
19155 s&@mandir@&$mandir&g
19156 s&\\\${datarootdir}&$datarootdir&g' ;;
19157 esac
19158 _ACEOF
19160 # Neutralize VPATH when `$srcdir' = `.'.
19161 # Shell code in configure.ac might set extrasub.
19162 # FIXME: do we really want to maintain this feature?
19163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19164 ac_sed_extra="$ac_vpsub
19165 $extrasub
19166 _ACEOF
19167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19169 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19170 s|@configure_input@|$ac_sed_conf_input|;t t
19171 s&@top_builddir@&$ac_top_builddir_sub&;t t
19172 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19173 s&@srcdir@&$ac_srcdir&;t t
19174 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19175 s&@top_srcdir@&$ac_top_srcdir&;t t
19176 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19177 s&@builddir@&$ac_builddir&;t t
19178 s&@abs_builddir@&$ac_abs_builddir&;t t
19179 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19180 $ac_datarootdir_hack
19182 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19183 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19185 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19186 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19187 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19188 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19190 which seems to be undefined. Please make sure it is defined" >&5
19191 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19192 which seems to be undefined. Please make sure it is defined" >&2;}
19194 rm -f "$ac_tmp/stdin"
19195 case $ac_file in
19196 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19197 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19198 esac \
19199 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19203 # CONFIG_HEADER
19205 if test x"$ac_file" != x-; then
19207 $as_echo "/* $configure_input */" \
19208 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19209 } >"$ac_tmp/config.h" \
19210 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19211 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19213 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19214 else
19215 rm -f "$ac_file"
19216 mv "$ac_tmp/config.h" "$ac_file" \
19217 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19219 else
19220 $as_echo "/* $configure_input */" \
19221 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19222 || as_fn_error $? "could not create -" "$LINENO" 5
19227 # CONFIG_LINK
19230 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19232 else
19233 # Prefer the file from the source tree if names are identical.
19234 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19235 ac_source=$srcdir/$ac_source
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19239 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19241 if test ! -r "$ac_source"; then
19242 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19244 rm -f "$ac_file"
19246 # Try a relative symlink, then a hard link, then a copy.
19247 case $ac_source in
19248 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19249 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19250 esac
19251 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19252 ln "$ac_source" "$ac_file" 2>/dev/null ||
19253 cp -p "$ac_source" "$ac_file" ||
19254 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19257 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19258 $as_echo "$as_me: executing $ac_file commands" >&6;}
19260 esac
19263 case $ac_file$ac_mode in
19264 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19265 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19266 "Makefile":C) wine_fn_output_makefile Makefile ;;
19267 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19269 esac
19270 done # for ac_tag
19273 as_fn_exit 0
19274 _ACEOF
19275 ac_clean_files=$ac_clean_files_save
19277 test $ac_write_fail = 0 ||
19278 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19281 # configure is writing to config.log, and then calls config.status.
19282 # config.status does its own redirection, appending to config.log.
19283 # Unfortunately, on DOS this fails, as config.log is still kept open
19284 # by configure, so config.status won't be able to write to it; its
19285 # output is simply discarded. So we exec the FD to /dev/null,
19286 # effectively closing config.log, so it can be properly (re)opened and
19287 # appended to by config.status. When coming back to configure, we
19288 # need to make the FD available again.
19289 if test "$no_create" != yes; then
19290 ac_cs_success=:
19291 ac_config_status_args=
19292 test "$silent" = yes &&
19293 ac_config_status_args="$ac_config_status_args --quiet"
19294 exec 5>/dev/null
19295 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19296 exec 5>>config.log
19297 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19298 # would make configure fail if this is the last instruction.
19299 $ac_cs_success || as_fn_exit 1
19301 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19303 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19307 if test "$no_create" = "yes"
19308 then
19309 exit 0
19312 ac_save_IFS="$IFS"
19313 if test "x$wine_notices != "x; then
19314 echo >&6
19315 IFS="|"
19316 for msg in $wine_notices; do
19317 IFS="$ac_save_IFS"
19318 if ${msg:+false} :; then :
19320 else
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19322 $as_echo "$as_me: $msg" >&6;}
19324 done
19326 IFS="|"
19327 for msg in $wine_warnings; do
19328 IFS="$ac_save_IFS"
19329 if ${msg:+false} :; then :
19331 else
19332 echo >&2
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19334 $as_echo "$as_me: WARNING: $msg" >&2;}
19336 done
19337 IFS="$ac_save_IFS"
19339 $as_echo "
19340 $as_me: Finished. Do '${ac_make}' to compile Wine.
19341 " >&6