winemac: Add support for delay-rendered (a.k.a. promised) clipboard data.
[wine.git] / configure
blob17cc6875f236beee921b9e8c3fe0dfe4786f01af
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.25.
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.5.25'
584 PACKAGE_STRING='Wine 1.5.25'
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 PORCFLAGS
628 LINGUAS
629 ALL_TEST_RESOURCES
630 LDAPLIBS
631 LIBRT
632 LIBPOLL
633 LIBDL
634 EXTRA_BINARIES
635 MAIN_BINARY
636 SOCKETLIBS
637 CRTLIBS
638 TOOLSEXT
639 LDPATH
640 UNWINDFLAGS
641 BUILTINFLAG
642 EXTRACFLAGS
643 LIBKSTAT
644 LIBOPENAL
645 LIBMPG123
646 PNGINCL
647 FONTCONFIGINCL
648 CUPSINCL
649 OSS4INCL
650 ALSALIBS
651 GSTREAMER_INCL
652 GSTREAMER_LIBS
653 LIBGETTEXTPO
654 ZLIB
655 FREETYPEINCL
656 FREETYPELIBS
657 ft_devel
658 LCMSLIBS
659 RESOLVLIBS
660 GPHOTO2INCL
661 GPHOTO2LIBS
662 gphoto2port_devel
663 gphoto2_devel
664 SANEINCL
665 sane_devel
666 GNUTLSINCL
667 HALINCL
668 DBUSINCL
669 XSLTINCL
670 XML2INCL
671 XML2LIBS
672 X_EXTRA_LIBS
673 X_LIBS
674 X_PRE_LIBS
675 X_CFLAGS
676 XMKMF
677 LIBPTHREAD
678 CROSSTARGET
679 CROSSCC
680 CROSSTEST_DISABLE
681 PRELINK
682 CARBONLIB
683 QUICKTIMELIB
684 LIBOPENCL
685 FRAMEWORK_OPENAL
686 COREAUDIO
687 SECURITYLIB
688 DISKARBITRATIONLIB
689 LDEXECFLAGS
690 CORESERVICESLIB
691 APPLICATIONSERVICESLIB
692 IOKITLIB
693 COREFOUNDATIONLIB
694 DLLWRAP
695 DLLTOOL
696 ac_ct_READELF
697 READELF
699 LDRPATH_LOCAL
700 LDRPATH_INSTALL
701 IMPLIBEXT
702 LIBEXT
703 LDDLLFLAGS
704 LDSHARED
705 DLLFLAGS
706 DLLEXT
708 OPENGL_LIBS
709 XLIB
710 MAINTAINER_MODE
711 MSGFMT
712 ICOTOOL
713 CONVERT
714 RSVG
715 PKG_CONFIG
716 FONTFORGE
717 LINTFLAGS
718 LINT
719 INSTALL_DATA
720 INSTALL_SCRIPT
721 INSTALL_PROGRAM
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 ac_ct_AR
730 BISON
731 FLEX
732 TOOLSDIR
733 WOW64_DISABLE
734 TARGETFLAGS
735 CPPBIN
736 ac_ct_CXX
737 CXXFLAGS
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
746 SET_MAKE
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files='MAKE_RULES
794 MAKE_TEST_RULES
795 MAKE_DLL_RULES
796 MAKE_IMPLIB_RULES
797 MAKE_PROG_RULES'
798 ac_user_opts='
799 enable_option_checking
800 enable_win16
801 enable_win64
802 enable_tests
803 enable_maintainer_mode
804 with_alsa
805 with_capi
806 with_cms
807 with_coreaudio
808 with_cups
809 with_curses
810 with_dbus
811 with_fontconfig
812 with_freetype
813 with_gettext
814 with_gettextpo
815 with_gphoto
816 with_glu
817 with_gnutls
818 with_gsm
819 with_gstreamer
820 with_hal
821 with_jpeg
822 with_ldap
823 with_mpg123
824 with_openal
825 with_opencl
826 with_opengl
827 with_openssl
828 with_osmesa
829 with_oss
830 with_png
831 with_pthread
832 with_sane
833 with_tiff
834 with_v4l
835 with_xcomposite
836 with_xcursor
837 with_xinerama
838 with_xinput
839 with_xinput2
840 with_xml
841 with_xrandr
842 with_xrender
843 with_xshape
844 with_xshm
845 with_xslt
846 with_xxf86vm
847 with_zlib
848 with_wine_tools
849 with_wine64
850 enable_largefile
851 with_x
853 ac_precious_vars='build_alias
854 host_alias
855 target_alias
857 CFLAGS
858 LDFLAGS
859 LIBS
860 CPPFLAGS
862 CXXFLAGS
865 XMKMF'
868 # Initialize some variables set by options.
869 ac_init_help=
870 ac_init_version=false
871 ac_unrecognized_opts=
872 ac_unrecognized_sep=
873 # The variables have the same names as the options, with
874 # dashes changed to underlines.
875 cache_file=/dev/null
876 exec_prefix=NONE
877 no_create=
878 no_recursion=
879 prefix=NONE
880 program_prefix=NONE
881 program_suffix=NONE
882 program_transform_name=s,x,x,
883 silent=
884 site=
885 srcdir=
886 verbose=
887 x_includes=NONE
888 x_libraries=NONE
890 # Installation directory options.
891 # These are left unexpanded so users can "make install exec_prefix=/foo"
892 # and all the variables that are supposed to be based on exec_prefix
893 # by default will actually change.
894 # Use braces instead of parens because sh, perl, etc. also accept them.
895 # (The list follows the same order as the GNU Coding Standards.)
896 bindir='${exec_prefix}/bin'
897 sbindir='${exec_prefix}/sbin'
898 libexecdir='${exec_prefix}/libexec'
899 datarootdir='${prefix}/share'
900 datadir='${datarootdir}'
901 sysconfdir='${prefix}/etc'
902 sharedstatedir='${prefix}/com'
903 localstatedir='${prefix}/var'
904 includedir='${prefix}/include'
905 oldincludedir='/usr/include'
906 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
907 infodir='${datarootdir}/info'
908 htmldir='${docdir}'
909 dvidir='${docdir}'
910 pdfdir='${docdir}'
911 psdir='${docdir}'
912 libdir='${exec_prefix}/lib'
913 localedir='${datarootdir}/locale'
914 mandir='${datarootdir}/man'
916 ac_prev=
917 ac_dashdash=
918 for ac_option
920 # If the previous option needs an argument, assign it.
921 if test -n "$ac_prev"; then
922 eval $ac_prev=\$ac_option
923 ac_prev=
924 continue
927 case $ac_option in
928 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
929 *=) ac_optarg= ;;
930 *) ac_optarg=yes ;;
931 esac
933 # Accept the important Cygnus configure options, so we can diagnose typos.
935 case $ac_dashdash$ac_option in
937 ac_dashdash=yes ;;
939 -bindir | --bindir | --bindi | --bind | --bin | --bi)
940 ac_prev=bindir ;;
941 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
942 bindir=$ac_optarg ;;
944 -build | --build | --buil | --bui | --bu)
945 ac_prev=build_alias ;;
946 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
947 build_alias=$ac_optarg ;;
949 -cache-file | --cache-file | --cache-fil | --cache-fi \
950 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
951 ac_prev=cache_file ;;
952 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
953 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
954 cache_file=$ac_optarg ;;
956 --config-cache | -C)
957 cache_file=config.cache ;;
959 -datadir | --datadir | --datadi | --datad)
960 ac_prev=datadir ;;
961 -datadir=* | --datadir=* | --datadi=* | --datad=*)
962 datadir=$ac_optarg ;;
964 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
965 | --dataroo | --dataro | --datar)
966 ac_prev=datarootdir ;;
967 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
968 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
969 datarootdir=$ac_optarg ;;
971 -disable-* | --disable-*)
972 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975 as_fn_error $? "invalid feature name: $ac_useropt"
976 ac_useropt_orig=$ac_useropt
977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
980 "enable_$ac_useropt"
981 "*) ;;
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
983 ac_unrecognized_sep=', ';;
984 esac
985 eval enable_$ac_useropt=no ;;
987 -docdir | --docdir | --docdi | --doc | --do)
988 ac_prev=docdir ;;
989 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
990 docdir=$ac_optarg ;;
992 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
993 ac_prev=dvidir ;;
994 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
995 dvidir=$ac_optarg ;;
997 -enable-* | --enable-*)
998 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1001 as_fn_error $? "invalid feature name: $ac_useropt"
1002 ac_useropt_orig=$ac_useropt
1003 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004 case $ac_user_opts in
1006 "enable_$ac_useropt"
1007 "*) ;;
1008 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1009 ac_unrecognized_sep=', ';;
1010 esac
1011 eval enable_$ac_useropt=\$ac_optarg ;;
1013 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1014 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1015 | --exec | --exe | --ex)
1016 ac_prev=exec_prefix ;;
1017 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1018 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1019 | --exec=* | --exe=* | --ex=*)
1020 exec_prefix=$ac_optarg ;;
1022 -gas | --gas | --ga | --g)
1023 # Obsolete; use --with-gas.
1024 with_gas=yes ;;
1026 -help | --help | --hel | --he | -h)
1027 ac_init_help=long ;;
1028 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1029 ac_init_help=recursive ;;
1030 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1031 ac_init_help=short ;;
1033 -host | --host | --hos | --ho)
1034 ac_prev=host_alias ;;
1035 -host=* | --host=* | --hos=* | --ho=*)
1036 host_alias=$ac_optarg ;;
1038 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1039 ac_prev=htmldir ;;
1040 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1041 | --ht=*)
1042 htmldir=$ac_optarg ;;
1044 -includedir | --includedir | --includedi | --included | --include \
1045 | --includ | --inclu | --incl | --inc)
1046 ac_prev=includedir ;;
1047 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1048 | --includ=* | --inclu=* | --incl=* | --inc=*)
1049 includedir=$ac_optarg ;;
1051 -infodir | --infodir | --infodi | --infod | --info | --inf)
1052 ac_prev=infodir ;;
1053 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1054 infodir=$ac_optarg ;;
1056 -libdir | --libdir | --libdi | --libd)
1057 ac_prev=libdir ;;
1058 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1059 libdir=$ac_optarg ;;
1061 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1062 | --libexe | --libex | --libe)
1063 ac_prev=libexecdir ;;
1064 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1065 | --libexe=* | --libex=* | --libe=*)
1066 libexecdir=$ac_optarg ;;
1068 -localedir | --localedir | --localedi | --localed | --locale)
1069 ac_prev=localedir ;;
1070 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1071 localedir=$ac_optarg ;;
1073 -localstatedir | --localstatedir | --localstatedi | --localstated \
1074 | --localstate | --localstat | --localsta | --localst | --locals)
1075 ac_prev=localstatedir ;;
1076 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1077 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1078 localstatedir=$ac_optarg ;;
1080 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1081 ac_prev=mandir ;;
1082 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1083 mandir=$ac_optarg ;;
1085 -nfp | --nfp | --nf)
1086 # Obsolete; use --without-fp.
1087 with_fp=no ;;
1089 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1090 | --no-cr | --no-c | -n)
1091 no_create=yes ;;
1093 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1094 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1095 no_recursion=yes ;;
1097 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1098 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1099 | --oldin | --oldi | --old | --ol | --o)
1100 ac_prev=oldincludedir ;;
1101 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1102 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1103 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1104 oldincludedir=$ac_optarg ;;
1106 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1107 ac_prev=prefix ;;
1108 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1109 prefix=$ac_optarg ;;
1111 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1112 | --program-pre | --program-pr | --program-p)
1113 ac_prev=program_prefix ;;
1114 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1115 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1116 program_prefix=$ac_optarg ;;
1118 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1119 | --program-suf | --program-su | --program-s)
1120 ac_prev=program_suffix ;;
1121 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1122 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1123 program_suffix=$ac_optarg ;;
1125 -program-transform-name | --program-transform-name \
1126 | --program-transform-nam | --program-transform-na \
1127 | --program-transform-n | --program-transform- \
1128 | --program-transform | --program-transfor \
1129 | --program-transfo | --program-transf \
1130 | --program-trans | --program-tran \
1131 | --progr-tra | --program-tr | --program-t)
1132 ac_prev=program_transform_name ;;
1133 -program-transform-name=* | --program-transform-name=* \
1134 | --program-transform-nam=* | --program-transform-na=* \
1135 | --program-transform-n=* | --program-transform-=* \
1136 | --program-transform=* | --program-transfor=* \
1137 | --program-transfo=* | --program-transf=* \
1138 | --program-trans=* | --program-tran=* \
1139 | --progr-tra=* | --program-tr=* | --program-t=*)
1140 program_transform_name=$ac_optarg ;;
1142 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1143 ac_prev=pdfdir ;;
1144 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1145 pdfdir=$ac_optarg ;;
1147 -psdir | --psdir | --psdi | --psd | --ps)
1148 ac_prev=psdir ;;
1149 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1150 psdir=$ac_optarg ;;
1152 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1153 | -silent | --silent | --silen | --sile | --sil)
1154 silent=yes ;;
1156 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1157 ac_prev=sbindir ;;
1158 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1159 | --sbi=* | --sb=*)
1160 sbindir=$ac_optarg ;;
1162 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1163 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1164 | --sharedst | --shareds | --shared | --share | --shar \
1165 | --sha | --sh)
1166 ac_prev=sharedstatedir ;;
1167 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1168 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1169 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1170 | --sha=* | --sh=*)
1171 sharedstatedir=$ac_optarg ;;
1173 -site | --site | --sit)
1174 ac_prev=site ;;
1175 -site=* | --site=* | --sit=*)
1176 site=$ac_optarg ;;
1178 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1179 ac_prev=srcdir ;;
1180 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1181 srcdir=$ac_optarg ;;
1183 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1184 | --syscon | --sysco | --sysc | --sys | --sy)
1185 ac_prev=sysconfdir ;;
1186 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1187 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1188 sysconfdir=$ac_optarg ;;
1190 -target | --target | --targe | --targ | --tar | --ta | --t)
1191 ac_prev=target_alias ;;
1192 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1193 target_alias=$ac_optarg ;;
1195 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1196 verbose=yes ;;
1198 -version | --version | --versio | --versi | --vers | -V)
1199 ac_init_version=: ;;
1201 -with-* | --with-*)
1202 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1203 # Reject names that are not valid shell variable names.
1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1205 as_fn_error $? "invalid package name: $ac_useropt"
1206 ac_useropt_orig=$ac_useropt
1207 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208 case $ac_user_opts in
1210 "with_$ac_useropt"
1211 "*) ;;
1212 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1213 ac_unrecognized_sep=', ';;
1214 esac
1215 eval with_$ac_useropt=\$ac_optarg ;;
1217 -without-* | --without-*)
1218 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1219 # Reject names that are not valid shell variable names.
1220 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1221 as_fn_error $? "invalid package name: $ac_useropt"
1222 ac_useropt_orig=$ac_useropt
1223 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1224 case $ac_user_opts in
1226 "with_$ac_useropt"
1227 "*) ;;
1228 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1229 ac_unrecognized_sep=', ';;
1230 esac
1231 eval with_$ac_useropt=no ;;
1233 --x)
1234 # Obsolete; use --with-x.
1235 with_x=yes ;;
1237 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1238 | --x-incl | --x-inc | --x-in | --x-i)
1239 ac_prev=x_includes ;;
1240 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1241 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1242 x_includes=$ac_optarg ;;
1244 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1245 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1246 ac_prev=x_libraries ;;
1247 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1248 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1249 x_libraries=$ac_optarg ;;
1251 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1252 Try \`$0 --help' for more information"
1255 *=*)
1256 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1257 # Reject names that are not valid shell variable names.
1258 case $ac_envvar in #(
1259 '' | [0-9]* | *[!_$as_cr_alnum]* )
1260 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1261 esac
1262 eval $ac_envvar=\$ac_optarg
1263 export $ac_envvar ;;
1266 # FIXME: should be removed in autoconf 3.0.
1267 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1268 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1269 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1270 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1273 esac
1274 done
1276 if test -n "$ac_prev"; then
1277 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1278 as_fn_error $? "missing argument to $ac_option"
1281 if test -n "$ac_unrecognized_opts"; then
1282 case $enable_option_checking in
1283 no) ;;
1284 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1285 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1286 esac
1289 # Check all directory arguments for consistency.
1290 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1291 datadir sysconfdir sharedstatedir localstatedir includedir \
1292 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1293 libdir localedir mandir
1295 eval ac_val=\$$ac_var
1296 # Remove trailing slashes.
1297 case $ac_val in
1298 */ )
1299 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1300 eval $ac_var=\$ac_val;;
1301 esac
1302 # Be sure to have absolute directory names.
1303 case $ac_val in
1304 [\\/$]* | ?:[\\/]* ) continue;;
1305 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1306 esac
1307 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1308 done
1310 # There might be people who depend on the old broken behavior: `$host'
1311 # used to hold the argument of --host etc.
1312 # FIXME: To remove some day.
1313 build=$build_alias
1314 host=$host_alias
1315 target=$target_alias
1317 # FIXME: To remove some day.
1318 if test "x$host_alias" != x; then
1319 if test "x$build_alias" = x; then
1320 cross_compiling=maybe
1321 elif test "x$build_alias" != "x$host_alias"; then
1322 cross_compiling=yes
1326 ac_tool_prefix=
1327 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1329 test "$silent" = yes && exec 6>/dev/null
1332 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1333 ac_ls_di=`ls -di .` &&
1334 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1335 as_fn_error $? "working directory cannot be determined"
1336 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1337 as_fn_error $? "pwd does not report name of working directory"
1340 # Find the source files, if location was not specified.
1341 if test -z "$srcdir"; then
1342 ac_srcdir_defaulted=yes
1343 # Try the directory containing this script, then the parent directory.
1344 ac_confdir=`$as_dirname -- "$as_myself" ||
1345 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1346 X"$as_myself" : 'X\(//\)[^/]' \| \
1347 X"$as_myself" : 'X\(//\)$' \| \
1348 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1349 $as_echo X"$as_myself" |
1350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1351 s//\1/
1354 /^X\(\/\/\)[^/].*/{
1355 s//\1/
1358 /^X\(\/\/\)$/{
1359 s//\1/
1362 /^X\(\/\).*/{
1363 s//\1/
1366 s/.*/./; q'`
1367 srcdir=$ac_confdir
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1369 srcdir=..
1371 else
1372 ac_srcdir_defaulted=no
1374 if test ! -r "$srcdir/$ac_unique_file"; then
1375 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1376 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1378 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1379 ac_abs_confdir=`(
1380 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1381 pwd)`
1382 # When building in place, set srcdir=.
1383 if test "$ac_abs_confdir" = "$ac_pwd"; then
1384 srcdir=.
1386 # Remove unnecessary trailing slashes from srcdir.
1387 # Double slashes in file names in object file debugging info
1388 # mess up M-x gdb in Emacs.
1389 case $srcdir in
1390 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1391 esac
1392 for ac_var in $ac_precious_vars; do
1393 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1394 eval ac_env_${ac_var}_value=\$${ac_var}
1395 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1396 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1397 done
1400 # Report the --help message.
1402 if test "$ac_init_help" = "long"; then
1403 # Omit some internal or obsolete options to make the list less imposing.
1404 # This message is too long to be a string in the A/UX 3.1 sh.
1405 cat <<_ACEOF
1406 \`configure' configures Wine 1.5.25 to adapt to many kinds of systems.
1408 Usage: $0 [OPTION]... [VAR=VALUE]...
1410 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1411 VAR=VALUE. See below for descriptions of some of the useful variables.
1413 Defaults for the options are specified in brackets.
1415 Configuration:
1416 -h, --help display this help and exit
1417 --help=short display options specific to this package
1418 --help=recursive display the short help of all the included packages
1419 -V, --version display version information and exit
1420 -q, --quiet, --silent do not print \`checking ...' messages
1421 --cache-file=FILE cache test results in FILE [disabled]
1422 -C, --config-cache alias for \`--cache-file=config.cache'
1423 -n, --no-create do not create output files
1424 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1426 Installation directories:
1427 --prefix=PREFIX install architecture-independent files in PREFIX
1428 [$ac_default_prefix]
1429 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1430 [PREFIX]
1432 By default, \`make install' will install all the files in
1433 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1434 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1435 for instance \`--prefix=\$HOME'.
1437 For better control, use the options below.
1439 Fine tuning of the installation directories:
1440 --bindir=DIR user executables [EPREFIX/bin]
1441 --sbindir=DIR system admin executables [EPREFIX/sbin]
1442 --libexecdir=DIR program executables [EPREFIX/libexec]
1443 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1444 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1445 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1446 --libdir=DIR object code libraries [EPREFIX/lib]
1447 --includedir=DIR C header files [PREFIX/include]
1448 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1449 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1450 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1451 --infodir=DIR info documentation [DATAROOTDIR/info]
1452 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1453 --mandir=DIR man documentation [DATAROOTDIR/man]
1454 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1455 --htmldir=DIR html documentation [DOCDIR]
1456 --dvidir=DIR dvi documentation [DOCDIR]
1457 --pdfdir=DIR pdf documentation [DOCDIR]
1458 --psdir=DIR ps documentation [DOCDIR]
1459 _ACEOF
1461 cat <<\_ACEOF
1463 X features:
1464 --x-includes=DIR X include files are in DIR
1465 --x-libraries=DIR X library files are in DIR
1467 System types:
1468 --build=BUILD configure for building on BUILD [guessed]
1469 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1470 _ACEOF
1473 if test -n "$ac_init_help"; then
1474 case $ac_init_help in
1475 short | recursive ) echo "Configuration of Wine 1.5.25:";;
1476 esac
1477 cat <<\_ACEOF
1479 Optional Features:
1480 --disable-option-checking ignore unrecognized --enable/--with options
1481 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1482 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1483 --disable-win16 do not include Win16 support
1484 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1485 binaries)
1486 --disable-tests do not build the regression tests
1487 --enable-maintainer-mode
1488 enable maintainer-specific build rules
1489 --disable-largefile omit support for large files
1491 Optional Packages:
1492 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1493 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1494 --without-alsa do not use the Alsa sound support
1495 --without-capi do not use CAPI (ISDN support)
1496 --without-cms do not use CMS (color management support)
1497 --without-coreaudio do not use the CoreAudio sound support
1498 --without-cups do not use CUPS
1499 --without-curses do not use (n)curses
1500 --without-dbus do not use DBus (dynamic device support)
1501 --without-fontconfig do not use fontconfig
1502 --without-freetype do not use the FreeType library
1503 --without-gettext do not use gettext
1504 --with-gettextpo use the GetTextPO library to rebuild po files
1505 --without-gphoto do not use gphoto (Digital Camera support)
1506 --without-glu do not use the GLU library
1507 --without-gnutls do not use GnuTLS (schannel support)
1508 --without-gsm do not use libgsm (GSM 06.10 codec support)
1509 --without-gstreamer do not use GStreamer (codecs support)
1510 --without-hal do not use HAL (dynamic device support)
1511 --without-jpeg do not use JPEG
1512 --without-ldap do not use LDAP
1513 --without-mpg123 do not use the mpg123 library
1514 --without-openal do not use OpenAL
1515 --without-opencl do not use OpenCL
1516 --without-opengl do not use OpenGL
1517 --without-openssl do not use OpenSSL
1518 --without-osmesa do not use the OSMesa library
1519 --without-oss do not use the OSS sound support
1520 --without-png do not use PNG
1521 --without-pthread do not use the pthread library
1522 --without-sane do not use SANE (scanner support)
1523 --without-tiff do not use TIFF
1524 --without-v4l do not use v4l1 (v4l support)
1525 --without-xcomposite do not use the Xcomposite extension
1526 --without-xcursor do not use the Xcursor extension
1527 --without-xinerama do not use Xinerama (multi-monitor support)
1528 --without-xinput do not use the Xinput extension
1529 --without-xinput2 do not use the Xinput 2 extension
1530 --without-xml do not use XML
1531 --without-xrandr do not use Xrandr (resolution changes)
1532 --without-xrender do not use the Xrender extension
1533 --without-xshape do not use the Xshape extension
1534 --without-xshm do not use XShm (shared memory extension)
1535 --without-xslt do not use XSLT
1536 --without-xxf86vm do not use XFree video mode extension
1537 --without-zlib do not use Zlib (data compression)
1538 --with-wine-tools=DIR use Wine tools from directory DIR
1539 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1540 --with-x use the X Window System
1542 Some influential environment variables:
1543 CC C compiler command
1544 CFLAGS C compiler flags
1545 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1546 nonstandard directory <lib dir>
1547 LIBS libraries to pass to the linker, e.g. -l<library>
1548 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1549 you have headers in a nonstandard directory <include dir>
1550 CXX C++ compiler command
1551 CXXFLAGS C++ compiler flags
1552 CPP C preprocessor
1553 XMKMF Path to xmkmf, Makefile generator for X Window System
1555 Use these variables to override the choices made by `configure' or to help
1556 it to find libraries and programs with nonstandard names/locations.
1558 Report bugs to <wine-devel@winehq.org>.
1559 Wine home page: <http://www.winehq.org>.
1560 _ACEOF
1561 ac_status=$?
1564 if test "$ac_init_help" = "recursive"; then
1565 # If there are subdirs, report their specific --help.
1566 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1567 test -d "$ac_dir" ||
1568 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1569 continue
1570 ac_builddir=.
1572 case "$ac_dir" in
1573 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1576 # A ".." for each directory in $ac_dir_suffix.
1577 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1578 case $ac_top_builddir_sub in
1579 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1580 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1581 esac ;;
1582 esac
1583 ac_abs_top_builddir=$ac_pwd
1584 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1585 # for backward compatibility:
1586 ac_top_builddir=$ac_top_build_prefix
1588 case $srcdir in
1589 .) # We are building in place.
1590 ac_srcdir=.
1591 ac_top_srcdir=$ac_top_builddir_sub
1592 ac_abs_top_srcdir=$ac_pwd ;;
1593 [\\/]* | ?:[\\/]* ) # Absolute name.
1594 ac_srcdir=$srcdir$ac_dir_suffix;
1595 ac_top_srcdir=$srcdir
1596 ac_abs_top_srcdir=$srcdir ;;
1597 *) # Relative name.
1598 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1599 ac_top_srcdir=$ac_top_build_prefix$srcdir
1600 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1601 esac
1602 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1604 cd "$ac_dir" || { ac_status=$?; continue; }
1605 # Check for guested configure.
1606 if test -f "$ac_srcdir/configure.gnu"; then
1607 echo &&
1608 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1609 elif test -f "$ac_srcdir/configure"; then
1610 echo &&
1611 $SHELL "$ac_srcdir/configure" --help=recursive
1612 else
1613 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1614 fi || ac_status=$?
1615 cd "$ac_pwd" || { ac_status=$?; break; }
1616 done
1619 test -n "$ac_init_help" && exit $ac_status
1620 if $ac_init_version; then
1621 cat <<\_ACEOF
1622 Wine configure 1.5.25
1623 generated by GNU Autoconf 2.69
1625 Copyright (C) 2012 Free Software Foundation, Inc.
1626 This configure script is free software; the Free Software Foundation
1627 gives unlimited permission to copy, distribute and modify it.
1628 _ACEOF
1629 exit
1632 ## ------------------------ ##
1633 ## Autoconf initialization. ##
1634 ## ------------------------ ##
1636 # ac_fn_c_try_compile LINENO
1637 # --------------------------
1638 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1639 ac_fn_c_try_compile ()
1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642 rm -f conftest.$ac_objext
1643 if { { ac_try="$ac_compile"
1644 case "(($ac_try" in
1645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1646 *) ac_try_echo=$ac_try;;
1647 esac
1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1649 $as_echo "$ac_try_echo"; } >&5
1650 (eval "$ac_compile") 2>conftest.err
1651 ac_status=$?
1652 if test -s conftest.err; then
1653 grep -v '^ *+' conftest.err >conftest.er1
1654 cat conftest.er1 >&5
1655 mv -f conftest.er1 conftest.err
1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658 test $ac_status = 0; } && {
1659 test -z "$ac_c_werror_flag" ||
1660 test ! -s conftest.err
1661 } && test -s conftest.$ac_objext; then :
1662 ac_retval=0
1663 else
1664 $as_echo "$as_me: failed program was:" >&5
1665 sed 's/^/| /' conftest.$ac_ext >&5
1667 ac_retval=1
1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 as_fn_set_status $ac_retval
1672 } # ac_fn_c_try_compile
1674 # ac_fn_cxx_try_compile LINENO
1675 # ----------------------------
1676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_cxx_try_compile ()
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 rm -f conftest.$ac_objext
1681 if { { ac_try="$ac_compile"
1682 case "(($ac_try" in
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1685 esac
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_compile") 2>conftest.err
1689 ac_status=$?
1690 if test -s conftest.err; then
1691 grep -v '^ *+' conftest.err >conftest.er1
1692 cat conftest.er1 >&5
1693 mv -f conftest.er1 conftest.err
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && {
1697 test -z "$ac_cxx_werror_flag" ||
1698 test ! -s conftest.err
1699 } && test -s conftest.$ac_objext; then :
1700 ac_retval=0
1701 else
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1705 ac_retval=1
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708 as_fn_set_status $ac_retval
1710 } # ac_fn_cxx_try_compile
1712 # ac_fn_c_try_link LINENO
1713 # -----------------------
1714 # Try to link conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_link ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext conftest$ac_exeext
1719 if { { ac_try="$ac_link"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_link") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest$ac_exeext && {
1738 test "$cross_compiling" = yes ||
1739 test -x conftest$ac_exeext
1740 }; then :
1741 ac_retval=0
1742 else
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1746 ac_retval=1
1748 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1749 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1750 # interfere with the next link command; also delete a directory that is
1751 # left behind by Apple's compiler. We do this before executing the actions.
1752 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1756 } # ac_fn_c_try_link
1758 # ac_fn_c_try_cpp LINENO
1759 # ----------------------
1760 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1761 ac_fn_c_try_cpp ()
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 if { { ac_try="$ac_cpp conftest.$ac_ext"
1765 case "(($ac_try" in
1766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1768 esac
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1772 ac_status=$?
1773 if test -s conftest.err; then
1774 grep -v '^ *+' conftest.err >conftest.er1
1775 cat conftest.er1 >&5
1776 mv -f conftest.er1 conftest.err
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } > conftest.i && {
1780 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1781 test ! -s conftest.err
1782 }; then :
1783 ac_retval=0
1784 else
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1788 ac_retval=1
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status $ac_retval
1793 } # ac_fn_c_try_cpp
1795 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1796 # -------------------------------------------------------
1797 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1798 # the include files in INCLUDES and setting the cache variable VAR
1799 # accordingly.
1800 ac_fn_c_check_header_mongrel ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 if eval \${$3+:} false; then :
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1809 eval ac_res=\$$3
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 else
1813 # Is the header compilable?
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1815 $as_echo_n "checking $2 usability... " >&6; }
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1819 #include <$2>
1820 _ACEOF
1821 if ac_fn_c_try_compile "$LINENO"; then :
1822 ac_header_compiler=yes
1823 else
1824 ac_header_compiler=no
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1828 $as_echo "$ac_header_compiler" >&6; }
1830 # Is the header present?
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1832 $as_echo_n "checking $2 presence... " >&6; }
1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1835 #include <$2>
1836 _ACEOF
1837 if ac_fn_c_try_cpp "$LINENO"; then :
1838 ac_header_preproc=yes
1839 else
1840 ac_header_preproc=no
1842 rm -f conftest.err conftest.i conftest.$ac_ext
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1844 $as_echo "$ac_header_preproc" >&6; }
1846 # So? What about this header?
1847 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1848 yes:no: )
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1850 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1852 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1854 no:yes:* )
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1856 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1858 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1860 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1862 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1864 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1865 ( $as_echo "## ------------------------------------ ##
1866 ## Report this to wine-devel@winehq.org ##
1867 ## ------------------------------------ ##"
1868 ) | sed "s/^/$as_me: WARNING: /" >&2
1870 esac
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1872 $as_echo_n "checking for $2... " >&6; }
1873 if eval \${$3+:} false; then :
1874 $as_echo_n "(cached) " >&6
1875 else
1876 eval "$3=\$ac_header_compiler"
1878 eval ac_res=\$$3
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880 $as_echo "$ac_res" >&6; }
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 } # ac_fn_c_check_header_mongrel
1886 # ac_fn_c_try_run LINENO
1887 # ----------------------
1888 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1889 # that executables *can* be run.
1890 ac_fn_c_try_run ()
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 if { { ac_try="$ac_link"
1894 case "(($ac_try" in
1895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1896 *) ac_try_echo=$ac_try;;
1897 esac
1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$ac_try_echo"; } >&5
1900 (eval "$ac_link") 2>&5
1901 ac_status=$?
1902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1904 { { case "(($ac_try" in
1905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1906 *) ac_try_echo=$ac_try;;
1907 esac
1908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910 (eval "$ac_try") 2>&5
1911 ac_status=$?
1912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1913 test $ac_status = 0; }; }; then :
1914 ac_retval=0
1915 else
1916 $as_echo "$as_me: program exited with status $ac_status" >&5
1917 $as_echo "$as_me: failed program was:" >&5
1918 sed 's/^/| /' conftest.$ac_ext >&5
1920 ac_retval=$ac_status
1922 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 as_fn_set_status $ac_retval
1926 } # ac_fn_c_try_run
1928 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1929 # -------------------------------------------------------
1930 # Tests whether HEADER exists and can be compiled using the include files in
1931 # INCLUDES, setting the cache variable VAR accordingly.
1932 ac_fn_c_check_header_compile ()
1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936 $as_echo_n "checking for $2... " >&6; }
1937 if eval \${$3+:} false; then :
1938 $as_echo_n "(cached) " >&6
1939 else
1940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h. */
1943 #include <$2>
1944 _ACEOF
1945 if ac_fn_c_try_compile "$LINENO"; then :
1946 eval "$3=yes"
1947 else
1948 eval "$3=no"
1950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1952 eval ac_res=\$$3
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954 $as_echo "$ac_res" >&6; }
1955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957 } # ac_fn_c_check_header_compile
1959 # ac_fn_c_check_func LINENO FUNC VAR
1960 # ----------------------------------
1961 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1962 ac_fn_c_check_func ()
1964 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966 $as_echo_n "checking for $2... " >&6; }
1967 if eval \${$3+:} false; then :
1968 $as_echo_n "(cached) " >&6
1969 else
1970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1972 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1974 #define $2 innocuous_$2
1976 /* System header to define __stub macros and hopefully few prototypes,
1977 which can conflict with char $2 (); below.
1978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1979 <limits.h> exists even on freestanding compilers. */
1981 #ifdef __STDC__
1982 # include <limits.h>
1983 #else
1984 # include <assert.h>
1985 #endif
1987 #undef $2
1989 /* Override any GCC internal prototype to avoid an error.
1990 Use char because int might match the return type of a GCC
1991 builtin and then its argument prototype would still apply. */
1992 #ifdef __cplusplus
1993 extern "C"
1994 #endif
1995 char $2 ();
1996 /* The GNU C library defines this for functions which it implements
1997 to always fail with ENOSYS. Some functions are actually named
1998 something starting with __ and the normal name is an alias. */
1999 #if defined __stub_$2 || defined __stub___$2
2000 choke me
2001 #endif
2004 main ()
2006 return $2 ();
2008 return 0;
2010 _ACEOF
2011 if ac_fn_c_try_link "$LINENO"; then :
2012 eval "$3=yes"
2013 else
2014 eval "$3=no"
2016 rm -f core conftest.err conftest.$ac_objext \
2017 conftest$ac_exeext conftest.$ac_ext
2019 eval ac_res=\$$3
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2021 $as_echo "$ac_res" >&6; }
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 } # ac_fn_c_check_func
2026 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2027 # ----------------------------------------------------
2028 # Tries to find if the field MEMBER exists in type AGGR, after including
2029 # INCLUDES, setting cache variable VAR accordingly.
2030 ac_fn_c_check_member ()
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2034 $as_echo_n "checking for $2.$3... " >&6; }
2035 if eval \${$4+:} false; then :
2036 $as_echo_n "(cached) " >&6
2037 else
2038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2039 /* end confdefs.h. */
2042 main ()
2044 static $2 ac_aggr;
2045 if (ac_aggr.$3)
2046 return 0;
2048 return 0;
2050 _ACEOF
2051 if ac_fn_c_try_compile "$LINENO"; then :
2052 eval "$4=yes"
2053 else
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2058 main ()
2060 static $2 ac_aggr;
2061 if (sizeof ac_aggr.$3)
2062 return 0;
2064 return 0;
2066 _ACEOF
2067 if ac_fn_c_try_compile "$LINENO"; then :
2068 eval "$4=yes"
2069 else
2070 eval "$4=no"
2072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2076 eval ac_res=\$$4
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2078 $as_echo "$ac_res" >&6; }
2079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081 } # ac_fn_c_check_member
2083 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2084 # -------------------------------------------
2085 # Tests whether TYPE exists after having included INCLUDES, setting cache
2086 # variable VAR accordingly.
2087 ac_fn_c_check_type ()
2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2091 $as_echo_n "checking for $2... " >&6; }
2092 if eval \${$3+:} false; then :
2093 $as_echo_n "(cached) " >&6
2094 else
2095 eval "$3=no"
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2100 main ()
2102 if (sizeof ($2))
2103 return 0;
2105 return 0;
2107 _ACEOF
2108 if ac_fn_c_try_compile "$LINENO"; then :
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2113 main ()
2115 if (sizeof (($2)))
2116 return 0;
2118 return 0;
2120 _ACEOF
2121 if ac_fn_c_try_compile "$LINENO"; then :
2123 else
2124 eval "$3=yes"
2126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2130 eval ac_res=\$$3
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2132 $as_echo "$ac_res" >&6; }
2133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2135 } # ac_fn_c_check_type
2136 cat >config.log <<_ACEOF
2137 This file contains any messages produced by compilers while
2138 running configure, to aid debugging if configure makes a mistake.
2140 It was created by Wine $as_me 1.5.25, which was
2141 generated by GNU Autoconf 2.69. Invocation command line was
2143 $ $0 $@
2145 _ACEOF
2146 exec 5>>config.log
2148 cat <<_ASUNAME
2149 ## --------- ##
2150 ## Platform. ##
2151 ## --------- ##
2153 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2154 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2155 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2156 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2157 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2159 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2160 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2162 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2163 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2164 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2165 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2166 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2167 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2168 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2170 _ASUNAME
2172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 for as_dir in $PATH
2175 IFS=$as_save_IFS
2176 test -z "$as_dir" && as_dir=.
2177 $as_echo "PATH: $as_dir"
2178 done
2179 IFS=$as_save_IFS
2181 } >&5
2183 cat >&5 <<_ACEOF
2186 ## ----------- ##
2187 ## Core tests. ##
2188 ## ----------- ##
2190 _ACEOF
2193 # Keep a trace of the command line.
2194 # Strip out --no-create and --no-recursion so they do not pile up.
2195 # Strip out --silent because we don't want to record it for future runs.
2196 # Also quote any args containing shell meta-characters.
2197 # Make two passes to allow for proper duplicate-argument suppression.
2198 ac_configure_args=
2199 ac_configure_args0=
2200 ac_configure_args1=
2201 ac_must_keep_next=false
2202 for ac_pass in 1 2
2204 for ac_arg
2206 case $ac_arg in
2207 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2209 | -silent | --silent | --silen | --sile | --sil)
2210 continue ;;
2211 *\'*)
2212 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2213 esac
2214 case $ac_pass in
2215 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2217 as_fn_append ac_configure_args1 " '$ac_arg'"
2218 if test $ac_must_keep_next = true; then
2219 ac_must_keep_next=false # Got value, back to normal.
2220 else
2221 case $ac_arg in
2222 *=* | --config-cache | -C | -disable-* | --disable-* \
2223 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2224 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2225 | -with-* | --with-* | -without-* | --without-* | --x)
2226 case "$ac_configure_args0 " in
2227 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2228 esac
2230 -* ) ac_must_keep_next=true ;;
2231 esac
2233 as_fn_append ac_configure_args " '$ac_arg'"
2235 esac
2236 done
2237 done
2238 { ac_configure_args0=; unset ac_configure_args0;}
2239 { ac_configure_args1=; unset ac_configure_args1;}
2241 # When interrupted or exit'd, cleanup temporary files, and complete
2242 # config.log. We remove comments because anyway the quotes in there
2243 # would cause problems or look ugly.
2244 # WARNING: Use '\'' to represent an apostrophe within the trap.
2245 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2246 trap 'exit_status=$?
2247 # Save into config.log some information that might help in debugging.
2249 echo
2251 $as_echo "## ---------------- ##
2252 ## Cache variables. ##
2253 ## ---------------- ##"
2254 echo
2255 # The following way of writing the cache mishandles newlines in values,
2257 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2258 eval ac_val=\$$ac_var
2259 case $ac_val in #(
2260 *${as_nl}*)
2261 case $ac_var in #(
2262 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2263 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2264 esac
2265 case $ac_var in #(
2266 _ | IFS | as_nl) ;; #(
2267 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2268 *) { eval $ac_var=; unset $ac_var;} ;;
2269 esac ;;
2270 esac
2271 done
2272 (set) 2>&1 |
2273 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2274 *${as_nl}ac_space=\ *)
2275 sed -n \
2276 "s/'\''/'\''\\\\'\'''\''/g;
2277 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2278 ;; #(
2280 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2282 esac |
2283 sort
2285 echo
2287 $as_echo "## ----------------- ##
2288 ## Output variables. ##
2289 ## ----------------- ##"
2290 echo
2291 for ac_var in $ac_subst_vars
2293 eval ac_val=\$$ac_var
2294 case $ac_val in
2295 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2296 esac
2297 $as_echo "$ac_var='\''$ac_val'\''"
2298 done | sort
2299 echo
2301 if test -n "$ac_subst_files"; then
2302 $as_echo "## ------------------- ##
2303 ## File substitutions. ##
2304 ## ------------------- ##"
2305 echo
2306 for ac_var in $ac_subst_files
2308 eval ac_val=\$$ac_var
2309 case $ac_val in
2310 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2311 esac
2312 $as_echo "$ac_var='\''$ac_val'\''"
2313 done | sort
2314 echo
2317 if test -s confdefs.h; then
2318 $as_echo "## ----------- ##
2319 ## confdefs.h. ##
2320 ## ----------- ##"
2321 echo
2322 cat confdefs.h
2323 echo
2325 test "$ac_signal" != 0 &&
2326 $as_echo "$as_me: caught signal $ac_signal"
2327 $as_echo "$as_me: exit $exit_status"
2328 } >&5
2329 rm -f core *.core core.conftest.* &&
2330 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2331 exit $exit_status
2333 for ac_signal in 1 2 13 15; do
2334 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2335 done
2336 ac_signal=0
2338 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2339 rm -f -r conftest* confdefs.h
2341 $as_echo "/* confdefs.h */" > confdefs.h
2343 # Predefined preprocessor variables.
2345 cat >>confdefs.h <<_ACEOF
2346 #define PACKAGE_NAME "$PACKAGE_NAME"
2347 _ACEOF
2349 cat >>confdefs.h <<_ACEOF
2350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2351 _ACEOF
2353 cat >>confdefs.h <<_ACEOF
2354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2355 _ACEOF
2357 cat >>confdefs.h <<_ACEOF
2358 #define PACKAGE_STRING "$PACKAGE_STRING"
2359 _ACEOF
2361 cat >>confdefs.h <<_ACEOF
2362 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2363 _ACEOF
2365 cat >>confdefs.h <<_ACEOF
2366 #define PACKAGE_URL "$PACKAGE_URL"
2367 _ACEOF
2370 # Let the site file select an alternate cache file if it wants to.
2371 # Prefer an explicitly selected file to automatically selected ones.
2372 ac_site_file1=NONE
2373 ac_site_file2=NONE
2374 if test -n "$CONFIG_SITE"; then
2375 # We do not want a PATH search for config.site.
2376 case $CONFIG_SITE in #((
2377 -*) ac_site_file1=./$CONFIG_SITE;;
2378 */*) ac_site_file1=$CONFIG_SITE;;
2379 *) ac_site_file1=./$CONFIG_SITE;;
2380 esac
2381 elif test "x$prefix" != xNONE; then
2382 ac_site_file1=$prefix/share/config.site
2383 ac_site_file2=$prefix/etc/config.site
2384 else
2385 ac_site_file1=$ac_default_prefix/share/config.site
2386 ac_site_file2=$ac_default_prefix/etc/config.site
2388 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2390 test "x$ac_site_file" = xNONE && continue
2391 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2393 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2394 sed 's/^/| /' "$ac_site_file" >&5
2395 . "$ac_site_file" \
2396 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2398 as_fn_error $? "failed to load site script $ac_site_file
2399 See \`config.log' for more details" "$LINENO" 5; }
2401 done
2403 if test -r "$cache_file"; then
2404 # Some versions of bash will fail to source /dev/null (special files
2405 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2406 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2408 $as_echo "$as_me: loading cache $cache_file" >&6;}
2409 case $cache_file in
2410 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2411 *) . "./$cache_file";;
2412 esac
2414 else
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2416 $as_echo "$as_me: creating cache $cache_file" >&6;}
2417 >$cache_file
2420 # Check that the precious variables saved in the cache have kept the same
2421 # value.
2422 ac_cache_corrupted=false
2423 for ac_var in $ac_precious_vars; do
2424 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2425 eval ac_new_set=\$ac_env_${ac_var}_set
2426 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2427 eval ac_new_val=\$ac_env_${ac_var}_value
2428 case $ac_old_set,$ac_new_set in
2429 set,)
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2431 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2432 ac_cache_corrupted=: ;;
2433 ,set)
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2435 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2436 ac_cache_corrupted=: ;;
2437 ,);;
2439 if test "x$ac_old_val" != "x$ac_new_val"; then
2440 # differences in whitespace do not lead to failure.
2441 ac_old_val_w=`echo x $ac_old_val`
2442 ac_new_val_w=`echo x $ac_new_val`
2443 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2445 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2446 ac_cache_corrupted=:
2447 else
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2449 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2450 eval $ac_var=\$ac_old_val
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2453 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2455 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2456 fi;;
2457 esac
2458 # Pass precious variables to config.status.
2459 if test "$ac_new_set" = set; then
2460 case $ac_new_val in
2461 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2462 *) ac_arg=$ac_var=$ac_new_val ;;
2463 esac
2464 case " $ac_configure_args " in
2465 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2466 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2467 esac
2469 done
2470 if $ac_cache_corrupted; then
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2474 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2475 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2477 ## -------------------- ##
2478 ## Main body of script. ##
2479 ## -------------------- ##
2481 ac_ext=c
2482 ac_cpp='$CPP $CPPFLAGS'
2483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2489 ac_config_headers="$ac_config_headers include/config.h"
2491 ac_aux_dir=
2492 for ac_dir in tools "$srcdir"/tools; do
2493 if test -f "$ac_dir/install-sh"; then
2494 ac_aux_dir=$ac_dir
2495 ac_install_sh="$ac_aux_dir/install-sh -c"
2496 break
2497 elif test -f "$ac_dir/install.sh"; then
2498 ac_aux_dir=$ac_dir
2499 ac_install_sh="$ac_aux_dir/install.sh -c"
2500 break
2501 elif test -f "$ac_dir/shtool"; then
2502 ac_aux_dir=$ac_dir
2503 ac_install_sh="$ac_aux_dir/shtool install -c"
2504 break
2506 done
2507 if test -z "$ac_aux_dir"; then
2508 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2511 # These three variables are undocumented and unsupported,
2512 # and are intended to be withdrawn in a future Autoconf release.
2513 # They can cause serious problems if a builder's source tree is in a directory
2514 # whose full name contains unusual characters.
2515 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2516 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2517 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2523 # Check whether --enable-win16 was given.
2524 if test "${enable_win16+set}" = set; then :
2525 enableval=$enable_win16;
2528 # Check whether --enable-win64 was given.
2529 if test "${enable_win64+set}" = set; then :
2530 enableval=$enable_win64;
2533 # Check whether --enable-tests was given.
2534 if test "${enable_tests+set}" = set; then :
2535 enableval=$enable_tests;
2538 # Check whether --enable-maintainer-mode was given.
2539 if test "${enable_maintainer_mode+set}" = set; then :
2540 enableval=$enable_maintainer_mode;
2545 # Check whether --with-alsa was given.
2546 if test "${with_alsa+set}" = set; then :
2547 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2551 # Check whether --with-capi was given.
2552 if test "${with_capi+set}" = set; then :
2553 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2557 # Check whether --with-cms was given.
2558 if test "${with_cms+set}" = set; then :
2559 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2563 # Check whether --with-coreaudio was given.
2564 if test "${with_coreaudio+set}" = set; then :
2565 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2569 # Check whether --with-cups was given.
2570 if test "${with_cups+set}" = set; then :
2571 withval=$with_cups;
2575 # Check whether --with-curses was given.
2576 if test "${with_curses+set}" = set; then :
2577 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2581 # Check whether --with-dbus was given.
2582 if test "${with_dbus+set}" = set; then :
2583 withval=$with_dbus;
2587 # Check whether --with-fontconfig was given.
2588 if test "${with_fontconfig+set}" = set; then :
2589 withval=$with_fontconfig;
2593 # Check whether --with-freetype was given.
2594 if test "${with_freetype+set}" = set; then :
2595 withval=$with_freetype;
2599 # Check whether --with-gettext was given.
2600 if test "${with_gettext+set}" = set; then :
2601 withval=$with_gettext;
2605 # Check whether --with-gettextpo was given.
2606 if test "${with_gettextpo+set}" = set; then :
2607 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2611 # Check whether --with-gphoto was given.
2612 if test "${with_gphoto+set}" = set; then :
2613 withval=$with_gphoto;
2617 # Check whether --with-glu was given.
2618 if test "${with_glu+set}" = set; then :
2619 withval=$with_glu;
2623 # Check whether --with-gnutls was given.
2624 if test "${with_gnutls+set}" = set; then :
2625 withval=$with_gnutls;
2629 # Check whether --with-gsm was given.
2630 if test "${with_gsm+set}" = set; then :
2631 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2635 # Check whether --with-gstreamer was given.
2636 if test "${with_gstreamer+set}" = set; then :
2637 withval=$with_gstreamer;
2641 # Check whether --with-hal was given.
2642 if test "${with_hal+set}" = set; then :
2643 withval=$with_hal;
2647 # Check whether --with-jpeg was given.
2648 if test "${with_jpeg+set}" = set; then :
2649 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2653 # Check whether --with-ldap was given.
2654 if test "${with_ldap+set}" = set; then :
2655 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2659 # Check whether --with-mpg123 was given.
2660 if test "${with_mpg123+set}" = set; then :
2661 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2665 # Check whether --with-openal was given.
2666 if test "${with_openal+set}" = set; then :
2667 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2671 # Check whether --with-opencl was given.
2672 if test "${with_opencl+set}" = set; then :
2673 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2677 # Check whether --with-opengl was given.
2678 if test "${with_opengl+set}" = set; then :
2679 withval=$with_opengl;
2683 # Check whether --with-openssl was given.
2684 if test "${with_openssl+set}" = set; then :
2685 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2689 # Check whether --with-osmesa was given.
2690 if test "${with_osmesa+set}" = set; then :
2691 withval=$with_osmesa;
2695 # Check whether --with-oss was given.
2696 if test "${with_oss+set}" = set; then :
2697 withval=$with_oss;
2701 # Check whether --with-png was given.
2702 if test "${with_png+set}" = set; then :
2703 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2707 # Check whether --with-pthread was given.
2708 if test "${with_pthread+set}" = set; then :
2709 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2713 # Check whether --with-sane was given.
2714 if test "${with_sane+set}" = set; then :
2715 withval=$with_sane;
2719 # Check whether --with-tiff was given.
2720 if test "${with_tiff+set}" = set; then :
2721 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2725 # Check whether --with-v4l was given.
2726 if test "${with_v4l+set}" = set; then :
2727 withval=$with_v4l;
2731 # Check whether --with-xcomposite was given.
2732 if test "${with_xcomposite+set}" = set; then :
2733 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2737 # Check whether --with-xcursor was given.
2738 if test "${with_xcursor+set}" = set; then :
2739 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2743 # Check whether --with-xinerama was given.
2744 if test "${with_xinerama+set}" = set; then :
2745 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2749 # Check whether --with-xinput was given.
2750 if test "${with_xinput+set}" = set; then :
2751 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2755 # Check whether --with-xinput2 was given.
2756 if test "${with_xinput2+set}" = set; then :
2757 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2761 # Check whether --with-xml was given.
2762 if test "${with_xml+set}" = set; then :
2763 withval=$with_xml;
2767 # Check whether --with-xrandr was given.
2768 if test "${with_xrandr+set}" = set; then :
2769 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2773 # Check whether --with-xrender was given.
2774 if test "${with_xrender+set}" = set; then :
2775 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2779 # Check whether --with-xshape was given.
2780 if test "${with_xshape+set}" = set; then :
2781 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2785 # Check whether --with-xshm was given.
2786 if test "${with_xshm+set}" = set; then :
2787 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2791 # Check whether --with-xslt was given.
2792 if test "${with_xslt+set}" = set; then :
2793 withval=$with_xslt;
2797 # Check whether --with-xxf86vm was given.
2798 if test "${with_xxf86vm+set}" = set; then :
2799 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
2803 # Check whether --with-zlib was given.
2804 if test "${with_zlib+set}" = set; then :
2805 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2810 # Check whether --with-wine-tools was given.
2811 if test "${with_wine_tools+set}" = set; then :
2812 withval=$with_wine_tools;
2816 # Check whether --with-wine64 was given.
2817 if test "${with_wine64+set}" = set; then :
2818 withval=$with_wine64;
2822 # Make sure we can run config.sub.
2823 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2824 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2827 $as_echo_n "checking build system type... " >&6; }
2828 if ${ac_cv_build+:} false; then :
2829 $as_echo_n "(cached) " >&6
2830 else
2831 ac_build_alias=$build_alias
2832 test "x$ac_build_alias" = x &&
2833 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2834 test "x$ac_build_alias" = x &&
2835 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2836 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2837 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2841 $as_echo "$ac_cv_build" >&6; }
2842 case $ac_cv_build in
2843 *-*-*) ;;
2844 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2845 esac
2846 build=$ac_cv_build
2847 ac_save_IFS=$IFS; IFS='-'
2848 set x $ac_cv_build
2849 shift
2850 build_cpu=$1
2851 build_vendor=$2
2852 shift; shift
2853 # Remember, the first character of IFS is used to create $*,
2854 # except with old shells:
2855 build_os=$*
2856 IFS=$ac_save_IFS
2857 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2861 $as_echo_n "checking host system type... " >&6; }
2862 if ${ac_cv_host+:} false; then :
2863 $as_echo_n "(cached) " >&6
2864 else
2865 if test "x$host_alias" = x; then
2866 ac_cv_host=$ac_cv_build
2867 else
2868 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2869 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2874 $as_echo "$ac_cv_host" >&6; }
2875 case $ac_cv_host in
2876 *-*-*) ;;
2877 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2878 esac
2879 host=$ac_cv_host
2880 ac_save_IFS=$IFS; IFS='-'
2881 set x $ac_cv_host
2882 shift
2883 host_cpu=$1
2884 host_vendor=$2
2885 shift; shift
2886 # Remember, the first character of IFS is used to create $*,
2887 # except with old shells:
2888 host_os=$*
2889 IFS=$ac_save_IFS
2890 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2894 case "$srcdir" in
2895 .) ;;
2896 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2897 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2898 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2899 fi ;;
2900 esac
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2904 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2905 set x ${MAKE-make}
2906 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2907 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2908 $as_echo_n "(cached) " >&6
2909 else
2910 cat >conftest.make <<\_ACEOF
2911 SHELL = /bin/sh
2912 all:
2913 @echo '@@@%%%=$(MAKE)=@@@%%%'
2914 _ACEOF
2915 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2916 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2917 *@@@%%%=?*=@@@%%%*)
2918 eval ac_cv_prog_make_${ac_make}_set=yes;;
2920 eval ac_cv_prog_make_${ac_make}_set=no;;
2921 esac
2922 rm -f conftest.make
2924 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2926 $as_echo "yes" >&6; }
2927 SET_MAKE=
2928 else
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930 $as_echo "no" >&6; }
2931 SET_MAKE="MAKE=${MAKE-make}"
2934 ac_ext=c
2935 ac_cpp='$CPP $CPPFLAGS'
2936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2939 if test -n "$ac_tool_prefix"; then
2940 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2941 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943 $as_echo_n "checking for $ac_word... " >&6; }
2944 if ${ac_cv_prog_CC+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 if test -n "$CC"; then
2948 ac_cv_prog_CC="$CC" # Let the user override the test.
2949 else
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 for as_dir in $PATH
2953 IFS=$as_save_IFS
2954 test -z "$as_dir" && as_dir=.
2955 for ac_exec_ext in '' $ac_executable_extensions; do
2956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2957 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 break 2
2961 done
2962 done
2963 IFS=$as_save_IFS
2967 CC=$ac_cv_prog_CC
2968 if test -n "$CC"; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2970 $as_echo "$CC" >&6; }
2971 else
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2978 if test -z "$ac_cv_prog_CC"; then
2979 ac_ct_CC=$CC
2980 # Extract the first word of "gcc", so it can be a program name with args.
2981 set dummy gcc; ac_word=$2
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2983 $as_echo_n "checking for $ac_word... " >&6; }
2984 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2985 $as_echo_n "(cached) " >&6
2986 else
2987 if test -n "$ac_ct_CC"; then
2988 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2989 else
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991 for as_dir in $PATH
2993 IFS=$as_save_IFS
2994 test -z "$as_dir" && as_dir=.
2995 for ac_exec_ext in '' $ac_executable_extensions; do
2996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2997 ac_cv_prog_ac_ct_CC="gcc"
2998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2999 break 2
3001 done
3002 done
3003 IFS=$as_save_IFS
3007 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3008 if test -n "$ac_ct_CC"; then
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3010 $as_echo "$ac_ct_CC" >&6; }
3011 else
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3013 $as_echo "no" >&6; }
3016 if test "x$ac_ct_CC" = x; then
3017 CC=""
3018 else
3019 case $cross_compiling:$ac_tool_warned in
3020 yes:)
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3023 ac_tool_warned=yes ;;
3024 esac
3025 CC=$ac_ct_CC
3027 else
3028 CC="$ac_cv_prog_CC"
3031 if test -z "$CC"; then
3032 if test -n "$ac_tool_prefix"; then
3033 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3034 set dummy ${ac_tool_prefix}cc; ac_word=$2
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036 $as_echo_n "checking for $ac_word... " >&6; }
3037 if ${ac_cv_prog_CC+:} false; then :
3038 $as_echo_n "(cached) " >&6
3039 else
3040 if test -n "$CC"; then
3041 ac_cv_prog_CC="$CC" # Let the user override the test.
3042 else
3043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 for as_dir in $PATH
3046 IFS=$as_save_IFS
3047 test -z "$as_dir" && as_dir=.
3048 for ac_exec_ext in '' $ac_executable_extensions; do
3049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_CC="${ac_tool_prefix}cc"
3051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 break 2
3054 done
3055 done
3056 IFS=$as_save_IFS
3060 CC=$ac_cv_prog_CC
3061 if test -n "$CC"; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3063 $as_echo "$CC" >&6; }
3064 else
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066 $as_echo "no" >&6; }
3072 if test -z "$CC"; then
3073 # Extract the first word of "cc", so it can be a program name with args.
3074 set dummy cc; ac_word=$2
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076 $as_echo_n "checking for $ac_word... " >&6; }
3077 if ${ac_cv_prog_CC+:} false; then :
3078 $as_echo_n "(cached) " >&6
3079 else
3080 if test -n "$CC"; then
3081 ac_cv_prog_CC="$CC" # Let the user override the test.
3082 else
3083 ac_prog_rejected=no
3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 for as_dir in $PATH
3087 IFS=$as_save_IFS
3088 test -z "$as_dir" && as_dir=.
3089 for ac_exec_ext in '' $ac_executable_extensions; do
3090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3091 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3092 ac_prog_rejected=yes
3093 continue
3095 ac_cv_prog_CC="cc"
3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 break 2
3099 done
3100 done
3101 IFS=$as_save_IFS
3103 if test $ac_prog_rejected = yes; then
3104 # We found a bogon in the path, so make sure we never use it.
3105 set dummy $ac_cv_prog_CC
3106 shift
3107 if test $# != 0; then
3108 # We chose a different compiler from the bogus one.
3109 # However, it has the same basename, so the bogon will be chosen
3110 # first if we set CC to just the basename; use the full file name.
3111 shift
3112 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3117 CC=$ac_cv_prog_CC
3118 if test -n "$CC"; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3120 $as_echo "$CC" >&6; }
3121 else
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3123 $as_echo "no" >&6; }
3128 if test -z "$CC"; then
3129 if test -n "$ac_tool_prefix"; then
3130 for ac_prog in cl.exe
3132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3133 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if ${ac_cv_prog_CC+:} false; then :
3137 $as_echo_n "(cached) " >&6
3138 else
3139 if test -n "$CC"; then
3140 ac_cv_prog_CC="$CC" # Let the user override the test.
3141 else
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143 for as_dir in $PATH
3145 IFS=$as_save_IFS
3146 test -z "$as_dir" && as_dir=.
3147 for ac_exec_ext in '' $ac_executable_extensions; do
3148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3149 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 break 2
3153 done
3154 done
3155 IFS=$as_save_IFS
3159 CC=$ac_cv_prog_CC
3160 if test -n "$CC"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3162 $as_echo "$CC" >&6; }
3163 else
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3169 test -n "$CC" && break
3170 done
3172 if test -z "$CC"; then
3173 ac_ct_CC=$CC
3174 for ac_prog in cl.exe
3176 # Extract the first word of "$ac_prog", so it can be a program name with args.
3177 set dummy $ac_prog; ac_word=$2
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3179 $as_echo_n "checking for $ac_word... " >&6; }
3180 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3181 $as_echo_n "(cached) " >&6
3182 else
3183 if test -n "$ac_ct_CC"; then
3184 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3185 else
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 for as_dir in $PATH
3189 IFS=$as_save_IFS
3190 test -z "$as_dir" && as_dir=.
3191 for ac_exec_ext in '' $ac_executable_extensions; do
3192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_ac_ct_CC="$ac_prog"
3194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3195 break 2
3197 done
3198 done
3199 IFS=$as_save_IFS
3203 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3204 if test -n "$ac_ct_CC"; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3206 $as_echo "$ac_ct_CC" >&6; }
3207 else
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3213 test -n "$ac_ct_CC" && break
3214 done
3216 if test "x$ac_ct_CC" = x; then
3217 CC=""
3218 else
3219 case $cross_compiling:$ac_tool_warned in
3220 yes:)
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3223 ac_tool_warned=yes ;;
3224 esac
3225 CC=$ac_ct_CC
3232 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3234 as_fn_error $? "no acceptable C compiler found in \$PATH
3235 See \`config.log' for more details" "$LINENO" 5; }
3237 # Provide some information about the compiler.
3238 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3239 set X $ac_compile
3240 ac_compiler=$2
3241 for ac_option in --version -v -V -qversion; do
3242 { { ac_try="$ac_compiler $ac_option >&5"
3243 case "(($ac_try" in
3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3246 esac
3247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3248 $as_echo "$ac_try_echo"; } >&5
3249 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3250 ac_status=$?
3251 if test -s conftest.err; then
3252 sed '10a\
3253 ... rest of stderr output deleted ...
3254 10q' conftest.err >conftest.er1
3255 cat conftest.er1 >&5
3257 rm -f conftest.er1 conftest.err
3258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3259 test $ac_status = 0; }
3260 done
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3266 main ()
3270 return 0;
3272 _ACEOF
3273 ac_clean_files_save=$ac_clean_files
3274 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3275 # Try to create an executable without -o first, disregard a.out.
3276 # It will help us diagnose broken compilers, and finding out an intuition
3277 # of exeext.
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3279 $as_echo_n "checking whether the C compiler works... " >&6; }
3280 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3282 # The possible output files:
3283 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3285 ac_rmfiles=
3286 for ac_file in $ac_files
3288 case $ac_file in
3289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3290 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3291 esac
3292 done
3293 rm -f $ac_rmfiles
3295 if { { ac_try="$ac_link_default"
3296 case "(($ac_try" in
3297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3298 *) ac_try_echo=$ac_try;;
3299 esac
3300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3301 $as_echo "$ac_try_echo"; } >&5
3302 (eval "$ac_link_default") 2>&5
3303 ac_status=$?
3304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305 test $ac_status = 0; }; then :
3306 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3307 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3308 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3309 # so that the user can short-circuit this test for compilers unknown to
3310 # Autoconf.
3311 for ac_file in $ac_files ''
3313 test -f "$ac_file" || continue
3314 case $ac_file in
3315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3317 [ab].out )
3318 # We found the default executable, but exeext='' is most
3319 # certainly right.
3320 break;;
3321 *.* )
3322 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3323 then :; else
3324 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3326 # We set ac_cv_exeext here because the later test for it is not
3327 # safe: cross compilers may not add the suffix if given an `-o'
3328 # argument, so we may need to know it at that point already.
3329 # Even if this section looks crufty: it has the advantage of
3330 # actually working.
3331 break;;
3333 break;;
3334 esac
3335 done
3336 test "$ac_cv_exeext" = no && ac_cv_exeext=
3338 else
3339 ac_file=''
3341 if test -z "$ac_file"; then :
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3344 $as_echo "$as_me: failed program was:" >&5
3345 sed 's/^/| /' conftest.$ac_ext >&5
3347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 as_fn_error 77 "C compiler cannot create executables
3350 See \`config.log' for more details" "$LINENO" 5; }
3351 else
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3353 $as_echo "yes" >&6; }
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3356 $as_echo_n "checking for C compiler default output file name... " >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3358 $as_echo "$ac_file" >&6; }
3359 ac_exeext=$ac_cv_exeext
3361 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3362 ac_clean_files=$ac_clean_files_save
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3364 $as_echo_n "checking for suffix of executables... " >&6; }
3365 if { { ac_try="$ac_link"
3366 case "(($ac_try" in
3367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3368 *) ac_try_echo=$ac_try;;
3369 esac
3370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3371 $as_echo "$ac_try_echo"; } >&5
3372 (eval "$ac_link") 2>&5
3373 ac_status=$?
3374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3375 test $ac_status = 0; }; then :
3376 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3377 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3378 # work properly (i.e., refer to `conftest.exe'), while it won't with
3379 # `rm'.
3380 for ac_file in conftest.exe conftest conftest.*; do
3381 test -f "$ac_file" || continue
3382 case $ac_file in
3383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3384 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3385 break;;
3386 * ) break;;
3387 esac
3388 done
3389 else
3390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3392 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3393 See \`config.log' for more details" "$LINENO" 5; }
3395 rm -f conftest conftest$ac_cv_exeext
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3397 $as_echo "$ac_cv_exeext" >&6; }
3399 rm -f conftest.$ac_ext
3400 EXEEXT=$ac_cv_exeext
3401 ac_exeext=$EXEEXT
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3404 #include <stdio.h>
3406 main ()
3408 FILE *f = fopen ("conftest.out", "w");
3409 return ferror (f) || fclose (f) != 0;
3412 return 0;
3414 _ACEOF
3415 ac_clean_files="$ac_clean_files conftest.out"
3416 # Check that the compiler produces executables we can run. If not, either
3417 # the compiler is broken, or we cross compile.
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3419 $as_echo_n "checking whether we are cross compiling... " >&6; }
3420 if test "$cross_compiling" != yes; then
3421 { { ac_try="$ac_link"
3422 case "(($ac_try" in
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3425 esac
3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427 $as_echo "$ac_try_echo"; } >&5
3428 (eval "$ac_link") 2>&5
3429 ac_status=$?
3430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }
3432 if { ac_try='./conftest$ac_cv_exeext'
3433 { { case "(($ac_try" in
3434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3436 esac
3437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3438 $as_echo "$ac_try_echo"; } >&5
3439 (eval "$ac_try") 2>&5
3440 ac_status=$?
3441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3442 test $ac_status = 0; }; }; then
3443 cross_compiling=no
3444 else
3445 if test "$cross_compiling" = maybe; then
3446 cross_compiling=yes
3447 else
3448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3450 as_fn_error $? "cannot run C compiled programs.
3451 If you meant to cross compile, use \`--host'.
3452 See \`config.log' for more details" "$LINENO" 5; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3457 $as_echo "$cross_compiling" >&6; }
3459 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3460 ac_clean_files=$ac_clean_files_save
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3462 $as_echo_n "checking for suffix of object files... " >&6; }
3463 if ${ac_cv_objext+:} false; then :
3464 $as_echo_n "(cached) " >&6
3465 else
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3470 main ()
3474 return 0;
3476 _ACEOF
3477 rm -f conftest.o conftest.obj
3478 if { { ac_try="$ac_compile"
3479 case "(($ac_try" in
3480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3481 *) ac_try_echo=$ac_try;;
3482 esac
3483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3484 $as_echo "$ac_try_echo"; } >&5
3485 (eval "$ac_compile") 2>&5
3486 ac_status=$?
3487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488 test $ac_status = 0; }; then :
3489 for ac_file in conftest.o conftest.obj conftest.*; do
3490 test -f "$ac_file" || continue;
3491 case $ac_file in
3492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3493 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3494 break;;
3495 esac
3496 done
3497 else
3498 $as_echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503 as_fn_error $? "cannot compute suffix of object files: cannot compile
3504 See \`config.log' for more details" "$LINENO" 5; }
3506 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3509 $as_echo "$ac_cv_objext" >&6; }
3510 OBJEXT=$ac_cv_objext
3511 ac_objext=$OBJEXT
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3513 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3514 if ${ac_cv_c_compiler_gnu+:} false; then :
3515 $as_echo_n "(cached) " >&6
3516 else
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3521 main ()
3523 #ifndef __GNUC__
3524 choke me
3525 #endif
3528 return 0;
3530 _ACEOF
3531 if ac_fn_c_try_compile "$LINENO"; then :
3532 ac_compiler_gnu=yes
3533 else
3534 ac_compiler_gnu=no
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3541 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3542 if test $ac_compiler_gnu = yes; then
3543 GCC=yes
3544 else
3545 GCC=
3547 ac_test_CFLAGS=${CFLAGS+set}
3548 ac_save_CFLAGS=$CFLAGS
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3550 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3551 if ${ac_cv_prog_cc_g+:} false; then :
3552 $as_echo_n "(cached) " >&6
3553 else
3554 ac_save_c_werror_flag=$ac_c_werror_flag
3555 ac_c_werror_flag=yes
3556 ac_cv_prog_cc_g=no
3557 CFLAGS="-g"
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3562 main ()
3566 return 0;
3568 _ACEOF
3569 if ac_fn_c_try_compile "$LINENO"; then :
3570 ac_cv_prog_cc_g=yes
3571 else
3572 CFLAGS=""
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3577 main ()
3581 return 0;
3583 _ACEOF
3584 if ac_fn_c_try_compile "$LINENO"; then :
3586 else
3587 ac_c_werror_flag=$ac_save_c_werror_flag
3588 CFLAGS="-g"
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3593 main ()
3597 return 0;
3599 _ACEOF
3600 if ac_fn_c_try_compile "$LINENO"; then :
3601 ac_cv_prog_cc_g=yes
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3608 ac_c_werror_flag=$ac_save_c_werror_flag
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3611 $as_echo "$ac_cv_prog_cc_g" >&6; }
3612 if test "$ac_test_CFLAGS" = set; then
3613 CFLAGS=$ac_save_CFLAGS
3614 elif test $ac_cv_prog_cc_g = yes; then
3615 if test "$GCC" = yes; then
3616 CFLAGS="-g -O2"
3617 else
3618 CFLAGS="-g"
3620 else
3621 if test "$GCC" = yes; then
3622 CFLAGS="-O2"
3623 else
3624 CFLAGS=
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3628 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3629 if ${ac_cv_prog_cc_c89+:} false; then :
3630 $as_echo_n "(cached) " >&6
3631 else
3632 ac_cv_prog_cc_c89=no
3633 ac_save_CC=$CC
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3636 #include <stdarg.h>
3637 #include <stdio.h>
3638 struct stat;
3639 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3640 struct buf { int x; };
3641 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3642 static char *e (p, i)
3643 char **p;
3644 int i;
3646 return p[i];
3648 static char *f (char * (*g) (char **, int), char **p, ...)
3650 char *s;
3651 va_list v;
3652 va_start (v,p);
3653 s = g (p, va_arg (v,int));
3654 va_end (v);
3655 return s;
3658 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3659 function prototypes and stuff, but not '\xHH' hex character constants.
3660 These don't provoke an error unfortunately, instead are silently treated
3661 as 'x'. The following induces an error, until -std is added to get
3662 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3663 array size at least. It's necessary to write '\x00'==0 to get something
3664 that's true only with -std. */
3665 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3667 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3668 inside strings and character constants. */
3669 #define FOO(x) 'x'
3670 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3672 int test (int i, double x);
3673 struct s1 {int (*f) (int a);};
3674 struct s2 {int (*f) (double a);};
3675 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3676 int argc;
3677 char **argv;
3679 main ()
3681 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3683 return 0;
3685 _ACEOF
3686 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3687 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3689 CC="$ac_save_CC $ac_arg"
3690 if ac_fn_c_try_compile "$LINENO"; then :
3691 ac_cv_prog_cc_c89=$ac_arg
3693 rm -f core conftest.err conftest.$ac_objext
3694 test "x$ac_cv_prog_cc_c89" != "xno" && break
3695 done
3696 rm -f conftest.$ac_ext
3697 CC=$ac_save_CC
3700 # AC_CACHE_VAL
3701 case "x$ac_cv_prog_cc_c89" in
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3704 $as_echo "none needed" >&6; } ;;
3705 xno)
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3707 $as_echo "unsupported" >&6; } ;;
3709 CC="$CC $ac_cv_prog_cc_c89"
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3711 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3712 esac
3713 if test "x$ac_cv_prog_cc_c89" != xno; then :
3717 ac_ext=c
3718 ac_cpp='$CPP $CPPFLAGS'
3719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3723 ac_ext=cpp
3724 ac_cpp='$CXXCPP $CPPFLAGS'
3725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3728 if test -z "$CXX"; then
3729 if test -n "$CCC"; then
3730 CXX=$CCC
3731 else
3732 if test -n "$ac_tool_prefix"; then
3733 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3736 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if ${ac_cv_prog_CXX+:} false; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 if test -n "$CXX"; then
3743 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3744 else
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3748 IFS=$as_save_IFS
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3752 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 break 2
3756 done
3757 done
3758 IFS=$as_save_IFS
3762 CXX=$ac_cv_prog_CXX
3763 if test -n "$CXX"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3765 $as_echo "$CXX" >&6; }
3766 else
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3772 test -n "$CXX" && break
3773 done
3775 if test -z "$CXX"; then
3776 ac_ct_CXX=$CXX
3777 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3779 # Extract the first word of "$ac_prog", so it can be a program name with args.
3780 set dummy $ac_prog; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3784 $as_echo_n "(cached) " >&6
3785 else
3786 if test -n "$ac_ct_CXX"; then
3787 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3788 else
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_ac_ct_CXX="$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 break 2
3800 done
3801 done
3802 IFS=$as_save_IFS
3806 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3807 if test -n "$ac_ct_CXX"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3809 $as_echo "$ac_ct_CXX" >&6; }
3810 else
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$ac_ct_CXX" && break
3817 done
3819 if test "x$ac_ct_CXX" = x; then
3820 CXX="g++"
3821 else
3822 case $cross_compiling:$ac_tool_warned in
3823 yes:)
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned=yes ;;
3827 esac
3828 CXX=$ac_ct_CXX
3834 # Provide some information about the compiler.
3835 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3836 set X $ac_compile
3837 ac_compiler=$2
3838 for ac_option in --version -v -V -qversion; do
3839 { { ac_try="$ac_compiler $ac_option >&5"
3840 case "(($ac_try" in
3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3843 esac
3844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3845 $as_echo "$ac_try_echo"; } >&5
3846 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3847 ac_status=$?
3848 if test -s conftest.err; then
3849 sed '10a\
3850 ... rest of stderr output deleted ...
3851 10q' conftest.err >conftest.er1
3852 cat conftest.er1 >&5
3854 rm -f conftest.er1 conftest.err
3855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856 test $ac_status = 0; }
3857 done
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3860 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3861 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3862 $as_echo_n "(cached) " >&6
3863 else
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3868 main ()
3870 #ifndef __GNUC__
3871 choke me
3872 #endif
3875 return 0;
3877 _ACEOF
3878 if ac_fn_cxx_try_compile "$LINENO"; then :
3879 ac_compiler_gnu=yes
3880 else
3881 ac_compiler_gnu=no
3883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3884 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3888 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3889 if test $ac_compiler_gnu = yes; then
3890 GXX=yes
3891 else
3892 GXX=
3894 ac_test_CXXFLAGS=${CXXFLAGS+set}
3895 ac_save_CXXFLAGS=$CXXFLAGS
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3897 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3898 if ${ac_cv_prog_cxx_g+:} false; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3902 ac_cxx_werror_flag=yes
3903 ac_cv_prog_cxx_g=no
3904 CXXFLAGS="-g"
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3909 main ()
3913 return 0;
3915 _ACEOF
3916 if ac_fn_cxx_try_compile "$LINENO"; then :
3917 ac_cv_prog_cxx_g=yes
3918 else
3919 CXXFLAGS=""
3920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3921 /* end confdefs.h. */
3924 main ()
3928 return 0;
3930 _ACEOF
3931 if ac_fn_cxx_try_compile "$LINENO"; then :
3933 else
3934 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3935 CXXFLAGS="-g"
3936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3940 main ()
3944 return 0;
3946 _ACEOF
3947 if ac_fn_cxx_try_compile "$LINENO"; then :
3948 ac_cv_prog_cxx_g=yes
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3955 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3958 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3959 if test "$ac_test_CXXFLAGS" = set; then
3960 CXXFLAGS=$ac_save_CXXFLAGS
3961 elif test $ac_cv_prog_cxx_g = yes; then
3962 if test "$GXX" = yes; then
3963 CXXFLAGS="-g -O2"
3964 else
3965 CXXFLAGS="-g"
3967 else
3968 if test "$GXX" = yes; then
3969 CXXFLAGS="-O2"
3970 else
3971 CXXFLAGS=
3974 ac_ext=c
3975 ac_cpp='$CPP $CPPFLAGS'
3976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3980 if test -n "$ac_tool_prefix"; then
3981 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3982 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3984 $as_echo_n "checking for $ac_word... " >&6; }
3985 if ${ac_cv_prog_CPPBIN+:} false; then :
3986 $as_echo_n "(cached) " >&6
3987 else
3988 if test -n "$CPPBIN"; then
3989 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3990 else
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992 for as_dir in $PATH
3994 IFS=$as_save_IFS
3995 test -z "$as_dir" && as_dir=.
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3998 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 break 2
4002 done
4003 done
4004 IFS=$as_save_IFS
4008 CPPBIN=$ac_cv_prog_CPPBIN
4009 if test -n "$CPPBIN"; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4011 $as_echo "$CPPBIN" >&6; }
4012 else
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4019 if test -z "$ac_cv_prog_CPPBIN"; then
4020 ac_ct_CPPBIN=$CPPBIN
4021 # Extract the first word of "cpp", so it can be a program name with args.
4022 set dummy cpp; ac_word=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4026 $as_echo_n "(cached) " >&6
4027 else
4028 if test -n "$ac_ct_CPPBIN"; then
4029 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4030 else
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 for as_dir in $PATH
4034 IFS=$as_save_IFS
4035 test -z "$as_dir" && as_dir=.
4036 for ac_exec_ext in '' $ac_executable_extensions; do
4037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4038 ac_cv_prog_ac_ct_CPPBIN="cpp"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4040 break 2
4042 done
4043 done
4044 IFS=$as_save_IFS
4048 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4049 if test -n "$ac_ct_CPPBIN"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4051 $as_echo "$ac_ct_CPPBIN" >&6; }
4052 else
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4057 if test "x$ac_ct_CPPBIN" = x; then
4058 CPPBIN="cpp"
4059 else
4060 case $cross_compiling:$ac_tool_warned in
4061 yes:)
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4064 ac_tool_warned=yes ;;
4065 esac
4066 CPPBIN=$ac_ct_CPPBIN
4068 else
4069 CPPBIN="$ac_cv_prog_CPPBIN"
4073 cat >>confdefs.h <<_ACEOF
4074 #define EXEEXT "$ac_exeext"
4075 _ACEOF
4078 case $host in
4079 *-darwin*)
4080 if test "x$enable_win64" = "xyes"
4081 then
4082 CC="$CC -m64"
4083 CXX="$CXX -m64"
4084 host_cpu="x86_64"
4085 notice_platform="64-bit "
4086 TARGETFLAGS="-m64"
4088 else
4089 CC="$CC -m32"
4090 CXX="$CXX -m32"
4091 host_cpu="i386"
4092 notice_platform="32-bit "
4093 TARGETFLAGS="-m32"
4095 enable_win16=${enable_win16:-yes}
4097 with_fontconfig=${with_fontconfig:-no}
4099 x86_64*)
4100 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4101 then
4102 CC="$CC -m32"
4103 CXX="$CXX -m32"
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4105 $as_echo_n "checking whether $CC works... " >&6; }
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4111 main ()
4115 return 0;
4117 _ACEOF
4118 if ac_fn_c_try_link "$LINENO"; then :
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4120 $as_echo "yes" >&6; }
4121 else
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4123 $as_echo "no" >&6; }
4124 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4126 rm -f core conftest.err conftest.$ac_objext \
4127 conftest$ac_exeext conftest.$ac_ext
4128 host_cpu="i386"
4129 notice_platform="32-bit "
4130 TARGETFLAGS="-m32"
4132 enable_win16=${enable_win16:-yes}
4133 else
4134 if test "x${GCC}" = "xyes"
4135 then
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4137 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4140 #include <stdarg.h>
4142 main ()
4144 void func(__builtin_ms_va_list *args);
4146 return 0;
4148 _ACEOF
4149 if ac_fn_c_try_compile "$LINENO"; then :
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4151 $as_echo "yes" >&6; }
4152 else
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154 $as_echo "no" >&6; }
4155 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4159 TARGETFLAGS="-m64"
4163 arm*)
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4165 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4168 int ac_test(int i) { return i; }
4170 main ()
4172 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4174 return 0;
4176 _ACEOF
4177 if ac_fn_c_try_link "$LINENO"; then :
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4179 $as_echo "yes" >&6; }
4180 else
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4182 $as_echo "no" >&6; }
4183 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4185 rm -f core conftest.err conftest.$ac_objext \
4186 conftest$ac_exeext conftest.$ac_ext
4187 CFLAGS="$CFLAGS -marm"
4189 *-mingw32*|*-cygwin*)
4190 enable_win16=${enable_win16:-no}
4191 CFLAGS="$CFLAGS -D_WIN32"
4193 i[3456789]86*)
4194 enable_win16=${enable_win16:-yes}
4196 esac
4198 enable_win16=${enable_win16:-no}
4199 enable_win64=${enable_win64:-no}
4201 enable_winetest=${enable_winetest:-$enable_tests}
4203 if test -n "$with_wine64"
4204 then
4205 if test "x$enable_win64" = "xyes"
4206 then
4207 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4208 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4210 WOW64_DISABLE=\#
4212 enable_fonts=${enable_fonts:-no}
4213 enable_server=${enable_server:-no}
4214 enable_tools=${enable_tools:-no}
4215 elif test "x$enable_win64" = "xyes"
4216 then
4217 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4221 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4222 if ${wine_cv_toolsdir+:} false; then :
4223 $as_echo_n "(cached) " >&6
4224 else
4225 wine_cv_toolsdir="$with_wine_tools"
4226 if test -z "$with_wine_tools"; then
4227 if test "$cross_compiling" = "yes"; then
4228 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4229 elif test -n "$with_wine64"; then
4230 wine_cv_toolsdir="$with_wine64"
4233 if test -z "$wine_cv_toolsdir"; then
4234 wine_cv_toolsdir="\$(top_builddir)"
4235 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4236 case "$wine_cv_toolsdir" in
4237 /*) ;;
4238 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4239 esac
4240 else
4241 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4245 $as_echo "$wine_cv_toolsdir" >&6; }
4246 TOOLSDIR=$wine_cv_toolsdir
4248 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4249 then
4250 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4254 for ac_prog in flex
4256 # Extract the first word of "$ac_prog", so it can be a program name with args.
4257 set dummy $ac_prog; ac_word=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if ${ac_cv_prog_FLEX+:} false; then :
4261 $as_echo_n "(cached) " >&6
4262 else
4263 if test -n "$FLEX"; then
4264 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4265 else
4266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4267 for as_dir in $PATH
4269 IFS=$as_save_IFS
4270 test -z "$as_dir" && as_dir=.
4271 for ac_exec_ext in '' $ac_executable_extensions; do
4272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4273 ac_cv_prog_FLEX="$ac_prog"
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4275 break 2
4277 done
4278 done
4279 IFS=$as_save_IFS
4283 FLEX=$ac_cv_prog_FLEX
4284 if test -n "$FLEX"; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4286 $as_echo "$FLEX" >&6; }
4287 else
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 $as_echo "no" >&6; }
4293 test -n "$FLEX" && break
4294 done
4295 test -n "$FLEX" || FLEX="none"
4297 if test "$FLEX" = "none"
4298 then
4299 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4302 $as_echo_n "checking whether flex is recent enough... " >&6; }
4303 cat >conftest.l <<EOF
4304 %top{
4305 #include "prediluvian.h"
4309 if $FLEX -t conftest.l >/dev/null 2>&5
4310 then
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4312 $as_echo "yes" >&6; }
4313 else
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4315 $as_echo "no" >&6; }
4316 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4319 for ac_prog in bison
4321 # Extract the first word of "$ac_prog", so it can be a program name with args.
4322 set dummy $ac_prog; ac_word=$2
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4324 $as_echo_n "checking for $ac_word... " >&6; }
4325 if ${ac_cv_prog_BISON+:} false; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 if test -n "$BISON"; then
4329 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4330 else
4331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4332 for as_dir in $PATH
4334 IFS=$as_save_IFS
4335 test -z "$as_dir" && as_dir=.
4336 for ac_exec_ext in '' $ac_executable_extensions; do
4337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4338 ac_cv_prog_BISON="$ac_prog"
4339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 break 2
4342 done
4343 done
4344 IFS=$as_save_IFS
4348 BISON=$ac_cv_prog_BISON
4349 if test -n "$BISON"; then
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4351 $as_echo "$BISON" >&6; }
4352 else
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4354 $as_echo "no" >&6; }
4358 test -n "$BISON" && break
4359 done
4360 test -n "$BISON" || BISON="none"
4362 if test "$BISON" = "none"
4363 then
4364 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4367 if test -n "$ac_tool_prefix"; then
4368 for ac_prog in ar gar
4370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4371 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if ${ac_cv_prog_AR+:} false; then :
4375 $as_echo_n "(cached) " >&6
4376 else
4377 if test -n "$AR"; then
4378 ac_cv_prog_AR="$AR" # Let the user override the test.
4379 else
4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 for as_dir in $PATH
4383 IFS=$as_save_IFS
4384 test -z "$as_dir" && as_dir=.
4385 for ac_exec_ext in '' $ac_executable_extensions; do
4386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4387 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 break 2
4391 done
4392 done
4393 IFS=$as_save_IFS
4397 AR=$ac_cv_prog_AR
4398 if test -n "$AR"; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4400 $as_echo "$AR" >&6; }
4401 else
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4407 test -n "$AR" && break
4408 done
4410 if test -z "$AR"; then
4411 ac_ct_AR=$AR
4412 for ac_prog in ar gar
4414 # Extract the first word of "$ac_prog", so it can be a program name with args.
4415 set dummy $ac_prog; ac_word=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4419 $as_echo_n "(cached) " >&6
4420 else
4421 if test -n "$ac_ct_AR"; then
4422 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4423 else
4424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4425 for as_dir in $PATH
4427 IFS=$as_save_IFS
4428 test -z "$as_dir" && as_dir=.
4429 for ac_exec_ext in '' $ac_executable_extensions; do
4430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4431 ac_cv_prog_ac_ct_AR="$ac_prog"
4432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 break 2
4435 done
4436 done
4437 IFS=$as_save_IFS
4441 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4442 if test -n "$ac_ct_AR"; then
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4444 $as_echo "$ac_ct_AR" >&6; }
4445 else
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447 $as_echo "no" >&6; }
4451 test -n "$ac_ct_AR" && break
4452 done
4454 if test "x$ac_ct_AR" = x; then
4455 AR="ar"
4456 else
4457 case $cross_compiling:$ac_tool_warned in
4458 yes:)
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4461 ac_tool_warned=yes ;;
4462 esac
4463 AR=$ac_ct_AR
4467 ARFLAGS=rc
4469 if test -n "$ac_tool_prefix"; then
4470 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4471 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if ${ac_cv_prog_RANLIB+:} false; then :
4475 $as_echo_n "(cached) " >&6
4476 else
4477 if test -n "$RANLIB"; then
4478 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4479 else
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4483 IFS=$as_save_IFS
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 break 2
4491 done
4492 done
4493 IFS=$as_save_IFS
4497 RANLIB=$ac_cv_prog_RANLIB
4498 if test -n "$RANLIB"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4500 $as_echo "$RANLIB" >&6; }
4501 else
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4508 if test -z "$ac_cv_prog_RANLIB"; then
4509 ac_ct_RANLIB=$RANLIB
4510 # Extract the first word of "ranlib", so it can be a program name with args.
4511 set dummy ranlib; ac_word=$2
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4515 $as_echo_n "(cached) " >&6
4516 else
4517 if test -n "$ac_ct_RANLIB"; then
4518 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4519 else
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 for as_dir in $PATH
4523 IFS=$as_save_IFS
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4527 ac_cv_prog_ac_ct_RANLIB="ranlib"
4528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 break 2
4531 done
4532 done
4533 IFS=$as_save_IFS
4537 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4538 if test -n "$ac_ct_RANLIB"; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4540 $as_echo "$ac_ct_RANLIB" >&6; }
4541 else
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4543 $as_echo "no" >&6; }
4546 if test "x$ac_ct_RANLIB" = x; then
4547 RANLIB=":"
4548 else
4549 case $cross_compiling:$ac_tool_warned in
4550 yes:)
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4553 ac_tool_warned=yes ;;
4554 esac
4555 RANLIB=$ac_ct_RANLIB
4557 else
4558 RANLIB="$ac_cv_prog_RANLIB"
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4562 $as_echo_n "checking whether ln -s works... " >&6; }
4563 LN_S=$as_ln_s
4564 if test "$LN_S" = "ln -s"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4566 $as_echo "yes" >&6; }
4567 else
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4569 $as_echo "no, using $LN_S" >&6; }
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4573 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4574 if ${ac_cv_path_GREP+:} false; then :
4575 $as_echo_n "(cached) " >&6
4576 else
4577 if test -z "$GREP"; then
4578 ac_path_GREP_found=false
4579 # Loop through the user's path and test for each of PROGNAME-LIST
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4583 IFS=$as_save_IFS
4584 test -z "$as_dir" && as_dir=.
4585 for ac_prog in grep ggrep; do
4586 for ac_exec_ext in '' $ac_executable_extensions; do
4587 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4588 as_fn_executable_p "$ac_path_GREP" || continue
4589 # Check for GNU ac_path_GREP and select it if it is found.
4590 # Check for GNU $ac_path_GREP
4591 case `"$ac_path_GREP" --version 2>&1` in
4592 *GNU*)
4593 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4595 ac_count=0
4596 $as_echo_n 0123456789 >"conftest.in"
4597 while :
4599 cat "conftest.in" "conftest.in" >"conftest.tmp"
4600 mv "conftest.tmp" "conftest.in"
4601 cp "conftest.in" "conftest.nl"
4602 $as_echo 'GREP' >> "conftest.nl"
4603 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4604 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4605 as_fn_arith $ac_count + 1 && ac_count=$as_val
4606 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4607 # Best one so far, save it but keep looking for a better one
4608 ac_cv_path_GREP="$ac_path_GREP"
4609 ac_path_GREP_max=$ac_count
4611 # 10*(2^10) chars as input seems more than enough
4612 test $ac_count -gt 10 && break
4613 done
4614 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4615 esac
4617 $ac_path_GREP_found && break 3
4618 done
4619 done
4620 done
4621 IFS=$as_save_IFS
4622 if test -z "$ac_cv_path_GREP"; then
4623 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4625 else
4626 ac_cv_path_GREP=$GREP
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4631 $as_echo "$ac_cv_path_GREP" >&6; }
4632 GREP="$ac_cv_path_GREP"
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4636 $as_echo_n "checking for egrep... " >&6; }
4637 if ${ac_cv_path_EGREP+:} false; then :
4638 $as_echo_n "(cached) " >&6
4639 else
4640 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4641 then ac_cv_path_EGREP="$GREP -E"
4642 else
4643 if test -z "$EGREP"; then
4644 ac_path_EGREP_found=false
4645 # Loop through the user's path and test for each of PROGNAME-LIST
4646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4649 IFS=$as_save_IFS
4650 test -z "$as_dir" && as_dir=.
4651 for ac_prog in egrep; do
4652 for ac_exec_ext in '' $ac_executable_extensions; do
4653 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4654 as_fn_executable_p "$ac_path_EGREP" || continue
4655 # Check for GNU ac_path_EGREP and select it if it is found.
4656 # Check for GNU $ac_path_EGREP
4657 case `"$ac_path_EGREP" --version 2>&1` in
4658 *GNU*)
4659 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4661 ac_count=0
4662 $as_echo_n 0123456789 >"conftest.in"
4663 while :
4665 cat "conftest.in" "conftest.in" >"conftest.tmp"
4666 mv "conftest.tmp" "conftest.in"
4667 cp "conftest.in" "conftest.nl"
4668 $as_echo 'EGREP' >> "conftest.nl"
4669 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4670 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4671 as_fn_arith $ac_count + 1 && ac_count=$as_val
4672 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4673 # Best one so far, save it but keep looking for a better one
4674 ac_cv_path_EGREP="$ac_path_EGREP"
4675 ac_path_EGREP_max=$ac_count
4677 # 10*(2^10) chars as input seems more than enough
4678 test $ac_count -gt 10 && break
4679 done
4680 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4681 esac
4683 $ac_path_EGREP_found && break 3
4684 done
4685 done
4686 done
4687 IFS=$as_save_IFS
4688 if test -z "$ac_cv_path_EGREP"; then
4689 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4691 else
4692 ac_cv_path_EGREP=$EGREP
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4698 $as_echo "$ac_cv_path_EGREP" >&6; }
4699 EGREP="$ac_cv_path_EGREP"
4702 # Extract the first word of "ldconfig", so it can be a program name with args.
4703 set dummy ldconfig; ac_word=$2
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 $as_echo_n "checking for $ac_word... " >&6; }
4706 if ${ac_cv_path_LDCONFIG+:} false; then :
4707 $as_echo_n "(cached) " >&6
4708 else
4709 case $LDCONFIG in
4710 [\\/]* | ?:[\\/]*)
4711 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in /sbin /usr/sbin $PATH
4717 IFS=$as_save_IFS
4718 test -z "$as_dir" && as_dir=.
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4721 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 break 2
4725 done
4726 done
4727 IFS=$as_save_IFS
4729 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4731 esac
4733 LDCONFIG=$ac_cv_path_LDCONFIG
4734 if test -n "$LDCONFIG"; then
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4736 $as_echo "$LDCONFIG" >&6; }
4737 else
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4743 # Find a good install program. We prefer a C program (faster),
4744 # so one script is as good as another. But avoid the broken or
4745 # incompatible versions:
4746 # SysV /etc/install, /usr/sbin/install
4747 # SunOS /usr/etc/install
4748 # IRIX /sbin/install
4749 # AIX /bin/install
4750 # AmigaOS /C/install, which installs bootblocks on floppy discs
4751 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4752 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4753 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4754 # OS/2's system install, which has a completely different semantic
4755 # ./install, which can be erroneously created by make from ./install.sh.
4756 # Reject install programs that cannot install multiple files.
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4758 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4759 if test -z "$INSTALL"; then
4760 if ${ac_cv_path_install+:} false; then :
4761 $as_echo_n "(cached) " >&6
4762 else
4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 for as_dir in $PATH
4766 IFS=$as_save_IFS
4767 test -z "$as_dir" && as_dir=.
4768 # Account for people who put trailing slashes in PATH elements.
4769 case $as_dir/ in #((
4770 ./ | .// | /[cC]/* | \
4771 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4772 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4773 /usr/ucb/* ) ;;
4775 # OSF1 and SCO ODT 3.0 have their own names for install.
4776 # Don't use installbsd from OSF since it installs stuff as root
4777 # by default.
4778 for ac_prog in ginstall scoinst install; do
4779 for ac_exec_ext in '' $ac_executable_extensions; do
4780 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4781 if test $ac_prog = install &&
4782 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4783 # AIX install. It has an incompatible calling convention.
4785 elif test $ac_prog = install &&
4786 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4787 # program-specific install script used by HP pwplus--don't use.
4789 else
4790 rm -rf conftest.one conftest.two conftest.dir
4791 echo one > conftest.one
4792 echo two > conftest.two
4793 mkdir conftest.dir
4794 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4795 test -s conftest.one && test -s conftest.two &&
4796 test -s conftest.dir/conftest.one &&
4797 test -s conftest.dir/conftest.two
4798 then
4799 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4800 break 3
4804 done
4805 done
4807 esac
4809 done
4810 IFS=$as_save_IFS
4812 rm -rf conftest.one conftest.two conftest.dir
4815 if test "${ac_cv_path_install+set}" = set; then
4816 INSTALL=$ac_cv_path_install
4817 else
4818 # As a last resort, use the slow shell script. Don't cache a
4819 # value for INSTALL within a source directory, because that will
4820 # break other packages using the cache if that directory is
4821 # removed, or if the value is a relative name.
4822 INSTALL=$ac_install_sh
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4826 $as_echo "$INSTALL" >&6; }
4828 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4829 # It thinks the first close brace ends the variable substitution.
4830 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4832 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4834 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4836 case "$INSTALL" in
4837 [\\/$]* | ?:[\\/]* ) ;;
4838 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4839 esac
4841 for ac_prog in lclint lint
4843 # Extract the first word of "$ac_prog", so it can be a program name with args.
4844 set dummy $ac_prog; ac_word=$2
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4846 $as_echo_n "checking for $ac_word... " >&6; }
4847 if ${ac_cv_prog_LINT+:} false; then :
4848 $as_echo_n "(cached) " >&6
4849 else
4850 if test -n "$LINT"; then
4851 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4852 else
4853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4854 for as_dir in $PATH
4856 IFS=$as_save_IFS
4857 test -z "$as_dir" && as_dir=.
4858 for ac_exec_ext in '' $ac_executable_extensions; do
4859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4860 ac_cv_prog_LINT="$ac_prog"
4861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4862 break 2
4864 done
4865 done
4866 IFS=$as_save_IFS
4870 LINT=$ac_cv_prog_LINT
4871 if test -n "$LINT"; then
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4873 $as_echo "$LINT" >&6; }
4874 else
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4876 $as_echo "no" >&6; }
4880 test -n "$LINT" && break
4881 done
4883 if test "$LINT" = "lint"
4884 then
4885 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4889 for ac_prog in fontforge
4891 # Extract the first word of "$ac_prog", so it can be a program name with args.
4892 set dummy $ac_prog; ac_word=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if ${ac_cv_prog_FONTFORGE+:} false; then :
4896 $as_echo_n "(cached) " >&6
4897 else
4898 if test -n "$FONTFORGE"; then
4899 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4900 else
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 for as_dir in $PATH
4904 IFS=$as_save_IFS
4905 test -z "$as_dir" && as_dir=.
4906 for ac_exec_ext in '' $ac_executable_extensions; do
4907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4908 ac_cv_prog_FONTFORGE="$ac_prog"
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4910 break 2
4912 done
4913 done
4914 IFS=$as_save_IFS
4918 FONTFORGE=$ac_cv_prog_FONTFORGE
4919 if test -n "$FONTFORGE"; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4921 $as_echo "$FONTFORGE" >&6; }
4922 else
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4928 test -n "$FONTFORGE" && break
4929 done
4930 test -n "$FONTFORGE" || FONTFORGE="false"
4932 for ac_prog in pkg-config
4934 # Extract the first word of "$ac_prog", so it can be a program name with args.
4935 set dummy $ac_prog; ac_word=$2
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4937 $as_echo_n "checking for $ac_word... " >&6; }
4938 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4939 $as_echo_n "(cached) " >&6
4940 else
4941 if test -n "$PKG_CONFIG"; then
4942 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4943 else
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945 for as_dir in $PATH
4947 IFS=$as_save_IFS
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_PKG_CONFIG="$ac_prog"
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 break 2
4955 done
4956 done
4957 IFS=$as_save_IFS
4961 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4962 if test -n "$PKG_CONFIG"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4964 $as_echo "$PKG_CONFIG" >&6; }
4965 else
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4971 test -n "$PKG_CONFIG" && break
4972 done
4973 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4975 for ac_prog in rsvg
4977 # Extract the first word of "$ac_prog", so it can be a program name with args.
4978 set dummy $ac_prog; ac_word=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if ${ac_cv_prog_RSVG+:} false; then :
4982 $as_echo_n "(cached) " >&6
4983 else
4984 if test -n "$RSVG"; then
4985 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4986 else
4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 for as_dir in $PATH
4990 IFS=$as_save_IFS
4991 test -z "$as_dir" && as_dir=.
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4994 ac_cv_prog_RSVG="$ac_prog"
4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 break 2
4998 done
4999 done
5000 IFS=$as_save_IFS
5004 RSVG=$ac_cv_prog_RSVG
5005 if test -n "$RSVG"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5007 $as_echo "$RSVG" >&6; }
5008 else
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5014 test -n "$RSVG" && break
5015 done
5016 test -n "$RSVG" || RSVG="false"
5018 for ac_prog in convert
5020 # Extract the first word of "$ac_prog", so it can be a program name with args.
5021 set dummy $ac_prog; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_CONVERT+:} false; then :
5025 $as_echo_n "(cached) " >&6
5026 else
5027 if test -n "$CONVERT"; then
5028 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5029 else
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 for as_dir in $PATH
5033 IFS=$as_save_IFS
5034 test -z "$as_dir" && as_dir=.
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_CONVERT="$ac_prog"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 break 2
5041 done
5042 done
5043 IFS=$as_save_IFS
5047 CONVERT=$ac_cv_prog_CONVERT
5048 if test -n "$CONVERT"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5050 $as_echo "$CONVERT" >&6; }
5051 else
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5057 test -n "$CONVERT" && break
5058 done
5059 test -n "$CONVERT" || CONVERT="false"
5061 for ac_prog in icotool
5063 # Extract the first word of "$ac_prog", so it can be a program name with args.
5064 set dummy $ac_prog; ac_word=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if ${ac_cv_prog_ICOTOOL+:} false; then :
5068 $as_echo_n "(cached) " >&6
5069 else
5070 if test -n "$ICOTOOL"; then
5071 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5072 else
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 for as_dir in $PATH
5076 IFS=$as_save_IFS
5077 test -z "$as_dir" && as_dir=.
5078 for ac_exec_ext in '' $ac_executable_extensions; do
5079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5080 ac_cv_prog_ICOTOOL="$ac_prog"
5081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 break 2
5084 done
5085 done
5086 IFS=$as_save_IFS
5090 ICOTOOL=$ac_cv_prog_ICOTOOL
5091 if test -n "$ICOTOOL"; then
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5093 $as_echo "$ICOTOOL" >&6; }
5094 else
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5100 test -n "$ICOTOOL" && break
5101 done
5102 test -n "$ICOTOOL" || ICOTOOL="false"
5104 for ac_prog in msgfmt
5106 # Extract the first word of "$ac_prog", so it can be a program name with args.
5107 set dummy $ac_prog; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if ${ac_cv_prog_MSGFMT+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 if test -n "$MSGFMT"; then
5114 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5115 else
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 for as_dir in $PATH
5119 IFS=$as_save_IFS
5120 test -z "$as_dir" && as_dir=.
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5123 ac_cv_prog_MSGFMT="$ac_prog"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 break 2
5127 done
5128 done
5129 IFS=$as_save_IFS
5133 MSGFMT=$ac_cv_prog_MSGFMT
5134 if test -n "$MSGFMT"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5136 $as_echo "$MSGFMT" >&6; }
5137 else
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5143 test -n "$MSGFMT" && break
5144 done
5145 test -n "$MSGFMT" || MSGFMT="false"
5148 if test "x$enable_maintainer_mode" != "xyes"
5149 then
5150 MAINTAINER_MODE=\#
5152 else
5153 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5154 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5156 if test "$CONVERT" = false
5157 then
5158 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5159 else
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5161 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5162 convert_version=`convert --version | head -n1`
5163 if test "x$convert_version" != "x"
5164 then
5165 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5166 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5167 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5168 then
5169 CONVERT=false
5172 if test "$CONVERT" = false
5173 then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5175 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5176 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5179 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5183 if test "$ICOTOOL" = false
5184 then
5185 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5186 else
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5188 $as_echo_n "checking for recent enough icotool... " >&6; }
5189 icotool_version=`icotool --version | head -n1`
5190 if test "x$icotool_version" != "x"
5191 then
5192 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5193 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5194 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5195 then
5196 ICOTOOL=false
5197 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5200 if test "$ICOTOOL" = false
5201 then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5203 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5204 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5207 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5211 with_gettext=yes
5212 with_gettextpo=yes
5213 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5216 test "x$with_gettext" != xno || MSGFMT=false
5217 if test "$MSGFMT" != "false"
5218 then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5220 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5221 cat >conftest.po <<EOF
5222 # comment
5223 msgctxt "ctxt"
5224 msgid "id"
5225 msgstr "str"
5227 if $MSGFMT -o /dev/null conftest.po 2>&5
5228 then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5230 $as_echo "yes" >&6; }
5231 else
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5234 MSGFMT=false
5237 if test "$MSGFMT" = false; then :
5238 case "x$with_gettext" in
5239 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5240 xno) ;;
5241 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5242 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5243 esac
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5248 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5249 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5250 $as_echo_n "(cached) " >&6
5251 else
5252 ac_check_lib_save_LIBS=$LIBS
5253 LIBS="-li386 $LIBS"
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5257 /* Override any GCC internal prototype to avoid an error.
5258 Use char because int might match the return type of a GCC
5259 builtin and then its argument prototype would still apply. */
5260 #ifdef __cplusplus
5261 extern "C"
5262 #endif
5263 char i386_set_ldt ();
5265 main ()
5267 return i386_set_ldt ();
5269 return 0;
5271 _ACEOF
5272 if ac_fn_c_try_link "$LINENO"; then :
5273 ac_cv_lib_i386_i386_set_ldt=yes
5274 else
5275 ac_cv_lib_i386_i386_set_ldt=no
5277 rm -f core conftest.err conftest.$ac_objext \
5278 conftest$ac_exeext conftest.$ac_ext
5279 LIBS=$ac_check_lib_save_LIBS
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5282 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5283 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5284 cat >>confdefs.h <<_ACEOF
5285 #define HAVE_LIBI386 1
5286 _ACEOF
5288 LIBS="-li386 $LIBS"
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5293 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5294 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5295 $as_echo_n "(cached) " >&6
5296 else
5297 ac_check_lib_save_LIBS=$LIBS
5298 LIBS="-lossaudio $LIBS"
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5302 /* Override any GCC internal prototype to avoid an error.
5303 Use char because int might match the return type of a GCC
5304 builtin and then its argument prototype would still apply. */
5305 #ifdef __cplusplus
5306 extern "C"
5307 #endif
5308 char _oss_ioctl ();
5310 main ()
5312 return _oss_ioctl ();
5314 return 0;
5316 _ACEOF
5317 if ac_fn_c_try_link "$LINENO"; then :
5318 ac_cv_lib_ossaudio__oss_ioctl=yes
5319 else
5320 ac_cv_lib_ossaudio__oss_ioctl=no
5322 rm -f core conftest.err conftest.$ac_objext \
5323 conftest$ac_exeext conftest.$ac_ext
5324 LIBS=$ac_check_lib_save_LIBS
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5327 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5328 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5329 cat >>confdefs.h <<_ACEOF
5330 #define HAVE_LIBOSSAUDIO 1
5331 _ACEOF
5333 LIBS="-lossaudio $LIBS"
5338 XLIB=""
5340 OPENGL_LIBS=""
5344 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5346 # Check whether --enable-largefile was given.
5347 if test "${enable_largefile+set}" = set; then :
5348 enableval=$enable_largefile;
5351 if test "$enable_largefile" != no; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5354 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5355 if ${ac_cv_sys_largefile_CC+:} false; then :
5356 $as_echo_n "(cached) " >&6
5357 else
5358 ac_cv_sys_largefile_CC=no
5359 if test "$GCC" != yes; then
5360 ac_save_CC=$CC
5361 while :; do
5362 # IRIX 6.2 and later do not support large files by default,
5363 # so use the C compiler's -n32 option if that helps.
5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5366 #include <sys/types.h>
5367 /* Check that off_t can represent 2**63 - 1 correctly.
5368 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5369 since some C++ compilers masquerading as C compilers
5370 incorrectly reject 9223372036854775807. */
5371 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5372 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5373 && LARGE_OFF_T % 2147483647 == 1)
5374 ? 1 : -1];
5376 main ()
5380 return 0;
5382 _ACEOF
5383 if ac_fn_c_try_compile "$LINENO"; then :
5384 break
5386 rm -f core conftest.err conftest.$ac_objext
5387 CC="$CC -n32"
5388 if ac_fn_c_try_compile "$LINENO"; then :
5389 ac_cv_sys_largefile_CC=' -n32'; break
5391 rm -f core conftest.err conftest.$ac_objext
5392 break
5393 done
5394 CC=$ac_save_CC
5395 rm -f conftest.$ac_ext
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5399 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5400 if test "$ac_cv_sys_largefile_CC" != no; then
5401 CC=$CC$ac_cv_sys_largefile_CC
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5405 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5406 if ${ac_cv_sys_file_offset_bits+:} false; then :
5407 $as_echo_n "(cached) " >&6
5408 else
5409 while :; do
5410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5411 /* end confdefs.h. */
5412 #include <sys/types.h>
5413 /* Check that off_t can represent 2**63 - 1 correctly.
5414 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5415 since some C++ compilers masquerading as C compilers
5416 incorrectly reject 9223372036854775807. */
5417 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5418 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5419 && LARGE_OFF_T % 2147483647 == 1)
5420 ? 1 : -1];
5422 main ()
5426 return 0;
5428 _ACEOF
5429 if ac_fn_c_try_compile "$LINENO"; then :
5430 ac_cv_sys_file_offset_bits=no; break
5432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5434 /* end confdefs.h. */
5435 #define _FILE_OFFSET_BITS 64
5436 #include <sys/types.h>
5437 /* Check that off_t can represent 2**63 - 1 correctly.
5438 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5439 since some C++ compilers masquerading as C compilers
5440 incorrectly reject 9223372036854775807. */
5441 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5442 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5443 && LARGE_OFF_T % 2147483647 == 1)
5444 ? 1 : -1];
5446 main ()
5450 return 0;
5452 _ACEOF
5453 if ac_fn_c_try_compile "$LINENO"; then :
5454 ac_cv_sys_file_offset_bits=64; break
5456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5457 ac_cv_sys_file_offset_bits=unknown
5458 break
5459 done
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5462 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5463 case $ac_cv_sys_file_offset_bits in #(
5464 no | unknown) ;;
5466 cat >>confdefs.h <<_ACEOF
5467 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5468 _ACEOF
5470 esac
5471 rm -rf conftest*
5472 if test $ac_cv_sys_file_offset_bits = unknown; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5474 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5475 if ${ac_cv_sys_large_files+:} false; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 while :; do
5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5481 #include <sys/types.h>
5482 /* Check that off_t can represent 2**63 - 1 correctly.
5483 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5484 since some C++ compilers masquerading as C compilers
5485 incorrectly reject 9223372036854775807. */
5486 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5487 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5488 && LARGE_OFF_T % 2147483647 == 1)
5489 ? 1 : -1];
5491 main ()
5495 return 0;
5497 _ACEOF
5498 if ac_fn_c_try_compile "$LINENO"; then :
5499 ac_cv_sys_large_files=no; break
5501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5503 /* end confdefs.h. */
5504 #define _LARGE_FILES 1
5505 #include <sys/types.h>
5506 /* Check that off_t can represent 2**63 - 1 correctly.
5507 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5508 since some C++ compilers masquerading as C compilers
5509 incorrectly reject 9223372036854775807. */
5510 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5511 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5512 && LARGE_OFF_T % 2147483647 == 1)
5513 ? 1 : -1];
5515 main ()
5519 return 0;
5521 _ACEOF
5522 if ac_fn_c_try_compile "$LINENO"; then :
5523 ac_cv_sys_large_files=1; break
5525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5526 ac_cv_sys_large_files=unknown
5527 break
5528 done
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5531 $as_echo "$ac_cv_sys_large_files" >&6; }
5532 case $ac_cv_sys_large_files in #(
5533 no | unknown) ;;
5535 cat >>confdefs.h <<_ACEOF
5536 #define _LARGE_FILES $ac_cv_sys_large_files
5537 _ACEOF
5539 esac
5540 rm -rf conftest*
5547 ac_ext=c
5548 ac_cpp='$CPP $CPPFLAGS'
5549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5553 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5554 # On Suns, sometimes $CPP names a directory.
5555 if test -n "$CPP" && test -d "$CPP"; then
5556 CPP=
5558 if test -z "$CPP"; then
5559 if ${ac_cv_prog_CPP+:} false; then :
5560 $as_echo_n "(cached) " >&6
5561 else
5562 # Double quotes because CPP needs to be expanded
5563 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5565 ac_preproc_ok=false
5566 for ac_c_preproc_warn_flag in '' yes
5568 # Use a header file that comes with gcc, so configuring glibc
5569 # with a fresh cross-compiler works.
5570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5571 # <limits.h> exists even on freestanding compilers.
5572 # On the NeXT, cc -E runs the code through the compiler's parser,
5573 # not just through cpp. "Syntax error" is here to catch this case.
5574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5575 /* end confdefs.h. */
5576 #ifdef __STDC__
5577 # include <limits.h>
5578 #else
5579 # include <assert.h>
5580 #endif
5581 Syntax error
5582 _ACEOF
5583 if ac_fn_c_try_cpp "$LINENO"; then :
5585 else
5586 # Broken: fails on valid input.
5587 continue
5589 rm -f conftest.err conftest.i conftest.$ac_ext
5591 # OK, works on sane cases. Now check whether nonexistent headers
5592 # can be detected and how.
5593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5594 /* end confdefs.h. */
5595 #include <ac_nonexistent.h>
5596 _ACEOF
5597 if ac_fn_c_try_cpp "$LINENO"; then :
5598 # Broken: success on invalid input.
5599 continue
5600 else
5601 # Passes both tests.
5602 ac_preproc_ok=:
5603 break
5605 rm -f conftest.err conftest.i conftest.$ac_ext
5607 done
5608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5609 rm -f conftest.i conftest.err conftest.$ac_ext
5610 if $ac_preproc_ok; then :
5611 break
5614 done
5615 ac_cv_prog_CPP=$CPP
5618 CPP=$ac_cv_prog_CPP
5619 else
5620 ac_cv_prog_CPP=$CPP
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5623 $as_echo "$CPP" >&6; }
5624 ac_preproc_ok=false
5625 for ac_c_preproc_warn_flag in '' yes
5627 # Use a header file that comes with gcc, so configuring glibc
5628 # with a fresh cross-compiler works.
5629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5630 # <limits.h> exists even on freestanding compilers.
5631 # On the NeXT, cc -E runs the code through the compiler's parser,
5632 # not just through cpp. "Syntax error" is here to catch this case.
5633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5635 #ifdef __STDC__
5636 # include <limits.h>
5637 #else
5638 # include <assert.h>
5639 #endif
5640 Syntax error
5641 _ACEOF
5642 if ac_fn_c_try_cpp "$LINENO"; then :
5644 else
5645 # Broken: fails on valid input.
5646 continue
5648 rm -f conftest.err conftest.i conftest.$ac_ext
5650 # OK, works on sane cases. Now check whether nonexistent headers
5651 # can be detected and how.
5652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5653 /* end confdefs.h. */
5654 #include <ac_nonexistent.h>
5655 _ACEOF
5656 if ac_fn_c_try_cpp "$LINENO"; then :
5657 # Broken: success on invalid input.
5658 continue
5659 else
5660 # Passes both tests.
5661 ac_preproc_ok=:
5662 break
5664 rm -f conftest.err conftest.i conftest.$ac_ext
5666 done
5667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5668 rm -f conftest.i conftest.err conftest.$ac_ext
5669 if $ac_preproc_ok; then :
5671 else
5672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5674 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5675 See \`config.log' for more details" "$LINENO" 5; }
5678 ac_ext=c
5679 ac_cpp='$CPP $CPPFLAGS'
5680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5686 $as_echo_n "checking for ANSI C header files... " >&6; }
5687 if ${ac_cv_header_stdc+:} false; then :
5688 $as_echo_n "(cached) " >&6
5689 else
5690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5691 /* end confdefs.h. */
5692 #include <stdlib.h>
5693 #include <stdarg.h>
5694 #include <string.h>
5695 #include <float.h>
5698 main ()
5702 return 0;
5704 _ACEOF
5705 if ac_fn_c_try_compile "$LINENO"; then :
5706 ac_cv_header_stdc=yes
5707 else
5708 ac_cv_header_stdc=no
5710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5712 if test $ac_cv_header_stdc = yes; then
5713 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5716 #include <string.h>
5718 _ACEOF
5719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5720 $EGREP "memchr" >/dev/null 2>&1; then :
5722 else
5723 ac_cv_header_stdc=no
5725 rm -f conftest*
5729 if test $ac_cv_header_stdc = yes; then
5730 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5732 /* end confdefs.h. */
5733 #include <stdlib.h>
5735 _ACEOF
5736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5737 $EGREP "free" >/dev/null 2>&1; then :
5739 else
5740 ac_cv_header_stdc=no
5742 rm -f conftest*
5746 if test $ac_cv_header_stdc = yes; then
5747 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5748 if test "$cross_compiling" = yes; then :
5750 else
5751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5752 /* end confdefs.h. */
5753 #include <ctype.h>
5754 #include <stdlib.h>
5755 #if ((' ' & 0x0FF) == 0x020)
5756 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5757 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5758 #else
5759 # define ISLOWER(c) \
5760 (('a' <= (c) && (c) <= 'i') \
5761 || ('j' <= (c) && (c) <= 'r') \
5762 || ('s' <= (c) && (c) <= 'z'))
5763 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5764 #endif
5766 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5768 main ()
5770 int i;
5771 for (i = 0; i < 256; i++)
5772 if (XOR (islower (i), ISLOWER (i))
5773 || toupper (i) != TOUPPER (i))
5774 return 2;
5775 return 0;
5777 _ACEOF
5778 if ac_fn_c_try_run "$LINENO"; then :
5780 else
5781 ac_cv_header_stdc=no
5783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5784 conftest.$ac_objext conftest.beam conftest.$ac_ext
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5790 $as_echo "$ac_cv_header_stdc" >&6; }
5791 if test $ac_cv_header_stdc = yes; then
5793 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5797 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5798 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5799 inttypes.h stdint.h unistd.h
5800 do :
5801 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5802 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5804 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5805 cat >>confdefs.h <<_ACEOF
5806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5807 _ACEOF
5811 done
5814 for ac_header in \
5815 AL/al.h \
5816 ApplicationServices/ApplicationServices.h \
5817 AudioToolbox/AudioConverter.h \
5818 AudioUnit/AudioUnit.h \
5819 AudioUnit/AudioComponent.h \
5820 CL/cl.h \
5821 Carbon/Carbon.h \
5822 CoreAudio/CoreAudio.h \
5823 CoreServices/CoreServices.h \
5824 DiskArbitration/DiskArbitration.h \
5825 IOKit/IOKitLib.h \
5826 IOKit/hid/IOHIDLib.h \
5827 OpenAL/al.h \
5828 OpenCL/opencl.h \
5829 QuickTime/ImageCompression.h \
5830 Security/Security.h \
5831 alias.h \
5832 alsa/asoundlib.h \
5833 arpa/inet.h \
5834 arpa/nameser.h \
5835 asm/types.h \
5836 capi20.h \
5837 curses.h \
5838 direct.h \
5839 dirent.h \
5840 dlfcn.h \
5841 elf.h \
5842 float.h \
5843 fnmatch.h \
5844 fontconfig/fontconfig.h \
5845 getopt.h \
5846 gettext-po.h \
5847 grp.h \
5848 gsm.h \
5849 gsm/gsm.h \
5850 ieeefp.h \
5851 inet/mib2.h \
5852 io.h \
5853 jpeglib.h \
5854 kstat.h \
5855 lber.h \
5856 lcms.h \
5857 lcms/lcms.h \
5858 ldap.h \
5859 link.h \
5860 linux/cdrom.h \
5861 linux/compiler.h \
5862 linux/filter.h \
5863 linux/hdreg.h \
5864 linux/input.h \
5865 linux/ioctl.h \
5866 linux/joystick.h \
5867 linux/major.h \
5868 linux/param.h \
5869 linux/serial.h \
5870 linux/types.h \
5871 linux/ucdrom.h \
5872 lwp.h \
5873 mach-o/nlist.h \
5874 mach-o/loader.h \
5875 mach/mach.h \
5876 mach/machine.h \
5877 machine/cpu.h \
5878 machine/limits.h \
5879 machine/sysarch.h \
5880 mntent.h \
5881 mpg123.h \
5882 ncurses.h \
5883 netdb.h \
5884 netinet/in.h \
5885 netinet/in_systm.h \
5886 netinet/tcp.h \
5887 netinet/tcp_fsm.h \
5888 openssl/err.h \
5889 openssl/ssl.h \
5890 png.h \
5891 poll.h \
5892 port.h \
5893 process.h \
5894 pthread.h \
5895 pwd.h \
5896 sched.h \
5897 scsi/scsi.h \
5898 scsi/scsi_ioctl.h \
5899 scsi/sg.h \
5900 stdbool.h \
5901 stdint.h \
5902 stropts.h \
5903 sys/asoundlib.h \
5904 sys/attr.h \
5905 sys/cdio.h \
5906 sys/elf32.h \
5907 sys/epoll.h \
5908 sys/event.h \
5909 sys/exec_elf.h \
5910 sys/filio.h \
5911 sys/inotify.h \
5912 sys/ioctl.h \
5913 sys/ipc.h \
5914 sys/limits.h \
5915 sys/link.h \
5916 sys/mman.h \
5917 sys/modem.h \
5918 sys/msg.h \
5919 sys/mtio.h \
5920 sys/param.h \
5921 sys/poll.h \
5922 sys/prctl.h \
5923 sys/protosw.h \
5924 sys/ptrace.h \
5925 sys/resource.h \
5926 sys/scsiio.h \
5927 sys/shm.h \
5928 sys/signal.h \
5929 sys/socket.h \
5930 sys/socketvar.h \
5931 sys/sockio.h \
5932 sys/statvfs.h \
5933 sys/strtio.h \
5934 sys/syscall.h \
5935 sys/tihdr.h \
5936 sys/time.h \
5937 sys/timeout.h \
5938 sys/times.h \
5939 sys/uio.h \
5940 sys/utsname.h \
5941 sys/vm86.h \
5942 sys/wait.h \
5943 syscall.h \
5944 termios.h \
5945 tiffio.h \
5946 unistd.h \
5947 utime.h \
5948 valgrind/memcheck.h \
5949 valgrind/valgrind.h \
5950 zlib.h
5952 do :
5953 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5954 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5955 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5956 cat >>confdefs.h <<_ACEOF
5957 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5958 _ACEOF
5962 done
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5965 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5966 if ${ac_cv_header_stat_broken+:} false; then :
5967 $as_echo_n "(cached) " >&6
5968 else
5969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5970 /* end confdefs.h. */
5971 #include <sys/types.h>
5972 #include <sys/stat.h>
5974 #if defined S_ISBLK && defined S_IFDIR
5975 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5976 #endif
5978 #if defined S_ISBLK && defined S_IFCHR
5979 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5980 #endif
5982 #if defined S_ISLNK && defined S_IFREG
5983 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5984 #endif
5986 #if defined S_ISSOCK && defined S_IFREG
5987 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5988 #endif
5990 _ACEOF
5991 if ac_fn_c_try_compile "$LINENO"; then :
5992 ac_cv_header_stat_broken=no
5993 else
5994 ac_cv_header_stat_broken=yes
5996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5999 $as_echo "$ac_cv_header_stat_broken" >&6; }
6000 if test $ac_cv_header_stat_broken = yes; then
6002 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6008 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6009 do :
6010 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6011 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6012 #ifdef HAVE_SYS_PARAM_H
6013 # include <sys/param.h>
6014 #endif
6016 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6017 cat >>confdefs.h <<_ACEOF
6018 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6019 _ACEOF
6023 done
6026 for ac_header in \
6027 netinet/ip.h \
6028 net/if.h \
6029 net/if_arp.h \
6030 net/if_dl.h \
6031 net/if_types.h \
6032 net/route.h \
6033 netinet/if_ether.h \
6034 netinet/if_inarp.h \
6035 netinet/in_pcb.h \
6036 netinet/ip_icmp.h \
6037 netinet/ip_var.h \
6038 netinet/udp.h \
6039 netipx/ipx.h \
6040 sys/un.h \
6042 do :
6043 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6044 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6045 #ifdef HAVE_SYS_SOCKET_H
6046 # include <sys/socket.h>
6047 #endif
6048 #ifdef HAVE_SYS_SOCKETVAR_H
6049 # include <sys/socketvar.h>
6050 #endif
6051 #ifdef HAVE_NET_ROUTE_H
6052 # include <net/route.h>
6053 #endif
6054 #ifdef HAVE_NETINET_IN_H
6055 # include <netinet/in.h>
6056 #endif
6057 #ifdef HAVE_NETINET_IN_SYSTM_H
6058 # include <netinet/in_systm.h>
6059 #endif
6060 #ifdef HAVE_NET_IF_H
6061 # include <net/if.h>
6062 #endif
6063 #ifdef HAVE_NETINET_IP_H
6064 # include <netinet/ip.h>
6065 #endif
6067 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6068 cat >>confdefs.h <<_ACEOF
6069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6070 _ACEOF
6074 done
6077 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6078 do :
6079 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6080 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6081 #ifdef HAVE_ALIAS_H
6082 # include <alias.h>
6083 #endif
6084 #ifdef HAVE_SYS_SOCKET_H
6085 # include <sys/socket.h>
6086 #endif
6087 #ifdef HAVE_SYS_SOCKETVAR_H
6088 # include <sys/socketvar.h>
6089 #endif
6090 #ifdef HAVE_SYS_TIMEOUT_H
6091 # include <sys/timeout.h>
6092 #endif
6093 #ifdef HAVE_NETINET_IN_H
6094 # include <netinet/in.h>
6095 #endif
6096 #ifdef HAVE_NETINET_IN_SYSTM_H
6097 # include <netinet/in_systm.h>
6098 #endif
6099 #ifdef HAVE_NETINET_IP_H
6100 # include <netinet/ip.h>
6101 #endif
6102 #ifdef HAVE_NETINET_IP_VAR_H
6103 # include <netinet/ip_var.h>
6104 #endif
6105 #ifdef HAVE_NETINET_IP_ICMP_H
6106 # include <netinet/ip_icmp.h>
6107 #endif
6108 #ifdef HAVE_NETINET_UDP_H
6109 # include <netinet/udp.h>
6110 #endif
6111 #ifdef HAVE_NETINET_TCP_H
6112 # include <netinet/tcp.h>
6113 #endif
6114 #ifdef HAVE_NETINET_TCP_TIMER_H
6115 #include <netinet/tcp_timer.h>
6116 #endif
6118 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6119 cat >>confdefs.h <<_ACEOF
6120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6121 _ACEOF
6125 done
6128 for ac_header in linux/ipx.h linux/irda.h
6129 do :
6130 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6131 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6132 #ifdef HAVE_ASM_TYPES_H
6133 # include <asm/types.h>
6134 #endif
6135 #ifdef HAVE_SYS_SOCKET_H
6136 # include <sys/socket.h>
6137 #endif
6138 #ifdef HAVE_LINUX_TYPES_H
6139 # include <linux/types.h>
6140 #endif
6142 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6143 cat >>confdefs.h <<_ACEOF
6144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6145 _ACEOF
6149 done
6152 for ac_header in mach-o/dyld_images.h
6153 do :
6154 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6155 # include <stdbool.h>
6156 #endif
6157 #ifdef HAVE_STDINT_H
6158 # include <stdint.h>
6159 #endif
6161 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6162 cat >>confdefs.h <<_ACEOF
6163 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6164 _ACEOF
6168 done
6171 for ac_header in resolv.h
6172 do :
6173 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6174 #ifdef HAVE_SYS_SOCKET_H
6175 # include <sys/socket.h>
6176 #endif
6177 #ifdef HAVE_NETINET_IN_H
6178 # include <netinet/in.h>
6179 #endif
6180 #ifdef HAVE_ARPA_NAMESER_H
6181 # include <arpa/nameser.h>
6182 #endif
6184 if test "x$ac_cv_header_resolv_h" = xyes; then :
6185 cat >>confdefs.h <<_ACEOF
6186 #define HAVE_RESOLV_H 1
6187 _ACEOF
6191 done
6194 for ac_header in ifaddrs.h
6195 do :
6196 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6198 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6199 cat >>confdefs.h <<_ACEOF
6200 #define HAVE_IFADDRS_H 1
6201 _ACEOF
6205 done
6208 for ac_header in ucontext.h
6209 do :
6210 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6212 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6213 cat >>confdefs.h <<_ACEOF
6214 #define HAVE_UCONTEXT_H 1
6215 _ACEOF
6219 done
6222 for ac_header in sys/thr.h
6223 do :
6224 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6225 #ifdef HAVE_UCONTEXT_H
6226 #include <ucontext.h>
6227 #endif
6229 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6230 cat >>confdefs.h <<_ACEOF
6231 #define HAVE_SYS_THR_H 1
6232 _ACEOF
6236 done
6239 for ac_header in pthread_np.h
6240 do :
6241 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6242 #include <pthread.h>
6243 #endif
6245 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6246 cat >>confdefs.h <<_ACEOF
6247 #define HAVE_PTHREAD_NP_H 1
6248 _ACEOF
6252 done
6255 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6256 do :
6257 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6258 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6259 #include <sys/time.h>
6260 #endif
6261 #include <sys/types.h>
6262 #ifdef HAVE_ASM_TYPES_H
6263 #include <asm/types.h>
6264 #endif
6266 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6267 cat >>confdefs.h <<_ACEOF
6268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6269 _ACEOF
6273 done
6276 for ac_header in linux/capi.h
6277 do :
6278 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6280 if test "x$ac_cv_header_linux_capi_h" = xyes; then :
6281 cat >>confdefs.h <<_ACEOF
6282 #define HAVE_LINUX_CAPI_H 1
6283 _ACEOF
6287 done
6291 DLLEXT=""
6293 DLLFLAGS="-D_REENTRANT"
6295 LDSHARED=""
6297 LDDLLFLAGS=""
6299 LIBEXT="so"
6301 IMPLIBEXT="def"
6303 LDRPATH_INSTALL=""
6305 LDRPATH_LOCAL=""
6307 STATIC_IMPLIBEXT="def.a"
6308 # Extract the first word of "ldd", so it can be a program name with args.
6309 set dummy ldd; ac_word=$2
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6311 $as_echo_n "checking for $ac_word... " >&6; }
6312 if ${ac_cv_path_LDD+:} false; then :
6313 $as_echo_n "(cached) " >&6
6314 else
6315 case $LDD in
6316 [\\/]* | ?:[\\/]*)
6317 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 as_dummy="/sbin:/usr/sbin:$PATH"
6322 for as_dir in $as_dummy
6324 IFS=$as_save_IFS
6325 test -z "$as_dir" && as_dir=.
6326 for ac_exec_ext in '' $ac_executable_extensions; do
6327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6328 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6330 break 2
6332 done
6333 done
6334 IFS=$as_save_IFS
6336 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6338 esac
6340 LDD=$ac_cv_path_LDD
6341 if test -n "$LDD"; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6343 $as_echo "$LDD" >&6; }
6344 else
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 $as_echo "no" >&6; }
6350 if test -n "$ac_tool_prefix"; then
6351 for ac_prog in readelf
6353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6354 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6356 $as_echo_n "checking for $ac_word... " >&6; }
6357 if ${ac_cv_prog_READELF+:} false; then :
6358 $as_echo_n "(cached) " >&6
6359 else
6360 if test -n "$READELF"; then
6361 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6362 else
6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364 for as_dir in $PATH
6366 IFS=$as_save_IFS
6367 test -z "$as_dir" && as_dir=.
6368 for ac_exec_ext in '' $ac_executable_extensions; do
6369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6370 ac_cv_prog_READELF="$ac_tool_prefix$ac_prog"
6371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6372 break 2
6374 done
6375 done
6376 IFS=$as_save_IFS
6380 READELF=$ac_cv_prog_READELF
6381 if test -n "$READELF"; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6383 $as_echo "$READELF" >&6; }
6384 else
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6386 $as_echo "no" >&6; }
6390 test -n "$READELF" && break
6391 done
6393 if test -z "$READELF"; then
6394 ac_ct_READELF=$READELF
6395 for ac_prog in readelf
6397 # Extract the first word of "$ac_prog", so it can be a program name with args.
6398 set dummy $ac_prog; ac_word=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6402 $as_echo_n "(cached) " >&6
6403 else
6404 if test -n "$ac_ct_READELF"; then
6405 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
6406 else
6407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6408 for as_dir in $PATH
6410 IFS=$as_save_IFS
6411 test -z "$as_dir" && as_dir=.
6412 for ac_exec_ext in '' $ac_executable_extensions; do
6413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6414 ac_cv_prog_ac_ct_READELF="$ac_prog"
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6416 break 2
6418 done
6419 done
6420 IFS=$as_save_IFS
6424 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
6425 if test -n "$ac_ct_READELF"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6427 $as_echo "$ac_ct_READELF" >&6; }
6428 else
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6430 $as_echo "no" >&6; }
6434 test -n "$ac_ct_READELF" && break
6435 done
6437 if test "x$ac_ct_READELF" = x; then
6438 READELF="true"
6439 else
6440 case $cross_compiling:$ac_tool_warned in
6441 yes:)
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6444 ac_tool_warned=yes ;;
6445 esac
6446 READELF=$ac_ct_READELF
6451 case $host_os in
6452 cygwin*|mingw32*)
6453 if test -n "$ac_tool_prefix"; then
6454 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6455 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457 $as_echo_n "checking for $ac_word... " >&6; }
6458 if ${ac_cv_prog_DLLTOOL+:} false; then :
6459 $as_echo_n "(cached) " >&6
6460 else
6461 if test -n "$DLLTOOL"; then
6462 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6463 else
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465 for as_dir in $PATH
6467 IFS=$as_save_IFS
6468 test -z "$as_dir" && as_dir=.
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6471 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6473 break 2
6475 done
6476 done
6477 IFS=$as_save_IFS
6481 DLLTOOL=$ac_cv_prog_DLLTOOL
6482 if test -n "$DLLTOOL"; then
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6484 $as_echo "$DLLTOOL" >&6; }
6485 else
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 $as_echo "no" >&6; }
6492 if test -z "$ac_cv_prog_DLLTOOL"; then
6493 ac_ct_DLLTOOL=$DLLTOOL
6494 # Extract the first word of "dlltool", so it can be a program name with args.
6495 set dummy dlltool; ac_word=$2
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497 $as_echo_n "checking for $ac_word... " >&6; }
6498 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6499 $as_echo_n "(cached) " >&6
6500 else
6501 if test -n "$ac_ct_DLLTOOL"; then
6502 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6503 else
6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6505 for as_dir in $PATH
6507 IFS=$as_save_IFS
6508 test -z "$as_dir" && as_dir=.
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6513 break 2
6515 done
6516 done
6517 IFS=$as_save_IFS
6521 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6522 if test -n "$ac_ct_DLLTOOL"; then
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6524 $as_echo "$ac_ct_DLLTOOL" >&6; }
6525 else
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 $as_echo "no" >&6; }
6530 if test "x$ac_ct_DLLTOOL" = x; then
6531 DLLTOOL="false"
6532 else
6533 case $cross_compiling:$ac_tool_warned in
6534 yes:)
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6537 ac_tool_warned=yes ;;
6538 esac
6539 DLLTOOL=$ac_ct_DLLTOOL
6541 else
6542 DLLTOOL="$ac_cv_prog_DLLTOOL"
6545 if test -n "$ac_tool_prefix"; then
6546 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6547 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 $as_echo_n "checking for $ac_word... " >&6; }
6550 if ${ac_cv_prog_DLLWRAP+:} false; then :
6551 $as_echo_n "(cached) " >&6
6552 else
6553 if test -n "$DLLWRAP"; then
6554 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6555 else
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 for as_dir in $PATH
6559 IFS=$as_save_IFS
6560 test -z "$as_dir" && as_dir=.
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6563 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6565 break 2
6567 done
6568 done
6569 IFS=$as_save_IFS
6573 DLLWRAP=$ac_cv_prog_DLLWRAP
6574 if test -n "$DLLWRAP"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6576 $as_echo "$DLLWRAP" >&6; }
6577 else
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 $as_echo "no" >&6; }
6584 if test -z "$ac_cv_prog_DLLWRAP"; then
6585 ac_ct_DLLWRAP=$DLLWRAP
6586 # Extract the first word of "dllwrap", so it can be a program name with args.
6587 set dummy dllwrap; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 if test -n "$ac_ct_DLLWRAP"; then
6594 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6595 else
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 for as_dir in $PATH
6599 IFS=$as_save_IFS
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 break 2
6607 done
6608 done
6609 IFS=$as_save_IFS
6613 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6614 if test -n "$ac_ct_DLLWRAP"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6616 $as_echo "$ac_ct_DLLWRAP" >&6; }
6617 else
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6622 if test "x$ac_ct_DLLWRAP" = x; then
6623 DLLWRAP="false"
6624 else
6625 case $cross_compiling:$ac_tool_warned in
6626 yes:)
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6629 ac_tool_warned=yes ;;
6630 esac
6631 DLLWRAP=$ac_ct_DLLWRAP
6633 else
6634 DLLWRAP="$ac_cv_prog_DLLWRAP"
6637 if test "$DLLWRAP" = "false"; then
6638 LIBEXT="a"
6639 else
6640 LIBEXT="dll"
6642 IMPLIBEXT="a"
6643 STATIC_IMPLIBEXT="a"
6644 enable_iphlpapi=${enable_iphlpapi:-no}
6645 enable_kernel32=${enable_kernel32:-no}
6646 enable_msvcrt=${enable_msvcrt:-no}
6647 enable_ntdll=${enable_ntdll:-no}
6648 enable_ws2_32=${enable_ws2_32:-no}
6649 enable_loader=${enable_loader:-no}
6650 enable_server=${enable_server:-no}
6651 with_x=${with_x:-no}
6652 with_pthread=${with_pthread:-no}
6654 darwin*|macosx*)
6655 DLLEXT=".so"
6656 LIBEXT="dylib"
6657 DLLFLAGS="$DLLFLAGS -fPIC"
6658 LDDLLFLAGS="-bundle -multiply_defined suppress"
6659 LIBWINE_LDFLAGS="-multiply_defined suppress"
6660 LDSHARED="\$(CC) -dynamiclib"
6661 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6662 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6663 COREFOUNDATIONLIB="-framework CoreFoundation"
6665 IOKITLIB="-framework IOKit -framework CoreFoundation"
6667 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6669 CORESERVICESLIB="-framework CoreServices"
6671 case $host_os in
6672 darwin11*)
6673 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6676 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6678 esac
6679 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6680 then
6681 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6684 if test "$ac_cv_header_Security_Security_h" = "yes"
6685 then
6686 SECURITYLIB="-framework Security -framework CoreFoundation"
6688 ac_save_LIBS="$LIBS"
6689 LIBS="$LIBS $SECURITYLIB"
6690 for ac_func in SSLCopyPeerCertificates
6691 do :
6692 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6693 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6694 cat >>confdefs.h <<_ACEOF
6695 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6696 _ACEOF
6699 done
6701 LIBS="$ac_save_LIBS"
6702 with_gnutls=${with_gnutls:-no}
6704 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6705 then
6706 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6707 then
6708 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6710 else
6711 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6714 ac_save_LIBS="$LIBS"
6715 LIBS="$LIBS $COREAUDIO"
6716 for ac_func in AUGraphAddNode
6717 do :
6718 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6719 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6720 cat >>confdefs.h <<_ACEOF
6721 #define HAVE_AUGRAPHADDNODE 1
6722 _ACEOF
6725 done
6727 LIBS="$ac_save_LIBS"
6729 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6730 then
6731 FRAMEWORK_OPENAL="-framework OpenAL"
6734 cat >>confdefs.h <<_ACEOF
6735 #define HAVE_OPENAL 1
6736 _ACEOF
6738 ac_cv_lib_openal=yes
6740 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6741 then
6742 LIBOPENCL="-framework OpenCL"
6744 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6746 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6747 then
6748 ac_save_LIBS="$LIBS"
6749 LIBS="$LIBS $IOKITLIB"
6750 for ac_func in IOHIDManagerCreate
6751 do :
6752 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6753 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6754 cat >>confdefs.h <<_ACEOF
6755 #define HAVE_IOHIDMANAGERCREATE 1
6756 _ACEOF
6759 done
6761 LIBS="$ac_save_LIBS"
6763 case $host_cpu in
6764 *powerpc*)
6765 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6766 esac
6767 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6768 then
6769 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6771 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6772 else
6773 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6775 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6776 then
6777 CARBONLIB="-framework Carbon"
6781 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6782 then
6783 ac_save_LIBS="$LIBS"
6784 LIBS="$LIBS $APPLICATIONSERVICESLIB"
6785 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6786 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
6787 enable_winemac_drv=${enable_winemac_drv:-yes}
6790 LIBS="$ac_save_LIBS"
6793 if test "x$enable_win16" = "xyes"
6794 then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6796 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6797 if test "$cross_compiling" = yes; then :
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6799 $as_echo "cross-compiling, assuming yes" >&6; }
6800 else
6801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6802 /* end confdefs.h. */
6803 asm(".text\n"
6804 "bad:\tnop;nop\n"
6805 "good:\tnop;nop\n\t"
6806 ".globl _testfunc\n"
6807 "_testfunc:\tcallw good");
6808 extern void testfunc();
6810 main ()
6812 unsigned short *p = (unsigned short *)testfunc;
6813 return p[0] != 0xe866 || p[1] != 0xfffa
6815 return 0;
6817 _ACEOF
6818 if ac_fn_c_try_run "$LINENO"; then :
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6820 $as_echo "yes" >&6; }
6821 else
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6823 $as_echo "no" >&6; }
6824 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
6826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6827 conftest.$ac_objext conftest.beam conftest.$ac_ext
6833 DLLFLAGS="$DLLFLAGS -fPIC"
6834 DLLEXT=".so"
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6836 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6837 if ${ac_cv_c_dll_gnuelf+:} false; then :
6838 $as_echo_n "(cached) " >&6
6839 else
6840 ac_wine_try_cflags_saved=$CFLAGS
6841 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6844 void myfunc() {}
6845 _ACEOF
6846 if ac_fn_c_try_link "$LINENO"; then :
6847 ac_cv_c_dll_gnuelf="yes"
6848 else
6849 ac_cv_c_dll_gnuelf="no"
6851 rm -f core conftest.err conftest.$ac_objext \
6852 conftest$ac_exeext conftest.$ac_ext
6853 CFLAGS=$ac_wine_try_cflags_saved
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6856 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6857 if test "$ac_cv_c_dll_gnuelf" = "yes"
6858 then
6859 LDSHARED="\$(CC) -shared"
6860 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6862 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6863 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6864 $as_echo_n "(cached) " >&6
6865 else
6866 ac_wine_try_cflags_saved=$CFLAGS
6867 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6869 /* end confdefs.h. */
6870 int main(int argc, char **argv) { return 0; }
6871 _ACEOF
6872 if ac_fn_c_try_link "$LINENO"; then :
6873 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6874 else
6875 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6877 rm -f core conftest.err conftest.$ac_objext \
6878 conftest$ac_exeext conftest.$ac_ext
6879 CFLAGS=$ac_wine_try_cflags_saved
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6882 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6883 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6884 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6885 else
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6887 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6888 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6889 $as_echo_n "(cached) " >&6
6890 else
6891 ac_wine_try_cflags_saved=$CFLAGS
6892 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894 /* end confdefs.h. */
6895 int main(int argc, char **argv) { return 0; }
6896 _ACEOF
6897 if ac_fn_c_try_link "$LINENO"; then :
6898 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6899 else
6900 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6902 rm -f core conftest.err conftest.$ac_objext \
6903 conftest$ac_exeext conftest.$ac_ext
6904 CFLAGS=$ac_wine_try_cflags_saved
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6907 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6908 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6909 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6914 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6915 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6916 $as_echo_n "(cached) " >&6
6917 else
6918 ac_wine_try_cflags_saved=$CFLAGS
6919 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6921 /* end confdefs.h. */
6922 int main(int argc, char **argv) { return 0; }
6923 _ACEOF
6924 if ac_fn_c_try_link "$LINENO"; then :
6925 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6926 else
6927 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6929 rm -f core conftest.err conftest.$ac_objext \
6930 conftest$ac_exeext conftest.$ac_ext
6931 CFLAGS=$ac_wine_try_cflags_saved
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6934 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6935 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6936 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
6940 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6941 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6942 $as_echo_n "(cached) " >&6
6943 else
6944 ac_wine_try_cflags_saved=$CFLAGS
6945 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6947 /* end confdefs.h. */
6948 int main(int argc, char **argv) { return 0; }
6949 _ACEOF
6950 if ac_fn_c_try_link "$LINENO"; then :
6951 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6952 else
6953 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6955 rm -f core conftest.err conftest.$ac_objext \
6956 conftest$ac_exeext conftest.$ac_ext
6957 CFLAGS=$ac_wine_try_cflags_saved
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6960 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6961 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6962 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6965 echo '{ global: *; };' >conftest.map
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6967 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6968 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
6969 $as_echo_n "(cached) " >&6
6970 else
6971 ac_wine_try_cflags_saved=$CFLAGS
6972 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6975 int main(int argc, char **argv) { return 0; }
6976 _ACEOF
6977 if ac_fn_c_try_link "$LINENO"; then :
6978 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
6979 else
6980 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
6982 rm -f core conftest.err conftest.$ac_objext \
6983 conftest$ac_exeext conftest.$ac_ext
6984 CFLAGS=$ac_wine_try_cflags_saved
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6987 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6988 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6989 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6991 rm -f conftest.map
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6994 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6995 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6996 $as_echo_n "(cached) " >&6
6997 else
6998 ac_wine_try_cflags_saved=$CFLAGS
6999 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7001 /* end confdefs.h. */
7002 int main(int argc, char **argv) { return 0; }
7003 _ACEOF
7004 if ac_fn_c_try_link "$LINENO"; then :
7005 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7006 else
7007 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7009 rm -f core conftest.err conftest.$ac_objext \
7010 conftest$ac_exeext conftest.$ac_ext
7011 CFLAGS=$ac_wine_try_cflags_saved
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7014 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7015 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7016 LDEXECFLAGS="-Wl,--export-dynamic"
7020 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7022 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7023 if eval \${$as_ac_var+:} false; then :
7024 $as_echo_n "(cached) " >&6
7025 else
7026 ac_wine_try_cflags_saved=$CFLAGS
7027 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7029 /* end confdefs.h. */
7030 int main(int argc, char **argv) { return 0; }
7031 _ACEOF
7032 if ac_fn_c_try_link "$LINENO"; then :
7033 eval "$as_ac_var=yes"
7034 else
7035 eval "$as_ac_var=no"
7037 rm -f core conftest.err conftest.$ac_objext \
7038 conftest$ac_exeext conftest.$ac_ext
7039 CFLAGS=$ac_wine_try_cflags_saved
7041 eval ac_res=\$$as_ac_var
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7043 $as_echo "$ac_res" >&6; }
7044 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7045 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7046 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7047 else
7048 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7050 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7051 if eval \${$as_ac_var+:} false; then :
7052 $as_echo_n "(cached) " >&6
7053 else
7054 ac_wine_try_cflags_saved=$CFLAGS
7055 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7057 /* end confdefs.h. */
7058 int main(int argc, char **argv) { return 0; }
7059 _ACEOF
7060 if ac_fn_c_try_link "$LINENO"; then :
7061 eval "$as_ac_var=yes"
7062 else
7063 eval "$as_ac_var=no"
7065 rm -f core conftest.err conftest.$ac_objext \
7066 conftest$ac_exeext conftest.$ac_ext
7067 CFLAGS=$ac_wine_try_cflags_saved
7069 eval ac_res=\$$as_ac_var
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7071 $as_echo "$ac_res" >&6; }
7072 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7073 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7074 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7079 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7080 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7081 $as_echo_n "(cached) " >&6
7082 else
7083 ac_wine_try_cflags_saved=$CFLAGS
7084 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7086 /* end confdefs.h. */
7087 int main(int argc, char **argv) { return 0; }
7088 _ACEOF
7089 if ac_fn_c_try_link "$LINENO"; then :
7090 ac_cv_cflags__Wl___enable_new_dtags=yes
7091 else
7092 ac_cv_cflags__Wl___enable_new_dtags=no
7094 rm -f core conftest.err conftest.$ac_objext \
7095 conftest$ac_exeext conftest.$ac_ext
7096 CFLAGS=$ac_wine_try_cflags_saved
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7099 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7100 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7101 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7104 case $host_cpu in
7105 *i[3456789]86* | x86_64)
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7107 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7108 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7109 $as_echo_n "(cached) " >&6
7110 else
7111 ac_wine_try_cflags_saved=$CFLAGS
7112 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h. */
7115 int main(int argc, char **argv) { return 0; }
7116 _ACEOF
7117 if ac_fn_c_try_link "$LINENO"; then :
7118 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7119 else
7120 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7122 rm -f core conftest.err conftest.$ac_objext \
7123 conftest$ac_exeext conftest.$ac_ext
7124 CFLAGS=$ac_wine_try_cflags_saved
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7127 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7128 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7129 case $host_os in
7130 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7131 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7132 esac
7135 # Extract the first word of "prelink", so it can be a program name with args.
7136 set dummy prelink; ac_word=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 $as_echo_n "checking for $ac_word... " >&6; }
7139 if ${ac_cv_path_PRELINK+:} false; then :
7140 $as_echo_n "(cached) " >&6
7141 else
7142 case $PRELINK in
7143 [\\/]* | ?:[\\/]*)
7144 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 for as_dir in /sbin /usr/sbin $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_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
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
7162 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7164 esac
7166 PRELINK=$ac_cv_path_PRELINK
7167 if test -n "$PRELINK"; then
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7169 $as_echo "$PRELINK" >&6; }
7170 else
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 $as_echo "no" >&6; }
7176 if test "x$PRELINK" = xfalse
7177 then
7178 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7181 esac
7183 else
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7185 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7186 if ${ac_cv_c_dll_unixware+:} false; then :
7187 $as_echo_n "(cached) " >&6
7188 else
7189 ac_wine_try_cflags_saved=$CFLAGS
7190 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h. */
7193 void myfunc() {}
7194 _ACEOF
7195 if ac_fn_c_try_link "$LINENO"; then :
7196 ac_cv_c_dll_unixware="yes"
7197 else
7198 ac_cv_c_dll_unixware="no"
7200 rm -f core conftest.err conftest.$ac_objext \
7201 conftest$ac_exeext conftest.$ac_ext
7202 CFLAGS=$ac_wine_try_cflags_saved
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7205 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7206 if test "$ac_cv_c_dll_unixware" = "yes"
7207 then
7208 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7209 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7211 else
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7213 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7214 if ${ac_cv_c_dll_hpux+:} false; then :
7215 $as_echo_n "(cached) " >&6
7216 else
7217 ac_wine_try_cflags_saved=$CFLAGS
7218 CFLAGS="$CFLAGS -shared"
7219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7220 /* end confdefs.h. */
7221 void myfunc() {}
7222 _ACEOF
7223 if ac_fn_c_try_link "$LINENO"; then :
7224 ac_cv_c_dll_hpux="yes"
7225 else
7226 ac_cv_c_dll_hpux="no"
7228 rm -f core conftest.err conftest.$ac_objext \
7229 conftest$ac_exeext conftest.$ac_ext
7230 CFLAGS=$ac_wine_try_cflags_saved
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7233 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7234 if test "$ac_cv_c_dll_hpux" = "yes"
7235 then
7236 LIBEXT="sl"
7237 DLLEXT=".sl"
7238 LDDLLFLAGS="-shared -fPIC"
7239 LDSHARED="\$(CC) -shared"
7244 esac
7246 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7247 enable_winemac_drv=${enable_winemac_drv:-no}
7249 if test "$LIBEXT" = "a"; then
7250 as_fn_error $? "could not find a way to build shared libraries.
7251 It is currently not possible to build Wine without shared library
7252 (.so) support to allow transparent switch between .so and .dll files.
7253 If you are using Linux, you will need a newer binutils.
7254 " "$LINENO" 5
7257 CROSSTEST_DISABLE=\#
7259 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7260 then
7261 case "$host_cpu" in
7262 i[3456789]86*)
7263 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
7264 mingw32-gcc" ;;
7265 x86_64)
7266 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 " ;;
7268 ac_prefix_list="" ;;
7269 esac
7270 for ac_prog in $ac_prefix_list
7272 # Extract the first word of "$ac_prog", so it can be a program name with args.
7273 set dummy $ac_prog; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if ${ac_cv_prog_CROSSCC+:} false; then :
7277 $as_echo_n "(cached) " >&6
7278 else
7279 if test -n "$CROSSCC"; then
7280 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7281 else
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 for as_dir in $PATH
7285 IFS=$as_save_IFS
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7289 ac_cv_prog_CROSSCC="$ac_prog"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 break 2
7293 done
7294 done
7295 IFS=$as_save_IFS
7299 CROSSCC=$ac_cv_prog_CROSSCC
7300 if test -n "$CROSSCC"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7302 $as_echo "$CROSSCC" >&6; }
7303 else
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7309 test -n "$CROSSCC" && break
7310 done
7311 test -n "$CROSSCC" || CROSSCC="false"
7313 if test "$CROSSCC" != "false"
7314 then
7315 ac_save_CC="$CC"
7316 CC="$CROSSCC"
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7318 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7320 /* end confdefs.h. */
7323 main ()
7327 return 0;
7329 _ACEOF
7330 if ac_fn_c_try_compile "$LINENO"; then :
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7332 $as_echo "yes" >&6; }
7333 set x $CROSSCC
7334 shift
7335 target=""
7336 while test $# -ge 1
7338 case "$1" in
7339 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7340 esac
7341 shift
7342 done
7343 if test -n "$target"
7344 then
7345 CROSSTEST_DISABLE=""
7346 CROSSTARGET="$target"
7349 else
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 $as_echo "no" >&6; }
7353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7354 CC="$ac_save_CC"
7359 if test "$ac_cv_header_pthread_h" = "yes"
7360 then
7361 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7362 if test "x$ac_cv_func_pthread_create" = xyes; then :
7364 else
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7366 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7367 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7368 $as_echo_n "(cached) " >&6
7369 else
7370 ac_check_lib_save_LIBS=$LIBS
7371 LIBS="-lpthread $LIBS"
7372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7373 /* end confdefs.h. */
7375 /* Override any GCC internal prototype to avoid an error.
7376 Use char because int might match the return type of a GCC
7377 builtin and then its argument prototype would still apply. */
7378 #ifdef __cplusplus
7379 extern "C"
7380 #endif
7381 char pthread_create ();
7383 main ()
7385 return pthread_create ();
7387 return 0;
7389 _ACEOF
7390 if ac_fn_c_try_link "$LINENO"; then :
7391 ac_cv_lib_pthread_pthread_create=yes
7392 else
7393 ac_cv_lib_pthread_pthread_create=no
7395 rm -f core conftest.err conftest.$ac_objext \
7396 conftest$ac_exeext conftest.$ac_ext
7397 LIBS=$ac_check_lib_save_LIBS
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7400 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7401 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7402 LIBPTHREAD="-lpthread"
7409 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
7410 case "x$with_pthread" in
7411 xno) ;;
7412 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7413 Wine cannot support threads without libpthread.
7414 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7415 esac
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7420 $as_echo_n "checking for X... " >&6; }
7423 # Check whether --with-x was given.
7424 if test "${with_x+set}" = set; then :
7425 withval=$with_x;
7428 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7429 if test "x$with_x" = xno; then
7430 # The user explicitly disabled X.
7431 have_x=disabled
7432 else
7433 case $x_includes,$x_libraries in #(
7434 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7435 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7436 $as_echo_n "(cached) " >&6
7437 else
7438 # One or both of the vars are not set, and there is no cached value.
7439 ac_x_includes=no ac_x_libraries=no
7440 rm -f -r conftest.dir
7441 if mkdir conftest.dir; then
7442 cd conftest.dir
7443 cat >Imakefile <<'_ACEOF'
7444 incroot:
7445 @echo incroot='${INCROOT}'
7446 usrlibdir:
7447 @echo usrlibdir='${USRLIBDIR}'
7448 libdir:
7449 @echo libdir='${LIBDIR}'
7450 _ACEOF
7451 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7452 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7453 for ac_var in incroot usrlibdir libdir; do
7454 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7455 done
7456 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7457 for ac_extension in a so sl dylib la dll; do
7458 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7459 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7460 ac_im_usrlibdir=$ac_im_libdir; break
7462 done
7463 # Screen out bogus values from the imake configuration. They are
7464 # bogus both because they are the default anyway, and because
7465 # using them would break gcc on systems where it needs fixed includes.
7466 case $ac_im_incroot in
7467 /usr/include) ac_x_includes= ;;
7468 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7469 esac
7470 case $ac_im_usrlibdir in
7471 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7472 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7473 esac
7475 cd ..
7476 rm -f -r conftest.dir
7479 # Standard set of common directories for X headers.
7480 # Check X11 before X11Rn because it is often a symlink to the current release.
7481 ac_x_header_dirs='
7482 /usr/X11/include
7483 /usr/X11R7/include
7484 /usr/X11R6/include
7485 /usr/X11R5/include
7486 /usr/X11R4/include
7488 /usr/include/X11
7489 /usr/include/X11R7
7490 /usr/include/X11R6
7491 /usr/include/X11R5
7492 /usr/include/X11R4
7494 /usr/local/X11/include
7495 /usr/local/X11R7/include
7496 /usr/local/X11R6/include
7497 /usr/local/X11R5/include
7498 /usr/local/X11R4/include
7500 /usr/local/include/X11
7501 /usr/local/include/X11R7
7502 /usr/local/include/X11R6
7503 /usr/local/include/X11R5
7504 /usr/local/include/X11R4
7506 /usr/X386/include
7507 /usr/x386/include
7508 /usr/XFree86/include/X11
7510 /usr/include
7511 /usr/local/include
7512 /usr/unsupported/include
7513 /usr/athena/include
7514 /usr/local/x11r5/include
7515 /usr/lpp/Xamples/include
7517 /usr/openwin/include
7518 /usr/openwin/share/include'
7520 if test "$ac_x_includes" = no; then
7521 # Guess where to find include files, by looking for Xlib.h.
7522 # First, try using that file with no special directory specified.
7523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7524 /* end confdefs.h. */
7525 #include <X11/Xlib.h>
7526 _ACEOF
7527 if ac_fn_c_try_cpp "$LINENO"; then :
7528 # We can compile using X headers with no special include directory.
7529 ac_x_includes=
7530 else
7531 for ac_dir in $ac_x_header_dirs; do
7532 if test -r "$ac_dir/X11/Xlib.h"; then
7533 ac_x_includes=$ac_dir
7534 break
7536 done
7538 rm -f conftest.err conftest.i conftest.$ac_ext
7539 fi # $ac_x_includes = no
7541 if test "$ac_x_libraries" = no; then
7542 # Check for the libraries.
7543 # See if we find them without any special options.
7544 # Don't add to $LIBS permanently.
7545 ac_save_LIBS=$LIBS
7546 LIBS="-lX11 $LIBS"
7547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7548 /* end confdefs.h. */
7549 #include <X11/Xlib.h>
7551 main ()
7553 XrmInitialize ()
7555 return 0;
7557 _ACEOF
7558 if ac_fn_c_try_link "$LINENO"; then :
7559 LIBS=$ac_save_LIBS
7560 # We can link X programs with no special library path.
7561 ac_x_libraries=
7562 else
7563 LIBS=$ac_save_LIBS
7564 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7566 # Don't even attempt the hair of trying to link an X program!
7567 for ac_extension in a so sl dylib la dll; do
7568 if test -r "$ac_dir/libX11.$ac_extension"; then
7569 ac_x_libraries=$ac_dir
7570 break 2
7572 done
7573 done
7575 rm -f core conftest.err conftest.$ac_objext \
7576 conftest$ac_exeext conftest.$ac_ext
7577 fi # $ac_x_libraries = no
7579 case $ac_x_includes,$ac_x_libraries in #(
7580 no,* | *,no | *\'*)
7581 # Didn't find X, or a directory has "'" in its name.
7582 ac_cv_have_x="have_x=no";; #(
7584 # Record where we found X for the cache.
7585 ac_cv_have_x="have_x=yes\
7586 ac_x_includes='$ac_x_includes'\
7587 ac_x_libraries='$ac_x_libraries'"
7588 esac
7590 ;; #(
7591 *) have_x=yes;;
7592 esac
7593 eval "$ac_cv_have_x"
7594 fi # $with_x != no
7596 if test "$have_x" != yes; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7598 $as_echo "$have_x" >&6; }
7599 no_x=yes
7600 else
7601 # If each of the values was on the command line, it overrides each guess.
7602 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7603 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7604 # Update the cache value to reflect the command line values.
7605 ac_cv_have_x="have_x=yes\
7606 ac_x_includes='$x_includes'\
7607 ac_x_libraries='$x_libraries'"
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7609 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7612 if test "$no_x" = yes; then
7613 # Not all programs may use this symbol, but it does not hurt to define it.
7615 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7617 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7618 else
7619 if test -n "$x_includes"; then
7620 X_CFLAGS="$X_CFLAGS -I$x_includes"
7623 # It would also be nice to do this for all -L options, not just this one.
7624 if test -n "$x_libraries"; then
7625 X_LIBS="$X_LIBS -L$x_libraries"
7626 # For Solaris; some versions of Sun CC require a space after -R and
7627 # others require no space. Words are not sufficient . . . .
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7629 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7630 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7631 ac_xsave_c_werror_flag=$ac_c_werror_flag
7632 ac_c_werror_flag=yes
7633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7634 /* end confdefs.h. */
7637 main ()
7641 return 0;
7643 _ACEOF
7644 if ac_fn_c_try_link "$LINENO"; then :
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646 $as_echo "no" >&6; }
7647 X_LIBS="$X_LIBS -R$x_libraries"
7648 else
7649 LIBS="$ac_xsave_LIBS -R $x_libraries"
7650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7654 main ()
7658 return 0;
7660 _ACEOF
7661 if ac_fn_c_try_link "$LINENO"; then :
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7663 $as_echo "yes" >&6; }
7664 X_LIBS="$X_LIBS -R $x_libraries"
7665 else
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7667 $as_echo "neither works" >&6; }
7669 rm -f core conftest.err conftest.$ac_objext \
7670 conftest$ac_exeext conftest.$ac_ext
7672 rm -f core conftest.err conftest.$ac_objext \
7673 conftest$ac_exeext conftest.$ac_ext
7674 ac_c_werror_flag=$ac_xsave_c_werror_flag
7675 LIBS=$ac_xsave_LIBS
7678 # Check for system-dependent libraries X programs must link with.
7679 # Do this before checking for the system-independent R6 libraries
7680 # (-lICE), since we may need -lsocket or whatever for X linking.
7682 if test "$ISC" = yes; then
7683 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7684 else
7685 # Martyn Johnson says this is needed for Ultrix, if the X
7686 # libraries were built with DECnet support. And Karl Berry says
7687 # the Alpha needs dnet_stub (dnet does not exist).
7688 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7690 /* end confdefs.h. */
7692 /* Override any GCC internal prototype to avoid an error.
7693 Use char because int might match the return type of a GCC
7694 builtin and then its argument prototype would still apply. */
7695 #ifdef __cplusplus
7696 extern "C"
7697 #endif
7698 char XOpenDisplay ();
7700 main ()
7702 return XOpenDisplay ();
7704 return 0;
7706 _ACEOF
7707 if ac_fn_c_try_link "$LINENO"; then :
7709 else
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7711 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7712 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7713 $as_echo_n "(cached) " >&6
7714 else
7715 ac_check_lib_save_LIBS=$LIBS
7716 LIBS="-ldnet $LIBS"
7717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7720 /* Override any GCC internal prototype to avoid an error.
7721 Use char because int might match the return type of a GCC
7722 builtin and then its argument prototype would still apply. */
7723 #ifdef __cplusplus
7724 extern "C"
7725 #endif
7726 char dnet_ntoa ();
7728 main ()
7730 return dnet_ntoa ();
7732 return 0;
7734 _ACEOF
7735 if ac_fn_c_try_link "$LINENO"; then :
7736 ac_cv_lib_dnet_dnet_ntoa=yes
7737 else
7738 ac_cv_lib_dnet_dnet_ntoa=no
7740 rm -f core conftest.err conftest.$ac_objext \
7741 conftest$ac_exeext conftest.$ac_ext
7742 LIBS=$ac_check_lib_save_LIBS
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7745 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7746 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7747 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7750 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7752 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7753 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7754 $as_echo_n "(cached) " >&6
7755 else
7756 ac_check_lib_save_LIBS=$LIBS
7757 LIBS="-ldnet_stub $LIBS"
7758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7761 /* Override any GCC internal prototype to avoid an error.
7762 Use char because int might match the return type of a GCC
7763 builtin and then its argument prototype would still apply. */
7764 #ifdef __cplusplus
7765 extern "C"
7766 #endif
7767 char dnet_ntoa ();
7769 main ()
7771 return dnet_ntoa ();
7773 return 0;
7775 _ACEOF
7776 if ac_fn_c_try_link "$LINENO"; then :
7777 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7778 else
7779 ac_cv_lib_dnet_stub_dnet_ntoa=no
7781 rm -f core conftest.err conftest.$ac_objext \
7782 conftest$ac_exeext conftest.$ac_ext
7783 LIBS=$ac_check_lib_save_LIBS
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7786 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7787 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7788 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7793 rm -f core conftest.err conftest.$ac_objext \
7794 conftest$ac_exeext conftest.$ac_ext
7795 LIBS="$ac_xsave_LIBS"
7797 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7798 # to get the SysV transport functions.
7799 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7800 # needs -lnsl.
7801 # The nsl library prevents programs from opening the X display
7802 # on Irix 5.2, according to T.E. Dickey.
7803 # The functions gethostbyname, getservbyname, and inet_addr are
7804 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7805 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7806 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7810 if test $ac_cv_func_gethostbyname = no; then
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7812 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7813 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7814 $as_echo_n "(cached) " >&6
7815 else
7816 ac_check_lib_save_LIBS=$LIBS
7817 LIBS="-lnsl $LIBS"
7818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7819 /* end confdefs.h. */
7821 /* Override any GCC internal prototype to avoid an error.
7822 Use char because int might match the return type of a GCC
7823 builtin and then its argument prototype would still apply. */
7824 #ifdef __cplusplus
7825 extern "C"
7826 #endif
7827 char gethostbyname ();
7829 main ()
7831 return gethostbyname ();
7833 return 0;
7835 _ACEOF
7836 if ac_fn_c_try_link "$LINENO"; then :
7837 ac_cv_lib_nsl_gethostbyname=yes
7838 else
7839 ac_cv_lib_nsl_gethostbyname=no
7841 rm -f core conftest.err conftest.$ac_objext \
7842 conftest$ac_exeext conftest.$ac_ext
7843 LIBS=$ac_check_lib_save_LIBS
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7846 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7847 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7848 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7851 if test $ac_cv_lib_nsl_gethostbyname = no; then
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7853 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7854 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7855 $as_echo_n "(cached) " >&6
7856 else
7857 ac_check_lib_save_LIBS=$LIBS
7858 LIBS="-lbsd $LIBS"
7859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7862 /* Override any GCC internal prototype to avoid an error.
7863 Use char because int might match the return type of a GCC
7864 builtin and then its argument prototype would still apply. */
7865 #ifdef __cplusplus
7866 extern "C"
7867 #endif
7868 char gethostbyname ();
7870 main ()
7872 return gethostbyname ();
7874 return 0;
7876 _ACEOF
7877 if ac_fn_c_try_link "$LINENO"; then :
7878 ac_cv_lib_bsd_gethostbyname=yes
7879 else
7880 ac_cv_lib_bsd_gethostbyname=no
7882 rm -f core conftest.err conftest.$ac_objext \
7883 conftest$ac_exeext conftest.$ac_ext
7884 LIBS=$ac_check_lib_save_LIBS
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7887 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7888 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7889 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7895 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7896 # socket/setsockopt and other routines are undefined under SCO ODT
7897 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7898 # on later versions), says Simon Leinen: it contains gethostby*
7899 # variants that don't use the name server (or something). -lsocket
7900 # must be given before -lnsl if both are needed. We assume that
7901 # if connect needs -lnsl, so does gethostbyname.
7902 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7903 if test "x$ac_cv_func_connect" = xyes; then :
7907 if test $ac_cv_func_connect = no; then
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7909 $as_echo_n "checking for connect in -lsocket... " >&6; }
7910 if ${ac_cv_lib_socket_connect+:} false; then :
7911 $as_echo_n "(cached) " >&6
7912 else
7913 ac_check_lib_save_LIBS=$LIBS
7914 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7918 /* Override any GCC internal prototype to avoid an error.
7919 Use char because int might match the return type of a GCC
7920 builtin and then its argument prototype would still apply. */
7921 #ifdef __cplusplus
7922 extern "C"
7923 #endif
7924 char connect ();
7926 main ()
7928 return connect ();
7930 return 0;
7932 _ACEOF
7933 if ac_fn_c_try_link "$LINENO"; then :
7934 ac_cv_lib_socket_connect=yes
7935 else
7936 ac_cv_lib_socket_connect=no
7938 rm -f core conftest.err conftest.$ac_objext \
7939 conftest$ac_exeext conftest.$ac_ext
7940 LIBS=$ac_check_lib_save_LIBS
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7943 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7944 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7945 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7950 # Guillermo Gomez says -lposix is necessary on A/UX.
7951 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7952 if test "x$ac_cv_func_remove" = xyes; then :
7956 if test $ac_cv_func_remove = no; then
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7958 $as_echo_n "checking for remove in -lposix... " >&6; }
7959 if ${ac_cv_lib_posix_remove+:} false; then :
7960 $as_echo_n "(cached) " >&6
7961 else
7962 ac_check_lib_save_LIBS=$LIBS
7963 LIBS="-lposix $LIBS"
7964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7965 /* end confdefs.h. */
7967 /* Override any GCC internal prototype to avoid an error.
7968 Use char because int might match the return type of a GCC
7969 builtin and then its argument prototype would still apply. */
7970 #ifdef __cplusplus
7971 extern "C"
7972 #endif
7973 char remove ();
7975 main ()
7977 return remove ();
7979 return 0;
7981 _ACEOF
7982 if ac_fn_c_try_link "$LINENO"; then :
7983 ac_cv_lib_posix_remove=yes
7984 else
7985 ac_cv_lib_posix_remove=no
7987 rm -f core conftest.err conftest.$ac_objext \
7988 conftest$ac_exeext conftest.$ac_ext
7989 LIBS=$ac_check_lib_save_LIBS
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7992 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7993 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7994 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7999 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8000 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8001 if test "x$ac_cv_func_shmat" = xyes; then :
8005 if test $ac_cv_func_shmat = no; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8007 $as_echo_n "checking for shmat in -lipc... " >&6; }
8008 if ${ac_cv_lib_ipc_shmat+:} false; then :
8009 $as_echo_n "(cached) " >&6
8010 else
8011 ac_check_lib_save_LIBS=$LIBS
8012 LIBS="-lipc $LIBS"
8013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8014 /* end confdefs.h. */
8016 /* Override any GCC internal prototype to avoid an error.
8017 Use char because int might match the return type of a GCC
8018 builtin and then its argument prototype would still apply. */
8019 #ifdef __cplusplus
8020 extern "C"
8021 #endif
8022 char shmat ();
8024 main ()
8026 return shmat ();
8028 return 0;
8030 _ACEOF
8031 if ac_fn_c_try_link "$LINENO"; then :
8032 ac_cv_lib_ipc_shmat=yes
8033 else
8034 ac_cv_lib_ipc_shmat=no
8036 rm -f core conftest.err conftest.$ac_objext \
8037 conftest$ac_exeext conftest.$ac_ext
8038 LIBS=$ac_check_lib_save_LIBS
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8041 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8042 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8043 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8049 # Check for libraries that X11R6 Xt/Xaw programs need.
8050 ac_save_LDFLAGS=$LDFLAGS
8051 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8052 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8053 # check for ICE first), but we must link in the order -lSM -lICE or
8054 # we get undefined symbols. So assume we have SM if we have ICE.
8055 # These have to be linked with before -lX11, unlike the other
8056 # libraries we check for below, so use a different variable.
8057 # John Interrante, Karl Berry
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8059 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8060 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8061 $as_echo_n "(cached) " >&6
8062 else
8063 ac_check_lib_save_LIBS=$LIBS
8064 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8066 /* end confdefs.h. */
8068 /* Override any GCC internal prototype to avoid an error.
8069 Use char because int might match the return type of a GCC
8070 builtin and then its argument prototype would still apply. */
8071 #ifdef __cplusplus
8072 extern "C"
8073 #endif
8074 char IceConnectionNumber ();
8076 main ()
8078 return IceConnectionNumber ();
8080 return 0;
8082 _ACEOF
8083 if ac_fn_c_try_link "$LINENO"; then :
8084 ac_cv_lib_ICE_IceConnectionNumber=yes
8085 else
8086 ac_cv_lib_ICE_IceConnectionNumber=no
8088 rm -f core conftest.err conftest.$ac_objext \
8089 conftest$ac_exeext conftest.$ac_ext
8090 LIBS=$ac_check_lib_save_LIBS
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8093 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8094 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8095 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8098 LDFLAGS=$ac_save_LDFLAGS
8103 if test "$have_x" = "yes"
8104 then
8105 XLIB="-lX11"
8106 ac_save_CPPFLAGS="$CPPFLAGS"
8107 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8110 $as_echo_n "checking for -lX11... " >&6; }
8111 if ${ac_cv_lib_soname_X11+:} false; then :
8112 $as_echo_n "(cached) " >&6
8113 else
8114 ac_check_soname_save_LIBS=$LIBS
8115 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8117 /* end confdefs.h. */
8119 /* Override any GCC internal prototype to avoid an error.
8120 Use char because int might match the return type of a GCC
8121 builtin and then its argument prototype would still apply. */
8122 #ifdef __cplusplus
8123 extern "C"
8124 #endif
8125 char XCreateWindow ();
8127 main ()
8129 return XCreateWindow ();
8131 return 0;
8133 _ACEOF
8134 if ac_fn_c_try_link "$LINENO"; then :
8135 case "$LIBEXT" in
8136 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8137 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'` ;;
8138 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8139 if test "x$ac_cv_lib_soname_X11" = x; then :
8140 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8141 fi ;;
8142 esac
8144 rm -f core conftest.err conftest.$ac_objext \
8145 conftest$ac_exeext conftest.$ac_ext
8146 LIBS=$ac_check_soname_save_LIBS
8148 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8150 $as_echo "not found" >&6; }
8152 else
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8154 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8156 cat >>confdefs.h <<_ACEOF
8157 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8158 _ACEOF
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8163 $as_echo_n "checking for -lXext... " >&6; }
8164 if ${ac_cv_lib_soname_Xext+:} false; then :
8165 $as_echo_n "(cached) " >&6
8166 else
8167 ac_check_soname_save_LIBS=$LIBS
8168 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8170 /* end confdefs.h. */
8172 /* Override any GCC internal prototype to avoid an error.
8173 Use char because int might match the return type of a GCC
8174 builtin and then its argument prototype would still apply. */
8175 #ifdef __cplusplus
8176 extern "C"
8177 #endif
8178 char XextCreateExtension ();
8180 main ()
8182 return XextCreateExtension ();
8184 return 0;
8186 _ACEOF
8187 if ac_fn_c_try_link "$LINENO"; then :
8188 case "$LIBEXT" in
8189 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8190 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'` ;;
8191 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8192 if test "x$ac_cv_lib_soname_Xext" = x; then :
8193 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8194 fi ;;
8195 esac
8197 rm -f core conftest.err conftest.$ac_objext \
8198 conftest$ac_exeext conftest.$ac_ext
8199 LIBS=$ac_check_soname_save_LIBS
8201 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8203 $as_echo "not found" >&6; }
8205 else
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8207 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8209 cat >>confdefs.h <<_ACEOF
8210 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8211 _ACEOF
8213 XLIB="-lXext $XLIB"
8216 for ac_header in X11/Xlib.h \
8217 X11/XKBlib.h \
8218 X11/Xutil.h \
8219 X11/Xcursor/Xcursor.h \
8220 X11/extensions/shape.h \
8221 X11/extensions/XInput.h \
8222 X11/extensions/XInput2.h \
8223 X11/extensions/XShm.h \
8224 X11/extensions/Xcomposite.h \
8225 X11/extensions/Xinerama.h \
8226 X11/extensions/Xrandr.h \
8227 X11/extensions/Xrender.h \
8228 X11/extensions/xf86vmode.h \
8229 X11/extensions/xf86vmproto.h
8230 do :
8231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8232 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8233 # include <X11/Xlib.h>
8234 #endif
8235 #ifdef HAVE_X11_XUTIL_H
8236 # include <X11/Xutil.h>
8237 #endif
8239 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8240 cat >>confdefs.h <<_ACEOF
8241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8242 _ACEOF
8246 done
8249 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8250 then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8252 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8253 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8254 $as_echo_n "(cached) " >&6
8255 else
8256 ac_check_lib_save_LIBS=$LIBS
8257 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8261 /* Override any GCC internal prototype to avoid an error.
8262 Use char because int might match the return type of a GCC
8263 builtin and then its argument prototype would still apply. */
8264 #ifdef __cplusplus
8265 extern "C"
8266 #endif
8267 char XkbQueryExtension ();
8269 main ()
8271 return XkbQueryExtension ();
8273 return 0;
8275 _ACEOF
8276 if ac_fn_c_try_link "$LINENO"; then :
8277 ac_cv_lib_X11_XkbQueryExtension=yes
8278 else
8279 ac_cv_lib_X11_XkbQueryExtension=no
8281 rm -f core conftest.err conftest.$ac_objext \
8282 conftest$ac_exeext conftest.$ac_ext
8283 LIBS=$ac_check_lib_save_LIBS
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8286 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8287 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8289 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8295 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8296 then
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8298 $as_echo_n "checking for -lXcursor... " >&6; }
8299 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8300 $as_echo_n "(cached) " >&6
8301 else
8302 ac_check_soname_save_LIBS=$LIBS
8303 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8307 /* Override any GCC internal prototype to avoid an error.
8308 Use char because int might match the return type of a GCC
8309 builtin and then its argument prototype would still apply. */
8310 #ifdef __cplusplus
8311 extern "C"
8312 #endif
8313 char XcursorImageLoadCursor ();
8315 main ()
8317 return XcursorImageLoadCursor ();
8319 return 0;
8321 _ACEOF
8322 if ac_fn_c_try_link "$LINENO"; then :
8323 case "$LIBEXT" in
8324 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8325 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'` ;;
8326 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8327 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
8328 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8329 fi ;;
8330 esac
8332 rm -f core conftest.err conftest.$ac_objext \
8333 conftest$ac_exeext conftest.$ac_ext
8334 LIBS=$ac_check_soname_save_LIBS
8336 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8338 $as_echo "not found" >&6; }
8340 else
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8342 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8344 cat >>confdefs.h <<_ACEOF
8345 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8346 _ACEOF
8351 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8352 case "x$with_xcursor" in
8353 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8354 xno) ;;
8355 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8356 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8357 esac
8360 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8361 then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8363 $as_echo_n "checking for -lXi... " >&6; }
8364 if ${ac_cv_lib_soname_Xi+:} false; then :
8365 $as_echo_n "(cached) " >&6
8366 else
8367 ac_check_soname_save_LIBS=$LIBS
8368 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8372 /* Override any GCC internal prototype to avoid an error.
8373 Use char because int might match the return type of a GCC
8374 builtin and then its argument prototype would still apply. */
8375 #ifdef __cplusplus
8376 extern "C"
8377 #endif
8378 char XOpenDevice ();
8380 main ()
8382 return XOpenDevice ();
8384 return 0;
8386 _ACEOF
8387 if ac_fn_c_try_link "$LINENO"; then :
8388 case "$LIBEXT" in
8389 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8390 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'` ;;
8391 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8392 if test "x$ac_cv_lib_soname_Xi" = x; then :
8393 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8394 fi ;;
8395 esac
8397 rm -f core conftest.err conftest.$ac_objext \
8398 conftest$ac_exeext conftest.$ac_ext
8399 LIBS=$ac_check_soname_save_LIBS
8401 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8403 $as_echo "not found" >&6; }
8405 else
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8407 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8409 cat >>confdefs.h <<_ACEOF
8410 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8411 _ACEOF
8416 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8417 case "x$with_xinput" in
8418 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8419 xno) ;;
8420 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8421 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8422 esac
8425 if test "x$ac_cv_lib_soname_Xi" != x
8426 then
8427 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8428 case "x$with_xinput2" in
8429 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8430 xno) ;;
8431 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8432 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8433 esac
8437 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8438 then
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8440 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8441 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8442 $as_echo_n "(cached) " >&6
8443 else
8444 ac_check_lib_save_LIBS=$LIBS
8445 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8449 /* Override any GCC internal prototype to avoid an error.
8450 Use char because int might match the return type of a GCC
8451 builtin and then its argument prototype would still apply. */
8452 #ifdef __cplusplus
8453 extern "C"
8454 #endif
8455 char XShmQueryExtension ();
8457 main ()
8459 return XShmQueryExtension ();
8461 return 0;
8463 _ACEOF
8464 if ac_fn_c_try_link "$LINENO"; then :
8465 ac_cv_lib_Xext_XShmQueryExtension=yes
8466 else
8467 ac_cv_lib_Xext_XShmQueryExtension=no
8469 rm -f core conftest.err conftest.$ac_objext \
8470 conftest$ac_exeext conftest.$ac_ext
8471 LIBS=$ac_check_lib_save_LIBS
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8474 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8475 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8477 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8482 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8483 case "x$with_xshm" in
8484 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8485 xno) ;;
8486 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8487 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8488 esac
8491 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8492 then
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8494 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8495 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 ac_check_lib_save_LIBS=$LIBS
8499 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8503 /* Override any GCC internal prototype to avoid an error.
8504 Use char because int might match the return type of a GCC
8505 builtin and then its argument prototype would still apply. */
8506 #ifdef __cplusplus
8507 extern "C"
8508 #endif
8509 char XShapeQueryExtension ();
8511 main ()
8513 return XShapeQueryExtension ();
8515 return 0;
8517 _ACEOF
8518 if ac_fn_c_try_link "$LINENO"; then :
8519 ac_cv_lib_Xext_XShapeQueryExtension=yes
8520 else
8521 ac_cv_lib_Xext_XShapeQueryExtension=no
8523 rm -f core conftest.err conftest.$ac_objext \
8524 conftest$ac_exeext conftest.$ac_ext
8525 LIBS=$ac_check_lib_save_LIBS
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8528 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8529 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8531 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8536 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8537 case "x$with_xshape" in
8538 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8539 xno) ;;
8540 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8541 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8542 esac
8545 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8546 then
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8548 $as_echo_n "checking for -lXxf86vm... " >&6; }
8549 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8550 $as_echo_n "(cached) " >&6
8551 else
8552 ac_check_soname_save_LIBS=$LIBS
8553 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8557 /* Override any GCC internal prototype to avoid an error.
8558 Use char because int might match the return type of a GCC
8559 builtin and then its argument prototype would still apply. */
8560 #ifdef __cplusplus
8561 extern "C"
8562 #endif
8563 char XF86VidModeQueryExtension ();
8565 main ()
8567 return XF86VidModeQueryExtension ();
8569 return 0;
8571 _ACEOF
8572 if ac_fn_c_try_link "$LINENO"; then :
8573 case "$LIBEXT" in
8574 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8575 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'` ;;
8576 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8577 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
8578 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8579 fi ;;
8580 esac
8582 rm -f core conftest.err conftest.$ac_objext \
8583 conftest$ac_exeext conftest.$ac_ext
8584 LIBS=$ac_check_soname_save_LIBS
8586 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8588 $as_echo "not found" >&6; }
8590 else
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8592 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8594 cat >>confdefs.h <<_ACEOF
8595 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8596 _ACEOF
8601 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8602 case "x$with_xxf86vm" in
8603 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8604 xno) ;;
8605 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8606 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8607 esac
8610 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
8611 then
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8613 $as_echo_n "checking for -lXrender... " >&6; }
8614 if ${ac_cv_lib_soname_Xrender+:} false; then :
8615 $as_echo_n "(cached) " >&6
8616 else
8617 ac_check_soname_save_LIBS=$LIBS
8618 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8622 /* Override any GCC internal prototype to avoid an error.
8623 Use char because int might match the return type of a GCC
8624 builtin and then its argument prototype would still apply. */
8625 #ifdef __cplusplus
8626 extern "C"
8627 #endif
8628 char XRenderQueryExtension ();
8630 main ()
8632 return XRenderQueryExtension ();
8634 return 0;
8636 _ACEOF
8637 if ac_fn_c_try_link "$LINENO"; then :
8638 case "$LIBEXT" in
8639 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8640 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'` ;;
8641 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8642 if test "x$ac_cv_lib_soname_Xrender" = x; then :
8643 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8644 fi ;;
8645 esac
8647 rm -f core conftest.err conftest.$ac_objext \
8648 conftest$ac_exeext conftest.$ac_ext
8649 LIBS=$ac_check_soname_save_LIBS
8651 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8653 $as_echo "not found" >&6; }
8655 else
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8657 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8659 cat >>confdefs.h <<_ACEOF
8660 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8661 _ACEOF
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8664 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8665 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 ac_check_lib_save_LIBS=$LIBS
8669 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8673 /* Override any GCC internal prototype to avoid an error.
8674 Use char because int might match the return type of a GCC
8675 builtin and then its argument prototype would still apply. */
8676 #ifdef __cplusplus
8677 extern "C"
8678 #endif
8679 char XRenderSetPictureTransform ();
8681 main ()
8683 return XRenderSetPictureTransform ();
8685 return 0;
8687 _ACEOF
8688 if ac_fn_c_try_link "$LINENO"; then :
8689 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8690 else
8691 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8693 rm -f core conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8695 LIBS=$ac_check_lib_save_LIBS
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8698 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8699 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8701 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8706 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8707 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8708 $as_echo_n "(cached) " >&6
8709 else
8710 ac_check_lib_save_LIBS=$LIBS
8711 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8715 /* Override any GCC internal prototype to avoid an error.
8716 Use char because int might match the return type of a GCC
8717 builtin and then its argument prototype would still apply. */
8718 #ifdef __cplusplus
8719 extern "C"
8720 #endif
8721 char XRenderCreateLinearGradient ();
8723 main ()
8725 return XRenderCreateLinearGradient ();
8727 return 0;
8729 _ACEOF
8730 if ac_fn_c_try_link "$LINENO"; then :
8731 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8732 else
8733 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8735 rm -f core conftest.err conftest.$ac_objext \
8736 conftest$ac_exeext conftest.$ac_ext
8737 LIBS=$ac_check_lib_save_LIBS
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8740 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8741 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8743 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8750 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8751 case "x$with_xrender" in
8752 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8753 xno) ;;
8754 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8755 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8756 esac
8759 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8760 then
8761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8762 /* end confdefs.h. */
8763 #include <X11/Xlib.h>
8764 #include <X11/extensions/Xrandr.h>
8766 main ()
8768 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8770 return 0;
8772 _ACEOF
8773 if ac_fn_c_try_compile "$LINENO"; then :
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8775 $as_echo_n "checking for -lXrandr... " >&6; }
8776 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 ac_check_soname_save_LIBS=$LIBS
8780 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8782 /* end confdefs.h. */
8784 /* Override any GCC internal prototype to avoid an error.
8785 Use char because int might match the return type of a GCC
8786 builtin and then its argument prototype would still apply. */
8787 #ifdef __cplusplus
8788 extern "C"
8789 #endif
8790 char XRRQueryExtension ();
8792 main ()
8794 return XRRQueryExtension ();
8796 return 0;
8798 _ACEOF
8799 if ac_fn_c_try_link "$LINENO"; then :
8800 case "$LIBEXT" in
8801 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8802 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'` ;;
8803 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8804 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
8805 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8806 fi ;;
8807 esac
8809 rm -f core conftest.err conftest.$ac_objext \
8810 conftest$ac_exeext conftest.$ac_ext
8811 LIBS=$ac_check_soname_save_LIBS
8813 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8815 $as_echo "not found" >&6; }
8817 else
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8819 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8821 cat >>confdefs.h <<_ACEOF
8822 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8823 _ACEOF
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8827 #include <X11/Xlib.h>
8828 #include <X11/extensions/Xrandr.h>
8830 main ()
8832 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8834 return 0;
8836 _ACEOF
8837 if ac_fn_c_try_compile "$LINENO"; then :
8839 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8847 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8848 case "x$with_xrandr" in
8849 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8850 xno) ;;
8851 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8852 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8853 esac
8856 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8857 then
8858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8859 /* end confdefs.h. */
8860 #include <X11/Xlib.h>
8861 #include <X11/extensions/Xinerama.h>
8863 main ()
8865 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8867 return 0;
8869 _ACEOF
8870 if ac_fn_c_try_compile "$LINENO"; then :
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8872 $as_echo_n "checking for -lXinerama... " >&6; }
8873 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8874 $as_echo_n "(cached) " >&6
8875 else
8876 ac_check_soname_save_LIBS=$LIBS
8877 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8879 /* end confdefs.h. */
8881 /* Override any GCC internal prototype to avoid an error.
8882 Use char because int might match the return type of a GCC
8883 builtin and then its argument prototype would still apply. */
8884 #ifdef __cplusplus
8885 extern "C"
8886 #endif
8887 char XineramaQueryScreens ();
8889 main ()
8891 return XineramaQueryScreens ();
8893 return 0;
8895 _ACEOF
8896 if ac_fn_c_try_link "$LINENO"; then :
8897 case "$LIBEXT" in
8898 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8899 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'` ;;
8900 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8901 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
8902 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8903 fi ;;
8904 esac
8906 rm -f core conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8908 LIBS=$ac_check_soname_save_LIBS
8910 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8912 $as_echo "not found" >&6; }
8914 else
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8916 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8918 cat >>confdefs.h <<_ACEOF
8919 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8920 _ACEOF
8925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8927 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8928 case "x$with_xinerama" in
8929 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8930 xno) ;;
8931 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8932 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8933 esac
8936 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8937 then
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8939 $as_echo_n "checking for -lXcomposite... " >&6; }
8940 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8941 $as_echo_n "(cached) " >&6
8942 else
8943 ac_check_soname_save_LIBS=$LIBS
8944 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8946 /* end confdefs.h. */
8948 /* Override any GCC internal prototype to avoid an error.
8949 Use char because int might match the return type of a GCC
8950 builtin and then its argument prototype would still apply. */
8951 #ifdef __cplusplus
8952 extern "C"
8953 #endif
8954 char XCompositeRedirectWindow ();
8956 main ()
8958 return XCompositeRedirectWindow ();
8960 return 0;
8962 _ACEOF
8963 if ac_fn_c_try_link "$LINENO"; then :
8964 case "$LIBEXT" in
8965 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8966 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'` ;;
8967 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8968 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
8969 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8970 fi ;;
8971 esac
8973 rm -f core conftest.err conftest.$ac_objext \
8974 conftest$ac_exeext conftest.$ac_ext
8975 LIBS=$ac_check_soname_save_LIBS
8977 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8979 $as_echo "not found" >&6; }
8981 else
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8983 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8985 cat >>confdefs.h <<_ACEOF
8986 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8987 _ACEOF
8992 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8993 case "x$with_xcomposite" in
8994 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8995 xno) ;;
8996 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8997 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8998 esac
9001 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9002 #include <X11/Xlib.h>
9003 #endif
9005 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9007 cat >>confdefs.h <<_ACEOF
9008 #define HAVE_XICCALLBACK_CALLBACK 1
9009 _ACEOF
9013 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9014 #include <X11/Xlib.h>
9015 #endif
9017 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9019 cat >>confdefs.h <<_ACEOF
9020 #define HAVE_XEVENT_XCOOKIE 1
9021 _ACEOF
9028 opengl_msg=""
9029 if test "x$with_opengl" != "xno"
9030 then
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9032 $as_echo_n "checking for -lGL... " >&6; }
9033 if ${ac_cv_lib_soname_GL+:} false; then :
9034 $as_echo_n "(cached) " >&6
9035 else
9036 ac_check_soname_save_LIBS=$LIBS
9037 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9039 /* end confdefs.h. */
9041 /* Override any GCC internal prototype to avoid an error.
9042 Use char because int might match the return type of a GCC
9043 builtin and then its argument prototype would still apply. */
9044 #ifdef __cplusplus
9045 extern "C"
9046 #endif
9047 char glXCreateContext ();
9049 main ()
9051 return glXCreateContext ();
9053 return 0;
9055 _ACEOF
9056 if ac_fn_c_try_link "$LINENO"; then :
9057 case "$LIBEXT" in
9058 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9059 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'` ;;
9060 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9061 if test "x$ac_cv_lib_soname_GL" = x; then :
9062 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9063 fi ;;
9064 esac
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 LIBS=$ac_check_soname_save_LIBS
9070 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9072 $as_echo "not found" >&6; }
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9074 $as_echo_n "checking for -lGL... " >&6; }
9075 if ${ac_cv_lib_soname_GL+:} false; then :
9076 $as_echo_n "(cached) " >&6
9077 else
9078 ac_check_soname_save_LIBS=$LIBS
9079 LIBS="-lGL $X_LIBS $XLIB -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"
9080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9081 /* end confdefs.h. */
9083 /* Override any GCC internal prototype to avoid an error.
9084 Use char because int might match the return type of a GCC
9085 builtin and then its argument prototype would still apply. */
9086 #ifdef __cplusplus
9087 extern "C"
9088 #endif
9089 char glXCreateContext ();
9091 main ()
9093 return glXCreateContext ();
9095 return 0;
9097 _ACEOF
9098 if ac_fn_c_try_link "$LINENO"; then :
9099 case "$LIBEXT" in
9100 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9101 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'` ;;
9102 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9103 if test "x$ac_cv_lib_soname_GL" = x; then :
9104 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9105 fi ;;
9106 esac
9108 rm -f core conftest.err conftest.$ac_objext \
9109 conftest$ac_exeext conftest.$ac_ext
9110 LIBS=$ac_check_soname_save_LIBS
9112 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9114 $as_echo "not found" >&6; }
9115 if test -f /usr/X11R6/lib/libGL.a
9116 then
9117 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9118 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9119 else
9120 opengl_msg="No OpenGL library found on this system."
9122 else
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9124 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9126 cat >>confdefs.h <<_ACEOF
9127 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9128 _ACEOF
9130 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"
9132 else
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9134 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9136 cat >>confdefs.h <<_ACEOF
9137 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9138 _ACEOF
9140 OPENGL_LIBS="-lGL"
9142 if test "x$with_glu" != "xno"
9143 then
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9145 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9146 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9147 $as_echo_n "(cached) " >&6
9148 else
9149 ac_check_lib_save_LIBS=$LIBS
9150 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9152 /* end confdefs.h. */
9154 /* Override any GCC internal prototype to avoid an error.
9155 Use char because int might match the return type of a GCC
9156 builtin and then its argument prototype would still apply. */
9157 #ifdef __cplusplus
9158 extern "C"
9159 #endif
9160 char gluLookAt ();
9162 main ()
9164 return gluLookAt ();
9166 return 0;
9168 _ACEOF
9169 if ac_fn_c_try_link "$LINENO"; then :
9170 ac_cv_lib_GLU_gluLookAt=yes
9171 else
9172 ac_cv_lib_GLU_gluLookAt=no
9174 rm -f core conftest.err conftest.$ac_objext \
9175 conftest$ac_exeext conftest.$ac_ext
9176 LIBS=$ac_check_lib_save_LIBS
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9179 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9180 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9184 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9185 case "x$with_glu" in
9186 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9187 xno) ;;
9188 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9189 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9190 esac
9194 if test "x$with_osmesa" != "xno"
9195 then
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9197 $as_echo_n "checking for -lOSMesa... " >&6; }
9198 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9199 $as_echo_n "(cached) " >&6
9200 else
9201 ac_check_soname_save_LIBS=$LIBS
9202 LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9206 /* Override any GCC internal prototype to avoid an error.
9207 Use char because int might match the return type of a GCC
9208 builtin and then its argument prototype would still apply. */
9209 #ifdef __cplusplus
9210 extern "C"
9211 #endif
9212 char glAccum ();
9214 main ()
9216 return glAccum ();
9218 return 0;
9220 _ACEOF
9221 if ac_fn_c_try_link "$LINENO"; then :
9222 case "$LIBEXT" in
9223 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9224 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'` ;;
9225 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9226 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9227 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9228 fi ;;
9229 esac
9231 rm -f core conftest.err conftest.$ac_objext \
9232 conftest$ac_exeext conftest.$ac_ext
9233 LIBS=$ac_check_soname_save_LIBS
9235 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9237 $as_echo "not found" >&6; }
9239 else
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9241 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9243 cat >>confdefs.h <<_ACEOF
9244 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9245 _ACEOF
9249 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9250 case "x$with_osmesa" in
9251 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9252 xno) ;;
9253 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9254 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9255 esac
9259 if test -n "$opengl_msg"; then :
9260 case "x$with_opengl" in
9261 x) as_fn_append wine_warnings "|$opengl_msg
9262 OpenGL and Direct3D won't be supported." ;;
9263 xno) ;;
9264 *) as_fn_error $? "$opengl_msg
9265 OpenGL and Direct3D won't be supported.
9266 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9267 esac
9270 CPPFLAGS="$ac_save_CPPFLAGS"
9271 else
9272 XLIB=""
9273 X_CFLAGS=""
9274 X_LIBS=""
9275 enable_winex11_drv=${enable_winex11_drv:-no}
9277 if test "x$XLIB" = "x"; then :
9278 case "x$with_x" in
9279 xno) ;;
9280 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9281 without X support, which probably isn't what you want. You will need
9282 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9283 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9284 esac
9287 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
9289 if test "$ac_cv_header_CL_cl_h" = "yes"
9290 then
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9292 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9293 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 ac_check_lib_save_LIBS=$LIBS
9297 LIBS="-lOpenCL $LIBS"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9304 #ifdef __cplusplus
9305 extern "C"
9306 #endif
9307 char clGetPlatformInfo ();
9309 main ()
9311 return clGetPlatformInfo ();
9313 return 0;
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9317 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9318 else
9319 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9321 rm -f core conftest.err conftest.$ac_objext \
9322 conftest$ac_exeext conftest.$ac_ext
9323 LIBS=$ac_check_lib_save_LIBS
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9326 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9327 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9328 LIBOPENCL="-lOpenCL"
9333 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9334 case "x$with_opencl" in
9335 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9336 xno) ;;
9337 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9338 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9339 esac
9341 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9344 XML2LIBS=""
9346 XML2INCL=""
9348 XSLTINCL=""
9350 if test "x$with_xml" != "xno"
9351 then
9352 ac_save_CPPFLAGS="$CPPFLAGS"
9353 if test "$PKG_CONFIG" != "false"
9354 then
9355 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9356 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9357 else
9358 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9359 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9361 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9362 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9363 do :
9364 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9365 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9366 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9367 cat >>confdefs.h <<_ACEOF
9368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9369 _ACEOF
9373 done
9375 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"
9376 then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9378 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9379 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_check_lib_save_LIBS=$LIBS
9383 LIBS="-lxml2 $ac_xml_libs $LIBS"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9387 /* Override any GCC internal prototype to avoid an error.
9388 Use char because int might match the return type of a GCC
9389 builtin and then its argument prototype would still apply. */
9390 #ifdef __cplusplus
9391 extern "C"
9392 #endif
9393 char xmlParseMemory ();
9395 main ()
9397 return xmlParseMemory ();
9399 return 0;
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 ac_cv_lib_xml2_xmlParseMemory=yes
9404 else
9405 ac_cv_lib_xml2_xmlParseMemory=no
9407 rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
9409 LIBS=$ac_check_lib_save_LIBS
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9412 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9413 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9415 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9417 XML2LIBS="$ac_xml_libs"
9418 XML2INCL="$ac_xml_cflags"
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9422 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9423 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9424 $as_echo_n "(cached) " >&6
9425 else
9426 ac_check_lib_save_LIBS=$LIBS
9427 LIBS="-lxml2 $ac_xml_libs $LIBS"
9428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h. */
9431 /* Override any GCC internal prototype to avoid an error.
9432 Use char because int might match the return type of a GCC
9433 builtin and then its argument prototype would still apply. */
9434 #ifdef __cplusplus
9435 extern "C"
9436 #endif
9437 char xmlReadMemory ();
9439 main ()
9441 return xmlReadMemory ();
9443 return 0;
9445 _ACEOF
9446 if ac_fn_c_try_link "$LINENO"; then :
9447 ac_cv_lib_xml2_xmlReadMemory=yes
9448 else
9449 ac_cv_lib_xml2_xmlReadMemory=no
9451 rm -f core conftest.err conftest.$ac_objext \
9452 conftest$ac_exeext conftest.$ac_ext
9453 LIBS=$ac_check_lib_save_LIBS
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9456 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9457 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9459 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9464 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9465 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 ac_check_lib_save_LIBS=$LIBS
9469 LIBS="-lxml2 $ac_xml_libs $LIBS"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9473 /* Override any GCC internal prototype to avoid an error.
9474 Use char because int might match the return type of a GCC
9475 builtin and then its argument prototype would still apply. */
9476 #ifdef __cplusplus
9477 extern "C"
9478 #endif
9479 char xmlNewDocPI ();
9481 main ()
9483 return xmlNewDocPI ();
9485 return 0;
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 ac_cv_lib_xml2_xmlNewDocPI=yes
9490 else
9491 ac_cv_lib_xml2_xmlNewDocPI=no
9493 rm -f core conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 LIBS=$ac_check_lib_save_LIBS
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9498 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9499 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9501 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9506 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9507 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 ac_check_lib_save_LIBS=$LIBS
9511 LIBS="-lxml2 $ac_xml_libs $LIBS"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9515 /* Override any GCC internal prototype to avoid an error.
9516 Use char because int might match the return type of a GCC
9517 builtin and then its argument prototype would still apply. */
9518 #ifdef __cplusplus
9519 extern "C"
9520 #endif
9521 char xmlSchemaSetParserStructuredErrors ();
9523 main ()
9525 return xmlSchemaSetParserStructuredErrors ();
9527 return 0;
9529 _ACEOF
9530 if ac_fn_c_try_link "$LINENO"; then :
9531 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9532 else
9533 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9535 rm -f core conftest.err conftest.$ac_objext \
9536 conftest$ac_exeext conftest.$ac_ext
9537 LIBS=$ac_check_lib_save_LIBS
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9540 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9541 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9543 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9548 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9549 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9550 $as_echo_n "(cached) " >&6
9551 else
9552 ac_check_lib_save_LIBS=$LIBS
9553 LIBS="-lxml2 $ac_xml_libs $LIBS"
9554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9555 /* end confdefs.h. */
9557 /* Override any GCC internal prototype to avoid an error.
9558 Use char because int might match the return type of a GCC
9559 builtin and then its argument prototype would still apply. */
9560 #ifdef __cplusplus
9561 extern "C"
9562 #endif
9563 char xmlSchemaSetValidStructuredErrors ();
9565 main ()
9567 return xmlSchemaSetValidStructuredErrors ();
9569 return 0;
9571 _ACEOF
9572 if ac_fn_c_try_link "$LINENO"; then :
9573 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9574 else
9575 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9577 rm -f core conftest.err conftest.$ac_objext \
9578 conftest$ac_exeext conftest.$ac_ext
9579 LIBS=$ac_check_lib_save_LIBS
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9582 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9583 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9585 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9590 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9591 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9592 $as_echo_n "(cached) " >&6
9593 else
9594 ac_check_lib_save_LIBS=$LIBS
9595 LIBS="-lxml2 $ac_xml_libs $LIBS"
9596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9599 /* Override any GCC internal prototype to avoid an error.
9600 Use char because int might match the return type of a GCC
9601 builtin and then its argument prototype would still apply. */
9602 #ifdef __cplusplus
9603 extern "C"
9604 #endif
9605 char xmlFirstElementChild ();
9607 main ()
9609 return xmlFirstElementChild ();
9611 return 0;
9613 _ACEOF
9614 if ac_fn_c_try_link "$LINENO"; then :
9615 ac_cv_lib_xml2_xmlFirstElementChild=yes
9616 else
9617 ac_cv_lib_xml2_xmlFirstElementChild=no
9619 rm -f core conftest.err conftest.$ac_objext \
9620 conftest$ac_exeext conftest.$ac_ext
9621 LIBS=$ac_check_lib_save_LIBS
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9624 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9625 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9627 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9631 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9633 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9635 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9640 CPPFLAGS="$ac_save_CPPFLAGS"
9642 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9643 case "x$with_xml" in
9644 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9645 xno) ;;
9646 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9647 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9648 esac
9651 if test "x$with_xslt" != "xno"
9652 then
9653 if test "$PKG_CONFIG" != "false"
9654 then
9655 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9656 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9657 else
9658 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9659 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9661 ac_save_CPPFLAGS="$CPPFLAGS"
9662 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9663 for ac_header in libxslt/pattern.h libxslt/transform.h
9664 do :
9665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9666 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9667 # include <libxslt/pattern.h>
9668 #endif
9670 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9671 cat >>confdefs.h <<_ACEOF
9672 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9673 _ACEOF
9677 done
9679 CPPFLAGS="$ac_save_CPPFLAGS"
9680 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9681 then
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9683 $as_echo_n "checking for -lxslt... " >&6; }
9684 if ${ac_cv_lib_soname_xslt+:} false; then :
9685 $as_echo_n "(cached) " >&6
9686 else
9687 ac_check_soname_save_LIBS=$LIBS
9688 LIBS="-lxslt $ac_xslt_libs $LIBS"
9689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9690 /* end confdefs.h. */
9692 /* Override any GCC internal prototype to avoid an error.
9693 Use char because int might match the return type of a GCC
9694 builtin and then its argument prototype would still apply. */
9695 #ifdef __cplusplus
9696 extern "C"
9697 #endif
9698 char xsltCompilePattern ();
9700 main ()
9702 return xsltCompilePattern ();
9704 return 0;
9706 _ACEOF
9707 if ac_fn_c_try_link "$LINENO"; then :
9708 case "$LIBEXT" in
9709 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9710 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'` ;;
9711 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9712 if test "x$ac_cv_lib_soname_xslt" = x; then :
9713 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9714 fi ;;
9715 esac
9717 rm -f core conftest.err conftest.$ac_objext \
9718 conftest$ac_exeext conftest.$ac_ext
9719 LIBS=$ac_check_soname_save_LIBS
9721 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9723 $as_echo "not found" >&6; }
9725 else
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9727 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9729 cat >>confdefs.h <<_ACEOF
9730 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9731 _ACEOF
9733 XSLTINCL="$ac_xslt_cflags"
9737 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9738 case "x$with_xslt" in
9739 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9740 xno) ;;
9741 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9742 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9743 esac
9746 if test "x$with_dbus" != "xno"
9747 then
9748 ac_save_CPPFLAGS="$CPPFLAGS"
9749 if test "$PKG_CONFIG" != "false"
9750 then
9751 ac_dbus_libs="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9752 ac_dbus_cflags="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9753 CPPFLAGS="$CPPFLAGS $ac_dbus_cflags"
9755 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9756 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9758 $as_echo_n "checking for -ldbus-1... " >&6; }
9759 if ${ac_cv_lib_soname_dbus_1+:} false; then :
9760 $as_echo_n "(cached) " >&6
9761 else
9762 ac_check_soname_save_LIBS=$LIBS
9763 LIBS="-ldbus-1 $ac_dbus_libs $LIBS"
9764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9765 /* end confdefs.h. */
9767 /* Override any GCC internal prototype to avoid an error.
9768 Use char because int might match the return type of a GCC
9769 builtin and then its argument prototype would still apply. */
9770 #ifdef __cplusplus
9771 extern "C"
9772 #endif
9773 char dbus_connection_close ();
9775 main ()
9777 return dbus_connection_close ();
9779 return 0;
9781 _ACEOF
9782 if ac_fn_c_try_link "$LINENO"; then :
9783 case "$LIBEXT" in
9784 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9785 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'` ;;
9786 *) 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'`
9787 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
9788 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9789 fi ;;
9790 esac
9792 rm -f core conftest.err conftest.$ac_objext \
9793 conftest$ac_exeext conftest.$ac_ext
9794 LIBS=$ac_check_soname_save_LIBS
9796 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9798 $as_echo "not found" >&6; }
9800 else
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9802 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9804 cat >>confdefs.h <<_ACEOF
9805 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9806 _ACEOF
9808 DBUSINCL="$ac_dbus_cflags"
9814 CPPFLAGS="$ac_save_CPPFLAGS"
9816 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9817 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9818 case "x$with_dbus" in
9819 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9820 xno) ;;
9821 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
9822 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9823 esac
9826 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9827 then
9828 ac_save_CPPFLAGS="$CPPFLAGS"
9829 if test "$PKG_CONFIG" != "false"
9830 then
9831 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9832 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9833 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9835 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9836 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9838 $as_echo_n "checking for -lhal... " >&6; }
9839 if ${ac_cv_lib_soname_hal+:} false; then :
9840 $as_echo_n "(cached) " >&6
9841 else
9842 ac_check_soname_save_LIBS=$LIBS
9843 LIBS="-lhal $ac_hal_libs $LIBS"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9850 #ifdef __cplusplus
9851 extern "C"
9852 #endif
9853 char libhal_ctx_new ();
9855 main ()
9857 return libhal_ctx_new ();
9859 return 0;
9861 _ACEOF
9862 if ac_fn_c_try_link "$LINENO"; then :
9863 case "$LIBEXT" in
9864 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9865 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'` ;;
9866 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9867 if test "x$ac_cv_lib_soname_hal" = x; then :
9868 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9869 fi ;;
9870 esac
9872 rm -f core conftest.err conftest.$ac_objext \
9873 conftest$ac_exeext conftest.$ac_ext
9874 LIBS=$ac_check_soname_save_LIBS
9876 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9878 $as_echo "not found" >&6; }
9880 else
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9882 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9884 cat >>confdefs.h <<_ACEOF
9885 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9886 _ACEOF
9888 HALINCL="$ac_hal_cflags"
9894 CPPFLAGS="$ac_save_CPPFLAGS"
9895 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9896 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9897 case "x$with_hal" in
9898 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9899 xno) ;;
9900 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
9901 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9902 esac
9906 if test "x$with_gnutls" != "xno"
9907 then
9908 ac_save_CPPFLAGS="$CPPFLAGS"
9909 if test "$PKG_CONFIG" != "false"
9910 then
9911 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9912 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9913 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9915 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9916 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9919 #include <gnutls/gnutls.h>
9921 main ()
9923 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9925 return 0;
9927 _ACEOF
9928 if ac_fn_c_try_compile "$LINENO"; then :
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9930 $as_echo_n "checking for -lgnutls... " >&6; }
9931 if ${ac_cv_lib_soname_gnutls+:} false; then :
9932 $as_echo_n "(cached) " >&6
9933 else
9934 ac_check_soname_save_LIBS=$LIBS
9935 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9939 /* Override any GCC internal prototype to avoid an error.
9940 Use char because int might match the return type of a GCC
9941 builtin and then its argument prototype would still apply. */
9942 #ifdef __cplusplus
9943 extern "C"
9944 #endif
9945 char gnutls_global_init ();
9947 main ()
9949 return gnutls_global_init ();
9951 return 0;
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"; then :
9955 case "$LIBEXT" in
9956 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9957 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9958 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9959 if test "x$ac_cv_lib_soname_gnutls" = x; then :
9960 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9961 fi ;;
9962 esac
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 LIBS=$ac_check_soname_save_LIBS
9968 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9970 $as_echo "not found" >&6; }
9972 else
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9974 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9976 cat >>confdefs.h <<_ACEOF
9977 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9978 _ACEOF
9980 GNUTLSINCL="$ac_gnutls_cflags"
9984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9988 CPPFLAGS="$ac_save_CPPFLAGS"
9990 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9991 case "x$with_gnutls" in
9992 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9993 xno) ;;
9994 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9995 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9996 esac
9999 CURSESLIBS=""
10000 if test "$ac_cv_header_ncurses_h" = "yes"
10001 then
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10003 $as_echo_n "checking for -lncurses... " >&6; }
10004 if ${ac_cv_lib_soname_ncurses+:} false; then :
10005 $as_echo_n "(cached) " >&6
10006 else
10007 ac_check_soname_save_LIBS=$LIBS
10008 LIBS="-lncurses $LIBS"
10009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10010 /* end confdefs.h. */
10012 /* Override any GCC internal prototype to avoid an error.
10013 Use char because int might match the return type of a GCC
10014 builtin and then its argument prototype would still apply. */
10015 #ifdef __cplusplus
10016 extern "C"
10017 #endif
10018 char waddch ();
10020 main ()
10022 return waddch ();
10024 return 0;
10026 _ACEOF
10027 if ac_fn_c_try_link "$LINENO"; then :
10028 case "$LIBEXT" in
10029 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10030 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10031 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10032 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10033 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10034 fi ;;
10035 esac
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 LIBS=$ac_check_soname_save_LIBS
10041 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10043 $as_echo "not found" >&6; }
10045 else
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10047 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10049 cat >>confdefs.h <<_ACEOF
10050 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10051 _ACEOF
10053 CURSESLIBS="-lncurses"
10055 elif test "$ac_cv_header_curses_h" = "yes"
10056 then
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10058 $as_echo_n "checking for -lcurses... " >&6; }
10059 if ${ac_cv_lib_soname_curses+:} false; then :
10060 $as_echo_n "(cached) " >&6
10061 else
10062 ac_check_soname_save_LIBS=$LIBS
10063 LIBS="-lcurses $LIBS"
10064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10067 /* Override any GCC internal prototype to avoid an error.
10068 Use char because int might match the return type of a GCC
10069 builtin and then its argument prototype would still apply. */
10070 #ifdef __cplusplus
10071 extern "C"
10072 #endif
10073 char waddch ();
10075 main ()
10077 return waddch ();
10079 return 0;
10081 _ACEOF
10082 if ac_fn_c_try_link "$LINENO"; then :
10083 case "$LIBEXT" in
10084 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10085 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'` ;;
10086 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10087 if test "x$ac_cv_lib_soname_curses" = x; then :
10088 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10089 fi ;;
10090 esac
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 LIBS=$ac_check_soname_save_LIBS
10096 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10098 $as_echo "not found" >&6; }
10100 else
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10102 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10104 cat >>confdefs.h <<_ACEOF
10105 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10106 _ACEOF
10108 CURSESLIBS="-lcurses"
10111 ac_save_LIBS="$LIBS"
10112 LIBS="$LIBS $CURSESLIBS"
10113 for ac_func in mousemask
10114 do :
10115 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10116 if test "x$ac_cv_func_mousemask" = xyes; then :
10117 cat >>confdefs.h <<_ACEOF
10118 #define HAVE_MOUSEMASK 1
10119 _ACEOF
10122 done
10124 LIBS="$ac_save_LIBS"
10125 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10126 case "x$with_curses" in
10127 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10128 xno) ;;
10129 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10130 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10131 esac
10134 if test "x$with_sane" != "xno"
10135 then
10136 ac_save_CPPFLAGS="$CPPFLAGS"
10137 # Extract the first word of "sane-config", so it can be a program name with args.
10138 set dummy sane-config; ac_word=$2
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10140 $as_echo_n "checking for $ac_word... " >&6; }
10141 if ${ac_cv_prog_sane_devel+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 if test -n "$sane_devel"; then
10145 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
10146 else
10147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10148 for as_dir in $PATH
10150 IFS=$as_save_IFS
10151 test -z "$as_dir" && as_dir=.
10152 for ac_exec_ext in '' $ac_executable_extensions; do
10153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10154 ac_cv_prog_sane_devel="sane-config"
10155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10156 break 2
10158 done
10159 done
10160 IFS=$as_save_IFS
10162 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
10165 sane_devel=$ac_cv_prog_sane_devel
10166 if test -n "$sane_devel"; then
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
10168 $as_echo "$sane_devel" >&6; }
10169 else
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10171 $as_echo "no" >&6; }
10175 if test "$sane_devel" != "no"
10176 then
10177 ac_sane_incl="`$sane_devel --cflags`"
10178 ac_sane_libs="`$sane_devel --ldflags`"
10179 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
10181 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10182 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10184 $as_echo_n "checking for -lsane... " >&6; }
10185 if ${ac_cv_lib_soname_sane+:} false; then :
10186 $as_echo_n "(cached) " >&6
10187 else
10188 ac_check_soname_save_LIBS=$LIBS
10189 LIBS="-lsane $ac_sane_libs $LIBS"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10193 /* Override any GCC internal prototype to avoid an error.
10194 Use char because int might match the return type of a GCC
10195 builtin and then its argument prototype would still apply. */
10196 #ifdef __cplusplus
10197 extern "C"
10198 #endif
10199 char sane_init ();
10201 main ()
10203 return sane_init ();
10205 return 0;
10207 _ACEOF
10208 if ac_fn_c_try_link "$LINENO"; then :
10209 case "$LIBEXT" in
10210 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10211 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'` ;;
10212 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10213 if test "x$ac_cv_lib_soname_sane" = x; then :
10214 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10215 fi ;;
10216 esac
10218 rm -f core conftest.err conftest.$ac_objext \
10219 conftest$ac_exeext conftest.$ac_ext
10220 LIBS=$ac_check_soname_save_LIBS
10222 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10224 $as_echo "not found" >&6; }
10226 else
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10228 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10230 cat >>confdefs.h <<_ACEOF
10231 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10232 _ACEOF
10234 SANEINCL="$ac_sane_incl"
10240 CPPFLAGS="$ac_save_CPPFLAGS"
10242 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10243 case "x$with_sane" in
10244 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10245 xno) ;;
10246 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
10247 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10248 esac
10251 if test "x$with_v4l" != "xno"
10252 then
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10254 $as_echo_n "checking for -lv4l1... " >&6; }
10255 if ${ac_cv_lib_soname_v4l1+:} false; then :
10256 $as_echo_n "(cached) " >&6
10257 else
10258 ac_check_soname_save_LIBS=$LIBS
10259 LIBS="-lv4l1 $LIBS"
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10263 /* Override any GCC internal prototype to avoid an error.
10264 Use char because int might match the return type of a GCC
10265 builtin and then its argument prototype would still apply. */
10266 #ifdef __cplusplus
10267 extern "C"
10268 #endif
10269 char v4l1_open ();
10271 main ()
10273 return v4l1_open ();
10275 return 0;
10277 _ACEOF
10278 if ac_fn_c_try_link "$LINENO"; then :
10279 case "$LIBEXT" in
10280 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10281 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'` ;;
10282 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10283 if test "x$ac_cv_lib_soname_v4l1" = x; then :
10284 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10285 fi ;;
10286 esac
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 LIBS=$ac_check_soname_save_LIBS
10292 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10294 $as_echo "not found" >&6; }
10296 else
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10298 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10300 cat >>confdefs.h <<_ACEOF
10301 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10302 _ACEOF
10307 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10308 case "x$with_v4l" in
10309 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10310 xno) ;;
10311 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10312 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10313 esac
10316 if test "x$with_gphoto" != "xno"
10317 then
10318 ac_save_CPPFLAGS="$CPPFLAGS"
10319 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10320 set dummy gphoto2-config; ac_word=$2
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10322 $as_echo_n "checking for $ac_word... " >&6; }
10323 if ${ac_cv_prog_gphoto2_devel+:} false; then :
10324 $as_echo_n "(cached) " >&6
10325 else
10326 if test -n "$gphoto2_devel"; then
10327 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10328 else
10329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10330 for as_dir in $PATH
10332 IFS=$as_save_IFS
10333 test -z "$as_dir" && as_dir=.
10334 for ac_exec_ext in '' $ac_executable_extensions; do
10335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10336 ac_cv_prog_gphoto2_devel="gphoto2-config"
10337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10338 break 2
10340 done
10341 done
10342 IFS=$as_save_IFS
10344 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10347 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10348 if test -n "$gphoto2_devel"; then
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10350 $as_echo "$gphoto2_devel" >&6; }
10351 else
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10353 $as_echo "no" >&6; }
10357 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10358 set dummy gphoto2-port-config; ac_word=$2
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10360 $as_echo_n "checking for $ac_word... " >&6; }
10361 if ${ac_cv_prog_gphoto2port_devel+:} false; then :
10362 $as_echo_n "(cached) " >&6
10363 else
10364 if test -n "$gphoto2port_devel"; then
10365 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10366 else
10367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10368 for as_dir in $PATH
10370 IFS=$as_save_IFS
10371 test -z "$as_dir" && as_dir=.
10372 for ac_exec_ext in '' $ac_executable_extensions; do
10373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10374 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10376 break 2
10378 done
10379 done
10380 IFS=$as_save_IFS
10382 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10385 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10386 if test -n "$gphoto2port_devel"; then
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10388 $as_echo "$gphoto2port_devel" >&6; }
10389 else
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10391 $as_echo "no" >&6; }
10395 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10396 then
10397 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10398 ac_gphoto2_libs=""
10399 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10401 case "$i" in
10402 -L/usr/lib|-L/usr/lib64) ;;
10403 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10404 esac
10405 done
10406 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10408 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10409 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10410 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10412 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10413 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10414 $as_echo_n "(cached) " >&6
10415 else
10416 ac_check_lib_save_LIBS=$LIBS
10417 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10421 /* Override any GCC internal prototype to avoid an error.
10422 Use char because int might match the return type of a GCC
10423 builtin and then its argument prototype would still apply. */
10424 #ifdef __cplusplus
10425 extern "C"
10426 #endif
10427 char gp_camera_new ();
10429 main ()
10431 return gp_camera_new ();
10433 return 0;
10435 _ACEOF
10436 if ac_fn_c_try_link "$LINENO"; then :
10437 ac_cv_lib_gphoto2_gp_camera_new=yes
10438 else
10439 ac_cv_lib_gphoto2_gp_camera_new=no
10441 rm -f core conftest.err conftest.$ac_objext \
10442 conftest$ac_exeext conftest.$ac_ext
10443 LIBS=$ac_check_lib_save_LIBS
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10446 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10447 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10449 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10451 GPHOTO2LIBS="$ac_gphoto2_libs"
10453 GPHOTO2INCL="$ac_gphoto2_incl"
10460 CPPFLAGS="$ac_save_CPPFLAGS"
10462 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10463 case "x$with_gphoto" in
10464 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10465 xno) ;;
10466 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10467 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10468 esac
10472 if test "$ac_cv_header_resolv_h" = "yes"
10473 then
10474 ac_save_LIBS="$LIBS"
10475 for lib in '' -lresolv
10477 LIBS="$lib $ac_save_LIBS"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 #ifdef HAVE_NETINET_IN_H
10481 #include <netinet/in.h>
10482 #endif
10483 #include <resolv.h>
10485 main ()
10487 res_query("foo",ns_c_in,0,0,0);
10489 return 0;
10491 _ACEOF
10492 if ac_fn_c_try_link "$LINENO"; then :
10494 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10496 RESOLVLIBS="$lib"
10499 rm -f core conftest.err conftest.$ac_objext \
10500 conftest$ac_exeext conftest.$ac_ext
10501 if test "${RESOLVLIBS+set}" = set; then
10502 break
10504 done
10505 LIBS="$ac_save_LIBS"
10508 LCMSLIBS=""
10510 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10511 then
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10513 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10514 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10515 $as_echo_n "(cached) " >&6
10516 else
10517 ac_check_lib_save_LIBS=$LIBS
10518 LIBS="-llcms $LIBS"
10519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10520 /* end confdefs.h. */
10522 /* Override any GCC internal prototype to avoid an error.
10523 Use char because int might match the return type of a GCC
10524 builtin and then its argument prototype would still apply. */
10525 #ifdef __cplusplus
10526 extern "C"
10527 #endif
10528 char cmsOpenProfileFromFile ();
10530 main ()
10532 return cmsOpenProfileFromFile ();
10534 return 0;
10536 _ACEOF
10537 if ac_fn_c_try_link "$LINENO"; then :
10538 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10539 else
10540 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10542 rm -f core conftest.err conftest.$ac_objext \
10543 conftest$ac_exeext conftest.$ac_ext
10544 LIBS=$ac_check_lib_save_LIBS
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10547 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10548 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10550 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10552 LCMSLIBS="-llcms"
10556 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10557 case "x$with_cms" in
10558 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10559 xno) ;;
10560 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10561 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10562 esac
10565 if test "x$with_freetype" != "xno"
10566 then
10567 if test "$PKG_CONFIG" != "false"
10568 then
10569 ac_freetype_incl="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10570 ac_freetype_libs="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10571 else
10572 for ac_prog in freetype-config freetype2-config
10574 # Extract the first word of "$ac_prog", so it can be a program name with args.
10575 set dummy $ac_prog; ac_word=$2
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10577 $as_echo_n "checking for $ac_word... " >&6; }
10578 if ${ac_cv_prog_ft_devel+:} false; then :
10579 $as_echo_n "(cached) " >&6
10580 else
10581 if test -n "$ft_devel"; then
10582 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10583 else
10584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10585 for as_dir in $PATH
10587 IFS=$as_save_IFS
10588 test -z "$as_dir" && as_dir=.
10589 for ac_exec_ext in '' $ac_executable_extensions; do
10590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10591 ac_cv_prog_ft_devel="$ac_prog"
10592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10593 break 2
10595 done
10596 done
10597 IFS=$as_save_IFS
10601 ft_devel=$ac_cv_prog_ft_devel
10602 if test -n "$ft_devel"; then
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10604 $as_echo "$ft_devel" >&6; }
10605 else
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10607 $as_echo "no" >&6; }
10611 test -n "$ft_devel" && break
10612 done
10613 test -n "$ft_devel" || ft_devel="no"
10615 if test "$ft_devel" != "no"
10616 then
10617 ac_freetype_incl=`$ft_devel --cflags`
10618 ac_freetype_libs=`$ft_devel --libs`
10621 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10623 $as_echo_n "checking for -lfreetype... " >&6; }
10624 if ${ac_cv_lib_soname_freetype+:} false; then :
10625 $as_echo_n "(cached) " >&6
10626 else
10627 ac_check_soname_save_LIBS=$LIBS
10628 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10630 /* end confdefs.h. */
10632 /* Override any GCC internal prototype to avoid an error.
10633 Use char because int might match the return type of a GCC
10634 builtin and then its argument prototype would still apply. */
10635 #ifdef __cplusplus
10636 extern "C"
10637 #endif
10638 char FT_Init_FreeType ();
10640 main ()
10642 return FT_Init_FreeType ();
10644 return 0;
10646 _ACEOF
10647 if ac_fn_c_try_link "$LINENO"; then :
10648 case "$LIBEXT" in
10649 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10650 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'` ;;
10651 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10652 if test "x$ac_cv_lib_soname_freetype" = x; then :
10653 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10654 fi ;;
10655 esac
10657 rm -f core conftest.err conftest.$ac_objext \
10658 conftest$ac_exeext conftest.$ac_ext
10659 LIBS=$ac_check_soname_save_LIBS
10661 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10663 $as_echo "not found" >&6; }
10664 ft_lib=no
10665 else
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10667 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10669 cat >>confdefs.h <<_ACEOF
10670 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10671 _ACEOF
10673 ft_lib=yes
10675 if test "$ft_lib" = "yes"
10676 then
10677 ac_save_CPPFLAGS="$CPPFLAGS"
10678 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10679 for ac_header in ft2build.h \
10680 freetype/freetype.h \
10681 freetype/ftglyph.h \
10682 freetype/fttypes.h \
10683 freetype/tttables.h \
10684 freetype/ftsnames.h \
10685 freetype/ttnameid.h \
10686 freetype/ftoutln.h \
10687 freetype/ftwinfnt.h \
10688 freetype/ftmodapi.h \
10689 freetype/ftlcdfil.h
10690 do :
10691 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10692 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10693 # include <ft2build.h>
10694 #endif
10696 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10697 cat >>confdefs.h <<_ACEOF
10698 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10699 _ACEOF
10703 done
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 #include <ft2build.h>
10708 #include <freetype/fttrigon.h>
10709 _ACEOF
10710 if ac_fn_c_try_cpp "$LINENO"; then :
10712 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10714 wine_cv_fttrigon=yes
10715 else
10716 wine_cv_fttrigon=no
10718 rm -f conftest.err conftest.i conftest.$ac_ext
10719 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10721 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10723 cat >>confdefs.h <<_ACEOF
10724 #define HAVE_FT_TRUETYPEENGINETYPE 1
10725 _ACEOF
10730 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10731 then
10733 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10735 FREETYPELIBS="$ac_freetype_libs"
10737 FREETYPEINCL="$ac_freetype_incl"
10742 if test "x$FREETYPELIBS" = "x"; then :
10743 case "x$with_freetype" in
10744 xno) ;;
10745 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10746 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10747 esac
10749 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10752 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10753 if ${ac_cv_c_ppdev+:} false; then :
10754 $as_echo_n "(cached) " >&6
10755 else
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10758 #ifdef HAVE_SYS_IOCTL_H
10759 # include <sys/ioctl.h>
10760 #endif
10761 #include <linux/ppdev.h>
10763 main ()
10765 ioctl (1,PPCLAIM,0)
10767 return 0;
10769 _ACEOF
10770 if ac_fn_c_try_compile "$LINENO"; then :
10771 ac_cv_c_ppdev="yes"
10772 else
10773 ac_cv_c_ppdev="no"
10775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10778 $as_echo "$ac_cv_c_ppdev" >&6; }
10779 if test "$ac_cv_c_ppdev" = "yes"
10780 then
10782 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10786 ac_wine_check_funcs_save_LIBS="$LIBS"
10787 LIBS="$LIBS $LIBPTHREAD"
10788 for ac_func in \
10789 pthread_attr_get_np \
10790 pthread_getattr_np \
10791 pthread_getthreadid_np \
10792 pthread_get_stackaddr_np \
10793 pthread_get_stacksize_np
10794 do :
10795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10797 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10798 cat >>confdefs.h <<_ACEOF
10799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10800 _ACEOF
10803 done
10805 LIBS="$ac_wine_check_funcs_save_LIBS"
10807 if test "$ac_cv_header_zlib_h" = "yes"
10808 then
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10810 $as_echo_n "checking for inflate in -lz... " >&6; }
10811 if ${ac_cv_lib_z_inflate+:} false; then :
10812 $as_echo_n "(cached) " >&6
10813 else
10814 ac_check_lib_save_LIBS=$LIBS
10815 LIBS="-lz $LIBS"
10816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10817 /* end confdefs.h. */
10819 /* Override any GCC internal prototype to avoid an error.
10820 Use char because int might match the return type of a GCC
10821 builtin and then its argument prototype would still apply. */
10822 #ifdef __cplusplus
10823 extern "C"
10824 #endif
10825 char inflate ();
10827 main ()
10829 return inflate ();
10831 return 0;
10833 _ACEOF
10834 if ac_fn_c_try_link "$LINENO"; then :
10835 ac_cv_lib_z_inflate=yes
10836 else
10837 ac_cv_lib_z_inflate=no
10839 rm -f core conftest.err conftest.$ac_objext \
10840 conftest$ac_exeext conftest.$ac_ext
10841 LIBS=$ac_check_lib_save_LIBS
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10844 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10845 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10847 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10849 ZLIB="-lz"
10854 if test "x$ZLIB" = "x"; then :
10855 case "x$with_zlib" in
10856 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10857 xno) ;;
10858 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10859 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10860 esac
10863 if test "x$enable_tools" != xno
10864 then
10865 if test "$ac_cv_header_gettext_po_h" = "yes"
10866 then
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10868 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10869 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10870 $as_echo_n "(cached) " >&6
10871 else
10872 ac_check_lib_save_LIBS=$LIBS
10873 LIBS="-lgettextpo $LIBS"
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10877 /* Override any GCC internal prototype to avoid an error.
10878 Use char because int might match the return type of a GCC
10879 builtin and then its argument prototype would still apply. */
10880 #ifdef __cplusplus
10881 extern "C"
10882 #endif
10883 char po_message_msgctxt ();
10885 main ()
10887 return po_message_msgctxt ();
10889 return 0;
10891 _ACEOF
10892 if ac_fn_c_try_link "$LINENO"; then :
10893 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10894 else
10895 ac_cv_lib_gettextpo_po_message_msgctxt=no
10897 rm -f core conftest.err conftest.$ac_objext \
10898 conftest$ac_exeext conftest.$ac_ext
10899 LIBS=$ac_check_lib_save_LIBS
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10902 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10903 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10905 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10907 LIBGETTEXTPO="-lgettextpo"
10912 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
10913 case "x$with_gettextpo" in
10914 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10915 xno) ;;
10916 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10917 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10918 esac
10922 if test "x$with_gstreamer" != "xno"
10923 then
10924 ac_save_CPPFLAGS="$CPPFLAGS"
10925 if test "$PKG_CONFIG" != "false"; then
10926 ac_gst_incl=""
10927 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10929 case "$i" in
10930 -I*) ac_gst_incl="$ac_gst_incl $i";;
10931 esac
10932 done
10933 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10934 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10935 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10936 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10937 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10938 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10940 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10943 #include <gst/app/gstappsink.h>
10945 main ()
10947 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10949 return 0;
10951 _ACEOF
10952 if ac_fn_c_try_compile "$LINENO"; then :
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10954 $as_echo "yes" >&6; }
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10956 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10957 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10958 $as_echo_n "(cached) " >&6
10959 else
10960 ac_check_lib_save_LIBS=$LIBS
10961 LIBS="-lgstreamer-0.10 $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 gst_pad_get_caps_reffed ();
10973 main ()
10975 return gst_pad_get_caps_reffed ();
10977 return 0;
10979 _ACEOF
10980 if ac_fn_c_try_link "$LINENO"; then :
10981 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10982 else
10983 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=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_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10990 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10991 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10993 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10994 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10995 $as_echo_n "(cached) " >&6
10996 else
10997 ac_check_lib_save_LIBS=$LIBS
10998 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11000 /* end confdefs.h. */
11002 /* Override any GCC internal prototype to avoid an error.
11003 Use char because int might match the return type of a GCC
11004 builtin and then its argument prototype would still apply. */
11005 #ifdef __cplusplus
11006 extern "C"
11007 #endif
11008 char gst_app_buffer_new ();
11010 main ()
11012 return gst_app_buffer_new ();
11014 return 0;
11016 _ACEOF
11017 if ac_fn_c_try_link "$LINENO"; then :
11018 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11019 else
11020 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11022 rm -f core conftest.err conftest.$ac_objext \
11023 conftest$ac_exeext conftest.$ac_ext
11024 LIBS=$ac_check_lib_save_LIBS
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11027 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11028 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11029 GSTREAMER_LIBS="$ac_gst_libs"
11031 GSTREAMER_INCL="$ac_gst_incl"
11037 else
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11039 $as_echo "no" >&6; }
11041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11049 CPPFLAGS="$ac_save_CPPFLAGS"
11051 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11052 case "x$with_gstreamer" in
11053 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11054 xno) ;;
11055 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11056 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11057 esac
11059 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11061 ALSALIBS=""
11063 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11064 then
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11066 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11067 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11068 $as_echo_n "(cached) " >&6
11069 else
11070 ac_check_lib_save_LIBS=$LIBS
11071 LIBS="-lasound $LIBS"
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11075 /* Override any GCC internal prototype to avoid an error.
11076 Use char because int might match the return type of a GCC
11077 builtin and then its argument prototype would still apply. */
11078 #ifdef __cplusplus
11079 extern "C"
11080 #endif
11081 char snd_pcm_hw_params_get_access_mask ();
11083 main ()
11085 return snd_pcm_hw_params_get_access_mask ();
11087 return 0;
11089 _ACEOF
11090 if ac_fn_c_try_link "$LINENO"; then :
11091 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11092 else
11093 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11095 rm -f core conftest.err conftest.$ac_objext \
11096 conftest$ac_exeext conftest.$ac_ext
11097 LIBS=$ac_check_lib_save_LIBS
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11100 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11101 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11104 #ifdef HAVE_ALSA_ASOUNDLIB_H
11105 #include <alsa/asoundlib.h>
11106 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11107 #include <sys/asoundlib.h>
11108 #endif
11110 main ()
11112 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11114 return 0;
11116 _ACEOF
11117 if ac_fn_c_try_compile "$LINENO"; then :
11118 ALSALIBS="-lasound"
11120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11125 if test "x$with_oss" != xno
11126 then
11127 ac_save_CPPFLAGS="$CPPFLAGS"
11128 if test -f /etc/oss.conf
11129 then
11130 . /etc/oss.conf
11132 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11133 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11134 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11135 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11136 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11138 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11140 cat >>confdefs.h <<_ACEOF
11141 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11142 _ACEOF
11144 OSS4INCL="$ac_oss_incl"
11151 CPPFLAGS="$ac_save_CPPFLAGS"
11152 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11153 then
11154 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11159 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11160 then
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11162 $as_echo_n "checking for -lcapi20... " >&6; }
11163 if ${ac_cv_lib_soname_capi20+:} false; then :
11164 $as_echo_n "(cached) " >&6
11165 else
11166 ac_check_soname_save_LIBS=$LIBS
11167 LIBS="-lcapi20 $LIBS"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11174 #ifdef __cplusplus
11175 extern "C"
11176 #endif
11177 char capi20_register ();
11179 main ()
11181 return capi20_register ();
11183 return 0;
11185 _ACEOF
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 case "$LIBEXT" in
11188 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11189 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'` ;;
11190 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11191 if test "x$ac_cv_lib_soname_capi20" = x; then :
11192 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11193 fi ;;
11194 esac
11196 rm -f core conftest.err conftest.$ac_objext \
11197 conftest$ac_exeext conftest.$ac_ext
11198 LIBS=$ac_check_soname_save_LIBS
11200 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11202 $as_echo "not found" >&6; }
11204 else
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11206 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11208 cat >>confdefs.h <<_ACEOF
11209 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11210 _ACEOF
11215 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11216 case "x$with_capi" in
11217 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11218 xno) ;;
11219 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11220 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11221 esac
11224 CUPSINCL=""
11226 if test "x$with_cups" != "xno"
11227 then
11228 ac_save_CPPFLAGS="$CPPFLAGS"
11229 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11230 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11231 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11232 for ac_header in cups/cups.h
11233 do :
11234 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11235 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11236 cat >>confdefs.h <<_ACEOF
11237 #define HAVE_CUPS_CUPS_H 1
11238 _ACEOF
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11240 $as_echo_n "checking for -lcups... " >&6; }
11241 if ${ac_cv_lib_soname_cups+:} false; then :
11242 $as_echo_n "(cached) " >&6
11243 else
11244 ac_check_soname_save_LIBS=$LIBS
11245 LIBS="-lcups $ac_cups_libs $LIBS"
11246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11247 /* end confdefs.h. */
11249 /* Override any GCC internal prototype to avoid an error.
11250 Use char because int might match the return type of a GCC
11251 builtin and then its argument prototype would still apply. */
11252 #ifdef __cplusplus
11253 extern "C"
11254 #endif
11255 char cupsGetDefault ();
11257 main ()
11259 return cupsGetDefault ();
11261 return 0;
11263 _ACEOF
11264 if ac_fn_c_try_link "$LINENO"; then :
11265 case "$LIBEXT" in
11266 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11267 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'` ;;
11268 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11269 if test "x$ac_cv_lib_soname_cups" = x; then :
11270 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11271 fi ;;
11272 esac
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_soname_save_LIBS
11278 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11280 $as_echo "not found" >&6; }
11282 else
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11284 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11286 cat >>confdefs.h <<_ACEOF
11287 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11288 _ACEOF
11290 CUPSINCL="$ac_cups_cflags"
11294 done
11296 CPPFLAGS="$ac_save_CPPFLAGS"
11298 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11299 case "x$with_cups" in
11300 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11301 xno) ;;
11302 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11303 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11304 esac
11307 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11308 then
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11310 $as_echo_n "checking for -lfontconfig... " >&6; }
11311 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11312 $as_echo_n "(cached) " >&6
11313 else
11314 ac_check_soname_save_LIBS=$LIBS
11315 LIBS="-lfontconfig $LIBS"
11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11319 /* Override any GCC internal prototype to avoid an error.
11320 Use char because int might match the return type of a GCC
11321 builtin and then its argument prototype would still apply. */
11322 #ifdef __cplusplus
11323 extern "C"
11324 #endif
11325 char FcInit ();
11327 main ()
11329 return FcInit ();
11331 return 0;
11333 _ACEOF
11334 if ac_fn_c_try_link "$LINENO"; then :
11335 case "$LIBEXT" in
11336 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11337 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'` ;;
11338 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11339 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11340 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11341 fi ;;
11342 esac
11344 rm -f core conftest.err conftest.$ac_objext \
11345 conftest$ac_exeext conftest.$ac_ext
11346 LIBS=$ac_check_soname_save_LIBS
11348 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11350 $as_echo "not found" >&6; }
11352 else
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11354 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11356 cat >>confdefs.h <<_ACEOF
11357 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11358 _ACEOF
11362 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11363 then
11364 ac_save_CPPFLAGS="$CPPFLAGS"
11365 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11366 $as_unset ac_cv_header_fontconfig_fontconfig_h
11367 for ac_header in fontconfig/fontconfig.h
11368 do :
11369 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11370 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11371 cat >>confdefs.h <<_ACEOF
11372 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11373 _ACEOF
11377 done
11379 CPPFLAGS="$ac_save_CPPFLAGS"
11380 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11381 then
11382 FONTCONFIGINCL="$X_CFLAGS"
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11385 $as_echo_n "checking for -lfontconfig... " >&6; }
11386 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_soname_save_LIBS=$LIBS
11390 LIBS="-lfontconfig $X_LIBS $LIBS"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char FcInit ();
11402 main ()
11404 return FcInit ();
11406 return 0;
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 case "$LIBEXT" in
11411 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11412 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'` ;;
11413 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11414 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11415 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11416 fi ;;
11417 esac
11419 rm -f core conftest.err conftest.$ac_objext \
11420 conftest$ac_exeext conftest.$ac_ext
11421 LIBS=$ac_check_soname_save_LIBS
11423 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11425 $as_echo "not found" >&6; }
11427 else
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11429 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11431 cat >>confdefs.h <<_ACEOF
11432 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11433 _ACEOF
11439 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11440 case "x$with_fontconfig" in
11441 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11442 xno) ;;
11443 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11444 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11445 esac
11448 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11449 then
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11451 $as_echo_n "checking for -lssl... " >&6; }
11452 if ${ac_cv_lib_soname_ssl+:} false; then :
11453 $as_echo_n "(cached) " >&6
11454 else
11455 ac_check_soname_save_LIBS=$LIBS
11456 LIBS="-lssl $LIBS"
11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11460 /* Override any GCC internal prototype to avoid an error.
11461 Use char because int might match the return type of a GCC
11462 builtin and then its argument prototype would still apply. */
11463 #ifdef __cplusplus
11464 extern "C"
11465 #endif
11466 char SSL_library_init ();
11468 main ()
11470 return SSL_library_init ();
11472 return 0;
11474 _ACEOF
11475 if ac_fn_c_try_link "$LINENO"; then :
11476 case "$LIBEXT" in
11477 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11478 dylib) ac_cv_lib_soname_ssl=`otool -L conftest$ac_exeext | grep "libssl\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11479 *) ac_cv_lib_soname_ssl=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libssl\\.$LIBEXT" | sed -e "s/^.*\\[\\(libssl\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11480 if test "x$ac_cv_lib_soname_ssl" = x; then :
11481 ac_cv_lib_soname_ssl=`$LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11482 fi ;;
11483 esac
11485 rm -f core conftest.err conftest.$ac_objext \
11486 conftest$ac_exeext conftest.$ac_ext
11487 LIBS=$ac_check_soname_save_LIBS
11489 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11491 $as_echo "not found" >&6; }
11493 else
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11495 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11497 cat >>confdefs.h <<_ACEOF
11498 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11499 _ACEOF
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11504 $as_echo_n "checking for -lcrypto... " >&6; }
11505 if ${ac_cv_lib_soname_crypto+:} false; then :
11506 $as_echo_n "(cached) " >&6
11507 else
11508 ac_check_soname_save_LIBS=$LIBS
11509 LIBS="-lcrypto $LIBS"
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11516 #ifdef __cplusplus
11517 extern "C"
11518 #endif
11519 char BIO_new_socket ();
11521 main ()
11523 return BIO_new_socket ();
11525 return 0;
11527 _ACEOF
11528 if ac_fn_c_try_link "$LINENO"; then :
11529 case "$LIBEXT" in
11530 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11531 dylib) ac_cv_lib_soname_crypto=`otool -L conftest$ac_exeext | grep "libcrypto\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11532 *) ac_cv_lib_soname_crypto=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcrypto\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcrypto\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11533 if test "x$ac_cv_lib_soname_crypto" = x; then :
11534 ac_cv_lib_soname_crypto=`$LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11535 fi ;;
11536 esac
11538 rm -f core conftest.err conftest.$ac_objext \
11539 conftest$ac_exeext conftest.$ac_ext
11540 LIBS=$ac_check_soname_save_LIBS
11542 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11544 $as_echo "not found" >&6; }
11546 else
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11548 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11550 cat >>confdefs.h <<_ACEOF
11551 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11552 _ACEOF
11557 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11558 case "x$with_openssl" in
11559 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11560 xno) ;;
11561 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11562 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11563 esac
11566 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11567 then
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11569 $as_echo_n "checking for -lgsm... " >&6; }
11570 if ${ac_cv_lib_soname_gsm+:} false; then :
11571 $as_echo_n "(cached) " >&6
11572 else
11573 ac_check_soname_save_LIBS=$LIBS
11574 LIBS="-lgsm $LIBS"
11575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h. */
11578 /* Override any GCC internal prototype to avoid an error.
11579 Use char because int might match the return type of a GCC
11580 builtin and then its argument prototype would still apply. */
11581 #ifdef __cplusplus
11582 extern "C"
11583 #endif
11584 char gsm_create ();
11586 main ()
11588 return gsm_create ();
11590 return 0;
11592 _ACEOF
11593 if ac_fn_c_try_link "$LINENO"; then :
11594 case "$LIBEXT" in
11595 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11596 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'` ;;
11597 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11598 if test "x$ac_cv_lib_soname_gsm" = x; then :
11599 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11600 fi ;;
11601 esac
11603 rm -f core conftest.err conftest.$ac_objext \
11604 conftest$ac_exeext conftest.$ac_ext
11605 LIBS=$ac_check_soname_save_LIBS
11607 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11609 $as_echo "not found" >&6; }
11611 else
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11613 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11615 cat >>confdefs.h <<_ACEOF
11616 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11617 _ACEOF
11622 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11623 case "x$with_gsm" in
11624 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11625 xno) ;;
11626 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11627 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11628 esac
11631 if test "$ac_cv_header_jpeglib_h" = "yes"
11632 then
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11634 $as_echo_n "checking for -ljpeg... " >&6; }
11635 if ${ac_cv_lib_soname_jpeg+:} false; then :
11636 $as_echo_n "(cached) " >&6
11637 else
11638 ac_check_soname_save_LIBS=$LIBS
11639 LIBS="-ljpeg $LIBS"
11640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11643 /* Override any GCC internal prototype to avoid an error.
11644 Use char because int might match the return type of a GCC
11645 builtin and then its argument prototype would still apply. */
11646 #ifdef __cplusplus
11647 extern "C"
11648 #endif
11649 char jpeg_start_decompress ();
11651 main ()
11653 return jpeg_start_decompress ();
11655 return 0;
11657 _ACEOF
11658 if ac_fn_c_try_link "$LINENO"; then :
11659 case "$LIBEXT" in
11660 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11661 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'` ;;
11662 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11663 if test "x$ac_cv_lib_soname_jpeg" = x; then :
11664 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11665 fi ;;
11666 esac
11668 rm -f core conftest.err conftest.$ac_objext \
11669 conftest$ac_exeext conftest.$ac_ext
11670 LIBS=$ac_check_soname_save_LIBS
11672 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11674 $as_echo "not found" >&6; }
11676 else
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11678 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11680 cat >>confdefs.h <<_ACEOF
11681 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11682 _ACEOF
11687 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11688 case "x$with_jpeg" in
11689 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11690 xno) ;;
11691 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11692 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11693 esac
11696 if test "$ac_cv_header_png_h" = "yes"
11697 then
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11699 $as_echo_n "checking for -lpng... " >&6; }
11700 if ${ac_cv_lib_soname_png+:} false; then :
11701 $as_echo_n "(cached) " >&6
11702 else
11703 ac_check_soname_save_LIBS=$LIBS
11704 LIBS="-lpng -lm -lz $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 png_create_read_struct ();
11716 main ()
11718 return png_create_read_struct ();
11720 return 0;
11722 _ACEOF
11723 if ac_fn_c_try_link "$LINENO"; then :
11724 case "$LIBEXT" in
11725 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11726 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'` ;;
11727 *) 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'`
11728 if test "x$ac_cv_lib_soname_png" = x; then :
11729 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$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 test "x$ac_cv_lib_soname_png" = "x"; 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_png" >&5
11743 $as_echo "$ac_cv_lib_soname_png" >&6; }
11745 cat >>confdefs.h <<_ACEOF
11746 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11747 _ACEOF
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11752 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11753 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11754 $as_echo_n "(cached) " >&6
11755 else
11756 ac_check_lib_save_LIBS=$LIBS
11757 LIBS="-lpng -lm -lz $LIBS"
11758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11761 /* Override any GCC internal prototype to avoid an error.
11762 Use char because int might match the return type of a GCC
11763 builtin and then its argument prototype would still apply. */
11764 #ifdef __cplusplus
11765 extern "C"
11766 #endif
11767 char png_set_expand_gray_1_2_4_to_8 ();
11769 main ()
11771 return png_set_expand_gray_1_2_4_to_8 ();
11773 return 0;
11775 _ACEOF
11776 if ac_fn_c_try_link "$LINENO"; then :
11777 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11778 else
11779 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11781 rm -f core conftest.err conftest.$ac_objext \
11782 conftest$ac_exeext conftest.$ac_ext
11783 LIBS=$ac_check_lib_save_LIBS
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11786 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11787 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11789 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11794 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11795 then
11796 ac_save_CPPFLAGS="$CPPFLAGS"
11797 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11798 $as_unset ac_cv_header_png_h
11799 for ac_header in png.h
11800 do :
11801 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11802 if test "x$ac_cv_header_png_h" = xyes; then :
11803 cat >>confdefs.h <<_ACEOF
11804 #define HAVE_PNG_H 1
11805 _ACEOF
11809 done
11811 CPPFLAGS="$ac_save_CPPFLAGS"
11812 if test "$ac_cv_header_png_h" = "yes"
11813 then
11814 PNGINCL="$X_CFLAGS"
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11817 $as_echo_n "checking for -lpng... " >&6; }
11818 if ${ac_cv_lib_soname_png+:} false; then :
11819 $as_echo_n "(cached) " >&6
11820 else
11821 ac_check_soname_save_LIBS=$LIBS
11822 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11824 /* end confdefs.h. */
11826 /* Override any GCC internal prototype to avoid an error.
11827 Use char because int might match the return type of a GCC
11828 builtin and then its argument prototype would still apply. */
11829 #ifdef __cplusplus
11830 extern "C"
11831 #endif
11832 char png_create_read_struct ();
11834 main ()
11836 return png_create_read_struct ();
11838 return 0;
11840 _ACEOF
11841 if ac_fn_c_try_link "$LINENO"; then :
11842 case "$LIBEXT" in
11843 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11844 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'` ;;
11845 *) 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'`
11846 if test "x$ac_cv_lib_soname_png" = x; then :
11847 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11848 fi ;;
11849 esac
11851 rm -f core conftest.err conftest.$ac_objext \
11852 conftest$ac_exeext conftest.$ac_ext
11853 LIBS=$ac_check_soname_save_LIBS
11855 if test "x$ac_cv_lib_soname_png" = "x"; then :
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11857 $as_echo "not found" >&6; }
11859 else
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11861 $as_echo "$ac_cv_lib_soname_png" >&6; }
11863 cat >>confdefs.h <<_ACEOF
11864 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11865 _ACEOF
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11870 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11871 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11872 $as_echo_n "(cached) " >&6
11873 else
11874 ac_check_lib_save_LIBS=$LIBS
11875 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11879 /* Override any GCC internal prototype to avoid an error.
11880 Use char because int might match the return type of a GCC
11881 builtin and then its argument prototype would still apply. */
11882 #ifdef __cplusplus
11883 extern "C"
11884 #endif
11885 char png_set_expand_gray_1_2_4_to_8 ();
11887 main ()
11889 return png_set_expand_gray_1_2_4_to_8 ();
11891 return 0;
11893 _ACEOF
11894 if ac_fn_c_try_link "$LINENO"; then :
11895 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11896 else
11897 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11899 rm -f core conftest.err conftest.$ac_objext \
11900 conftest$ac_exeext conftest.$ac_ext
11901 LIBS=$ac_check_lib_save_LIBS
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11904 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11905 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11906 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11912 if test "x$ac_cv_lib_soname_png" = "x"; then :
11913 case "x$with_png" in
11914 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11915 xno) ;;
11916 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11917 This is an error since --with-png was requested." "$LINENO" 5 ;;
11918 esac
11921 if test "$ac_cv_header_tiffio_h" = "yes"
11922 then
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11924 $as_echo_n "checking for -ltiff... " >&6; }
11925 if ${ac_cv_lib_soname_tiff+:} false; then :
11926 $as_echo_n "(cached) " >&6
11927 else
11928 ac_check_soname_save_LIBS=$LIBS
11929 LIBS="-ltiff $LIBS"
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11933 /* Override any GCC internal prototype to avoid an error.
11934 Use char because int might match the return type of a GCC
11935 builtin and then its argument prototype would still apply. */
11936 #ifdef __cplusplus
11937 extern "C"
11938 #endif
11939 char TIFFClientOpen ();
11941 main ()
11943 return TIFFClientOpen ();
11945 return 0;
11947 _ACEOF
11948 if ac_fn_c_try_link "$LINENO"; then :
11949 case "$LIBEXT" in
11950 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11951 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'` ;;
11952 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11953 if test "x$ac_cv_lib_soname_tiff" = x; then :
11954 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11955 fi ;;
11956 esac
11958 rm -f core conftest.err conftest.$ac_objext \
11959 conftest$ac_exeext conftest.$ac_ext
11960 LIBS=$ac_check_soname_save_LIBS
11962 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11964 $as_echo "not found" >&6; }
11966 else
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11968 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11970 cat >>confdefs.h <<_ACEOF
11971 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11972 _ACEOF
11977 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11978 case "x$with_tiff" in
11979 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11980 xno) ;;
11981 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11982 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11983 esac
11986 if test "$ac_cv_header_mpg123_h" = "yes"
11987 then
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11989 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11990 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11991 $as_echo_n "(cached) " >&6
11992 else
11993 ac_check_lib_save_LIBS=$LIBS
11994 LIBS="-lmpg123 $LIBS"
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11998 /* Override any GCC internal prototype to avoid an error.
11999 Use char because int might match the return type of a GCC
12000 builtin and then its argument prototype would still apply. */
12001 #ifdef __cplusplus
12002 extern "C"
12003 #endif
12004 char mpg123_feed ();
12006 main ()
12008 return mpg123_feed ();
12010 return 0;
12012 _ACEOF
12013 if ac_fn_c_try_link "$LINENO"; then :
12014 ac_cv_lib_mpg123_mpg123_feed=yes
12015 else
12016 ac_cv_lib_mpg123_mpg123_feed=no
12018 rm -f core conftest.err conftest.$ac_objext \
12019 conftest$ac_exeext conftest.$ac_ext
12020 LIBS=$ac_check_lib_save_LIBS
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12023 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12024 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12025 LIBMPG123="-lmpg123"
12030 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12031 case "x$with_mpg123" in
12032 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12033 xno) ;;
12034 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12035 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12036 esac
12038 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}
12040 if test "$ac_cv_header_AL_al_h" = "yes"
12041 then
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12043 $as_echo_n "checking for -lopenal... " >&6; }
12044 if ${ac_cv_lib_soname_openal+:} false; then :
12045 $as_echo_n "(cached) " >&6
12046 else
12047 ac_check_soname_save_LIBS=$LIBS
12048 LIBS="-lopenal $LIBS"
12049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12050 /* end confdefs.h. */
12052 /* Override any GCC internal prototype to avoid an error.
12053 Use char because int might match the return type of a GCC
12054 builtin and then its argument prototype would still apply. */
12055 #ifdef __cplusplus
12056 extern "C"
12057 #endif
12058 char alGetSource3i ();
12060 main ()
12062 return alGetSource3i ();
12064 return 0;
12066 _ACEOF
12067 if ac_fn_c_try_link "$LINENO"; then :
12068 case "$LIBEXT" in
12069 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12070 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'` ;;
12071 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12072 if test "x$ac_cv_lib_soname_openal" = x; then :
12073 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12074 fi ;;
12075 esac
12077 rm -f core conftest.err conftest.$ac_objext \
12078 conftest$ac_exeext conftest.$ac_ext
12079 LIBS=$ac_check_soname_save_LIBS
12081 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12083 $as_echo "not found" >&6; }
12085 else
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12087 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12089 cat >>confdefs.h <<_ACEOF
12090 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12091 _ACEOF
12093 LIBOPENAL="-lopenal"
12095 ac_cv_lib_openal=yes
12097 cat >>confdefs.h <<_ACEOF
12098 #define HAVE_OPENAL 1
12099 _ACEOF
12103 if test "x$ac_cv_lib_openal" != xyes; then :
12104 case "x$with_openal" in
12105 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12106 xno) ;;
12107 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12108 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12109 esac
12111 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12113 if test "$ac_cv_header_kstat_h" = "yes"
12114 then
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12116 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12117 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12118 $as_echo_n "(cached) " >&6
12119 else
12120 ac_check_lib_save_LIBS=$LIBS
12121 LIBS="-lkstat $LIBS"
12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12125 /* Override any GCC internal prototype to avoid an error.
12126 Use char because int might match the return type of a GCC
12127 builtin and then its argument prototype would still apply. */
12128 #ifdef __cplusplus
12129 extern "C"
12130 #endif
12131 char kstat_open ();
12133 main ()
12135 return kstat_open ();
12137 return 0;
12139 _ACEOF
12140 if ac_fn_c_try_link "$LINENO"; then :
12141 ac_cv_lib_kstat_kstat_open=yes
12142 else
12143 ac_cv_lib_kstat_kstat_open=no
12145 rm -f core conftest.err conftest.$ac_objext \
12146 conftest$ac_exeext conftest.$ac_ext
12147 LIBS=$ac_check_lib_save_LIBS
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12150 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12151 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12153 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12155 LIBKSTAT="-lkstat"
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12162 $as_echo_n "checking for -lodbc... " >&6; }
12163 if ${ac_cv_lib_soname_odbc+:} false; then :
12164 $as_echo_n "(cached) " >&6
12165 else
12166 ac_check_soname_save_LIBS=$LIBS
12167 LIBS="-lodbc $LIBS"
12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12174 #ifdef __cplusplus
12175 extern "C"
12176 #endif
12177 char SQLConnect ();
12179 main ()
12181 return SQLConnect ();
12183 return 0;
12185 _ACEOF
12186 if ac_fn_c_try_link "$LINENO"; then :
12187 case "$LIBEXT" in
12188 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12189 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'` ;;
12190 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12191 if test "x$ac_cv_lib_soname_odbc" = x; then :
12192 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12193 fi ;;
12194 esac
12196 rm -f core conftest.err conftest.$ac_objext \
12197 conftest$ac_exeext conftest.$ac_ext
12198 LIBS=$ac_check_soname_save_LIBS
12200 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12202 $as_echo "not found" >&6; }
12203 cat >>confdefs.h <<_ACEOF
12204 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12205 _ACEOF
12207 else
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12209 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12211 cat >>confdefs.h <<_ACEOF
12212 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12213 _ACEOF
12218 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12219 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12220 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12221 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12223 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12224 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12225 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12226 then
12227 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12231 EXTRACFLAGS=""
12233 if test "x${GCC}" = "xyes"
12234 then
12235 EXTRACFLAGS="-Wall -pipe"
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12238 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12239 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12240 $as_echo_n "(cached) " >&6
12241 else
12242 if test "$cross_compiling" = yes; then :
12243 ac_cv_c_gcc_strength_bug="yes"
12244 else
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12247 int L[4] = {0,1,2,3};
12249 main ()
12251 static int Array[3];
12252 unsigned int B = 3;
12253 int i;
12254 for(i=0; i<B; i++) Array[i] = i - 3;
12255 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12256 L[i] = 4;
12257 return (Array[1] != -2 || L[2] != 3)
12259 return 0;
12261 _ACEOF
12262 if ac_fn_c_try_run "$LINENO"; then :
12263 ac_cv_c_gcc_strength_bug="no"
12264 else
12265 ac_cv_c_gcc_strength_bug="yes"
12267 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12268 conftest.$ac_objext conftest.beam conftest.$ac_ext
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12273 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12274 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12275 then
12276 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12280 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12281 if ${ac_cv_cflags__fno_builtin+:} false; then :
12282 $as_echo_n "(cached) " >&6
12283 else
12284 ac_wine_try_cflags_saved=$CFLAGS
12285 CFLAGS="$CFLAGS -fno-builtin"
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12288 int main(int argc, char **argv) { return 0; }
12289 _ACEOF
12290 if ac_fn_c_try_link "$LINENO"; then :
12291 ac_cv_cflags__fno_builtin=yes
12292 else
12293 ac_cv_cflags__fno_builtin=no
12295 rm -f core conftest.err conftest.$ac_objext \
12296 conftest$ac_exeext conftest.$ac_ext
12297 CFLAGS=$ac_wine_try_cflags_saved
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12300 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12301 if test $ac_cv_cflags__fno_builtin = yes; then :
12302 BUILTINFLAG="-fno-builtin"
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12306 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12307 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12308 $as_echo_n "(cached) " >&6
12309 else
12310 ac_wine_try_cflags_saved=$CFLAGS
12311 CFLAGS="$CFLAGS -fno-strict-aliasing"
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12314 int main(int argc, char **argv) { return 0; }
12315 _ACEOF
12316 if ac_fn_c_try_link "$LINENO"; then :
12317 ac_cv_cflags__fno_strict_aliasing=yes
12318 else
12319 ac_cv_cflags__fno_strict_aliasing=no
12321 rm -f core conftest.err conftest.$ac_objext \
12322 conftest$ac_exeext conftest.$ac_ext
12323 CFLAGS=$ac_wine_try_cflags_saved
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12326 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12327 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12328 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12331 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12332 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12333 $as_echo_n "(cached) " >&6
12334 else
12335 ac_wine_try_cflags_saved=$CFLAGS
12336 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12339 int main(int argc, char **argv) { return 0; }
12340 _ACEOF
12341 if ac_fn_c_try_link "$LINENO"; then :
12342 ac_cv_cflags__Wdeclaration_after_statement=yes
12343 else
12344 ac_cv_cflags__Wdeclaration_after_statement=no
12346 rm -f core conftest.err conftest.$ac_objext \
12347 conftest$ac_exeext conftest.$ac_ext
12348 CFLAGS=$ac_wine_try_cflags_saved
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12351 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12352 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12353 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12356 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12357 if ${ac_cv_cflags__Wempty_body+:} false; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 ac_wine_try_cflags_saved=$CFLAGS
12361 CFLAGS="$CFLAGS -Wempty-body"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12364 int main(int argc, char **argv) { return 0; }
12365 _ACEOF
12366 if ac_fn_c_try_link "$LINENO"; then :
12367 ac_cv_cflags__Wempty_body=yes
12368 else
12369 ac_cv_cflags__Wempty_body=no
12371 rm -f core conftest.err conftest.$ac_objext \
12372 conftest$ac_exeext conftest.$ac_ext
12373 CFLAGS=$ac_wine_try_cflags_saved
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12376 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12377 if test $ac_cv_cflags__Wempty_body = yes; then :
12378 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12381 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12382 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12383 $as_echo_n "(cached) " >&6
12384 else
12385 ac_wine_try_cflags_saved=$CFLAGS
12386 CFLAGS="$CFLAGS -Wignored-qualifiers"
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12389 int main(int argc, char **argv) { return 0; }
12390 _ACEOF
12391 if ac_fn_c_try_link "$LINENO"; then :
12392 ac_cv_cflags__Wignored_qualifiers=yes
12393 else
12394 ac_cv_cflags__Wignored_qualifiers=no
12396 rm -f core conftest.err conftest.$ac_objext \
12397 conftest$ac_exeext conftest.$ac_ext
12398 CFLAGS=$ac_wine_try_cflags_saved
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12401 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12402 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12403 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12406 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12407 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12408 $as_echo_n "(cached) " >&6
12409 else
12410 ac_wine_try_cflags_saved=$CFLAGS
12411 CFLAGS="$CFLAGS -Wstrict-prototypes"
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12414 int main(int argc, char **argv) { return 0; }
12415 _ACEOF
12416 if ac_fn_c_try_link "$LINENO"; then :
12417 ac_cv_cflags__Wstrict_prototypes=yes
12418 else
12419 ac_cv_cflags__Wstrict_prototypes=no
12421 rm -f core conftest.err conftest.$ac_objext \
12422 conftest$ac_exeext conftest.$ac_ext
12423 CFLAGS=$ac_wine_try_cflags_saved
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12426 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12427 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12428 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12431 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12432 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12433 $as_echo_n "(cached) " >&6
12434 else
12435 ac_wine_try_cflags_saved=$CFLAGS
12436 CFLAGS="$CFLAGS -Wtype-limits"
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12439 int main(int argc, char **argv) { return 0; }
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"; then :
12442 ac_cv_cflags__Wtype_limits=yes
12443 else
12444 ac_cv_cflags__Wtype_limits=no
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 CFLAGS=$ac_wine_try_cflags_saved
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12451 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12452 if test $ac_cv_cflags__Wtype_limits = yes; then :
12453 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12456 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12457 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12458 $as_echo_n "(cached) " >&6
12459 else
12460 ac_wine_try_cflags_saved=$CFLAGS
12461 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12464 int main(int argc, char **argv) { return 0; }
12465 _ACEOF
12466 if ac_fn_c_try_link "$LINENO"; then :
12467 ac_cv_cflags__Wunused_but_set_parameter=yes
12468 else
12469 ac_cv_cflags__Wunused_but_set_parameter=no
12471 rm -f core conftest.err conftest.$ac_objext \
12472 conftest$ac_exeext conftest.$ac_ext
12473 CFLAGS=$ac_wine_try_cflags_saved
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12476 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12477 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12478 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12481 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12482 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12483 $as_echo_n "(cached) " >&6
12484 else
12485 ac_wine_try_cflags_saved=$CFLAGS
12486 CFLAGS="$CFLAGS -Wwrite-strings"
12487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12489 int main(int argc, char **argv) { return 0; }
12490 _ACEOF
12491 if ac_fn_c_try_link "$LINENO"; then :
12492 ac_cv_cflags__Wwrite_strings=yes
12493 else
12494 ac_cv_cflags__Wwrite_strings=no
12496 rm -f core conftest.err conftest.$ac_objext \
12497 conftest$ac_exeext conftest.$ac_ext
12498 CFLAGS=$ac_wine_try_cflags_saved
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12501 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12502 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12503 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12506 for ac_flag in $CFLAGS; do
12507 case $ac_flag in
12508 -g) case $host_os in
12509 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12510 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12511 if ${ac_cv_cflags__gstabsp+:} false; then :
12512 $as_echo_n "(cached) " >&6
12513 else
12514 ac_wine_try_cflags_saved=$CFLAGS
12515 CFLAGS="$CFLAGS -gstabs+"
12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12518 int main(int argc, char **argv) { return 0; }
12519 _ACEOF
12520 if ac_fn_c_try_link "$LINENO"; then :
12521 ac_cv_cflags__gstabsp=yes
12522 else
12523 ac_cv_cflags__gstabsp=no
12525 rm -f core conftest.err conftest.$ac_objext \
12526 conftest$ac_exeext conftest.$ac_ext
12527 CFLAGS=$ac_wine_try_cflags_saved
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12530 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12531 if test $ac_cv_cflags__gstabsp = yes; then :
12532 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12533 fi ;;
12534 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12535 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12536 if ${ac_cv_cflags__gdwarf_2+:} false; then :
12537 $as_echo_n "(cached) " >&6
12538 else
12539 ac_wine_try_cflags_saved=$CFLAGS
12540 CFLAGS="$CFLAGS -gdwarf-2"
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12543 int main(int argc, char **argv) { return 0; }
12544 _ACEOF
12545 if ac_fn_c_try_link "$LINENO"; then :
12546 ac_cv_cflags__gdwarf_2=yes
12547 else
12548 ac_cv_cflags__gdwarf_2=no
12550 rm -f core conftest.err conftest.$ac_objext \
12551 conftest$ac_exeext conftest.$ac_ext
12552 CFLAGS=$ac_wine_try_cflags_saved
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12555 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12556 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12557 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12560 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12561 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
12562 $as_echo_n "(cached) " >&6
12563 else
12564 ac_wine_try_cflags_saved=$CFLAGS
12565 CFLAGS="$CFLAGS -gstrict-dwarf"
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12568 int main(int argc, char **argv) { return 0; }
12569 _ACEOF
12570 if ac_fn_c_try_link "$LINENO"; then :
12571 ac_cv_cflags__gstrict_dwarf=yes
12572 else
12573 ac_cv_cflags__gstrict_dwarf=no
12575 rm -f core conftest.err conftest.$ac_objext \
12576 conftest$ac_exeext conftest.$ac_ext
12577 CFLAGS=$ac_wine_try_cflags_saved
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12580 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12581 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12582 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
12583 fi ;;
12584 esac ;;
12585 esac
12586 done
12588 case $host_cpu in
12589 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12590 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12591 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12592 $as_echo_n "(cached) " >&6
12593 else
12594 ac_wine_try_cflags_saved=$CFLAGS
12595 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12598 int main(int argc, char **argv) { return 0; }
12599 _ACEOF
12600 if ac_fn_c_try_link "$LINENO"; then :
12601 ac_cv_cflags__fno_omit_frame_pointer=yes
12602 else
12603 ac_cv_cflags__fno_omit_frame_pointer=no
12605 rm -f core conftest.err conftest.$ac_objext \
12606 conftest$ac_exeext conftest.$ac_ext
12607 CFLAGS=$ac_wine_try_cflags_saved
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12610 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12611 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12612 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12613 fi ;;
12614 esac
12616 case $host in
12617 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12618 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12619 if ${ac_cv_cflags__Wno_format+:} false; then :
12620 $as_echo_n "(cached) " >&6
12621 else
12622 ac_wine_try_cflags_saved=$CFLAGS
12623 CFLAGS="$CFLAGS -Wno-format"
12624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12626 int main(int argc, char **argv) { return 0; }
12627 _ACEOF
12628 if ac_fn_c_try_link "$LINENO"; then :
12629 ac_cv_cflags__Wno_format=yes
12630 else
12631 ac_cv_cflags__Wno_format=no
12633 rm -f core conftest.err conftest.$ac_objext \
12634 conftest$ac_exeext conftest.$ac_ext
12635 CFLAGS=$ac_wine_try_cflags_saved
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12638 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12639 if test $ac_cv_cflags__Wno_format = yes; then :
12640 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12641 fi ;;
12642 esac
12644 saved_CFLAGS="$CFLAGS"
12645 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12647 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12648 if ${ac_cv_c_string_h_warnings+:} false; then :
12649 $as_echo_n "(cached) " >&6
12650 else
12651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12653 #include <string.h>
12655 main ()
12659 return 0;
12661 _ACEOF
12662 if ac_fn_c_try_compile "$LINENO"; then :
12663 ac_cv_c_string_h_warnings=no
12664 else
12665 ac_cv_c_string_h_warnings=yes
12667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12670 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12671 CFLAGS="$saved_CFLAGS"
12672 if test "$ac_cv_c_string_h_warnings" = "no"
12673 then
12674 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12677 saved_CFLAGS="$CFLAGS"
12678 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12680 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12681 if ${ac_cv_c_logicalop_noisy+:} false; then :
12682 $as_echo_n "(cached) " >&6
12683 else
12684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12686 #include <string.h>
12688 main ()
12690 char*f(const char *h,char n) {return strchr(h,n);}
12692 return 0;
12694 _ACEOF
12695 if ac_fn_c_try_compile "$LINENO"; then :
12696 ac_cv_c_logicalop_noisy=no
12697 else
12698 ac_cv_c_logicalop_noisy=yes
12700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12703 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12704 CFLAGS="$saved_CFLAGS"
12705 if test "$ac_cv_c_logicalop_noisy" = "no"
12706 then
12707 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12710 if test "x$enable_maintainer_mode" = "xyes"
12711 then
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12713 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12714 if ${ac_cv_cflags__Werror+:} false; then :
12715 $as_echo_n "(cached) " >&6
12716 else
12717 ac_wine_try_cflags_saved=$CFLAGS
12718 CFLAGS="$CFLAGS -Werror"
12719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12720 /* end confdefs.h. */
12721 int main(int argc, char **argv) { return 0; }
12722 _ACEOF
12723 if ac_fn_c_try_link "$LINENO"; then :
12724 ac_cv_cflags__Werror=yes
12725 else
12726 ac_cv_cflags__Werror=no
12728 rm -f core conftest.err conftest.$ac_objext \
12729 conftest$ac_exeext conftest.$ac_ext
12730 CFLAGS=$ac_wine_try_cflags_saved
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12733 $as_echo "$ac_cv_cflags__Werror" >&6; }
12734 if test $ac_cv_cflags__Werror = yes; then :
12735 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12739 saved_CFLAGS="$CFLAGS"
12740 CFLAGS="$CFLAGS -Werror"
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12742 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12743 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12744 $as_echo_n "(cached) " >&6
12745 else
12746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12747 /* end confdefs.h. */
12748 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12750 main ()
12754 return 0;
12756 _ACEOF
12757 if ac_fn_c_try_compile "$LINENO"; then :
12758 ac_cv_have_ms_hook_prologue="yes"
12759 else
12760 ac_cv_have_ms_hook_prologue="no"
12762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12765 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12766 CFLAGS="$saved_CFLAGS"
12767 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12768 then
12770 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12772 else
12773 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12780 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12781 if ${ac_cv_c_fortify_enabled+:} false; then :
12782 $as_echo_n "(cached) " >&6
12783 else
12784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12785 /* end confdefs.h. */
12786 #include <string.h>
12788 main ()
12790 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12791 #error Fortify enabled
12792 #endif
12794 return 0;
12796 _ACEOF
12797 if ac_fn_c_try_compile "$LINENO"; then :
12798 ac_cv_c_fortify_enabled=no
12799 else
12800 ac_cv_c_fortify_enabled=yes
12802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12805 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12806 if test "$ac_cv_c_fortify_enabled" = yes
12807 then
12808 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12813 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12814 if ${ac_cv_c_extern_prefix+:} false; then :
12815 $as_echo_n "(cached) " >&6
12816 else
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12819 extern int ac_test;
12821 main ()
12823 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12825 return 0;
12827 _ACEOF
12828 if ac_fn_c_try_link "$LINENO"; then :
12829 ac_cv_c_extern_prefix="yes"
12830 else
12831 ac_cv_c_extern_prefix="no"
12833 rm -f core conftest.err conftest.$ac_objext \
12834 conftest$ac_exeext conftest.$ac_ext
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12837 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12839 case $host_cpu in
12840 *i[3456789]86*)
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12842 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12843 if ${ac_cv_c_stdcall_suffix+:} false; then :
12844 $as_echo_n "(cached) " >&6
12845 else
12846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12848 #ifndef _MSC_VER
12849 #define __stdcall __attribute__((__stdcall__))
12850 #endif
12851 int __stdcall ac_test(int i) { return i; }
12853 main ()
12855 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12857 return 0;
12859 _ACEOF
12860 if ac_fn_c_try_link "$LINENO"; then :
12861 ac_cv_c_stdcall_suffix="yes"
12862 else
12863 ac_cv_c_stdcall_suffix="no"
12865 rm -f core conftest.err conftest.$ac_objext \
12866 conftest$ac_exeext conftest.$ac_ext
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12869 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12870 *) ac_cv_c_stdcall_suffix="no" ;;
12871 esac
12874 if test "$ac_cv_c_extern_prefix" = "yes"
12875 then
12876 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12878 asm_name_prefix="_"
12879 else
12880 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12882 asm_name_prefix=""
12886 if test "$ac_cv_c_stdcall_suffix" = "yes"
12887 then
12888 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12890 else
12891 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12897 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12898 if ${ac_cv_asm_func_def+:} false; then :
12899 $as_echo_n "(cached) " >&6
12900 else
12901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12902 /* end confdefs.h. */
12905 main ()
12907 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12909 return 0;
12911 _ACEOF
12912 if ac_fn_c_try_link "$LINENO"; then :
12913 ac_cv_asm_func_def=".def"
12914 else
12915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12916 /* end confdefs.h. */
12919 main ()
12921 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12923 return 0;
12925 _ACEOF
12926 if ac_fn_c_try_link "$LINENO"; then :
12927 ac_cv_asm_func_def=".type @function"
12928 else
12929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h. */
12933 main ()
12935 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12937 return 0;
12939 _ACEOF
12940 if ac_fn_c_try_link "$LINENO"; then :
12941 ac_cv_asm_func_def=".type 2"
12942 else
12943 ac_cv_asm_func_def="unknown"
12945 rm -f core conftest.err conftest.$ac_objext \
12946 conftest$ac_exeext conftest.$ac_ext
12948 rm -f core conftest.err conftest.$ac_objext \
12949 conftest$ac_exeext conftest.$ac_ext
12951 rm -f core conftest.err conftest.$ac_objext \
12952 conftest$ac_exeext conftest.$ac_ext
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12955 $as_echo "$ac_cv_asm_func_def" >&6; }
12958 case "$ac_cv_asm_func_def" in
12959 ".def")
12960 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12962 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12963 ".type @function")
12964 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12966 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12967 ".type 2")
12968 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12970 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12972 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12974 asm_func_header="" ;;
12975 esac
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12978 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12979 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12980 $as_echo_n "(cached) " >&6
12981 else
12982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12983 /* end confdefs.h. */
12984 asm(".text\n\t.long 0");
12986 main ()
12990 return 0;
12992 _ACEOF
12993 if ac_fn_c_try_compile "$LINENO"; then :
12994 ac_cv_c_asm_outside_funcs="yes"
12995 else
12996 ac_cv_c_asm_outside_funcs="no"
12998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13001 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13004 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13005 if ${ac_cv_c_dot_previous+:} false; then :
13006 $as_echo_n "(cached) " >&6
13007 else
13008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13009 /* end confdefs.h. */
13012 main ()
13014 asm(".text\nac_test:\t.long 0\n\t.previous");
13016 return 0;
13018 _ACEOF
13019 if ac_fn_c_try_link "$LINENO"; then :
13020 ac_cv_c_dot_previous="yes"
13021 else
13022 ac_cv_c_dot_previous="no"
13024 rm -f core conftest.err conftest.$ac_objext \
13025 conftest$ac_exeext conftest.$ac_ext
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13028 $as_echo "$ac_cv_c_dot_previous" >&6; }
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13031 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13032 if ${ac_cv_c_cfi_support+:} false; then :
13033 $as_echo_n "(cached) " >&6
13034 else
13035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13037 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13039 main ()
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_compile "$LINENO"; then :
13047 ac_cv_c_cfi_support="yes"
13048 else
13049 ac_cv_c_cfi_support="no"
13051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13054 $as_echo "$ac_cv_c_cfi_support" >&6; }
13056 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13057 asm_func_trailer=""
13058 if test "$ac_cv_c_dot_previous" = "yes"
13059 then
13060 asm_func_trailer="\\n\\t.previous"
13062 if test "$ac_cv_c_cfi_support" = "yes"
13063 then
13064 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13065 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13067 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13069 UNWINDFLAGS=-fasynchronous-unwind-tables
13071 else
13072 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13076 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13079 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13080 then
13081 cat >>confdefs.h <<_ACEOF
13082 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13083 _ACEOF
13085 else
13086 cat >>confdefs.h <<_ACEOF
13087 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13088 _ACEOF
13092 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13095 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13099 LDPATH=""
13101 case $build_os in
13102 cygwin*|mingw32*)
13103 TOOLSEXT=".exe"
13105 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13107 darwin*|macosx*)
13110 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13112 esac
13114 case $host_os in
13115 mingw32*)
13116 CRTLIBS="-lmsvcrt"
13118 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
13121 esac
13123 MAIN_BINARY="wine"
13125 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
13127 case $host_os in
13128 linux*)
13129 case $host_cpu in
13130 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
13132 x86_64*) EXTRA_BINARIES="wine64-preloader"
13134 esac
13136 esac
13139 ac_save_CFLAGS="$CFLAGS"
13140 CFLAGS="$CFLAGS $BUILTINFLAG"
13141 for ac_func in \
13142 _finite \
13143 _isnan \
13144 _pclose \
13145 _popen \
13146 _snprintf \
13147 _spawnvp \
13148 _strdup \
13149 _stricmp \
13150 _strnicmp \
13151 _strtoi64 \
13152 _strtoui64 \
13153 _vsnprintf \
13154 asctime_r \
13155 chsize \
13156 dlopen \
13157 epoll_create \
13158 ffs \
13159 finite \
13160 fnmatch \
13161 fork \
13162 fpclass \
13163 fstatfs \
13164 fstatvfs \
13165 ftruncate \
13166 futimens \
13167 futimes \
13168 futimesat \
13169 getattrlist \
13170 getdirentries \
13171 getopt_long_only \
13172 getpwuid \
13173 gettimeofday \
13174 getuid \
13175 kqueue \
13176 lstat \
13177 memmove \
13178 mmap \
13179 pclose \
13180 pipe2 \
13181 poll \
13182 popen \
13183 port_create \
13184 prctl \
13185 pread \
13186 pwrite \
13187 readdir \
13188 readlink \
13189 sched_yield \
13190 select \
13191 setproctitle \
13192 setrlimit \
13193 settimeofday \
13194 sigaltstack \
13195 sigprocmask \
13196 snprintf \
13197 spawnvp \
13198 statfs \
13199 statvfs \
13200 strcasecmp \
13201 strdup \
13202 strerror \
13203 strncasecmp \
13204 strtold \
13205 strtoll \
13206 strtoull \
13207 symlink \
13208 tcgetattr \
13209 thr_kill2 \
13210 timegm \
13211 usleep \
13212 vsnprintf
13214 do :
13215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13217 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13218 cat >>confdefs.h <<_ACEOF
13219 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13220 _ACEOF
13223 done
13225 CFLAGS="$ac_save_CFLAGS"
13227 if test "$ac_cv_func_dlopen" = no
13228 then
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13230 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13231 if ${ac_cv_lib_dl_dlopen+:} false; then :
13232 $as_echo_n "(cached) " >&6
13233 else
13234 ac_check_lib_save_LIBS=$LIBS
13235 LIBS="-ldl $LIBS"
13236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13237 /* end confdefs.h. */
13239 /* Override any GCC internal prototype to avoid an error.
13240 Use char because int might match the return type of a GCC
13241 builtin and then its argument prototype would still apply. */
13242 #ifdef __cplusplus
13243 extern "C"
13244 #endif
13245 char dlopen ();
13247 main ()
13249 return dlopen ();
13251 return 0;
13253 _ACEOF
13254 if ac_fn_c_try_link "$LINENO"; then :
13255 ac_cv_lib_dl_dlopen=yes
13256 else
13257 ac_cv_lib_dl_dlopen=no
13259 rm -f core conftest.err conftest.$ac_objext \
13260 conftest$ac_exeext conftest.$ac_ext
13261 LIBS=$ac_check_lib_save_LIBS
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13264 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13265 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13266 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13267 LIBDL="-ldl"
13272 ac_wine_check_funcs_save_LIBS="$LIBS"
13273 LIBS="$LIBS $LIBDL"
13274 for ac_func in dladdr
13275 do :
13276 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13277 if test "x$ac_cv_func_dladdr" = xyes; then :
13278 cat >>confdefs.h <<_ACEOF
13279 #define HAVE_DLADDR 1
13280 _ACEOF
13283 done
13285 LIBS="$ac_wine_check_funcs_save_LIBS"
13287 if test "$ac_cv_func_poll" = no
13288 then
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13290 $as_echo_n "checking for poll in -lpoll... " >&6; }
13291 if ${ac_cv_lib_poll_poll+:} false; then :
13292 $as_echo_n "(cached) " >&6
13293 else
13294 ac_check_lib_save_LIBS=$LIBS
13295 LIBS="-lpoll $LIBS"
13296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13297 /* end confdefs.h. */
13299 /* Override any GCC internal prototype to avoid an error.
13300 Use char because int might match the return type of a GCC
13301 builtin and then its argument prototype would still apply. */
13302 #ifdef __cplusplus
13303 extern "C"
13304 #endif
13305 char poll ();
13307 main ()
13309 return poll ();
13311 return 0;
13313 _ACEOF
13314 if ac_fn_c_try_link "$LINENO"; then :
13315 ac_cv_lib_poll_poll=yes
13316 else
13317 ac_cv_lib_poll_poll=no
13319 rm -f core conftest.err conftest.$ac_objext \
13320 conftest$ac_exeext conftest.$ac_ext
13321 LIBS=$ac_check_lib_save_LIBS
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13324 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13325 if test "x$ac_cv_lib_poll_poll" = xyes; then :
13326 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13327 LIBPOLL="-lpoll"
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13334 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13335 if ${ac_cv_search_gethostbyname+:} false; then :
13336 $as_echo_n "(cached) " >&6
13337 else
13338 ac_func_search_save_LIBS=$LIBS
13339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13340 /* end confdefs.h. */
13342 /* Override any GCC internal prototype to avoid an error.
13343 Use char because int might match the return type of a GCC
13344 builtin and then its argument prototype would still apply. */
13345 #ifdef __cplusplus
13346 extern "C"
13347 #endif
13348 char gethostbyname ();
13350 main ()
13352 return gethostbyname ();
13354 return 0;
13356 _ACEOF
13357 for ac_lib in '' nsl; do
13358 if test -z "$ac_lib"; then
13359 ac_res="none required"
13360 else
13361 ac_res=-l$ac_lib
13362 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13364 if ac_fn_c_try_link "$LINENO"; then :
13365 ac_cv_search_gethostbyname=$ac_res
13367 rm -f core conftest.err conftest.$ac_objext \
13368 conftest$ac_exeext
13369 if ${ac_cv_search_gethostbyname+:} false; then :
13370 break
13372 done
13373 if ${ac_cv_search_gethostbyname+:} false; then :
13375 else
13376 ac_cv_search_gethostbyname=no
13378 rm conftest.$ac_ext
13379 LIBS=$ac_func_search_save_LIBS
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13382 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13383 ac_res=$ac_cv_search_gethostbyname
13384 if test "$ac_res" != no; then :
13385 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13391 $as_echo_n "checking for library containing connect... " >&6; }
13392 if ${ac_cv_search_connect+:} false; then :
13393 $as_echo_n "(cached) " >&6
13394 else
13395 ac_func_search_save_LIBS=$LIBS
13396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13397 /* end confdefs.h. */
13399 /* Override any GCC internal prototype to avoid an error.
13400 Use char because int might match the return type of a GCC
13401 builtin and then its argument prototype would still apply. */
13402 #ifdef __cplusplus
13403 extern "C"
13404 #endif
13405 char connect ();
13407 main ()
13409 return connect ();
13411 return 0;
13413 _ACEOF
13414 for ac_lib in '' socket; do
13415 if test -z "$ac_lib"; then
13416 ac_res="none required"
13417 else
13418 ac_res=-l$ac_lib
13419 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13421 if ac_fn_c_try_link "$LINENO"; then :
13422 ac_cv_search_connect=$ac_res
13424 rm -f core conftest.err conftest.$ac_objext \
13425 conftest$ac_exeext
13426 if ${ac_cv_search_connect+:} false; then :
13427 break
13429 done
13430 if ${ac_cv_search_connect+:} false; then :
13432 else
13433 ac_cv_search_connect=no
13435 rm conftest.$ac_ext
13436 LIBS=$ac_func_search_save_LIBS
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13439 $as_echo "$ac_cv_search_connect" >&6; }
13440 ac_res=$ac_cv_search_connect
13441 if test "$ac_res" != no; then :
13442 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13448 $as_echo_n "checking for library containing inet_aton... " >&6; }
13449 if ${ac_cv_search_inet_aton+:} false; then :
13450 $as_echo_n "(cached) " >&6
13451 else
13452 ac_func_search_save_LIBS=$LIBS
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13456 /* Override any GCC internal prototype to avoid an error.
13457 Use char because int might match the return type of a GCC
13458 builtin and then its argument prototype would still apply. */
13459 #ifdef __cplusplus
13460 extern "C"
13461 #endif
13462 char inet_aton ();
13464 main ()
13466 return inet_aton ();
13468 return 0;
13470 _ACEOF
13471 for ac_lib in '' resolv; do
13472 if test -z "$ac_lib"; then
13473 ac_res="none required"
13474 else
13475 ac_res=-l$ac_lib
13476 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13478 if ac_fn_c_try_link "$LINENO"; then :
13479 ac_cv_search_inet_aton=$ac_res
13481 rm -f core conftest.err conftest.$ac_objext \
13482 conftest$ac_exeext
13483 if ${ac_cv_search_inet_aton+:} false; then :
13484 break
13486 done
13487 if ${ac_cv_search_inet_aton+:} false; then :
13489 else
13490 ac_cv_search_inet_aton=no
13492 rm conftest.$ac_ext
13493 LIBS=$ac_func_search_save_LIBS
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13496 $as_echo "$ac_cv_search_inet_aton" >&6; }
13497 ac_res=$ac_cv_search_inet_aton
13498 if test "$ac_res" != no; then :
13499 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13504 for ac_func in \
13505 getaddrinfo \
13506 getnameinfo \
13507 getnetbyname \
13508 getprotobyname \
13509 getprotobynumber \
13510 getservbyport \
13511 inet_network \
13512 inet_ntop \
13513 inet_pton \
13514 sendmsg \
13515 socketpair \
13517 do :
13518 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13519 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13520 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13521 cat >>confdefs.h <<_ACEOF
13522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13523 _ACEOF
13526 done
13529 ac_save_LIBS=$LIBS
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13531 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13532 if ${ac_cv_search_clock_gettime+:} false; then :
13533 $as_echo_n "(cached) " >&6
13534 else
13535 ac_func_search_save_LIBS=$LIBS
13536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13539 /* Override any GCC internal prototype to avoid an error.
13540 Use char because int might match the return type of a GCC
13541 builtin and then its argument prototype would still apply. */
13542 #ifdef __cplusplus
13543 extern "C"
13544 #endif
13545 char clock_gettime ();
13547 main ()
13549 return clock_gettime ();
13551 return 0;
13553 _ACEOF
13554 for ac_lib in '' rt; do
13555 if test -z "$ac_lib"; then
13556 ac_res="none required"
13557 else
13558 ac_res=-l$ac_lib
13559 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13561 if ac_fn_c_try_link "$LINENO"; then :
13562 ac_cv_search_clock_gettime=$ac_res
13564 rm -f core conftest.err conftest.$ac_objext \
13565 conftest$ac_exeext
13566 if ${ac_cv_search_clock_gettime+:} false; then :
13567 break
13569 done
13570 if ${ac_cv_search_clock_gettime+:} false; then :
13572 else
13573 ac_cv_search_clock_gettime=no
13575 rm conftest.$ac_ext
13576 LIBS=$ac_func_search_save_LIBS
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13579 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13580 ac_res=$ac_cv_search_clock_gettime
13581 if test "$ac_res" != no; then :
13582 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13584 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13586 test "$ac_res" = "none required" || LIBRT="$ac_res"
13590 LIBS=$ac_save_LIBS
13592 LDAPLIBS=""
13594 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13595 then
13596 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13598 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13600 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13601 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13602 $as_echo_n "(cached) " >&6
13603 else
13604 ac_check_lib_save_LIBS=$LIBS
13605 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13609 /* Override any GCC internal prototype to avoid an error.
13610 Use char because int might match the return type of a GCC
13611 builtin and then its argument prototype would still apply. */
13612 #ifdef __cplusplus
13613 extern "C"
13614 #endif
13615 char ldap_initialize ();
13617 main ()
13619 return ldap_initialize ();
13621 return 0;
13623 _ACEOF
13624 if ac_fn_c_try_link "$LINENO"; then :
13625 ac_cv_lib_ldap_r_ldap_initialize=yes
13626 else
13627 ac_cv_lib_ldap_r_ldap_initialize=no
13629 rm -f core conftest.err conftest.$ac_objext \
13630 conftest$ac_exeext conftest.$ac_ext
13631 LIBS=$ac_check_lib_save_LIBS
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13634 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13635 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13637 $as_echo_n "checking for ber_init in -llber... " >&6; }
13638 if ${ac_cv_lib_lber_ber_init+:} false; then :
13639 $as_echo_n "(cached) " >&6
13640 else
13641 ac_check_lib_save_LIBS=$LIBS
13642 LIBS="-llber $LIBPTHREAD $LIBS"
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13646 /* Override any GCC internal prototype to avoid an error.
13647 Use char because int might match the return type of a GCC
13648 builtin and then its argument prototype would still apply. */
13649 #ifdef __cplusplus
13650 extern "C"
13651 #endif
13652 char ber_init ();
13654 main ()
13656 return ber_init ();
13658 return 0;
13660 _ACEOF
13661 if ac_fn_c_try_link "$LINENO"; then :
13662 ac_cv_lib_lber_ber_init=yes
13663 else
13664 ac_cv_lib_lber_ber_init=no
13666 rm -f core conftest.err conftest.$ac_objext \
13667 conftest$ac_exeext conftest.$ac_ext
13668 LIBS=$ac_check_lib_save_LIBS
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13671 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13672 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13674 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13676 LDAPLIBS="-lldap_r -llber"
13683 ac_wine_check_funcs_save_LIBS="$LIBS"
13684 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13685 for ac_func in \
13686 ldap_count_references \
13687 ldap_first_reference \
13688 ldap_next_reference \
13689 ldap_parse_reference \
13690 ldap_parse_sort_control \
13691 ldap_parse_sortresponse_control \
13692 ldap_parse_vlv_control \
13693 ldap_parse_vlvresponse_control
13694 do :
13695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13697 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13698 cat >>confdefs.h <<_ACEOF
13699 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13700 _ACEOF
13703 done
13705 LIBS="$ac_wine_check_funcs_save_LIBS"
13707 if test "x$LDAPLIBS" = "x"; then :
13708 case "x$with_ldap" in
13709 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13710 xno) ;;
13711 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13712 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13713 esac
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13717 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13718 if ${wine_cv_one_arg_mkdir+:} false; then :
13719 $as_echo_n "(cached) " >&6
13720 else
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13723 #include <sys/stat.h>
13725 main ()
13727 mkdir("foo");
13729 return 0;
13731 _ACEOF
13732 if ac_fn_c_try_compile "$LINENO"; then :
13733 wine_cv_one_arg_mkdir=yes
13734 else
13735 wine_cv_one_arg_mkdir=no
13737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13740 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13741 if test "$wine_cv_one_arg_mkdir" = "yes"
13742 then
13744 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13749 $as_echo_n "checking for sched_setaffinity... " >&6; }
13750 if ${wine_cv_have_sched_setaffinity+:} false; then :
13751 $as_echo_n "(cached) " >&6
13752 else
13753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13755 #define _GNU_SOURCE
13756 #include <sched.h>
13758 main ()
13760 sched_setaffinity(0, 0, 0);
13762 return 0;
13764 _ACEOF
13765 if ac_fn_c_try_link "$LINENO"; then :
13766 wine_cv_have_sched_setaffinity=yes
13767 else
13768 wine_cv_have_sched_setaffinity=no
13770 rm -f core conftest.err conftest.$ac_objext \
13771 conftest$ac_exeext conftest.$ac_ext
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13774 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13775 if test "$wine_cv_have_sched_setaffinity" = "yes"
13776 then
13778 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13783 $as_echo_n "checking for fallocate... " >&6; }
13784 if ${wine_cv_have_fallocate+:} false; then :
13785 $as_echo_n "(cached) " >&6
13786 else
13787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13788 /* end confdefs.h. */
13789 #define _GNU_SOURCE
13790 #include <fcntl.h>
13792 main ()
13794 fallocate(-1, 0, 0, 0);
13796 return 0;
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"; then :
13800 wine_cv_have_fallocate=yes
13801 else
13802 wine_cv_have_fallocate=no
13804 rm -f core conftest.err conftest.$ac_objext \
13805 conftest$ac_exeext conftest.$ac_ext
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13808 $as_echo "$wine_cv_have_fallocate" >&6; }
13809 if test "$wine_cv_have_fallocate" = "yes"
13810 then
13812 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13818 $as_echo_n "checking for inline... " >&6; }
13819 if ${ac_cv_c_inline+:} false; then :
13820 $as_echo_n "(cached) " >&6
13821 else
13822 ac_cv_c_inline=no
13823 for ac_kw in inline __inline__ __inline; do
13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13826 #ifndef __cplusplus
13827 typedef int foo_t;
13828 static $ac_kw foo_t static_foo () {return 0; }
13829 $ac_kw foo_t foo () {return 0; }
13830 #endif
13832 _ACEOF
13833 if ac_fn_c_try_compile "$LINENO"; then :
13834 ac_cv_c_inline=$ac_kw
13836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13837 test "$ac_cv_c_inline" != no && break
13838 done
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13842 $as_echo "$ac_cv_c_inline" >&6; }
13844 case $ac_cv_c_inline in
13845 inline | yes) ;;
13847 case $ac_cv_c_inline in
13848 no) ac_val=;;
13849 *) ac_val=$ac_cv_c_inline;;
13850 esac
13851 cat >>confdefs.h <<_ACEOF
13852 #ifndef __cplusplus
13853 #define inline $ac_val
13854 #endif
13855 _ACEOF
13857 esac
13859 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13860 if test "x$ac_cv_type_mode_t" = xyes; then :
13862 cat >>confdefs.h <<_ACEOF
13863 #define HAVE_MODE_T 1
13864 _ACEOF
13868 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13869 if test "x$ac_cv_type_off_t" = xyes; then :
13871 cat >>confdefs.h <<_ACEOF
13872 #define HAVE_OFF_T 1
13873 _ACEOF
13877 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13878 if test "x$ac_cv_type_pid_t" = xyes; then :
13880 cat >>confdefs.h <<_ACEOF
13881 #define HAVE_PID_T 1
13882 _ACEOF
13886 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13887 if test "x$ac_cv_type_size_t" = xyes; then :
13889 cat >>confdefs.h <<_ACEOF
13890 #define HAVE_SIZE_T 1
13891 _ACEOF
13895 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13896 if test "x$ac_cv_type_ssize_t" = xyes; then :
13898 cat >>confdefs.h <<_ACEOF
13899 #define HAVE_SSIZE_T 1
13900 _ACEOF
13904 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13905 if test "x$ac_cv_type_long_long" = xyes; then :
13907 cat >>confdefs.h <<_ACEOF
13908 #define HAVE_LONG_LONG 1
13909 _ACEOF
13913 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13914 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13916 cat >>confdefs.h <<_ACEOF
13917 #define HAVE_FSBLKCNT_T 1
13918 _ACEOF
13922 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13923 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13925 cat >>confdefs.h <<_ACEOF
13926 #define HAVE_FSFILCNT_T 1
13927 _ACEOF
13932 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13933 #include <signal.h>
13935 if test "x$ac_cv_type_sigset_t" = xyes; then :
13937 cat >>confdefs.h <<_ACEOF
13938 #define HAVE_SIGSET_T 1
13939 _ACEOF
13944 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13946 if test "x$ac_cv_type_request_sense" = xyes; then :
13948 cat >>confdefs.h <<_ACEOF
13949 #define HAVE_REQUEST_SENSE 1
13950 _ACEOF
13956 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13957 #ifdef HAVE_SYS_SOCKET_H
13958 #include <sys/socket.h>
13959 #endif
13960 #ifdef HAVE_SYS_SOCKETVAR_H
13961 #include <sys/socketvar.h>
13962 #endif
13963 #ifdef HAVE_NET_ROUTE_H
13964 #include <net/route.h>
13965 #endif
13966 #ifdef HAVE_NETINET_IN_H
13967 #include <netinet/in.h>
13968 #endif
13969 #ifdef HAVE_NETINET_IN_SYSTM_H
13970 #include <netinet/in_systm.h>
13971 #endif
13972 #ifdef HAVE_NETINET_IP_H
13973 #include <netinet/ip.h>
13974 #endif
13975 #ifdef HAVE_NETINET_IN_PCB_H
13976 #include <netinet/in_pcb.h>
13977 #endif
13979 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13981 cat >>confdefs.h <<_ACEOF
13982 #define HAVE_STRUCT_XINPGEN 1
13983 _ACEOF
13989 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13990 #include <linux/input.h>
13991 #endif
13993 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13995 cat >>confdefs.h <<_ACEOF
13996 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13997 _ACEOF
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14004 $as_echo_n "checking for sigaddset... " >&6; }
14005 if ${wine_cv_have_sigaddset+:} false; then :
14006 $as_echo_n "(cached) " >&6
14007 else
14008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14010 #include <signal.h>
14012 main ()
14014 sigset_t set; sigaddset(&set,SIGTERM);
14016 return 0;
14018 _ACEOF
14019 if ac_fn_c_try_link "$LINENO"; then :
14020 wine_cv_have_sigaddset=yes
14021 else
14022 wine_cv_have_sigaddset=no
14024 rm -f core conftest.err conftest.$ac_objext \
14025 conftest$ac_exeext conftest.$ac_ext
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14028 $as_echo "$wine_cv_have_sigaddset" >&6; }
14029 if test "$wine_cv_have_sigaddset" = "yes"
14030 then
14032 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14038 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14039 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14040 $as_echo_n "(cached) " >&6
14041 else
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14044 #include <netdb.h>
14046 main ()
14049 char *name=0;
14050 struct hostent he;
14051 struct hostent *result;
14052 char *buf=0;
14053 int bufsize=0;
14054 int errnr;
14055 char *addr=0;
14056 int addrlen=0;
14057 int addrtype=0;
14058 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14059 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14062 return 0;
14064 _ACEOF
14065 if ac_fn_c_try_link "$LINENO"; then :
14066 wine_cv_linux_gethostbyname_r_6=yes
14067 else
14068 wine_cv_linux_gethostbyname_r_6=no
14071 rm -f core conftest.err conftest.$ac_objext \
14072 conftest$ac_exeext conftest.$ac_ext
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14076 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14077 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14078 then
14080 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14084 if test "$ac_cv_header_linux_joystick_h" = "yes"
14085 then
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14087 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14088 if ${wine_cv_linux_joystick_22_api+:} false; then :
14089 $as_echo_n "(cached) " >&6
14090 else
14091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14092 /* end confdefs.h. */
14094 #include <sys/ioctl.h>
14095 #include <sys/types.h>
14096 #include <linux/joystick.h>
14098 struct js_event blub;
14099 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14100 #error "no 2.2 header"
14101 #endif
14104 main ()
14106 /*empty*/
14108 return 0;
14110 _ACEOF
14111 if ac_fn_c_try_compile "$LINENO"; then :
14112 wine_cv_linux_joystick_22_api=yes
14113 else
14114 wine_cv_linux_joystick_22_api=no
14116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14120 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14121 if test "$wine_cv_linux_joystick_22_api" = "yes"
14122 then
14124 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14130 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14131 #ifdef HAVE_SYS_PARAM_H
14132 # include <sys/param.h>
14133 #endif
14134 #ifdef HAVE_SYS_MOUNT_H
14135 # include <sys/mount.h>
14136 #endif
14137 #ifdef HAVE_SYS_VFS_H
14138 # include <sys/vfs.h>
14139 #endif
14140 #ifdef HAVE_SYS_STATFS_H
14141 # include <sys/statfs.h>
14142 #endif
14144 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
14146 cat >>confdefs.h <<_ACEOF
14147 #define HAVE_STRUCT_STATFS_F_BFREE 1
14148 _ACEOF
14152 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14153 #ifdef HAVE_SYS_PARAM_H
14154 # include <sys/param.h>
14155 #endif
14156 #ifdef HAVE_SYS_MOUNT_H
14157 # include <sys/mount.h>
14158 #endif
14159 #ifdef HAVE_SYS_VFS_H
14160 # include <sys/vfs.h>
14161 #endif
14162 #ifdef HAVE_SYS_STATFS_H
14163 # include <sys/statfs.h>
14164 #endif
14166 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
14168 cat >>confdefs.h <<_ACEOF
14169 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14170 _ACEOF
14174 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14175 #ifdef HAVE_SYS_PARAM_H
14176 # include <sys/param.h>
14177 #endif
14178 #ifdef HAVE_SYS_MOUNT_H
14179 # include <sys/mount.h>
14180 #endif
14181 #ifdef HAVE_SYS_VFS_H
14182 # include <sys/vfs.h>
14183 #endif
14184 #ifdef HAVE_SYS_STATFS_H
14185 # include <sys/statfs.h>
14186 #endif
14188 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
14190 cat >>confdefs.h <<_ACEOF
14191 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14192 _ACEOF
14196 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14197 #ifdef HAVE_SYS_PARAM_H
14198 # include <sys/param.h>
14199 #endif
14200 #ifdef HAVE_SYS_MOUNT_H
14201 # include <sys/mount.h>
14202 #endif
14203 #ifdef HAVE_SYS_VFS_H
14204 # include <sys/vfs.h>
14205 #endif
14206 #ifdef HAVE_SYS_STATFS_H
14207 # include <sys/statfs.h>
14208 #endif
14210 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
14212 cat >>confdefs.h <<_ACEOF
14213 #define HAVE_STRUCT_STATFS_F_FFREE 1
14214 _ACEOF
14218 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14219 #ifdef HAVE_SYS_PARAM_H
14220 # include <sys/param.h>
14221 #endif
14222 #ifdef HAVE_SYS_MOUNT_H
14223 # include <sys/mount.h>
14224 #endif
14225 #ifdef HAVE_SYS_VFS_H
14226 # include <sys/vfs.h>
14227 #endif
14228 #ifdef HAVE_SYS_STATFS_H
14229 # include <sys/statfs.h>
14230 #endif
14232 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
14234 cat >>confdefs.h <<_ACEOF
14235 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14236 _ACEOF
14240 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14241 #ifdef HAVE_SYS_PARAM_H
14242 # include <sys/param.h>
14243 #endif
14244 #ifdef HAVE_SYS_MOUNT_H
14245 # include <sys/mount.h>
14246 #endif
14247 #ifdef HAVE_SYS_VFS_H
14248 # include <sys/vfs.h>
14249 #endif
14250 #ifdef HAVE_SYS_STATFS_H
14251 # include <sys/statfs.h>
14252 #endif
14254 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
14256 cat >>confdefs.h <<_ACEOF
14257 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14258 _ACEOF
14264 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14265 #include <sys/statvfs.h>
14266 #endif
14268 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
14270 cat >>confdefs.h <<_ACEOF
14271 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14272 _ACEOF
14278 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14279 #include <dirent.h>
14280 #endif
14282 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
14284 cat >>confdefs.h <<_ACEOF
14285 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14286 _ACEOF
14292 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14293 #ifdef HAVE_SYS_SOCKET_H
14294 # include <sys/socket.h>
14295 #endif
14296 #ifdef HAVE_SYS_UN_H
14297 # include <sys/un.h>
14298 #endif
14300 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
14302 cat >>confdefs.h <<_ACEOF
14303 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14304 _ACEOF
14308 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14309 #ifdef HAVE_SYS_SOCKET_H
14310 # include <sys/socket.h>
14311 #endif
14312 #ifdef HAVE_SYS_UN_H
14313 # include <sys/un.h>
14314 #endif
14316 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14318 cat >>confdefs.h <<_ACEOF
14319 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14320 _ACEOF
14324 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14325 #ifdef HAVE_SYS_SOCKET_H
14326 # include <sys/socket.h>
14327 #endif
14328 #ifdef HAVE_SYS_UN_H
14329 # include <sys/un.h>
14330 #endif
14332 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14334 cat >>confdefs.h <<_ACEOF
14335 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14336 _ACEOF
14342 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14343 #ifdef HAVE_SCSI_SG_H
14344 #include <scsi/sg.h>
14345 #endif
14347 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14349 cat >>confdefs.h <<_ACEOF
14350 #define HAVE_SCSIREQ_T_CMD 1
14351 _ACEOF
14355 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>
14356 #ifdef HAVE_SCSI_SG_H
14357 #include <scsi/sg.h>
14358 #endif
14360 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14362 cat >>confdefs.h <<_ACEOF
14363 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14364 _ACEOF
14370 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14372 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14374 cat >>confdefs.h <<_ACEOF
14375 #define HAVE_SIGINFO_T_SI_FD 1
14376 _ACEOF
14382 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14383 #ifdef HAVE_SYS_MTIO_H
14384 #include <sys/mtio.h>
14385 #endif
14387 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14389 cat >>confdefs.h <<_ACEOF
14390 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14391 _ACEOF
14395 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14396 #ifdef HAVE_SYS_MTIO_H
14397 #include <sys/mtio.h>
14398 #endif
14400 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14402 cat >>confdefs.h <<_ACEOF
14403 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14404 _ACEOF
14408 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14409 #ifdef HAVE_SYS_MTIO_H
14410 #include <sys/mtio.h>
14411 #endif
14413 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14415 cat >>confdefs.h <<_ACEOF
14416 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14417 _ACEOF
14423 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14424 #include <getopt.h>
14425 #endif
14427 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14429 cat >>confdefs.h <<_ACEOF
14430 #define HAVE_STRUCT_OPTION_NAME 1
14431 _ACEOF
14437 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14438 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14440 cat >>confdefs.h <<_ACEOF
14441 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14442 _ACEOF
14446 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14447 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14449 cat >>confdefs.h <<_ACEOF
14450 #define HAVE_STRUCT_STAT_ST_MTIM 1
14451 _ACEOF
14455 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14456 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
14458 cat >>confdefs.h <<_ACEOF
14459 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14460 _ACEOF
14464 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14465 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14467 cat >>confdefs.h <<_ACEOF
14468 #define HAVE_STRUCT_STAT_ST_CTIM 1
14469 _ACEOF
14473 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14474 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
14476 cat >>confdefs.h <<_ACEOF
14477 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14478 _ACEOF
14482 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14483 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14485 cat >>confdefs.h <<_ACEOF
14486 #define HAVE_STRUCT_STAT_ST_ATIM 1
14487 _ACEOF
14491 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14492 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
14494 cat >>confdefs.h <<_ACEOF
14495 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14496 _ACEOF
14500 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14501 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
14503 cat >>confdefs.h <<_ACEOF
14504 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14505 _ACEOF
14509 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14510 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
14512 cat >>confdefs.h <<_ACEOF
14513 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14514 _ACEOF
14518 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14519 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
14521 cat >>confdefs.h <<_ACEOF
14522 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14523 _ACEOF
14527 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14528 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
14530 cat >>confdefs.h <<_ACEOF
14531 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14532 _ACEOF
14536 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14537 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
14539 cat >>confdefs.h <<_ACEOF
14540 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14541 _ACEOF
14547 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
14548 #include <sys/types.h>
14549 #endif
14550 #ifdef HAVE_NETINET_IN_H
14551 #include <netinet/in.h>
14552 #endif
14554 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14556 cat >>confdefs.h <<_ACEOF
14557 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14558 _ACEOF
14564 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14565 #include <sys/types.h>
14566 #endif
14567 #ifdef HAVE_NETINET_IN_H
14568 # include <netinet/in.h>
14569 #endif
14570 #ifdef HAVE_ARPA_NAMESER_H
14571 # include <arpa/nameser.h>
14572 #endif
14574 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14576 cat >>confdefs.h <<_ACEOF
14577 #define HAVE_NS_MSG__MSG_PTR 1
14578 _ACEOF
14584 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14585 #include <sys/types.h>
14586 #endif
14587 #ifdef HAVE_NETINET_IP_H
14588 #include <netinet/ip.h>
14589 #endif
14590 #ifdef HAVE_NETINET_IP_ICMP_H
14591 #include <netinet/ip_icmp.h>
14592 #endif
14593 #ifdef HAVE_NETINET_ICMP_VAR_H
14594 #include <netinet/icmp_var.h>
14595 #endif
14597 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
14599 cat >>confdefs.h <<_ACEOF
14600 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14601 _ACEOF
14607 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14608 #include <sys/types.h>
14609 #endif
14610 #ifdef HAVE_ALIAS_H
14611 #include <alias.h>
14612 #endif
14613 #ifdef HAVE_SYS_SOCKET_H
14614 #include <sys/socket.h>
14615 #endif
14616 #ifdef HAVE_SYS_SOCKETVAR_H
14617 #include <sys/socketvar.h>
14618 #endif
14619 #ifdef HAVE_SYS_TIMEOUT_H
14620 #include <sys/timeout.h>
14621 #endif
14622 #ifdef HAVE_NETINET_IN_H
14623 #include <netinet/in.h>
14624 #endif
14625 #ifdef HAVE_NETINET_IN_SYSTM_H
14626 #include <netinet/in_systm.h>
14627 #endif
14628 #ifdef HAVE_NETINET_IP_H
14629 #include <netinet/ip.h>
14630 #endif
14631 #ifdef HAVE_NETINET_IP_VAR_H
14632 #include <netinet/ip_var.h>
14633 #endif
14634 #ifdef HAVE_NETINET_IP_ICMP_H
14635 #include <netinet/ip_icmp.h>
14636 #endif
14637 #ifdef HAVE_NETINET_ICMP_VAR_H
14638 #include <netinet/icmp_var.h>
14639 #endif
14641 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14643 cat >>confdefs.h <<_ACEOF
14644 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14645 _ACEOF
14651 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14652 #include <sys/types.h>
14653 #endif
14654 #ifdef HAVE_SYS_SOCKETVAR_H
14655 #include <sys/socketvar.h>
14656 #endif
14657 #ifdef HAVE_NETINET_IN_H
14658 #include <netinet/in.h>
14659 #endif
14660 #ifdef HAVE_NETINET_IP_VAR_H
14661 #include <netinet/ip_var.h>
14662 #endif
14664 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
14666 cat >>confdefs.h <<_ACEOF
14667 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14668 _ACEOF
14674 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
14675 #include <netinet/ip_var.h>
14676 #endif
14678 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
14680 cat >>confdefs.h <<_ACEOF
14681 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14682 _ACEOF
14688 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14689 #include <sys/types.h>
14690 #endif
14691 #ifdef HAVE_SYS_SOCKETVAR_H
14692 #include <sys/socketvar.h>
14693 #endif
14694 #ifdef HAVE_NETINET_IN_H
14695 #include <netinet/in.h>
14696 #endif
14697 #ifdef HAVE_NETINET_TCP_H
14698 #include <netinet/tcp.h>
14699 #endif
14700 #ifdef HAVE_NETINET_TCP_VAR_H
14701 #include <netinet/tcp_var.h>
14702 #endif
14704 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
14706 cat >>confdefs.h <<_ACEOF
14707 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14708 _ACEOF
14714 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
14715 #include <netinet/tcp_var.h>
14716 #endif
14718 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
14720 cat >>confdefs.h <<_ACEOF
14721 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14722 _ACEOF
14728 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14729 #include <sys/types.h>
14730 #endif
14731 #ifdef HAVE_NETINET_IN_H
14732 #include <netinet/in.h>
14733 #endif
14734 #ifdef HAVE_NETINET_IP_VAR_H
14735 #include <netinet/ip_var.h>
14736 #endif
14737 #ifdef HAVE_NETINET_UDP_H
14738 #include <netinet/udp.h>
14739 #endif
14740 #ifdef HAVE_NETINET_UDP_VAR_H
14741 #include <netinet/udp_var.h>
14742 #endif
14744 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
14746 cat >>confdefs.h <<_ACEOF
14747 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14748 _ACEOF
14754 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14755 #include <sys/types.h>
14756 #endif
14757 #ifdef HAVE_NET_IF_H
14758 # include <net/if.h>
14759 #endif
14761 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14763 cat >>confdefs.h <<_ACEOF
14764 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14765 _ACEOF
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14772 $as_echo_n "checking for timezone variable... " >&6; }
14773 if ${ac_cv_have_timezone+:} false; then :
14774 $as_echo_n "(cached) " >&6
14775 else
14776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14778 #include <time.h>
14780 main ()
14782 timezone = 1
14784 return 0;
14786 _ACEOF
14787 if ac_fn_c_try_link "$LINENO"; then :
14788 ac_cv_have_timezone="yes"
14789 else
14790 ac_cv_have_timezone="no"
14792 rm -f core conftest.err conftest.$ac_objext \
14793 conftest$ac_exeext conftest.$ac_ext
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14796 $as_echo "$ac_cv_have_timezone" >&6; }
14797 if test "$ac_cv_have_timezone" = "yes"
14798 then
14800 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14804 $as_echo_n "checking for daylight variable... " >&6; }
14805 if ${ac_cv_have_daylight+:} false; then :
14806 $as_echo_n "(cached) " >&6
14807 else
14808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14810 #include <time.h>
14812 main ()
14814 daylight = 1
14816 return 0;
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_have_daylight="yes"
14821 else
14822 ac_cv_have_daylight="no"
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14828 $as_echo "$ac_cv_have_daylight" >&6; }
14829 if test "$ac_cv_have_daylight" = "yes"
14830 then
14832 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14836 ac_save_LIBS="$LIBS"
14837 LIBS="$LIBS -lm"
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14839 $as_echo_n "checking for isinf... " >&6; }
14840 if ${ac_cv_have_isinf+:} false; then :
14841 $as_echo_n "(cached) " >&6
14842 else
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14845 #include <math.h>
14847 main ()
14849 float f = 0.0; return isinf(f)
14851 return 0;
14853 _ACEOF
14854 if ac_fn_c_try_link "$LINENO"; then :
14855 ac_cv_have_isinf="yes"
14856 else
14857 ac_cv_have_isinf="no"
14859 rm -f core conftest.err conftest.$ac_objext \
14860 conftest$ac_exeext conftest.$ac_ext
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14863 $as_echo "$ac_cv_have_isinf" >&6; }
14864 if test "$ac_cv_have_isinf" = "yes"
14865 then
14867 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14872 $as_echo_n "checking for isnan... " >&6; }
14873 if ${ac_cv_have_isnan+:} false; then :
14874 $as_echo_n "(cached) " >&6
14875 else
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14878 #include <math.h>
14880 main ()
14882 float f = 0.0; return isnan(f)
14884 return 0;
14886 _ACEOF
14887 if ac_fn_c_try_link "$LINENO"; then :
14888 ac_cv_have_isnan="yes"
14889 else
14890 ac_cv_have_isnan="no"
14892 rm -f core conftest.err conftest.$ac_objext \
14893 conftest$ac_exeext conftest.$ac_ext
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14896 $as_echo "$ac_cv_have_isnan" >&6; }
14897 if test "$ac_cv_have_isnan" = "yes"
14898 then
14900 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14903 LIBS="$ac_save_LIBS"
14906 case $host_cpu in
14907 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14908 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14909 if ${ac_cv_cpp_def___i386__+:} false; then :
14910 $as_echo_n "(cached) " >&6
14911 else
14912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14914 #ifndef __i386__
14916 #endif
14917 _ACEOF
14918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14919 $EGREP "yes" >/dev/null 2>&1; then :
14920 ac_cv_cpp_def___i386__=yes
14921 else
14922 ac_cv_cpp_def___i386__=no
14924 rm -f conftest*
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14928 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14929 if test $ac_cv_cpp_def___i386__ = yes; then :
14930 CFLAGS="$CFLAGS -D__i386__"
14931 LINTFLAGS="$LINTFLAGS -D__i386__"
14932 fi ;;
14933 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14934 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14935 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14936 $as_echo_n "(cached) " >&6
14937 else
14938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14940 #ifndef __x86_64__
14942 #endif
14943 _ACEOF
14944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14945 $EGREP "yes" >/dev/null 2>&1; then :
14946 ac_cv_cpp_def___x86_64__=yes
14947 else
14948 ac_cv_cpp_def___x86_64__=no
14950 rm -f conftest*
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14954 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14955 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14956 CFLAGS="$CFLAGS -D__x86_64__"
14957 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14958 fi ;;
14959 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14960 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14961 if ${ac_cv_cpp_def___sparc64__+:} false; then :
14962 $as_echo_n "(cached) " >&6
14963 else
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14966 #ifndef __sparc64__
14968 #endif
14969 _ACEOF
14970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14971 $EGREP "yes" >/dev/null 2>&1; then :
14972 ac_cv_cpp_def___sparc64__=yes
14973 else
14974 ac_cv_cpp_def___sparc64__=no
14976 rm -f conftest*
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14980 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14981 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14982 CFLAGS="$CFLAGS -D__sparc64__"
14983 LINTFLAGS="$LINTFLAGS -D__sparc64__"
14984 fi ;;
14985 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14986 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14987 if ${ac_cv_cpp_def___sparc__+:} false; then :
14988 $as_echo_n "(cached) " >&6
14989 else
14990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14992 #ifndef __sparc__
14994 #endif
14995 _ACEOF
14996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14997 $EGREP "yes" >/dev/null 2>&1; then :
14998 ac_cv_cpp_def___sparc__=yes
14999 else
15000 ac_cv_cpp_def___sparc__=no
15002 rm -f conftest*
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15006 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15007 if test $ac_cv_cpp_def___sparc__ = yes; then :
15008 CFLAGS="$CFLAGS -D__sparc__"
15009 LINTFLAGS="$LINTFLAGS -D__sparc__"
15010 fi ;;
15011 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15012 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15013 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15014 $as_echo_n "(cached) " >&6
15015 else
15016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15017 /* end confdefs.h. */
15018 #ifndef __powerpc64__
15020 #endif
15021 _ACEOF
15022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15023 $EGREP "yes" >/dev/null 2>&1; then :
15024 ac_cv_cpp_def___powerpc64__=yes
15025 else
15026 ac_cv_cpp_def___powerpc64__=no
15028 rm -f conftest*
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15032 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15033 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15034 CFLAGS="$CFLAGS -D__powerpc64__"
15035 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15036 fi ;;
15037 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15038 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15039 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15040 $as_echo_n "(cached) " >&6
15041 else
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15044 #ifndef __powerpc__
15046 #endif
15047 _ACEOF
15048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15049 $EGREP "yes" >/dev/null 2>&1; then :
15050 ac_cv_cpp_def___powerpc__=yes
15051 else
15052 ac_cv_cpp_def___powerpc__=no
15054 rm -f conftest*
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15058 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15059 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15060 CFLAGS="$CFLAGS -D__powerpc__"
15061 LINTFLAGS="$LINTFLAGS -D__powerpc__"
15062 fi ;;
15063 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15064 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15065 if ${ac_cv_cpp_def___aarch64__+:} false; then :
15066 $as_echo_n "(cached) " >&6
15067 else
15068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15070 #ifndef __aarch64__
15072 #endif
15073 _ACEOF
15074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15075 $EGREP "yes" >/dev/null 2>&1; then :
15076 ac_cv_cpp_def___aarch64__=yes
15077 else
15078 ac_cv_cpp_def___aarch64__=no
15080 rm -f conftest*
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15084 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15085 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15086 CFLAGS="$CFLAGS -D__aarch64__"
15087 LINTFLAGS="$LINTFLAGS -D__aarch64__"
15088 fi ;;
15089 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15090 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15091 if ${ac_cv_cpp_def___arm__+:} false; then :
15092 $as_echo_n "(cached) " >&6
15093 else
15094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15096 #ifndef __arm__
15098 #endif
15099 _ACEOF
15100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15101 $EGREP "yes" >/dev/null 2>&1; then :
15102 ac_cv_cpp_def___arm__=yes
15103 else
15104 ac_cv_cpp_def___arm__=no
15106 rm -f conftest*
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15110 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15111 if test $ac_cv_cpp_def___arm__ = yes; then :
15112 CFLAGS="$CFLAGS -D__arm__"
15113 LINTFLAGS="$LINTFLAGS -D__arm__"
15114 fi ;;
15115 esac
15117 case $host_vendor in
15118 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15119 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15120 if ${ac_cv_cpp_def___sun__+:} false; then :
15121 $as_echo_n "(cached) " >&6
15122 else
15123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15124 /* end confdefs.h. */
15125 #ifndef __sun__
15127 #endif
15128 _ACEOF
15129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15130 $EGREP "yes" >/dev/null 2>&1; then :
15131 ac_cv_cpp_def___sun__=yes
15132 else
15133 ac_cv_cpp_def___sun__=no
15135 rm -f conftest*
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15139 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15140 if test $ac_cv_cpp_def___sun__ = yes; then :
15141 CFLAGS="$CFLAGS -D__sun__"
15142 LINTFLAGS="$LINTFLAGS -D__sun__"
15143 fi ;;
15144 esac
15150 ac_config_commands="$ac_config_commands include/stamp-h"
15153 ALL_MAKEFILE_DEPENDS="
15154 # Rules automatically generated by configure
15156 .INIT: Makefile
15157 .MAKEFILEDEPS:
15158 all: Makefile
15159 Makefile: Makefile.in Make.vars.in Make.rules config.status
15160 @./config.status Make.tmp Makefile"
15162 ALL_POT_FILES=""
15163 ALL_TEST_RESOURCES=""
15166 wine_fn_append_file ()
15168 as_fn_append $1 " \\$as_nl $2"
15171 wine_fn_append_rule ()
15173 as_fn_append $1 "$as_nl$2"
15176 wine_fn_has_flag ()
15178 expr ",$2," : ".*,$1,.*" >/dev/null
15181 wine_fn_all_dir_rules ()
15183 ac_dir=$1
15184 ac_alldeps=$2
15185 ac_makedep="\$(MAKEDEP)"
15186 ac_input=Make.vars.in:$ac_dir/Makefile.in
15187 if test $ac_dir != tools
15188 then
15189 ac_alldeps="$2 $ac_makedep"
15190 else
15191 ac_alldeps="$2 include/config.h"
15193 case $2 in
15194 *.in) ac_input=$ac_input:$2 ;;
15195 *) ac_makedep="$2 $ac_makedep" ;;
15196 esac
15198 wine_fn_append_file ALL_DIRS $ac_dir
15199 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15200 "__clean__: $ac_dir/__clean__
15201 .PHONY: $ac_dir/__clean__
15202 $ac_dir/__clean__: $ac_dir/Makefile
15203 @cd $ac_dir && \$(MAKE) clean
15204 \$(RM) $ac_dir/Makefile
15205 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15206 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15207 depend: $ac_dir/__depend__
15208 .PHONY: $ac_dir/__depend__
15209 $ac_dir/__depend__: $ac_makedep dummy
15210 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15213 wine_fn_pot_rules ()
15215 ac_dir=$1
15216 ac_flags=$2
15218 test "x$with_gettextpo" = xyes || return
15220 if wine_fn_has_flag mc $ac_flags
15221 then
15222 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
15223 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15224 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15225 @cd $ac_dir && \$(MAKE) msg.pot
15226 $ac_dir/msg.pot: tools/wmc include"
15228 if wine_fn_has_flag po $ac_flags
15229 then
15230 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
15231 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15232 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15233 @cd $ac_dir && \$(MAKE) rsrc.pot
15234 $ac_dir/rsrc.pot: tools/wrc include"
15238 wine_fn_config_makefile ()
15240 ac_dir=$1
15241 ac_enable=$2
15242 ac_flags=$3
15243 ac_rules=$4
15244 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15245 return 0
15248 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
15249 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15250 "all: $ac_dir
15251 .PHONY: $ac_dir
15252 $ac_dir: $ac_dir/Makefile dummy
15253 @cd $ac_dir && \$(MAKE)"
15255 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
15257 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15258 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15259 $ac_dir/__install__:: $ac_dir
15260 @cd $ac_dir && \$(MAKE) install
15261 $ac_dir/__uninstall__:: $ac_dir/Makefile
15262 @cd $ac_dir && \$(MAKE) uninstall
15263 install:: $ac_dir/__install__
15264 __uninstall__: $ac_dir/__uninstall__"
15266 if wine_fn_has_flag install-lib $ac_flags
15267 then
15268 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15269 ".PHONY: $ac_dir/__install-lib__
15270 $ac_dir/__install-lib__:: $ac_dir
15271 @cd $ac_dir && \$(MAKE) install-lib
15272 install-lib:: $ac_dir/__install-lib__"
15275 if wine_fn_has_flag install-dev $ac_flags
15276 then
15277 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15278 ".PHONY: $ac_dir/__install-dev
15279 $ac_dir/__install-dev__:: $ac_dir
15280 @cd $ac_dir && \$(MAKE) install-dev
15281 install-dev:: $ac_dir/__install-dev__"
15285 wine_fn_config_lib ()
15287 ac_name=$1
15288 ac_flags=$2
15289 ac_dir=dlls/$ac_name
15290 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
15292 if wine_fn_has_flag install-dev $ac_flags
15293 then :
15294 else
15295 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15296 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15297 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15298 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15299 $ac_dir/__uninstall__::
15300 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15301 install install-dev:: $ac_dir/__install__
15302 __uninstall__: $ac_dir/__uninstall__"
15305 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
15306 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15309 wine_fn_config_dll ()
15311 ac_name=$1
15312 ac_dir=dlls/$ac_name
15313 ac_enable=$2
15314 ac_flags=$3
15315 ac_implib=${4:-$ac_name}
15316 ac_file=$ac_dir/lib$ac_implib
15317 ac_dll=$ac_name
15318 ac_deps="tools/widl tools/winebuild tools/winegcc include"
15319 ac_implibflags=""
15321 case $ac_name in
15322 *16) ac_implibflags=" -m16" ;;
15323 *.*) ;;
15324 *) ac_dll=$ac_dll.dll ;;
15325 esac
15327 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
15329 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15330 test "$ac_enable" != enable_win16 || return 0
15331 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
15332 else
15333 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15334 "$ac_dir: __builddeps__
15335 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15336 @cd $ac_dir && \$(MAKE) \$@"
15338 if wine_fn_has_flag install-lib $ac_flags
15339 then :
15340 else
15341 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15342 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15343 install install-lib:: $ac_dir/__install-lib__
15344 __uninstall__: $ac_dir/__uninstall__"
15345 if test -n "$DLLEXT"
15346 then
15347 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15348 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15349 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15350 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15351 $ac_dir/__uninstall__::
15352 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15353 else
15354 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15355 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15356 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15357 $ac_dir/__uninstall__::
15358 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15362 wine_fn_pot_rules $ac_dir $ac_flags
15365 if wine_fn_has_flag staticimplib $ac_flags
15366 then
15367 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15368 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15369 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15370 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15371 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15372 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15373 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15374 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15375 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15376 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15377 $ac_dir/__uninstall__::
15378 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15379 install install-dev:: $ac_dir/__install-dev__
15380 __uninstall__: $ac_dir/__uninstall__"
15382 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15383 then
15384 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15385 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15386 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15387 $ac_dir/__uninstall__::
15388 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15391 if test "x$CROSSTEST_DISABLE" = x
15392 then
15393 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15394 "__builddeps__: $ac_file.cross.a
15395 $ac_file.cross.a: $ac_dir/Makefile dummy
15396 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15399 elif wine_fn_has_flag implib $ac_flags
15400 then
15401 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15402 "__builddeps__: $ac_file.$IMPLIBEXT
15403 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15404 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15405 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15406 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15407 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15408 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15409 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15410 $ac_dir/__uninstall__::
15411 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15412 install install-dev:: $ac_dir/__install-dev__
15413 __uninstall__: $ac_dir/__uninstall__"
15414 if test "x$CROSSTEST_DISABLE" = x
15415 then
15416 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15417 "__builddeps__: $ac_file.cross.a
15418 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15419 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15422 if test "$ac_name" != "$ac_implib"
15423 then
15424 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15425 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15426 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15427 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15428 clean::
15429 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15430 if test "x$CROSSTEST_DISABLE" = x
15431 then
15432 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15433 "__builddeps__: dlls/lib$ac_implib.cross.a
15434 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15435 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15441 wine_fn_config_program ()
15443 ac_name=$1
15444 ac_dir=programs/$ac_name
15445 ac_enable=$2
15446 ac_flags=$3
15447 ac_program=$ac_name
15449 case $ac_name in
15450 *.*) ;;
15451 *) ac_program=$ac_program.exe ;;
15452 esac
15454 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
15456 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15458 else
15459 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15460 "$ac_dir: __builddeps__"
15462 wine_fn_pot_rules $ac_dir $ac_flags
15464 wine_fn_has_flag install $ac_flags || return
15465 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15466 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15467 install install-lib:: $ac_dir/__install__
15468 __uninstall__: $ac_dir/__uninstall__"
15470 if test -n "$DLLEXT"
15471 then
15472 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15473 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15474 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15475 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15476 $ac_dir/__uninstall__::
15477 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15479 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
15480 then
15481 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15482 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15483 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15484 $ac_dir/__uninstall__::
15485 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15487 else
15488 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15489 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15490 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15491 $ac_dir/__uninstall__::
15492 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15495 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
15496 then
15497 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15498 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15499 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15500 $ac_dir/__uninstall__::
15501 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15506 wine_fn_config_test ()
15508 ac_dir=$1
15509 ac_name=$2
15510 ac_flags=$3
15511 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
15512 wine_fn_all_dir_rules $ac_dir Maketest.rules
15514 if test "x$enable_tests" = xno; then :
15516 else
15517 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15518 "all: $ac_dir
15519 .PHONY: $ac_dir
15520 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15521 @cd $ac_dir && \$(MAKE)
15522 programs/winetest: $ac_dir
15523 check test: $ac_dir/__test__
15524 .PHONY: $ac_dir/__test__
15525 $ac_dir/__test__: dummy
15526 @cd $ac_dir && \$(MAKE) test
15527 testclean::
15528 \$(RM) $ac_dir/*.ok"
15530 if test "x$CROSSTEST_DISABLE" = x
15531 then
15532 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15533 "crosstest: $ac_dir/__crosstest__
15534 .PHONY: $ac_dir/__crosstest__
15535 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15536 @cd $ac_dir && \$(MAKE) crosstest"
15541 wine_fn_config_tool ()
15543 ac_dir=$1
15544 ac_flags=$2
15545 if test "x$enable_tools" = xno; then :
15546 return 0
15549 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
15551 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
15552 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
15553 case $ac_dir in
15554 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
15555 esac
15558 wine_fn_config_makerules ()
15560 ac_rules=$1
15561 ac_deps=$2
15562 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15563 "$ac_rules: $ac_rules.in $ac_deps config.status
15564 @./config.status $ac_rules
15565 distclean::
15566 \$(RM) $ac_rules"
15569 wine_fn_config_symlink ()
15571 ac_link=$1
15572 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15573 "$ac_link:
15574 @./config.status $ac_link
15575 distclean::
15576 \$(RM) $ac_link"
15579 if test "x$CROSSTEST_DISABLE" != x
15580 then
15581 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15582 "crosstest:
15583 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15585 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15586 wine_fn_config_symlink dlls/shell32/AUTHORS
15587 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15588 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
15589 if test "x$enable_fonts" != xno; then
15590 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15591 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
15593 if test "x$enable_fonts" != xno; then
15594 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15595 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
15597 if test "x$enable_fonts" != xno; then
15598 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15599 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
15601 if test "x$enable_fonts" != xno; then
15602 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15603 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
15605 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
15606 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
15607 if test "x$enable_tools" != xno; then
15608 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15609 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
15611 ac_config_links="$ac_config_links wine:tools/winewrapper"
15612 wine_fn_config_symlink wine
15613 if test "x$enable_win64" != xno; then
15614 ac_config_links="$ac_config_links wine64:tools/winewrapper"
15615 wine_fn_config_symlink wine64
15618 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
15620 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
15622 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
15624 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
15626 ac_config_commands="$ac_config_commands dlls/user32/resources"
15628 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
15630 ac_config_commands="$ac_config_commands include/wine"
15633 wine_fn_config_makerules Make.rules
15634 MAKE_RULES=Make.rules
15635 ac_config_files="$ac_config_files Make.rules"
15637 wine_fn_config_makerules Maketest.rules Make.rules
15638 MAKE_TEST_RULES=Maketest.rules
15639 ac_config_files="$ac_config_files Maketest.rules"
15641 wine_fn_config_makerules dlls/Makedll.rules Make.rules
15642 MAKE_DLL_RULES=dlls/Makedll.rules
15643 ac_config_files="$ac_config_files dlls/Makedll.rules"
15645 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
15646 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
15647 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
15649 wine_fn_config_makerules programs/Makeprog.rules Make.rules
15650 MAKE_PROG_RULES=programs/Makeprog.rules
15651 ac_config_files="$ac_config_files programs/Makeprog.rules"
15654 wine_fn_config_dll acledit enable_acledit
15655 wine_fn_config_dll aclui enable_aclui implib
15656 wine_fn_config_dll activeds enable_activeds implib
15657 wine_fn_config_dll actxprxy enable_actxprxy
15658 wine_fn_config_lib adsiid
15659 wine_fn_config_dll advapi32 enable_advapi32 implib
15660 wine_fn_config_test dlls/advapi32/tests advapi32_test
15661 wine_fn_config_dll advpack enable_advpack implib
15662 wine_fn_config_test dlls/advpack/tests advpack_test
15663 wine_fn_config_dll amstream enable_amstream
15664 wine_fn_config_test dlls/amstream/tests amstream_test
15665 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15666 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15667 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15668 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15669 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15670 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15671 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15672 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15673 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15674 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15675 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15676 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15677 wine_fn_config_dll apphelp enable_apphelp
15678 wine_fn_config_test dlls/apphelp/tests apphelp_test
15679 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15680 wine_fn_config_dll atl enable_atl implib
15681 wine_fn_config_test dlls/atl/tests atl_test
15682 wine_fn_config_dll atl100 enable_atl100 implib
15683 wine_fn_config_test dlls/atl100/tests atl100_test
15684 wine_fn_config_dll atl80 enable_atl80 implib
15685 wine_fn_config_dll authz enable_authz
15686 wine_fn_config_dll avicap32 enable_avicap32 implib
15687 wine_fn_config_dll avifil32 enable_avifil32 implib,po
15688 wine_fn_config_test dlls/avifil32/tests avifil32_test
15689 wine_fn_config_dll avifile.dll16 enable_win16
15690 wine_fn_config_dll avrt enable_avrt implib
15691 wine_fn_config_dll bcrypt enable_bcrypt
15692 wine_fn_config_dll browseui enable_browseui po
15693 wine_fn_config_test dlls/browseui/tests browseui_test
15694 wine_fn_config_dll cabinet enable_cabinet implib
15695 wine_fn_config_test dlls/cabinet/tests cabinet_test
15696 wine_fn_config_dll capi2032 enable_capi2032 implib
15697 wine_fn_config_dll cards enable_cards implib
15698 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15699 wine_fn_config_dll clusapi enable_clusapi implib
15700 wine_fn_config_dll comcat enable_comcat
15701 wine_fn_config_test dlls/comcat/tests comcat_test
15702 wine_fn_config_dll comctl32 enable_comctl32 implib,po
15703 wine_fn_config_test dlls/comctl32/tests comctl32_test
15704 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
15705 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
15706 wine_fn_config_dll comm.drv16 enable_win16
15707 wine_fn_config_dll commdlg.dll16 enable_win16
15708 wine_fn_config_dll compobj.dll16 enable_win16
15709 wine_fn_config_dll compstui enable_compstui implib
15710 wine_fn_config_dll credui enable_credui implib,po
15711 wine_fn_config_test dlls/credui/tests credui_test
15712 wine_fn_config_dll crtdll enable_crtdll implib
15713 wine_fn_config_dll crypt32 enable_crypt32 implib,po
15714 wine_fn_config_test dlls/crypt32/tests crypt32_test
15715 wine_fn_config_dll cryptdlg enable_cryptdlg po
15716 wine_fn_config_dll cryptdll enable_cryptdll implib
15717 wine_fn_config_dll cryptnet enable_cryptnet implib
15718 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
15719 wine_fn_config_dll cryptui enable_cryptui implib,po
15720 wine_fn_config_test dlls/cryptui/tests cryptui_test
15721 wine_fn_config_dll ctapi32 enable_ctapi32
15722 wine_fn_config_dll ctl3d.dll16 enable_win16
15723 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15724 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15725 wine_fn_config_dll d3d10 enable_d3d10 implib
15726 wine_fn_config_test dlls/d3d10/tests d3d10_test
15727 wine_fn_config_dll d3d10core enable_d3d10core implib
15728 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
15729 wine_fn_config_dll d3d11 enable_d3d11
15730 wine_fn_config_dll d3d8 enable_d3d8 implib
15731 wine_fn_config_test dlls/d3d8/tests d3d8_test
15732 wine_fn_config_dll d3d9 enable_d3d9 implib
15733 wine_fn_config_test dlls/d3d9/tests d3d9_test
15734 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15735 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15736 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15737 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15738 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15739 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15740 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15741 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15742 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15743 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15744 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15745 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
15746 wine_fn_config_dll d3dim enable_d3dim implib
15747 wine_fn_config_dll d3drm enable_d3drm implib
15748 wine_fn_config_test dlls/d3drm/tests d3drm_test
15749 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15750 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15751 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15752 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15753 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15754 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15755 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15756 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15757 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15758 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15759 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15760 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15761 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15762 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15763 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15764 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15765 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15766 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15767 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15768 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15769 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15770 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15771 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15772 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15773 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
15774 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15775 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15776 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15777 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15778 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15779 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15780 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15781 wine_fn_config_dll d3dxof enable_d3dxof implib
15782 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
15783 wine_fn_config_dll dbgeng enable_dbgeng implib
15784 wine_fn_config_dll dbghelp enable_dbghelp implib
15785 wine_fn_config_dll dciman32 enable_dciman32 implib
15786 wine_fn_config_dll ddeml.dll16 enable_win16
15787 wine_fn_config_dll ddraw enable_ddraw implib
15788 wine_fn_config_test dlls/ddraw/tests ddraw_test
15789 wine_fn_config_dll ddrawex enable_ddrawex
15790 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
15791 wine_fn_config_dll devenum enable_devenum po
15792 wine_fn_config_test dlls/devenum/tests devenum_test
15793 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15794 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
15795 wine_fn_config_test dlls/dinput/tests dinput_test
15796 wine_fn_config_dll dinput8 enable_dinput8 implib
15797 wine_fn_config_test dlls/dinput8/tests dinput8_test
15798 wine_fn_config_dll dispdib.dll16 enable_win16
15799 wine_fn_config_dll dispex enable_dispex
15800 wine_fn_config_test dlls/dispex/tests dispex_test
15801 wine_fn_config_dll display.drv16 enable_win16
15802 wine_fn_config_dll dmband enable_dmband
15803 wine_fn_config_test dlls/dmband/tests dmband_test
15804 wine_fn_config_dll dmcompos enable_dmcompos
15805 wine_fn_config_dll dmime enable_dmime
15806 wine_fn_config_test dlls/dmime/tests dmime_test
15807 wine_fn_config_dll dmloader enable_dmloader
15808 wine_fn_config_test dlls/dmloader/tests dmloader_test
15809 wine_fn_config_dll dmscript enable_dmscript
15810 wine_fn_config_dll dmstyle enable_dmstyle
15811 wine_fn_config_dll dmsynth enable_dmsynth
15812 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
15813 wine_fn_config_dll dmusic enable_dmusic
15814 wine_fn_config_test dlls/dmusic/tests dmusic_test
15815 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15816 wine_fn_config_dll dnsapi enable_dnsapi implib
15817 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
15818 wine_fn_config_dll dplay enable_dplay implib
15819 wine_fn_config_dll dplayx enable_dplayx implib
15820 wine_fn_config_test dlls/dplayx/tests dplayx_test
15821 wine_fn_config_dll dpnaddr enable_dpnaddr
15822 wine_fn_config_dll dpnet enable_dpnet implib
15823 wine_fn_config_test dlls/dpnet/tests dpnet_test
15824 wine_fn_config_dll dpnhpast enable_dpnhpast
15825 wine_fn_config_dll dpnlobby enable_dpnlobby
15826 wine_fn_config_dll dpwsockx enable_dpwsockx
15827 wine_fn_config_dll drmclien enable_drmclien
15828 wine_fn_config_dll dsound enable_dsound implib
15829 wine_fn_config_test dlls/dsound/tests dsound_test
15830 wine_fn_config_dll dssenh enable_dssenh
15831 wine_fn_config_test dlls/dssenh/tests dssenh_test
15832 wine_fn_config_dll dswave enable_dswave
15833 wine_fn_config_dll dwmapi enable_dwmapi implib
15834 wine_fn_config_dll dwrite enable_dwrite implib
15835 wine_fn_config_test dlls/dwrite/tests dwrite_test
15836 wine_fn_config_dll dxdiagn enable_dxdiagn po
15837 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15838 wine_fn_config_lib dxerr8
15839 wine_fn_config_lib dxerr9
15840 wine_fn_config_dll dxgi enable_dxgi implib
15841 wine_fn_config_test dlls/dxgi/tests dxgi_test
15842 wine_fn_config_lib dxguid
15843 wine_fn_config_dll explorerframe enable_explorerframe
15844 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15845 wine_fn_config_dll faultrep enable_faultrep implib
15846 wine_fn_config_test dlls/faultrep/tests faultrep_test
15847 wine_fn_config_dll fltlib enable_fltlib
15848 wine_fn_config_dll fusion enable_fusion
15849 wine_fn_config_test dlls/fusion/tests fusion_test
15850 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15851 wine_fn_config_dll gameux enable_gameux
15852 wine_fn_config_test dlls/gameux/tests gameux_test
15853 wine_fn_config_dll gdi.exe16 enable_win16
15854 wine_fn_config_dll gdi32 enable_gdi32 implib,po
15855 wine_fn_config_test dlls/gdi32/tests gdi32_test
15856 wine_fn_config_dll gdiplus enable_gdiplus implib
15857 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15858 wine_fn_config_dll glu32 enable_glu32 implib
15859 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15860 wine_fn_config_dll gpkcsp enable_gpkcsp
15861 wine_fn_config_dll hal enable_hal
15862 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib,po htmlhelp
15863 wine_fn_config_dll hid enable_hid implib
15864 wine_fn_config_dll hlink enable_hlink implib
15865 wine_fn_config_test dlls/hlink/tests hlink_test
15866 wine_fn_config_dll hnetcfg enable_hnetcfg
15867 wine_fn_config_dll httpapi enable_httpapi
15868 wine_fn_config_dll iccvid enable_iccvid po
15869 wine_fn_config_dll icmp enable_icmp
15870 wine_fn_config_dll ieframe enable_ieframe implib,po
15871 wine_fn_config_test dlls/ieframe/tests ieframe_test
15872 wine_fn_config_dll ifsmgr.vxd enable_win16
15873 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15874 wine_fn_config_dll imagehlp enable_imagehlp implib
15875 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15876 wine_fn_config_dll imm.dll16 enable_win16
15877 wine_fn_config_dll imm32 enable_imm32 implib
15878 wine_fn_config_test dlls/imm32/tests imm32_test
15879 wine_fn_config_dll inetcomm enable_inetcomm implib
15880 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15881 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15882 wine_fn_config_dll inetmib1 enable_inetmib1
15883 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15884 wine_fn_config_dll infosoft enable_infosoft
15885 wine_fn_config_test dlls/infosoft/tests infosoft_test
15886 wine_fn_config_dll initpki enable_initpki
15887 wine_fn_config_dll inkobj enable_inkobj
15888 wine_fn_config_dll inseng enable_inseng
15889 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15890 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15891 wine_fn_config_dll itircl enable_itircl
15892 wine_fn_config_dll itss enable_itss
15893 wine_fn_config_test dlls/itss/tests itss_test
15894 wine_fn_config_dll joy.cpl enable_joy_cpl po
15895 wine_fn_config_dll jscript enable_jscript po
15896 wine_fn_config_test dlls/jscript/tests jscript_test
15897 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
15898 wine_fn_config_test dlls/kernel32/tests kernel32_test
15899 wine_fn_config_dll keyboard.drv16 enable_win16
15900 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15901 wine_fn_config_dll ktmw32 enable_ktmw32
15902 wine_fn_config_dll loadperf enable_loadperf implib
15903 wine_fn_config_dll localspl enable_localspl po
15904 wine_fn_config_test dlls/localspl/tests localspl_test
15905 wine_fn_config_dll localui enable_localui po
15906 wine_fn_config_test dlls/localui/tests localui_test
15907 wine_fn_config_dll lz32 enable_lz32 implib
15908 wine_fn_config_test dlls/lz32/tests lz32_test
15909 wine_fn_config_dll lzexpand.dll16 enable_win16
15910 wine_fn_config_dll mapi32 enable_mapi32 implib,po
15911 wine_fn_config_test dlls/mapi32/tests mapi32_test
15912 wine_fn_config_dll mapistub enable_mapistub
15913 wine_fn_config_dll mciavi32 enable_mciavi32
15914 wine_fn_config_dll mcicda enable_mcicda
15915 wine_fn_config_dll mciqtz32 enable_mciqtz32
15916 wine_fn_config_dll mciseq enable_mciseq
15917 wine_fn_config_dll mciwave enable_mciwave
15918 wine_fn_config_dll mgmtapi enable_mgmtapi
15919 wine_fn_config_dll midimap enable_midimap
15920 wine_fn_config_dll mlang enable_mlang implib
15921 wine_fn_config_test dlls/mlang/tests mlang_test
15922 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15923 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
15924 wine_fn_config_dll mmdevapi enable_mmdevapi
15925 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15926 wine_fn_config_dll mmdevldr.vxd enable_win16
15927 wine_fn_config_dll mmsystem.dll16 enable_win16
15928 wine_fn_config_dll monodebg.vxd enable_win16
15929 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15930 wine_fn_config_dll mouse.drv16 enable_win16
15931 wine_fn_config_dll mpr enable_mpr implib,po
15932 wine_fn_config_test dlls/mpr/tests mpr_test
15933 wine_fn_config_dll mprapi enable_mprapi implib
15934 wine_fn_config_dll msacm.dll16 enable_win16
15935 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15936 wine_fn_config_dll msacm32 enable_msacm32 implib,po
15937 wine_fn_config_test dlls/msacm32/tests msacm32_test
15938 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15939 wine_fn_config_dll mscat32 enable_mscat32
15940 wine_fn_config_dll mscms enable_mscms implib
15941 wine_fn_config_test dlls/mscms/tests mscms_test
15942 wine_fn_config_dll mscoree enable_mscoree
15943 wine_fn_config_test dlls/mscoree/tests mscoree_test
15944 wine_fn_config_dll msctf enable_msctf
15945 wine_fn_config_test dlls/msctf/tests msctf_test
15946 wine_fn_config_dll msdaps enable_msdaps
15947 wine_fn_config_dll msdmo enable_msdmo implib
15948 wine_fn_config_dll msftedit enable_msftedit
15949 wine_fn_config_dll msg711.acm enable_msg711_acm
15950 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15951 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15952 wine_fn_config_dll mshtml enable_mshtml implib,po
15953 wine_fn_config_test dlls/mshtml/tests mshtml_test
15954 wine_fn_config_dll msi enable_msi implib,po
15955 wine_fn_config_test dlls/msi/tests msi_test
15956 wine_fn_config_dll msident enable_msident
15957 wine_fn_config_dll msimg32 enable_msimg32 implib
15958 wine_fn_config_dll msimsg enable_msimsg
15959 wine_fn_config_dll msimtf enable_msimtf
15960 wine_fn_config_dll msisip enable_msisip
15961 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15962 wine_fn_config_dll msls31 enable_msls31
15963 wine_fn_config_dll msnet32 enable_msnet32
15964 wine_fn_config_dll mspatcha enable_mspatcha
15965 wine_fn_config_dll msrle32 enable_msrle32 po
15966 wine_fn_config_dll mssign32 enable_mssign32
15967 wine_fn_config_dll mssip32 enable_mssip32
15968 wine_fn_config_dll mstask enable_mstask
15969 wine_fn_config_test dlls/mstask/tests mstask_test
15970 wine_fn_config_dll msvcirt enable_msvcirt
15971 wine_fn_config_dll msvcm80 enable_msvcm80
15972 wine_fn_config_dll msvcm90 enable_msvcm90
15973 wine_fn_config_dll msvcp100 enable_msvcp100
15974 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
15975 wine_fn_config_dll msvcp60 enable_msvcp60
15976 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
15977 wine_fn_config_dll msvcp70 enable_msvcp70
15978 wine_fn_config_dll msvcp71 enable_msvcp71
15979 wine_fn_config_dll msvcp80 enable_msvcp80
15980 wine_fn_config_dll msvcp90 enable_msvcp90
15981 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15982 wine_fn_config_dll msvcr100 enable_msvcr100
15983 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
15984 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15985 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15986 wine_fn_config_dll msvcr80 enable_msvcr80
15987 wine_fn_config_dll msvcr90 enable_msvcr90
15988 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15989 wine_fn_config_dll msvcrt enable_msvcrt implib
15990 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15991 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15992 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15993 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15994 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15995 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
15996 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15997 wine_fn_config_dll msvidc32 enable_msvidc32 po
15998 wine_fn_config_dll msvideo.dll16 enable_win16
15999 wine_fn_config_dll mswsock enable_mswsock implib
16000 wine_fn_config_dll msxml enable_msxml
16001 wine_fn_config_dll msxml2 enable_msxml2
16002 wine_fn_config_dll msxml3 enable_msxml3
16003 wine_fn_config_test dlls/msxml3/tests msxml3_test
16004 wine_fn_config_dll msxml4 enable_msxml4
16005 wine_fn_config_dll msxml6 enable_msxml6
16006 wine_fn_config_dll nddeapi enable_nddeapi implib
16007 wine_fn_config_dll netapi32 enable_netapi32 implib
16008 wine_fn_config_test dlls/netapi32/tests netapi32_test
16009 wine_fn_config_dll newdev enable_newdev implib
16010 wine_fn_config_dll normaliz enable_normaliz implib
16011 wine_fn_config_dll npmshtml enable_npmshtml
16012 wine_fn_config_dll ntdll enable_ntdll implib
16013 wine_fn_config_test dlls/ntdll/tests ntdll_test
16014 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16015 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
16016 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16017 wine_fn_config_dll ntprint enable_ntprint
16018 wine_fn_config_test dlls/ntprint/tests ntprint_test
16019 wine_fn_config_dll objsel enable_objsel
16020 wine_fn_config_dll odbc32 enable_odbc32 implib
16021 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16022 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
16023 wine_fn_config_dll odbccu32 enable_odbccu32
16024 wine_fn_config_dll ole2.dll16 enable_win16
16025 wine_fn_config_dll ole2conv.dll16 enable_win16
16026 wine_fn_config_dll ole2disp.dll16 enable_win16
16027 wine_fn_config_dll ole2nls.dll16 enable_win16
16028 wine_fn_config_dll ole2prox.dll16 enable_win16
16029 wine_fn_config_dll ole2thk.dll16 enable_win16
16030 wine_fn_config_dll ole32 enable_ole32 implib
16031 wine_fn_config_test dlls/ole32/tests ole32_test
16032 wine_fn_config_dll oleacc enable_oleacc implib,po
16033 wine_fn_config_test dlls/oleacc/tests oleacc_test
16034 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
16035 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
16036 wine_fn_config_dll olecli.dll16 enable_win16
16037 wine_fn_config_dll olecli32 enable_olecli32 implib
16038 wine_fn_config_dll oledb32 enable_oledb32
16039 wine_fn_config_test dlls/oledb32/tests oledb32_test
16040 wine_fn_config_dll oledlg enable_oledlg implib,po
16041 wine_fn_config_dll olepro32 enable_olepro32 implib
16042 wine_fn_config_dll olesvr.dll16 enable_win16
16043 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16044 wine_fn_config_dll olethk32 enable_olethk32
16045 wine_fn_config_dll openal32 enable_openal32
16046 wine_fn_config_dll opencl enable_opencl
16047 wine_fn_config_dll opengl32 enable_opengl32 implib
16048 wine_fn_config_test dlls/opengl32/tests opengl32_test
16049 wine_fn_config_dll pdh enable_pdh implib
16050 wine_fn_config_test dlls/pdh/tests pdh_test
16051 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16052 wine_fn_config_dll pidgen enable_pidgen
16053 wine_fn_config_dll powrprof enable_powrprof implib
16054 wine_fn_config_dll printui enable_printui
16055 wine_fn_config_dll propsys enable_propsys implib
16056 wine_fn_config_test dlls/propsys/tests propsys_test
16057 wine_fn_config_dll psapi enable_psapi implib
16058 wine_fn_config_test dlls/psapi/tests psapi_test
16059 wine_fn_config_dll pstorec enable_pstorec
16060 wine_fn_config_dll qcap enable_qcap
16061 wine_fn_config_dll qedit enable_qedit
16062 wine_fn_config_test dlls/qedit/tests qedit_test
16063 wine_fn_config_dll qmgr enable_qmgr
16064 wine_fn_config_test dlls/qmgr/tests qmgr_test
16065 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16066 wine_fn_config_dll quartz enable_quartz implib
16067 wine_fn_config_test dlls/quartz/tests quartz_test
16068 wine_fn_config_dll query enable_query
16069 wine_fn_config_dll rasapi16.dll16 enable_win16
16070 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16071 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
16072 wine_fn_config_dll rasdlg enable_rasdlg implib
16073 wine_fn_config_dll regapi enable_regapi
16074 wine_fn_config_dll resutils enable_resutils implib
16075 wine_fn_config_dll riched20 enable_riched20 implib
16076 wine_fn_config_test dlls/riched20/tests riched20_test
16077 wine_fn_config_dll riched32 enable_riched32
16078 wine_fn_config_test dlls/riched32/tests riched32_test
16079 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16080 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
16081 wine_fn_config_dll rsabase enable_rsabase
16082 wine_fn_config_dll rsaenh enable_rsaenh implib
16083 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
16084 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16085 wine_fn_config_dll rtutils enable_rtutils implib
16086 wine_fn_config_dll samlib enable_samlib
16087 wine_fn_config_dll sane.ds enable_sane_ds po
16088 wine_fn_config_dll scarddlg enable_scarddlg
16089 wine_fn_config_dll sccbase enable_sccbase
16090 wine_fn_config_dll schannel enable_schannel
16091 wine_fn_config_test dlls/schannel/tests schannel_test
16092 wine_fn_config_dll scrrun enable_scrrun
16093 wine_fn_config_test dlls/scrrun/tests scrrun_test
16094 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16095 wine_fn_config_dll secur32 enable_secur32 implib
16096 wine_fn_config_test dlls/secur32/tests secur32_test
16097 wine_fn_config_dll security enable_security
16098 wine_fn_config_dll sensapi enable_sensapi implib
16099 wine_fn_config_dll serialui enable_serialui implib,po
16100 wine_fn_config_test dlls/serialui/tests serialui_test
16101 wine_fn_config_dll setupapi enable_setupapi implib,po
16102 wine_fn_config_test dlls/setupapi/tests setupapi_test
16103 wine_fn_config_dll setupx.dll16 enable_win16
16104 wine_fn_config_dll sfc enable_sfc implib
16105 wine_fn_config_dll sfc_os enable_sfc_os implib
16106 wine_fn_config_dll shdoclc enable_shdoclc po
16107 wine_fn_config_dll shdocvw enable_shdocvw implib
16108 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
16109 wine_fn_config_dll shell.dll16 enable_win16
16110 wine_fn_config_dll shell32 enable_shell32 implib,po
16111 wine_fn_config_test dlls/shell32/tests shell32_test
16112 wine_fn_config_dll shfolder enable_shfolder implib
16113 wine_fn_config_dll shlwapi enable_shlwapi implib,po
16114 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
16115 wine_fn_config_dll slbcsp enable_slbcsp
16116 wine_fn_config_dll slc enable_slc implib
16117 wine_fn_config_dll snmpapi enable_snmpapi implib
16118 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
16119 wine_fn_config_dll softpub enable_softpub
16120 wine_fn_config_dll sound.drv16 enable_win16
16121 wine_fn_config_dll spoolss enable_spoolss implib
16122 wine_fn_config_test dlls/spoolss/tests spoolss_test
16123 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16124 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16125 wine_fn_config_dll sti enable_sti implib
16126 wine_fn_config_test dlls/sti/tests sti_test
16127 wine_fn_config_dll storage.dll16 enable_win16
16128 wine_fn_config_dll stress.dll16 enable_win16
16129 wine_fn_config_lib strmbase
16130 wine_fn_config_lib strmiids
16131 wine_fn_config_dll svrapi enable_svrapi
16132 wine_fn_config_dll sxs enable_sxs implib
16133 wine_fn_config_test dlls/sxs/tests sxs_test
16134 wine_fn_config_dll system.drv16 enable_win16
16135 wine_fn_config_dll t2embed enable_t2embed
16136 wine_fn_config_dll tapi32 enable_tapi32 implib
16137 wine_fn_config_dll toolhelp.dll16 enable_win16
16138 wine_fn_config_dll traffic enable_traffic
16139 wine_fn_config_dll twain.dll16 enable_win16
16140 wine_fn_config_dll twain_32 enable_twain_32
16141 wine_fn_config_test dlls/twain_32/tests twain_32_test
16142 wine_fn_config_dll typelib.dll16 enable_win16
16143 wine_fn_config_dll unicows enable_unicows implib
16144 wine_fn_config_dll updspapi enable_updspapi
16145 wine_fn_config_dll url enable_url implib
16146 wine_fn_config_dll urlmon enable_urlmon implib,po
16147 wine_fn_config_test dlls/urlmon/tests urlmon_test
16148 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16149 wine_fn_config_dll user.exe16 enable_win16
16150 wine_fn_config_dll user32 enable_user32 implib,po
16151 wine_fn_config_test dlls/user32/tests user32_test
16152 wine_fn_config_dll userenv enable_userenv implib
16153 wine_fn_config_test dlls/userenv/tests userenv_test
16154 wine_fn_config_dll usp10 enable_usp10 implib
16155 wine_fn_config_test dlls/usp10/tests usp10_test
16156 wine_fn_config_lib uuid
16157 wine_fn_config_dll uxtheme enable_uxtheme implib
16158 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
16159 wine_fn_config_dll vbscript enable_vbscript
16160 wine_fn_config_test dlls/vbscript/tests vbscript_test
16161 wine_fn_config_dll vcomp enable_vcomp
16162 wine_fn_config_dll vcomp100 enable_vcomp100
16163 wine_fn_config_dll vcomp90 enable_vcomp90
16164 wine_fn_config_dll vdhcp.vxd enable_win16
16165 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16166 wine_fn_config_dll ver.dll16 enable_win16
16167 wine_fn_config_dll version enable_version implib
16168 wine_fn_config_test dlls/version/tests version_test
16169 wine_fn_config_dll vmm.vxd enable_win16
16170 wine_fn_config_dll vnbt.vxd enable_win16
16171 wine_fn_config_dll vnetbios.vxd enable_win16
16172 wine_fn_config_dll vtdapi.vxd enable_win16
16173 wine_fn_config_dll vwin32.vxd enable_win16
16174 wine_fn_config_dll w32skrnl enable_win16
16175 wine_fn_config_dll w32sys.dll16 enable_win16
16176 wine_fn_config_dll wbemprox enable_wbemprox
16177 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
16178 wine_fn_config_dll webservices enable_webservices implib
16179 wine_fn_config_dll wer enable_wer implib
16180 wine_fn_config_test dlls/wer/tests wer_test
16181 wine_fn_config_dll wevtapi enable_wevtapi
16182 wine_fn_config_dll wiaservc enable_wiaservc
16183 wine_fn_config_dll win32s16.dll16 enable_win16
16184 wine_fn_config_dll win87em.dll16 enable_win16
16185 wine_fn_config_dll winaspi.dll16 enable_win16
16186 wine_fn_config_dll windebug.dll16 enable_win16
16187 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16188 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
16189 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16190 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
16191 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16192 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16193 wine_fn_config_lib winecrt0
16194 wine_fn_config_dll wined3d enable_wined3d implib
16195 wine_fn_config_dll winegstreamer enable_winegstreamer
16196 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16197 wine_fn_config_dll winemac.drv enable_winemac_drv
16198 wine_fn_config_dll winemapi enable_winemapi
16199 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16200 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16201 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
16202 wine_fn_config_dll wineps16.drv16 enable_win16
16203 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16204 wine_fn_config_dll winex11.drv enable_winex11_drv
16205 wine_fn_config_dll wing.dll16 enable_win16
16206 wine_fn_config_dll wing32 enable_wing32
16207 wine_fn_config_dll winhttp enable_winhttp implib
16208 wine_fn_config_test dlls/winhttp/tests winhttp_test
16209 wine_fn_config_dll wininet enable_wininet implib,po
16210 wine_fn_config_test dlls/wininet/tests wininet_test
16211 wine_fn_config_dll winmm enable_winmm implib,po
16212 wine_fn_config_test dlls/winmm/tests winmm_test
16213 wine_fn_config_dll winnls.dll16 enable_win16
16214 wine_fn_config_dll winnls32 enable_winnls32 implib
16215 wine_fn_config_dll winscard enable_winscard implib
16216 wine_fn_config_dll winsock.dll16 enable_win16
16217 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
16218 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
16219 wine_fn_config_dll winsta enable_winsta
16220 wine_fn_config_dll wintab.dll16 enable_win16
16221 wine_fn_config_dll wintab32 enable_wintab32 implib
16222 wine_fn_config_test dlls/wintab32/tests wintab32_test
16223 wine_fn_config_dll wintrust enable_wintrust implib
16224 wine_fn_config_test dlls/wintrust/tests wintrust_test
16225 wine_fn_config_dll wlanapi enable_wlanapi
16226 wine_fn_config_dll wldap32 enable_wldap32 implib,po
16227 wine_fn_config_test dlls/wldap32/tests wldap32_test
16228 wine_fn_config_dll wmi enable_wmi
16229 wine_fn_config_dll wmiutils enable_wmiutils
16230 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
16231 wine_fn_config_dll wmvcore enable_wmvcore
16232 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16233 wine_fn_config_dll wow32 enable_win16 implib
16234 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16235 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
16236 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16237 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
16238 wine_fn_config_dll wsnmp32 enable_wsnmp32
16239 wine_fn_config_dll wsock32 enable_wsock32 implib
16240 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16241 wine_fn_config_dll wuapi enable_wuapi
16242 wine_fn_config_dll wuaueng enable_wuaueng
16243 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16244 wine_fn_config_dll xinput1_1 enable_xinput1_1
16245 wine_fn_config_dll xinput1_2 enable_xinput1_2
16246 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16247 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
16248 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16249 wine_fn_config_dll xmllite enable_xmllite
16250 wine_fn_config_test dlls/xmllite/tests xmllite_test
16251 wine_fn_config_dll xolehlp enable_xolehlp
16252 wine_fn_config_dll xpsprint enable_xpsprint
16253 wine_fn_config_dll xpssvcs enable_xpssvcs
16254 wine_fn_config_makefile documentation enable_documentation
16255 wine_fn_config_makefile fonts enable_fonts install-lib
16256 wine_fn_config_makefile include enable_include install-dev
16257 wine_fn_config_makefile libs/port enable_libs_port
16258 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
16259 wine_fn_config_makefile libs/wpp enable_libs_wpp
16260 wine_fn_config_makefile loader enable_loader install-lib,manpage
16261 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
16262 wine_fn_config_program attrib enable_attrib install,po
16263 wine_fn_config_program cabarc enable_cabarc install
16264 wine_fn_config_program cacls enable_cacls install
16265 wine_fn_config_program clock enable_clock install,po
16266 wine_fn_config_program cmd enable_cmd install,po
16267 wine_fn_config_test programs/cmd/tests cmd.exe_test
16268 wine_fn_config_program conhost enable_conhost install
16269 wine_fn_config_program control enable_control install
16270 wine_fn_config_program cscript enable_cscript install
16271 wine_fn_config_program dxdiag enable_dxdiag install,po
16272 wine_fn_config_program eject enable_eject install
16273 wine_fn_config_program expand enable_expand install
16274 wine_fn_config_program explorer enable_explorer install,po
16275 wine_fn_config_program extrac32 enable_extrac32 install
16276 wine_fn_config_program findstr enable_findstr install
16277 wine_fn_config_program hh enable_hh install
16278 wine_fn_config_program hostname enable_hostname install,po
16279 wine_fn_config_program icinfo enable_icinfo install
16280 wine_fn_config_program iexplore enable_iexplore install
16281 wine_fn_config_program ipconfig enable_ipconfig install,po
16282 wine_fn_config_program lodctr enable_lodctr install
16283 wine_fn_config_program mofcomp enable_mofcomp install
16284 wine_fn_config_program mshta enable_mshta install
16285 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
16286 wine_fn_config_program net enable_net install,po
16287 wine_fn_config_program netsh enable_netsh install
16288 wine_fn_config_program netstat enable_netstat install,po
16289 wine_fn_config_program ngen enable_ngen install
16290 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
16291 wine_fn_config_program oleview enable_oleview install,po
16292 wine_fn_config_program ping enable_ping install
16293 wine_fn_config_program plugplay enable_plugplay install
16294 wine_fn_config_program presentationfontcache enable_presentationfontcache install
16295 wine_fn_config_program progman enable_progman install,po
16296 wine_fn_config_program reg enable_reg install,po
16297 wine_fn_config_program regasm enable_regasm install
16298 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
16299 wine_fn_config_test programs/regedit/tests regedit.exe_test
16300 wine_fn_config_program regsvcs enable_regsvcs install
16301 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
16302 wine_fn_config_program rpcss enable_rpcss install
16303 wine_fn_config_program rundll.exe16 enable_win16 install
16304 wine_fn_config_program rundll32 enable_rundll32 install
16305 wine_fn_config_program sc enable_sc install
16306 wine_fn_config_program schtasks enable_schtasks install
16307 wine_fn_config_program secedit enable_secedit install
16308 wine_fn_config_program servicemodelreg enable_servicemodelreg install
16309 wine_fn_config_program services enable_services install
16310 wine_fn_config_test programs/services/tests services.exe_test
16311 wine_fn_config_program spoolsv enable_spoolsv install
16312 wine_fn_config_program start enable_start install,po
16313 wine_fn_config_program svchost enable_svchost install
16314 wine_fn_config_program taskkill enable_taskkill install,po
16315 wine_fn_config_program taskmgr enable_taskmgr install,po
16316 wine_fn_config_program termsv enable_termsv install
16317 wine_fn_config_program uninstaller enable_uninstaller install,po
16318 wine_fn_config_program unlodctr enable_unlodctr install
16319 wine_fn_config_program view enable_view install,po
16320 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
16321 wine_fn_config_program winebrowser enable_winebrowser install
16322 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
16323 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
16324 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
16325 wine_fn_config_program winedevice enable_winedevice install
16326 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
16327 wine_fn_config_program winemenubuilder enable_winemenubuilder install
16328 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
16329 wine_fn_config_program winemsibuilder enable_winemsibuilder install
16330 wine_fn_config_program winepath enable_winepath install,installbin,manpage
16331 wine_fn_config_program winetest enable_winetest
16332 wine_fn_config_program winevdm enable_win16 install
16333 wine_fn_config_program winhelp.exe16 enable_win16 install
16334 wine_fn_config_program winhlp32 enable_winhlp32 install,po
16335 wine_fn_config_program winoldap.mod16 enable_win16 install
16336 wine_fn_config_program winver enable_winver install
16337 wine_fn_config_program wmic enable_wmic install,po
16338 wine_fn_config_program wordpad enable_wordpad install,po
16339 wine_fn_config_program write enable_write install,po
16340 wine_fn_config_program wscript enable_wscript install
16341 wine_fn_config_test programs/wscript/tests wscript.exe_test
16342 wine_fn_config_program wusa enable_wusa install
16343 wine_fn_config_program xcopy enable_xcopy install,po
16344 wine_fn_config_makefile server enable_server install-lib,manpage
16345 wine_fn_config_tool tools install-dev,install-lib,manpage
16346 wine_fn_config_tool tools/widl install-dev,manpage
16347 wine_fn_config_tool tools/winebuild install-dev,manpage
16348 wine_fn_config_tool tools/winedump install-dev,manpage
16349 wine_fn_config_tool tools/winegcc install-dev,manpage
16350 wine_fn_config_tool tools/wmc install-dev,manpage
16351 wine_fn_config_tool tools/wrc install-dev,manpage
16353 LINGUAS="\
16354 ar \
16355 bg \
16356 ca \
16357 cs \
16358 da \
16359 de \
16360 el \
16361 en \
16362 en_US \
16363 eo \
16364 es \
16365 fa \
16366 fi \
16367 fr \
16368 he \
16369 hi \
16370 hu \
16371 it \
16372 ja \
16373 ko \
16374 lt \
16375 ml \
16376 nb_NO \
16377 nl \
16378 or \
16379 pa \
16380 pl \
16381 pt_BR \
16382 pt_PT \
16383 rm \
16384 ro \
16385 ru \
16386 sk \
16387 sl \
16388 sr_RS@cyrillic \
16389 sr_RS@latin \
16390 sv \
16391 te \
16392 th \
16393 tr \
16394 uk \
16395 wa \
16396 zh_CN \
16397 zh_TW"
16401 ac_config_commands="$ac_config_commands Makefile"
16404 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16408 if test "x$enable_maintainer_mode" = xyes
16409 then
16410 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
16411 cd \$(srcdir) && autoconf --warnings=all
16412 \$(srcdir)/include/config.h.in: include/stamp-h.in
16413 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16414 cd \$(srcdir) && autoheader --warnings=all
16415 @echo timestamp > \$@"
16418 if test "x$with_gettextpo" = xyes
16419 then
16420 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16421 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
16422 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16423 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16424 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16425 msgcat -o \$@ \$(ALL_POT_FILES)"
16428 if test "$MSGFMT" != false
16429 then
16430 PORCFLAGS="--po-dir=\$(top_builddir)/po"
16432 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
16433 else
16434 LINGUAS=
16437 if test "x$enable_tools" != xno
16438 then
16439 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
16440 clean:: __clean__
16441 \$(RM) tools/makedep\$(EXEEXT)"
16444 if test -n "$with_wine64"
16445 then
16446 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16447 fonts server tools:
16448 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16449 $with_wine64/loader/wine:
16450 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16451 $with_wine64/loader/wine-preloader:
16452 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16453 clean::
16454 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16457 cat >confcache <<\_ACEOF
16458 # This file is a shell script that caches the results of configure
16459 # tests run on this system so they can be shared between configure
16460 # scripts and configure runs, see configure's option --config-cache.
16461 # It is not useful on other systems. If it contains results you don't
16462 # want to keep, you may remove or edit it.
16464 # config.status only pays attention to the cache file if you give it
16465 # the --recheck option to rerun configure.
16467 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16468 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16469 # following values.
16471 _ACEOF
16473 # The following way of writing the cache mishandles newlines in values,
16474 # but we know of no workaround that is simple, portable, and efficient.
16475 # So, we kill variables containing newlines.
16476 # Ultrix sh set writes to stderr and can't be redirected directly,
16477 # and sets the high bit in the cache file unless we assign to the vars.
16479 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16480 eval ac_val=\$$ac_var
16481 case $ac_val in #(
16482 *${as_nl}*)
16483 case $ac_var in #(
16484 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16485 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16486 esac
16487 case $ac_var in #(
16488 _ | IFS | as_nl) ;; #(
16489 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16490 *) { eval $ac_var=; unset $ac_var;} ;;
16491 esac ;;
16492 esac
16493 done
16495 (set) 2>&1 |
16496 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16497 *${as_nl}ac_space=\ *)
16498 # `set' does not quote correctly, so add quotes: double-quote
16499 # substitution turns \\\\ into \\, and sed turns \\ into \.
16500 sed -n \
16501 "s/'/'\\\\''/g;
16502 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16503 ;; #(
16505 # `set' quotes correctly as required by POSIX, so do not add quotes.
16506 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16508 esac |
16509 sort
16511 sed '
16512 /^ac_cv_env_/b end
16513 t clear
16514 :clear
16515 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16516 t end
16517 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16518 :end' >>confcache
16519 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16520 if test -w "$cache_file"; then
16521 if test "x$cache_file" != "x/dev/null"; then
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16523 $as_echo "$as_me: updating cache $cache_file" >&6;}
16524 if test ! -f "$cache_file" || test -h "$cache_file"; then
16525 cat confcache >"$cache_file"
16526 else
16527 case $cache_file in #(
16528 */* | ?:*)
16529 mv -f confcache "$cache_file"$$ &&
16530 mv -f "$cache_file"$$ "$cache_file" ;; #(
16532 mv -f confcache "$cache_file" ;;
16533 esac
16536 else
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16538 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16541 rm -f confcache
16543 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16544 # Let make expand exec_prefix.
16545 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16547 DEFS=-DHAVE_CONFIG_H
16549 ac_libobjs=
16550 ac_ltlibobjs=
16552 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16553 # 1. Remove the extension, and $U if already installed.
16554 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16555 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16556 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16557 # will be set to the directory where LIBOBJS objects are built.
16558 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16559 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16560 done
16561 LIBOBJS=$ac_libobjs
16563 LTLIBOBJS=$ac_ltlibobjs
16567 : "${CONFIG_STATUS=./config.status}"
16568 ac_write_fail=0
16569 ac_clean_files_save=$ac_clean_files
16570 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16572 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16573 as_write_fail=0
16574 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16575 #! $SHELL
16576 # Generated by $as_me.
16577 # Run this file to recreate the current configuration.
16578 # Compiler output produced by configure, useful for debugging
16579 # configure, is in config.log if it exists.
16581 debug=false
16582 ac_cs_recheck=false
16583 ac_cs_silent=false
16585 SHELL=\${CONFIG_SHELL-$SHELL}
16586 export SHELL
16587 _ASEOF
16588 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16589 ## -------------------- ##
16590 ## M4sh Initialization. ##
16591 ## -------------------- ##
16593 # Be more Bourne compatible
16594 DUALCASE=1; export DUALCASE # for MKS sh
16595 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16596 emulate sh
16597 NULLCMD=:
16598 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16599 # is contrary to our usage. Disable this feature.
16600 alias -g '${1+"$@"}'='"$@"'
16601 setopt NO_GLOB_SUBST
16602 else
16603 case `(set -o) 2>/dev/null` in #(
16604 *posix*) :
16605 set -o posix ;; #(
16606 *) :
16608 esac
16612 as_nl='
16614 export as_nl
16615 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16616 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16617 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16618 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16619 # Prefer a ksh shell builtin over an external printf program on Solaris,
16620 # but without wasting forks for bash or zsh.
16621 if test -z "$BASH_VERSION$ZSH_VERSION" \
16622 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16623 as_echo='print -r --'
16624 as_echo_n='print -rn --'
16625 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16626 as_echo='printf %s\n'
16627 as_echo_n='printf %s'
16628 else
16629 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16630 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16631 as_echo_n='/usr/ucb/echo -n'
16632 else
16633 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16634 as_echo_n_body='eval
16635 arg=$1;
16636 case $arg in #(
16637 *"$as_nl"*)
16638 expr "X$arg" : "X\\(.*\\)$as_nl";
16639 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16640 esac;
16641 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16643 export as_echo_n_body
16644 as_echo_n='sh -c $as_echo_n_body as_echo'
16646 export as_echo_body
16647 as_echo='sh -c $as_echo_body as_echo'
16650 # The user is always right.
16651 if test "${PATH_SEPARATOR+set}" != set; then
16652 PATH_SEPARATOR=:
16653 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16654 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16655 PATH_SEPARATOR=';'
16660 # IFS
16661 # We need space, tab and new line, in precisely that order. Quoting is
16662 # there to prevent editors from complaining about space-tab.
16663 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16664 # splitting by setting IFS to empty value.)
16665 IFS=" "" $as_nl"
16667 # Find who we are. Look in the path if we contain no directory separator.
16668 as_myself=
16669 case $0 in #((
16670 *[\\/]* ) as_myself=$0 ;;
16671 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16672 for as_dir in $PATH
16674 IFS=$as_save_IFS
16675 test -z "$as_dir" && as_dir=.
16676 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16677 done
16678 IFS=$as_save_IFS
16681 esac
16682 # We did not find ourselves, most probably we were run as `sh COMMAND'
16683 # in which case we are not to be found in the path.
16684 if test "x$as_myself" = x; then
16685 as_myself=$0
16687 if test ! -f "$as_myself"; then
16688 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16689 exit 1
16692 # Unset variables that we do not need and which cause bugs (e.g. in
16693 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16694 # suppresses any "Segmentation fault" message there. '((' could
16695 # trigger a bug in pdksh 5.2.14.
16696 for as_var in BASH_ENV ENV MAIL MAILPATH
16697 do eval test x\${$as_var+set} = xset \
16698 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16699 done
16700 PS1='$ '
16701 PS2='> '
16702 PS4='+ '
16704 # NLS nuisances.
16705 LC_ALL=C
16706 export LC_ALL
16707 LANGUAGE=C
16708 export LANGUAGE
16710 # CDPATH.
16711 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16714 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16715 # ----------------------------------------
16716 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16717 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16718 # script with STATUS, using 1 if that was 0.
16719 as_fn_error ()
16721 as_status=$1; test $as_status -eq 0 && as_status=1
16722 if test "$4"; then
16723 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16724 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16726 $as_echo "$as_me: error: $2" >&2
16727 as_fn_exit $as_status
16728 } # as_fn_error
16731 # as_fn_set_status STATUS
16732 # -----------------------
16733 # Set $? to STATUS, without forking.
16734 as_fn_set_status ()
16736 return $1
16737 } # as_fn_set_status
16739 # as_fn_exit STATUS
16740 # -----------------
16741 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16742 as_fn_exit ()
16744 set +e
16745 as_fn_set_status $1
16746 exit $1
16747 } # as_fn_exit
16749 # as_fn_unset VAR
16750 # ---------------
16751 # Portably unset VAR.
16752 as_fn_unset ()
16754 { eval $1=; unset $1;}
16756 as_unset=as_fn_unset
16757 # as_fn_append VAR VALUE
16758 # ----------------------
16759 # Append the text in VALUE to the end of the definition contained in VAR. Take
16760 # advantage of any shell optimizations that allow amortized linear growth over
16761 # repeated appends, instead of the typical quadratic growth present in naive
16762 # implementations.
16763 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16764 eval 'as_fn_append ()
16766 eval $1+=\$2
16768 else
16769 as_fn_append ()
16771 eval $1=\$$1\$2
16773 fi # as_fn_append
16775 # as_fn_arith ARG...
16776 # ------------------
16777 # Perform arithmetic evaluation on the ARGs, and store the result in the
16778 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16779 # must be portable across $(()) and expr.
16780 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16781 eval 'as_fn_arith ()
16783 as_val=$(( $* ))
16785 else
16786 as_fn_arith ()
16788 as_val=`expr "$@" || test $? -eq 1`
16790 fi # as_fn_arith
16793 if expr a : '\(a\)' >/dev/null 2>&1 &&
16794 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16795 as_expr=expr
16796 else
16797 as_expr=false
16800 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16801 as_basename=basename
16802 else
16803 as_basename=false
16806 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16807 as_dirname=dirname
16808 else
16809 as_dirname=false
16812 as_me=`$as_basename -- "$0" ||
16813 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16814 X"$0" : 'X\(//\)$' \| \
16815 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16816 $as_echo X/"$0" |
16817 sed '/^.*\/\([^/][^/]*\)\/*$/{
16818 s//\1/
16821 /^X\/\(\/\/\)$/{
16822 s//\1/
16825 /^X\/\(\/\).*/{
16826 s//\1/
16829 s/.*/./; q'`
16831 # Avoid depending upon Character Ranges.
16832 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16833 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16834 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16835 as_cr_digits='0123456789'
16836 as_cr_alnum=$as_cr_Letters$as_cr_digits
16838 ECHO_C= ECHO_N= ECHO_T=
16839 case `echo -n x` in #(((((
16840 -n*)
16841 case `echo 'xy\c'` in
16842 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16843 xy) ECHO_C='\c';;
16844 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16845 ECHO_T=' ';;
16846 esac;;
16848 ECHO_N='-n';;
16849 esac
16851 rm -f conf$$ conf$$.exe conf$$.file
16852 if test -d conf$$.dir; then
16853 rm -f conf$$.dir/conf$$.file
16854 else
16855 rm -f conf$$.dir
16856 mkdir conf$$.dir 2>/dev/null
16858 if (echo >conf$$.file) 2>/dev/null; then
16859 if ln -s conf$$.file conf$$ 2>/dev/null; then
16860 as_ln_s='ln -s'
16861 # ... but there are two gotchas:
16862 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16863 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16864 # In both cases, we have to default to `cp -pR'.
16865 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16866 as_ln_s='cp -pR'
16867 elif ln conf$$.file conf$$ 2>/dev/null; then
16868 as_ln_s=ln
16869 else
16870 as_ln_s='cp -pR'
16872 else
16873 as_ln_s='cp -pR'
16875 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16876 rmdir conf$$.dir 2>/dev/null
16879 # as_fn_mkdir_p
16880 # -------------
16881 # Create "$as_dir" as a directory, including parents if necessary.
16882 as_fn_mkdir_p ()
16885 case $as_dir in #(
16886 -*) as_dir=./$as_dir;;
16887 esac
16888 test -d "$as_dir" || eval $as_mkdir_p || {
16889 as_dirs=
16890 while :; do
16891 case $as_dir in #(
16892 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16893 *) as_qdir=$as_dir;;
16894 esac
16895 as_dirs="'$as_qdir' $as_dirs"
16896 as_dir=`$as_dirname -- "$as_dir" ||
16897 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16898 X"$as_dir" : 'X\(//\)[^/]' \| \
16899 X"$as_dir" : 'X\(//\)$' \| \
16900 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16901 $as_echo X"$as_dir" |
16902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16903 s//\1/
16906 /^X\(\/\/\)[^/].*/{
16907 s//\1/
16910 /^X\(\/\/\)$/{
16911 s//\1/
16914 /^X\(\/\).*/{
16915 s//\1/
16918 s/.*/./; q'`
16919 test -d "$as_dir" && break
16920 done
16921 test -z "$as_dirs" || eval "mkdir $as_dirs"
16922 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16925 } # as_fn_mkdir_p
16926 if mkdir -p . 2>/dev/null; then
16927 as_mkdir_p='mkdir -p "$as_dir"'
16928 else
16929 test -d ./-p && rmdir ./-p
16930 as_mkdir_p=false
16934 # as_fn_executable_p FILE
16935 # -----------------------
16936 # Test if FILE is an executable regular file.
16937 as_fn_executable_p ()
16939 test -f "$1" && test -x "$1"
16940 } # as_fn_executable_p
16941 as_test_x='test -x'
16942 as_executable_p=as_fn_executable_p
16944 # Sed expression to map a string onto a valid CPP name.
16945 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16947 # Sed expression to map a string onto a valid variable name.
16948 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16951 exec 6>&1
16952 ## ----------------------------------- ##
16953 ## Main body of $CONFIG_STATUS script. ##
16954 ## ----------------------------------- ##
16955 _ASEOF
16956 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16959 # Save the log message, to keep $0 and so on meaningful, and to
16960 # report actual input values of CONFIG_FILES etc. instead of their
16961 # values after options handling.
16962 ac_log="
16963 This file was extended by Wine $as_me 1.5.25, which was
16964 generated by GNU Autoconf 2.69. Invocation command line was
16966 CONFIG_FILES = $CONFIG_FILES
16967 CONFIG_HEADERS = $CONFIG_HEADERS
16968 CONFIG_LINKS = $CONFIG_LINKS
16969 CONFIG_COMMANDS = $CONFIG_COMMANDS
16970 $ $0 $@
16972 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16975 _ACEOF
16977 case $ac_config_files in *"
16978 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16979 esac
16981 case $ac_config_headers in *"
16982 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16983 esac
16986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16987 # Files that config.status was made for.
16988 config_files="$ac_config_files"
16989 config_headers="$ac_config_headers"
16990 config_links="$ac_config_links"
16991 config_commands="$ac_config_commands"
16993 _ACEOF
16995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16996 ac_cs_usage="\
16997 \`$as_me' instantiates files and other configuration actions
16998 from templates according to the current configuration. Unless the files
16999 and actions are specified as TAGs, all are instantiated by default.
17001 Usage: $0 [OPTION]... [TAG]...
17003 -h, --help print this help, then exit
17004 -V, --version print version number and configuration settings, then exit
17005 --config print configuration, then exit
17006 -q, --quiet, --silent
17007 do not print progress messages
17008 -d, --debug don't remove temporary files
17009 --recheck update $as_me by reconfiguring in the same conditions
17010 --file=FILE[:TEMPLATE]
17011 instantiate the configuration file FILE
17012 --header=FILE[:TEMPLATE]
17013 instantiate the configuration header FILE
17015 Configuration files:
17016 $config_files
17018 Configuration headers:
17019 $config_headers
17021 Configuration links:
17022 $config_links
17024 Configuration commands:
17025 $config_commands
17027 Report bugs to <wine-devel@winehq.org>.
17028 Wine home page: <http://www.winehq.org>."
17030 _ACEOF
17031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17032 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17033 ac_cs_version="\\
17034 Wine config.status 1.5.25
17035 configured by $0, generated by GNU Autoconf 2.69,
17036 with options \\"\$ac_cs_config\\"
17038 Copyright (C) 2012 Free Software Foundation, Inc.
17039 This config.status script is free software; the Free Software Foundation
17040 gives unlimited permission to copy, distribute and modify it."
17042 ac_pwd='$ac_pwd'
17043 srcdir='$srcdir'
17044 INSTALL='$INSTALL'
17045 test -n "\$AWK" || AWK=awk
17046 _ACEOF
17048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17049 # The default lists apply if the user does not specify any file.
17050 ac_need_defaults=:
17051 while test $# != 0
17053 case $1 in
17054 --*=?*)
17055 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17056 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17057 ac_shift=:
17059 --*=)
17060 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17061 ac_optarg=
17062 ac_shift=:
17065 ac_option=$1
17066 ac_optarg=$2
17067 ac_shift=shift
17069 esac
17071 case $ac_option in
17072 # Handling of the options.
17073 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17074 ac_cs_recheck=: ;;
17075 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17076 $as_echo "$ac_cs_version"; exit ;;
17077 --config | --confi | --conf | --con | --co | --c )
17078 $as_echo "$ac_cs_config"; exit ;;
17079 --debug | --debu | --deb | --de | --d | -d )
17080 debug=: ;;
17081 --file | --fil | --fi | --f )
17082 $ac_shift
17083 case $ac_optarg in
17084 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17085 '') as_fn_error $? "missing file argument" ;;
17086 esac
17087 as_fn_append CONFIG_FILES " '$ac_optarg'"
17088 ac_need_defaults=false;;
17089 --header | --heade | --head | --hea )
17090 $ac_shift
17091 case $ac_optarg in
17092 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17093 esac
17094 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17095 ac_need_defaults=false;;
17096 --he | --h)
17097 # Conflict between --help and --header
17098 as_fn_error $? "ambiguous option: \`$1'
17099 Try \`$0 --help' for more information.";;
17100 --help | --hel | -h )
17101 $as_echo "$ac_cs_usage"; exit ;;
17102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17103 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17104 ac_cs_silent=: ;;
17106 # This is an error.
17107 -*) as_fn_error $? "unrecognized option: \`$1'
17108 Try \`$0 --help' for more information." ;;
17110 *) as_fn_append ac_config_targets " $1"
17111 ac_need_defaults=false ;;
17113 esac
17114 shift
17115 done
17117 ac_configure_extra_args=
17119 if $ac_cs_silent; then
17120 exec 6>/dev/null
17121 ac_configure_extra_args="$ac_configure_extra_args --silent"
17124 _ACEOF
17125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17126 if \$ac_cs_recheck; then
17127 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17128 shift
17129 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17130 CONFIG_SHELL='$SHELL'
17131 export CONFIG_SHELL
17132 exec "\$@"
17135 _ACEOF
17136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17137 exec 5>>config.log
17139 echo
17140 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17141 ## Running $as_me. ##
17142 _ASBOX
17143 $as_echo "$ac_log"
17144 } >&5
17146 _ACEOF
17147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17149 # INIT-COMMANDS
17151 wine_fn_output_makefile ()
17153 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17154 $ALL_MAKEFILE_DEPENDS
17155 _WINE_EOF
17156 as_fn_error $? "could not create Makefile" "$LINENO" 5
17159 _ACEOF
17161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17163 # Handling of arguments.
17164 for ac_config_target in $ac_config_targets
17166 case $ac_config_target in
17167 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
17168 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
17169 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17170 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17171 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17172 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17173 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17174 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17175 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17176 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17177 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
17178 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17179 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17180 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17181 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17182 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17183 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
17184 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17185 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
17186 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
17187 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
17188 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
17189 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17190 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
17191 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
17192 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17194 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17195 esac
17196 done
17199 # If the user did not use the arguments to specify the items to instantiate,
17200 # then the envvar interface is used. Set only those that are not.
17201 # We use the long form for the default assignment because of an extremely
17202 # bizarre bug on SunOS 4.1.3.
17203 if $ac_need_defaults; then
17204 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17205 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17206 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
17207 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17210 # Have a temporary directory for convenience. Make it in the build tree
17211 # simply because there is no reason against having it here, and in addition,
17212 # creating and moving files from /tmp can sometimes cause problems.
17213 # Hook for its removal unless debugging.
17214 # Note that there is a small window in which the directory will not be cleaned:
17215 # after its creation but before its name has been assigned to `$tmp'.
17216 $debug ||
17218 tmp= ac_tmp=
17219 trap 'exit_status=$?
17220 : "${ac_tmp:=$tmp}"
17221 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17223 trap 'as_fn_exit 1' 1 2 13 15
17225 # Create a (secure) tmp directory for tmp files.
17228 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17229 test -d "$tmp"
17230 } ||
17232 tmp=./conf$$-$RANDOM
17233 (umask 077 && mkdir "$tmp")
17234 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17235 ac_tmp=$tmp
17237 # Set up the scripts for CONFIG_FILES section.
17238 # No need to generate them if there are no CONFIG_FILES.
17239 # This happens for instance with `./config.status config.h'.
17240 if test -n "$CONFIG_FILES"; then
17242 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
17243 ac_cs_awk_getline=:
17244 ac_cs_awk_pipe_init=
17245 ac_cs_awk_read_file='
17246 while ((getline aline < (F[key])) > 0)
17247 print(aline)
17248 close(F[key])'
17249 ac_cs_awk_pipe_fini=
17250 else
17251 ac_cs_awk_getline=false
17252 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
17253 ac_cs_awk_read_file='
17254 print "|#_!!_#|"
17255 print "cat " F[key] " &&"
17256 '$ac_cs_awk_pipe_init
17257 # The final `:' finishes the AND list.
17258 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
17260 ac_cr=`echo X | tr X '\015'`
17261 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17262 # But we know of no other shell where ac_cr would be empty at this
17263 # point, so we can use a bashism as a fallback.
17264 if test "x$ac_cr" = x; then
17265 eval ac_cr=\$\'\\r\'
17267 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17268 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17269 ac_cs_awk_cr='\\r'
17270 else
17271 ac_cs_awk_cr=$ac_cr
17274 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17275 _ACEOF
17277 # Create commands to substitute file output variables.
17279 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17280 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17281 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
17282 echo "_ACAWK" &&
17283 echo "_ACEOF"
17284 } >conf$$files.sh &&
17285 . ./conf$$files.sh ||
17286 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17287 rm -f conf$$files.sh
17290 echo "cat >conf$$subs.awk <<_ACEOF" &&
17291 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17292 echo "_ACEOF"
17293 } >conf$$subs.sh ||
17294 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17295 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17296 ac_delim='%!_!# '
17297 for ac_last_try in false false false false false :; do
17298 . ./conf$$subs.sh ||
17299 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17301 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17302 if test $ac_delim_n = $ac_delim_num; then
17303 break
17304 elif $ac_last_try; then
17305 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17306 else
17307 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17309 done
17310 rm -f conf$$subs.sh
17312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17313 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17314 _ACEOF
17315 sed -n '
17317 s/^/S["/; s/!.*/"]=/
17320 s/^[^!]*!//
17321 :repl
17322 t repl
17323 s/'"$ac_delim"'$//
17324 t delim
17327 s/\(.\{148\}\)..*/\1/
17328 t more1
17329 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17332 b repl
17333 :more1
17334 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17337 s/.\{148\}//
17338 t nl
17339 :delim
17341 s/\(.\{148\}\)..*/\1/
17342 t more2
17343 s/["\\]/\\&/g; s/^/"/; s/$/"/
17346 :more2
17347 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17350 s/.\{148\}//
17351 t delim
17352 ' <conf$$subs.awk | sed '
17353 /^[^""]/{
17355 s/\n//
17357 ' >>$CONFIG_STATUS || ac_write_fail=1
17358 rm -f conf$$subs.awk
17359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17360 _ACAWK
17361 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17362 for (key in S) S_is_set[key] = 1
17363 FS = "\a"
17364 \$ac_cs_awk_pipe_init
17367 line = $ 0
17368 nfields = split(line, field, "@")
17369 substed = 0
17370 len = length(field[1])
17371 for (i = 2; i < nfields; i++) {
17372 key = field[i]
17373 keylen = length(key)
17374 if (S_is_set[key]) {
17375 value = S[key]
17376 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17377 len += length(value) + length(field[++i])
17378 substed = 1
17379 } else
17380 len += 1 + keylen
17382 if (nfields == 3 && !substed) {
17383 key = field[2]
17384 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17385 \$ac_cs_awk_read_file
17386 next
17389 print line
17391 \$ac_cs_awk_pipe_fini
17392 _ACAWK
17393 _ACEOF
17394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17395 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17396 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17397 else
17399 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17400 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17401 _ACEOF
17403 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17404 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17405 # trailing colons and then remove the whole line if VPATH becomes empty
17406 # (actually we leave an empty line to preserve line numbers).
17407 if test "x$srcdir" = x.; then
17408 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17410 s///
17411 s/^/:/
17412 s/[ ]*$/:/
17413 s/:\$(srcdir):/:/g
17414 s/:\${srcdir}:/:/g
17415 s/:@srcdir@:/:/g
17416 s/^:*//
17417 s/:*$//
17419 s/\(=[ ]*\).*/\1/
17421 s/\n//
17422 s/^[^=]*=[ ]*$//
17426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17427 fi # test -n "$CONFIG_FILES"
17429 # Set up the scripts for CONFIG_HEADERS section.
17430 # No need to generate them if there are no CONFIG_HEADERS.
17431 # This happens for instance with `./config.status Makefile'.
17432 if test -n "$CONFIG_HEADERS"; then
17433 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17434 BEGIN {
17435 _ACEOF
17437 # Transform confdefs.h into an awk script `defines.awk', embedded as
17438 # here-document in config.status, that substitutes the proper values into
17439 # config.h.in to produce config.h.
17441 # Create a delimiter string that does not exist in confdefs.h, to ease
17442 # handling of long lines.
17443 ac_delim='%!_!# '
17444 for ac_last_try in false false :; do
17445 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17446 if test -z "$ac_tt"; then
17447 break
17448 elif $ac_last_try; then
17449 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17450 else
17451 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17453 done
17455 # For the awk script, D is an array of macro values keyed by name,
17456 # likewise P contains macro parameters if any. Preserve backslash
17457 # newline sequences.
17459 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17460 sed -n '
17461 s/.\{148\}/&'"$ac_delim"'/g
17462 t rset
17463 :rset
17464 s/^[ ]*#[ ]*define[ ][ ]*/ /
17465 t def
17467 :def
17468 s/\\$//
17469 t bsnl
17470 s/["\\]/\\&/g
17471 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17472 D["\1"]=" \3"/p
17473 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17475 :bsnl
17476 s/["\\]/\\&/g
17477 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17478 D["\1"]=" \3\\\\\\n"\\/p
17479 t cont
17480 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17481 t cont
17483 :cont
17485 s/.\{148\}/&'"$ac_delim"'/g
17486 t clear
17487 :clear
17488 s/\\$//
17489 t bsnlc
17490 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17492 :bsnlc
17493 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17494 b cont
17495 ' <confdefs.h | sed '
17496 s/'"$ac_delim"'/"\\\
17497 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17500 for (key in D) D_is_set[key] = 1
17501 FS = "\a"
17503 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17504 line = \$ 0
17505 split(line, arg, " ")
17506 if (arg[1] == "#") {
17507 defundef = arg[2]
17508 mac1 = arg[3]
17509 } else {
17510 defundef = substr(arg[1], 2)
17511 mac1 = arg[2]
17513 split(mac1, mac2, "(") #)
17514 macro = mac2[1]
17515 prefix = substr(line, 1, index(line, defundef) - 1)
17516 if (D_is_set[macro]) {
17517 # Preserve the white space surrounding the "#".
17518 print prefix "define", macro P[macro] D[macro]
17519 next
17520 } else {
17521 # Replace #undef with comments. This is necessary, for example,
17522 # in the case of _POSIX_SOURCE, which is predefined and required
17523 # on some systems where configure will not decide to define it.
17524 if (defundef == "undef") {
17525 print "/*", prefix defundef, macro, "*/"
17526 next
17530 { print }
17531 _ACAWK
17532 _ACEOF
17533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17534 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17535 fi # test -n "$CONFIG_HEADERS"
17538 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17539 shift
17540 for ac_tag
17542 case $ac_tag in
17543 :[FHLC]) ac_mode=$ac_tag; continue;;
17544 esac
17545 case $ac_mode$ac_tag in
17546 :[FHL]*:*);;
17547 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17548 :[FH]-) ac_tag=-:-;;
17549 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17550 esac
17551 ac_save_IFS=$IFS
17552 IFS=:
17553 set x $ac_tag
17554 IFS=$ac_save_IFS
17555 shift
17556 ac_file=$1
17557 shift
17559 case $ac_mode in
17560 :L) ac_source=$1;;
17561 :[FH])
17562 ac_file_inputs=
17563 for ac_f
17565 case $ac_f in
17566 -) ac_f="$ac_tmp/stdin";;
17567 *) # Look for the file first in the build tree, then in the source tree
17568 # (if the path is not absolute). The absolute path cannot be DOS-style,
17569 # because $ac_f cannot contain `:'.
17570 test -f "$ac_f" ||
17571 case $ac_f in
17572 [\\/$]*) false;;
17573 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17574 esac ||
17575 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17576 esac
17577 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17578 as_fn_append ac_file_inputs " '$ac_f'"
17579 done
17581 # Let's still pretend it is `configure' which instantiates (i.e., don't
17582 # use $as_me), people would be surprised to read:
17583 # /* config.h. Generated by config.status. */
17584 configure_input='Generated from '`
17585 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17586 `' by configure.'
17587 if test x"$ac_file" != x-; then
17588 configure_input="$ac_file. $configure_input"
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17590 $as_echo "$as_me: creating $ac_file" >&6;}
17592 # Neutralize special characters interpreted by sed in replacement strings.
17593 case $configure_input in #(
17594 *\&* | *\|* | *\\* )
17595 ac_sed_conf_input=`$as_echo "$configure_input" |
17596 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17597 *) ac_sed_conf_input=$configure_input;;
17598 esac
17600 case $ac_tag in
17601 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17602 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17603 esac
17605 esac
17607 ac_dir=`$as_dirname -- "$ac_file" ||
17608 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17609 X"$ac_file" : 'X\(//\)[^/]' \| \
17610 X"$ac_file" : 'X\(//\)$' \| \
17611 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17612 $as_echo X"$ac_file" |
17613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17614 s//\1/
17617 /^X\(\/\/\)[^/].*/{
17618 s//\1/
17621 /^X\(\/\/\)$/{
17622 s//\1/
17625 /^X\(\/\).*/{
17626 s//\1/
17629 s/.*/./; q'`
17630 as_dir="$ac_dir"; as_fn_mkdir_p
17631 ac_builddir=.
17633 case "$ac_dir" in
17634 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17636 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17637 # A ".." for each directory in $ac_dir_suffix.
17638 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17639 case $ac_top_builddir_sub in
17640 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17641 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17642 esac ;;
17643 esac
17644 ac_abs_top_builddir=$ac_pwd
17645 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17646 # for backward compatibility:
17647 ac_top_builddir=$ac_top_build_prefix
17649 case $srcdir in
17650 .) # We are building in place.
17651 ac_srcdir=.
17652 ac_top_srcdir=$ac_top_builddir_sub
17653 ac_abs_top_srcdir=$ac_pwd ;;
17654 [\\/]* | ?:[\\/]* ) # Absolute name.
17655 ac_srcdir=$srcdir$ac_dir_suffix;
17656 ac_top_srcdir=$srcdir
17657 ac_abs_top_srcdir=$srcdir ;;
17658 *) # Relative name.
17659 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17660 ac_top_srcdir=$ac_top_build_prefix$srcdir
17661 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17662 esac
17663 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17666 case $ac_mode in
17669 # CONFIG_FILE
17672 case $INSTALL in
17673 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17674 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17675 esac
17676 _ACEOF
17678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17679 # If the template does not know about datarootdir, expand it.
17680 # FIXME: This hack should be removed a few years after 2.60.
17681 ac_datarootdir_hack=; ac_datarootdir_seen=
17682 ac_sed_dataroot='
17683 /datarootdir/ {
17687 /@datadir@/p
17688 /@docdir@/p
17689 /@infodir@/p
17690 /@localedir@/p
17691 /@mandir@/p'
17692 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17693 *datarootdir*) ac_datarootdir_seen=yes;;
17694 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17696 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17697 _ACEOF
17698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17699 ac_datarootdir_hack='
17700 s&@datadir@&$datadir&g
17701 s&@docdir@&$docdir&g
17702 s&@infodir@&$infodir&g
17703 s&@localedir@&$localedir&g
17704 s&@mandir@&$mandir&g
17705 s&\\\${datarootdir}&$datarootdir&g' ;;
17706 esac
17707 _ACEOF
17709 # Neutralize VPATH when `$srcdir' = `.'.
17710 # Shell code in configure.ac might set extrasub.
17711 # FIXME: do we really want to maintain this feature?
17712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17713 ac_sed_extra="$ac_vpsub
17714 $extrasub
17715 _ACEOF
17716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17718 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17719 s|@configure_input@|$ac_sed_conf_input|;t t
17720 s&@top_builddir@&$ac_top_builddir_sub&;t t
17721 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17722 s&@srcdir@&$ac_srcdir&;t t
17723 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17724 s&@top_srcdir@&$ac_top_srcdir&;t t
17725 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17726 s&@builddir@&$ac_builddir&;t t
17727 s&@abs_builddir@&$ac_abs_builddir&;t t
17728 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17729 s&@INSTALL@&$ac_INSTALL&;t t
17730 $ac_datarootdir_hack
17732 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17733 if $ac_cs_awk_getline; then
17734 $AWK -f "$ac_tmp/subs.awk"
17735 else
17736 $AWK -f "$ac_tmp/subs.awk" | $SHELL
17737 fi \
17738 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17740 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17741 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17742 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17743 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17745 which seems to be undefined. Please make sure it is defined" >&5
17746 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17747 which seems to be undefined. Please make sure it is defined" >&2;}
17749 rm -f "$ac_tmp/stdin"
17750 case $ac_file in
17751 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17752 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17753 esac \
17754 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17758 # CONFIG_HEADER
17760 if test x"$ac_file" != x-; then
17762 $as_echo "/* $configure_input */" \
17763 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17764 } >"$ac_tmp/config.h" \
17765 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17766 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17768 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17769 else
17770 rm -f "$ac_file"
17771 mv "$ac_tmp/config.h" "$ac_file" \
17772 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17774 else
17775 $as_echo "/* $configure_input */" \
17776 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17777 || as_fn_error $? "could not create -" "$LINENO" 5
17782 # CONFIG_LINK
17785 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
17787 else
17788 # Prefer the file from the source tree if names are identical.
17789 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17790 ac_source=$srcdir/$ac_source
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17794 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17796 if test ! -r "$ac_source"; then
17797 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17799 rm -f "$ac_file"
17801 # Try a relative symlink, then a hard link, then a copy.
17802 case $ac_source in
17803 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17804 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17805 esac
17806 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17807 ln "$ac_source" "$ac_file" 2>/dev/null ||
17808 cp -p "$ac_source" "$ac_file" ||
17809 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17812 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17813 $as_echo "$as_me: executing $ac_file commands" >&6;}
17815 esac
17818 case $ac_file$ac_mode in
17819 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17820 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17821 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17822 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17823 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17824 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17825 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17826 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17827 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17828 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17829 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17830 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17831 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17832 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17833 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17834 "Makefile":C) wine_fn_output_makefile Makefile ;;
17836 esac
17837 done # for ac_tag
17840 as_fn_exit 0
17841 _ACEOF
17842 ac_clean_files=$ac_clean_files_save
17844 test $ac_write_fail = 0 ||
17845 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17848 # configure is writing to config.log, and then calls config.status.
17849 # config.status does its own redirection, appending to config.log.
17850 # Unfortunately, on DOS this fails, as config.log is still kept open
17851 # by configure, so config.status won't be able to write to it; its
17852 # output is simply discarded. So we exec the FD to /dev/null,
17853 # effectively closing config.log, so it can be properly (re)opened and
17854 # appended to by config.status. When coming back to configure, we
17855 # need to make the FD available again.
17856 if test "$no_create" != yes; then
17857 ac_cs_success=:
17858 ac_config_status_args=
17859 test "$silent" = yes &&
17860 ac_config_status_args="$ac_config_status_args --quiet"
17861 exec 5>/dev/null
17862 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17863 exec 5>>config.log
17864 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17865 # would make configure fail if this is the last instruction.
17866 $ac_cs_success || as_fn_exit 1
17868 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17870 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17874 if test "$no_create" = "yes"
17875 then
17876 exit 0
17879 ac_save_IFS="$IFS"
17880 if test "x$wine_notices != "x; then
17881 echo >&6
17882 IFS="|"
17883 for msg in $wine_notices; do
17884 IFS="$ac_save_IFS"
17885 if test -n "$msg"; then
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17887 $as_echo "$as_me: $msg" >&6;}
17889 done
17891 IFS="|"
17892 for msg in $wine_warnings; do
17893 IFS="$ac_save_IFS"
17894 if test -n "$msg"; then
17895 echo >&2
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17897 $as_echo "$as_me: WARNING: $msg" >&2;}
17899 done
17900 IFS="$ac_save_IFS"
17902 echo "
17903 $as_me: Finished. Do '${ac_make}' to compile Wine.
17904 " >&6