msvcrt: Use BOOL type where appropriate.
[wine.git] / configure
blobd128e78ee30d8e84a263a37c6341c81ea0486750
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.3.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.3'
584 PACKAGE_STRING='Wine 1.7.3'
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 MAKE_TEST_RULES
631 MAKE_PROG_RULES
632 MAKE_DLL_RULES
633 MAKE_IMPLIB_RULES
634 LDAPLIBS
635 LIBRT
636 LIBPOLL
637 LIBDL
638 TOOLSEXT
639 UNWINDFLAGS
640 BUILTINFLAG
641 EXTRACFLAGS
642 LIBPROCSTAT
643 LIBKSTAT
644 LIBOPENAL
645 MPG123_LIBS
646 MPG123_CFLAGS
647 TIFF_LIBS
648 TIFF_CFLAGS
649 PNG_LIBS
650 PNG_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 FONTCONFIGINCL
654 CUPSINCL
655 CAPI20_LIBS
656 CAPI20_CFLAGS
657 OSS4INCL
658 ALSALIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 LIBGETTEXTPO
662 ZLIB
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLVLIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 X_EXTRA_LIBS
685 X_LIBS
686 X_PRE_LIBS
687 X_CFLAGS
688 XMKMF
689 LIBPTHREAD
690 CROSSCC
691 CROSSTARGET
692 PRELINK
693 CARBONLIB
694 QUICKTIMELIB
695 LIBOPENCL
696 FRAMEWORK_OPENAL
697 COREAUDIO
698 SECURITYLIB
699 DISKARBITRATIONLIB
700 APPKITLIB
701 CORESERVICESLIB
702 APPLICATIONSERVICESLIB
703 FORCEFEEDBACKLIB
704 IOKITLIB
705 COREFOUNDATIONLIB
706 LIBWINE_RULES
707 SOCKETLIBS
708 DLLTOOL
709 LOADER_RULES
710 READELF
712 LDRPATH_LOCAL
713 LDRPATH_INSTALL
714 IMPLIBEXT
715 DLLFLAGS
716 DLLPREFIX
717 dlldir
719 OPENGL_LIBS
720 XLIB
721 MAINTAINER_MODE
722 PKG_CONFIG
723 MSGFMT
724 ICOTOOL
725 CONVERT
726 RSVG
727 FONTFORGE
728 INSTALL_DATA
729 INSTALL_SCRIPT
730 INSTALL_PROGRAM
731 LDCONFIG
732 MKDIR_P
733 EGREP
734 GREP
735 LN_S
736 RANLIB
737 ARFLAGS
738 STRIP
739 ac_ct_AR
741 BISON
742 FLEX
743 TOOLSDIR
744 TARGETFLAGS
745 CPPBIN
746 ac_ct_CXX
747 CXXFLAGS
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
756 SET_MAKE
757 host_os
758 host_vendor
759 host_cpu
760 host
761 build_os
762 build_vendor
763 build_cpu
764 build
765 target_alias
766 host_alias
767 build_alias
768 LIBS
769 ECHO_T
770 ECHO_N
771 ECHO_C
772 DEFS
773 mandir
774 localedir
775 libdir
776 psdir
777 pdfdir
778 dvidir
779 htmldir
780 infodir
781 docdir
782 oldincludedir
783 includedir
784 localstatedir
785 sharedstatedir
786 sysconfdir
787 datadir
788 datarootdir
789 libexecdir
790 sbindir
791 bindir
792 program_transform_name
793 prefix
794 exec_prefix
795 PACKAGE_URL
796 PACKAGE_BUGREPORT
797 PACKAGE_STRING
798 PACKAGE_VERSION
799 PACKAGE_TARNAME
800 PACKAGE_NAME
801 PATH_SEPARATOR
802 SHELL'
803 ac_subst_files='MAKE_RULES'
804 ac_user_opts='
805 enable_option_checking
806 enable_win16
807 enable_win64
808 enable_tests
809 enable_maintainer_mode
810 with_alsa
811 with_capi
812 with_cms
813 with_coreaudio
814 with_cups
815 with_curses
816 with_dbus
817 with_fontconfig
818 with_freetype
819 with_gettext
820 with_gettextpo
821 with_gphoto
822 with_glu
823 with_gnutls
824 with_gsm
825 with_gstreamer
826 with_hal
827 with_jpeg
828 with_ldap
829 with_mpg123
830 with_openal
831 with_opencl
832 with_opengl
833 with_osmesa
834 with_oss
835 with_png
836 with_pthread
837 with_sane
838 with_tiff
839 with_v4l
840 with_xcomposite
841 with_xcursor
842 with_xinerama
843 with_xinput
844 with_xinput2
845 with_xml
846 with_xrandr
847 with_xrender
848 with_xshape
849 with_xshm
850 with_xslt
851 with_xxf86vm
852 with_zlib
853 with_wine_tools
854 with_wine64
855 enable_largefile
856 with_x
857 enable_acledit
858 enable_aclui
859 enable_activeds
860 enable_actxprxy
861 enable_advapi32
862 enable_advpack
863 enable_amstream
864 enable_api_ms_win_core_localregistry_l1_1_0
865 enable_api_ms_win_core_processthreads_l1_1_0
866 enable_api_ms_win_core_winrt_error_l1_1_0
867 enable_api_ms_win_core_winrt_string_l1_1_0
868 enable_api_ms_win_downlevel_advapi32_l1_1_0
869 enable_api_ms_win_downlevel_advapi32_l2_1_0
870 enable_api_ms_win_downlevel_normaliz_l1_1_0
871 enable_api_ms_win_downlevel_ole32_l1_1_0
872 enable_api_ms_win_downlevel_shell32_l1_1_0
873 enable_api_ms_win_downlevel_shlwapi_l1_1_0
874 enable_api_ms_win_downlevel_shlwapi_l2_1_0
875 enable_api_ms_win_downlevel_user32_l1_1_0
876 enable_api_ms_win_downlevel_version_l1_1_0
877 enable_api_ms_win_security_base_l1_1_0
878 enable_apphelp
879 enable_appwiz_cpl
880 enable_atl
881 enable_atl100
882 enable_atl110
883 enable_atl80
884 enable_authz
885 enable_avicap32
886 enable_avifil32
887 enable_avrt
888 enable_bcrypt
889 enable_browseui
890 enable_cabinet
891 enable_capi2032
892 enable_cards
893 enable_cfgmgr32
894 enable_clusapi
895 enable_comcat
896 enable_comctl32
897 enable_comdlg32
898 enable_compstui
899 enable_comsvcs
900 enable_credui
901 enable_crtdll
902 enable_crypt32
903 enable_cryptdlg
904 enable_cryptdll
905 enable_cryptnet
906 enable_cryptui
907 enable_ctapi32
908 enable_ctl3d32
909 enable_d3d10
910 enable_d3d10core
911 enable_d3d11
912 enable_d3d8
913 enable_d3d9
914 enable_d3dcompiler_33
915 enable_d3dcompiler_34
916 enable_d3dcompiler_35
917 enable_d3dcompiler_36
918 enable_d3dcompiler_37
919 enable_d3dcompiler_38
920 enable_d3dcompiler_39
921 enable_d3dcompiler_40
922 enable_d3dcompiler_41
923 enable_d3dcompiler_42
924 enable_d3dcompiler_43
925 enable_d3dim
926 enable_d3drm
927 enable_d3dx10_33
928 enable_d3dx10_34
929 enable_d3dx10_35
930 enable_d3dx10_36
931 enable_d3dx10_37
932 enable_d3dx10_38
933 enable_d3dx10_39
934 enable_d3dx10_40
935 enable_d3dx10_41
936 enable_d3dx10_42
937 enable_d3dx10_43
938 enable_d3dx11_42
939 enable_d3dx11_43
940 enable_d3dx9_24
941 enable_d3dx9_25
942 enable_d3dx9_26
943 enable_d3dx9_27
944 enable_d3dx9_28
945 enable_d3dx9_29
946 enable_d3dx9_30
947 enable_d3dx9_31
948 enable_d3dx9_32
949 enable_d3dx9_33
950 enable_d3dx9_34
951 enable_d3dx9_35
952 enable_d3dx9_36
953 enable_d3dx9_37
954 enable_d3dx9_38
955 enable_d3dx9_39
956 enable_d3dx9_40
957 enable_d3dx9_41
958 enable_d3dx9_42
959 enable_d3dx9_43
960 enable_d3dxof
961 enable_dbgeng
962 enable_dbghelp
963 enable_dciman32
964 enable_ddraw
965 enable_ddrawex
966 enable_devenum
967 enable_dhcpcsvc
968 enable_difxapi
969 enable_dinput
970 enable_dinput8
971 enable_dispex
972 enable_dmband
973 enable_dmcompos
974 enable_dmime
975 enable_dmloader
976 enable_dmscript
977 enable_dmstyle
978 enable_dmsynth
979 enable_dmusic
980 enable_dmusic32
981 enable_dnsapi
982 enable_dplay
983 enable_dplayx
984 enable_dpnaddr
985 enable_dpnet
986 enable_dpnhpast
987 enable_dpnlobby
988 enable_dpwsockx
989 enable_drmclien
990 enable_dsound
991 enable_dssenh
992 enable_dswave
993 enable_dwmapi
994 enable_dwrite
995 enable_dxdiagn
996 enable_dxgi
997 enable_explorerframe
998 enable_faultrep
999 enable_fltlib
1000 enable_fusion
1001 enable_fwpuclnt
1002 enable_gameux
1003 enable_gdi32
1004 enable_gdiplus
1005 enable_glu32
1006 enable_gphoto2_ds
1007 enable_gpkcsp
1008 enable_hal
1009 enable_hhctrl_ocx
1010 enable_hid
1011 enable_hlink
1012 enable_hnetcfg
1013 enable_httpapi
1014 enable_iccvid
1015 enable_icmp
1016 enable_ieframe
1017 enable_imaadp32_acm
1018 enable_imagehlp
1019 enable_imm32
1020 enable_inetcomm
1021 enable_inetcpl_cpl
1022 enable_inetmib1
1023 enable_infosoft
1024 enable_initpki
1025 enable_inkobj
1026 enable_inseng
1027 enable_iphlpapi
1028 enable_itircl
1029 enable_itss
1030 enable_joy_cpl
1031 enable_jscript
1032 enable_kernel32
1033 enable_ktmw32
1034 enable_loadperf
1035 enable_localspl
1036 enable_localui
1037 enable_lz32
1038 enable_mapi32
1039 enable_mapistub
1040 enable_mciavi32
1041 enable_mcicda
1042 enable_mciqtz32
1043 enable_mciseq
1044 enable_mciwave
1045 enable_mgmtapi
1046 enable_midimap
1047 enable_mlang
1048 enable_mmcndmgr
1049 enable_mmdevapi
1050 enable_mountmgr_sys
1051 enable_mpr
1052 enable_mprapi
1053 enable_msacm32_drv
1054 enable_msacm32
1055 enable_msadp32_acm
1056 enable_mscat32
1057 enable_mscms
1058 enable_mscoree
1059 enable_msctf
1060 enable_msdaps
1061 enable_msdmo
1062 enable_msftedit
1063 enable_msg711_acm
1064 enable_msgsm32_acm
1065 enable_mshtml_tlb
1066 enable_mshtml
1067 enable_msi
1068 enable_msident
1069 enable_msimg32
1070 enable_msimsg
1071 enable_msimtf
1072 enable_msisip
1073 enable_msisys_ocx
1074 enable_msls31
1075 enable_msnet32
1076 enable_mspatcha
1077 enable_msrle32
1078 enable_mssign32
1079 enable_mssip32
1080 enable_mstask
1081 enable_msvcirt
1082 enable_msvcm80
1083 enable_msvcm90
1084 enable_msvcp100
1085 enable_msvcp110
1086 enable_msvcp60
1087 enable_msvcp70
1088 enable_msvcp71
1089 enable_msvcp80
1090 enable_msvcp90
1091 enable_msvcr100
1092 enable_msvcr110
1093 enable_msvcr70
1094 enable_msvcr71
1095 enable_msvcr80
1096 enable_msvcr90
1097 enable_msvcrt
1098 enable_msvcrt20
1099 enable_msvcrt40
1100 enable_msvcrtd
1101 enable_msvfw32
1102 enable_msvidc32
1103 enable_mswsock
1104 enable_msxml
1105 enable_msxml2
1106 enable_msxml3
1107 enable_msxml4
1108 enable_msxml6
1109 enable_nddeapi
1110 enable_netapi32
1111 enable_netcfgx
1112 enable_newdev
1113 enable_normaliz
1114 enable_npmshtml
1115 enable_ntdll
1116 enable_ntdsapi
1117 enable_ntoskrnl_exe
1118 enable_ntprint
1119 enable_objsel
1120 enable_odbc32
1121 enable_odbccp32
1122 enable_odbccu32
1123 enable_ole32
1124 enable_oleacc
1125 enable_oleaut32
1126 enable_olecli32
1127 enable_oledb32
1128 enable_oledlg
1129 enable_olepro32
1130 enable_olesvr32
1131 enable_olethk32
1132 enable_openal32
1133 enable_opencl
1134 enable_opengl32
1135 enable_pdh
1136 enable_photometadatahandler
1137 enable_pidgen
1138 enable_powrprof
1139 enable_printui
1140 enable_propsys
1141 enable_psapi
1142 enable_pstorec
1143 enable_qcap
1144 enable_qedit
1145 enable_qmgr
1146 enable_qmgrprxy
1147 enable_quartz
1148 enable_query
1149 enable_rasapi32
1150 enable_rasdlg
1151 enable_regapi
1152 enable_resutils
1153 enable_riched20
1154 enable_riched32
1155 enable_rpcrt4
1156 enable_rsabase
1157 enable_rsaenh
1158 enable_rstrtmgr
1159 enable_rtutils
1160 enable_samlib
1161 enable_sane_ds
1162 enable_scarddlg
1163 enable_sccbase
1164 enable_schannel
1165 enable_scrrun
1166 enable_scsiport_sys
1167 enable_secur32
1168 enable_security
1169 enable_sensapi
1170 enable_serialui
1171 enable_setupapi
1172 enable_sfc
1173 enable_sfc_os
1174 enable_shdoclc
1175 enable_shdocvw
1176 enable_shell32
1177 enable_shfolder
1178 enable_shlwapi
1179 enable_slbcsp
1180 enable_slc
1181 enable_snmpapi
1182 enable_softpub
1183 enable_spoolss
1184 enable_stdole2_tlb
1185 enable_stdole32_tlb
1186 enable_sti
1187 enable_svrapi
1188 enable_sxs
1189 enable_t2embed
1190 enable_tapi32
1191 enable_traffic
1192 enable_twain_32
1193 enable_unicows
1194 enable_updspapi
1195 enable_url
1196 enable_urlmon
1197 enable_usbd_sys
1198 enable_user32
1199 enable_userenv
1200 enable_usp10
1201 enable_uxtheme
1202 enable_vbscript
1203 enable_vcomp
1204 enable_vcomp100
1205 enable_vcomp90
1206 enable_vdmdbg
1207 enable_version
1208 enable_wbemdisp
1209 enable_wbemprox
1210 enable_webservices
1211 enable_wer
1212 enable_wevtapi
1213 enable_wiaservc
1214 enable_windowscodecs
1215 enable_windowscodecsext
1216 enable_winealsa_drv
1217 enable_winecoreaudio_drv
1218 enable_wined3d
1219 enable_winegstreamer
1220 enable_winejoystick_drv
1221 enable_winemac_drv
1222 enable_winemapi
1223 enable_winemp3_acm
1224 enable_wineoss_drv
1225 enable_wineps_drv
1226 enable_wineqtdecoder
1227 enable_winex11_drv
1228 enable_wing32
1229 enable_winhttp
1230 enable_wininet
1231 enable_winmm
1232 enable_winnls32
1233 enable_winscard
1234 enable_winspool_drv
1235 enable_winsta
1236 enable_wintab32
1237 enable_wintrust
1238 enable_wlanapi
1239 enable_wldap32
1240 enable_wmi
1241 enable_wmiutils
1242 enable_wmvcore
1243 enable_wnaspi32
1244 enable_ws2_32
1245 enable_wshom_ocx
1246 enable_wsnmp32
1247 enable_wsock32
1248 enable_wtsapi32
1249 enable_wuapi
1250 enable_wuaueng
1251 enable_xapofx1_1
1252 enable_xinput1_1
1253 enable_xinput1_2
1254 enable_xinput1_3
1255 enable_xinput1_4
1256 enable_xinput9_1_0
1257 enable_xmllite
1258 enable_xolehlp
1259 enable_xpsprint
1260 enable_xpssvcs
1261 enable_documentation
1262 enable_fonts
1263 enable_include
1264 enable_libs_port
1265 enable_libs_wine
1266 enable_libs_wpp
1267 enable_loader
1268 enable_aspnet_regiis
1269 enable_attrib
1270 enable_cabarc
1271 enable_cacls
1272 enable_clock
1273 enable_cmd
1274 enable_conhost
1275 enable_control
1276 enable_cscript
1277 enable_dxdiag
1278 enable_eject
1279 enable_expand
1280 enable_explorer
1281 enable_extrac32
1282 enable_findstr
1283 enable_hh
1284 enable_hostname
1285 enable_icinfo
1286 enable_iexplore
1287 enable_ipconfig
1288 enable_lodctr
1289 enable_mofcomp
1290 enable_mshta
1291 enable_msiexec
1292 enable_net
1293 enable_netsh
1294 enable_netstat
1295 enable_ngen
1296 enable_notepad
1297 enable_oleview
1298 enable_ping
1299 enable_plugplay
1300 enable_presentationfontcache
1301 enable_progman
1302 enable_reg
1303 enable_regasm
1304 enable_regedit
1305 enable_regsvcs
1306 enable_regsvr32
1307 enable_rpcss
1308 enable_rundll32
1309 enable_sc
1310 enable_schtasks
1311 enable_secedit
1312 enable_servicemodelreg
1313 enable_services
1314 enable_spoolsv
1315 enable_start
1316 enable_svchost
1317 enable_taskkill
1318 enable_tasklist
1319 enable_taskmgr
1320 enable_termsv
1321 enable_uninstaller
1322 enable_unlodctr
1323 enable_view
1324 enable_wineboot
1325 enable_winebrowser
1326 enable_winecfg
1327 enable_wineconsole
1328 enable_winedbg
1329 enable_winedevice
1330 enable_winefile
1331 enable_winemenubuilder
1332 enable_winemine
1333 enable_winemsibuilder
1334 enable_winepath
1335 enable_winetest
1336 enable_winhlp32
1337 enable_winver
1338 enable_wmic
1339 enable_wordpad
1340 enable_write
1341 enable_wscript
1342 enable_wusa
1343 enable_xcopy
1344 enable_server
1345 enable_tools
1347 ac_precious_vars='build_alias
1348 host_alias
1349 target_alias
1351 CFLAGS
1352 LDFLAGS
1353 LIBS
1354 CPPFLAGS
1356 CXXFLAGS
1359 XMKMF
1360 XML2_CFLAGS
1361 XML2_LIBS
1362 XSLT_CFLAGS
1363 XSLT_LIBS
1364 DBUS_CFLAGS
1365 DBUS_LIBS
1366 HAL_CFLAGS
1367 HAL_LIBS
1368 GNUTLS_CFLAGS
1369 GNUTLS_LIBS
1370 SANE_CFLAGS
1371 SANE_LIBS
1372 GPHOTO2_CFLAGS
1373 GPHOTO2_LIBS
1374 GPHOTO2_PORT_CFLAGS
1375 GPHOTO2_PORT_LIBS
1376 LCMS2_CFLAGS
1377 LCMS2_LIBS
1378 FREETYPE_CFLAGS
1379 FREETYPE_LIBS
1380 GSTREAMER_CFLAGS
1381 GSTREAMER_LIBS
1382 CAPI20_CFLAGS
1383 CAPI20_LIBS
1384 JPEG_CFLAGS
1385 JPEG_LIBS
1386 PNG_CFLAGS
1387 PNG_LIBS
1388 TIFF_CFLAGS
1389 TIFF_LIBS
1390 MPG123_CFLAGS
1391 MPG123_LIBS'
1394 # Initialize some variables set by options.
1395 ac_init_help=
1396 ac_init_version=false
1397 ac_unrecognized_opts=
1398 ac_unrecognized_sep=
1399 # The variables have the same names as the options, with
1400 # dashes changed to underlines.
1401 cache_file=/dev/null
1402 exec_prefix=NONE
1403 no_create=
1404 no_recursion=
1405 prefix=NONE
1406 program_prefix=NONE
1407 program_suffix=NONE
1408 program_transform_name=s,x,x,
1409 silent=
1410 site=
1411 srcdir=
1412 verbose=
1413 x_includes=NONE
1414 x_libraries=NONE
1416 # Installation directory options.
1417 # These are left unexpanded so users can "make install exec_prefix=/foo"
1418 # and all the variables that are supposed to be based on exec_prefix
1419 # by default will actually change.
1420 # Use braces instead of parens because sh, perl, etc. also accept them.
1421 # (The list follows the same order as the GNU Coding Standards.)
1422 bindir='${exec_prefix}/bin'
1423 sbindir='${exec_prefix}/sbin'
1424 libexecdir='${exec_prefix}/libexec'
1425 datarootdir='${prefix}/share'
1426 datadir='${datarootdir}'
1427 sysconfdir='${prefix}/etc'
1428 sharedstatedir='${prefix}/com'
1429 localstatedir='${prefix}/var'
1430 includedir='${prefix}/include'
1431 oldincludedir='/usr/include'
1432 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1433 infodir='${datarootdir}/info'
1434 htmldir='${docdir}'
1435 dvidir='${docdir}'
1436 pdfdir='${docdir}'
1437 psdir='${docdir}'
1438 libdir='${exec_prefix}/lib'
1439 localedir='${datarootdir}/locale'
1440 mandir='${datarootdir}/man'
1442 ac_prev=
1443 ac_dashdash=
1444 for ac_option
1446 # If the previous option needs an argument, assign it.
1447 if test -n "$ac_prev"; then
1448 eval $ac_prev=\$ac_option
1449 ac_prev=
1450 continue
1453 case $ac_option in
1454 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1455 *=) ac_optarg= ;;
1456 *) ac_optarg=yes ;;
1457 esac
1459 # Accept the important Cygnus configure options, so we can diagnose typos.
1461 case $ac_dashdash$ac_option in
1463 ac_dashdash=yes ;;
1465 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1466 ac_prev=bindir ;;
1467 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1468 bindir=$ac_optarg ;;
1470 -build | --build | --buil | --bui | --bu)
1471 ac_prev=build_alias ;;
1472 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1473 build_alias=$ac_optarg ;;
1475 -cache-file | --cache-file | --cache-fil | --cache-fi \
1476 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1477 ac_prev=cache_file ;;
1478 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1479 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1480 cache_file=$ac_optarg ;;
1482 --config-cache | -C)
1483 cache_file=config.cache ;;
1485 -datadir | --datadir | --datadi | --datad)
1486 ac_prev=datadir ;;
1487 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1488 datadir=$ac_optarg ;;
1490 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1491 | --dataroo | --dataro | --datar)
1492 ac_prev=datarootdir ;;
1493 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1494 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1495 datarootdir=$ac_optarg ;;
1497 -disable-* | --disable-*)
1498 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1499 # Reject names that are not valid shell variable names.
1500 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1501 as_fn_error $? "invalid feature name: $ac_useropt"
1502 ac_useropt_orig=$ac_useropt
1503 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1504 case $ac_user_opts in
1506 "enable_$ac_useropt"
1507 "*) ;;
1508 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1509 ac_unrecognized_sep=', ';;
1510 esac
1511 eval enable_$ac_useropt=no ;;
1513 -docdir | --docdir | --docdi | --doc | --do)
1514 ac_prev=docdir ;;
1515 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1516 docdir=$ac_optarg ;;
1518 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1519 ac_prev=dvidir ;;
1520 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1521 dvidir=$ac_optarg ;;
1523 -enable-* | --enable-*)
1524 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1525 # Reject names that are not valid shell variable names.
1526 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1527 as_fn_error $? "invalid feature name: $ac_useropt"
1528 ac_useropt_orig=$ac_useropt
1529 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1530 case $ac_user_opts in
1532 "enable_$ac_useropt"
1533 "*) ;;
1534 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1535 ac_unrecognized_sep=', ';;
1536 esac
1537 eval enable_$ac_useropt=\$ac_optarg ;;
1539 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1540 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1541 | --exec | --exe | --ex)
1542 ac_prev=exec_prefix ;;
1543 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1544 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1545 | --exec=* | --exe=* | --ex=*)
1546 exec_prefix=$ac_optarg ;;
1548 -gas | --gas | --ga | --g)
1549 # Obsolete; use --with-gas.
1550 with_gas=yes ;;
1552 -help | --help | --hel | --he | -h)
1553 ac_init_help=long ;;
1554 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1555 ac_init_help=recursive ;;
1556 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1557 ac_init_help=short ;;
1559 -host | --host | --hos | --ho)
1560 ac_prev=host_alias ;;
1561 -host=* | --host=* | --hos=* | --ho=*)
1562 host_alias=$ac_optarg ;;
1564 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1565 ac_prev=htmldir ;;
1566 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1567 | --ht=*)
1568 htmldir=$ac_optarg ;;
1570 -includedir | --includedir | --includedi | --included | --include \
1571 | --includ | --inclu | --incl | --inc)
1572 ac_prev=includedir ;;
1573 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1574 | --includ=* | --inclu=* | --incl=* | --inc=*)
1575 includedir=$ac_optarg ;;
1577 -infodir | --infodir | --infodi | --infod | --info | --inf)
1578 ac_prev=infodir ;;
1579 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1580 infodir=$ac_optarg ;;
1582 -libdir | --libdir | --libdi | --libd)
1583 ac_prev=libdir ;;
1584 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1585 libdir=$ac_optarg ;;
1587 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1588 | --libexe | --libex | --libe)
1589 ac_prev=libexecdir ;;
1590 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1591 | --libexe=* | --libex=* | --libe=*)
1592 libexecdir=$ac_optarg ;;
1594 -localedir | --localedir | --localedi | --localed | --locale)
1595 ac_prev=localedir ;;
1596 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1597 localedir=$ac_optarg ;;
1599 -localstatedir | --localstatedir | --localstatedi | --localstated \
1600 | --localstate | --localstat | --localsta | --localst | --locals)
1601 ac_prev=localstatedir ;;
1602 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1603 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1604 localstatedir=$ac_optarg ;;
1606 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1607 ac_prev=mandir ;;
1608 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1609 mandir=$ac_optarg ;;
1611 -nfp | --nfp | --nf)
1612 # Obsolete; use --without-fp.
1613 with_fp=no ;;
1615 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1616 | --no-cr | --no-c | -n)
1617 no_create=yes ;;
1619 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1620 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1621 no_recursion=yes ;;
1623 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1624 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1625 | --oldin | --oldi | --old | --ol | --o)
1626 ac_prev=oldincludedir ;;
1627 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1628 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1629 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1630 oldincludedir=$ac_optarg ;;
1632 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1633 ac_prev=prefix ;;
1634 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1635 prefix=$ac_optarg ;;
1637 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1638 | --program-pre | --program-pr | --program-p)
1639 ac_prev=program_prefix ;;
1640 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1641 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1642 program_prefix=$ac_optarg ;;
1644 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1645 | --program-suf | --program-su | --program-s)
1646 ac_prev=program_suffix ;;
1647 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1648 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1649 program_suffix=$ac_optarg ;;
1651 -program-transform-name | --program-transform-name \
1652 | --program-transform-nam | --program-transform-na \
1653 | --program-transform-n | --program-transform- \
1654 | --program-transform | --program-transfor \
1655 | --program-transfo | --program-transf \
1656 | --program-trans | --program-tran \
1657 | --progr-tra | --program-tr | --program-t)
1658 ac_prev=program_transform_name ;;
1659 -program-transform-name=* | --program-transform-name=* \
1660 | --program-transform-nam=* | --program-transform-na=* \
1661 | --program-transform-n=* | --program-transform-=* \
1662 | --program-transform=* | --program-transfor=* \
1663 | --program-transfo=* | --program-transf=* \
1664 | --program-trans=* | --program-tran=* \
1665 | --progr-tra=* | --program-tr=* | --program-t=*)
1666 program_transform_name=$ac_optarg ;;
1668 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1669 ac_prev=pdfdir ;;
1670 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1671 pdfdir=$ac_optarg ;;
1673 -psdir | --psdir | --psdi | --psd | --ps)
1674 ac_prev=psdir ;;
1675 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1676 psdir=$ac_optarg ;;
1678 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1679 | -silent | --silent | --silen | --sile | --sil)
1680 silent=yes ;;
1682 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1683 ac_prev=sbindir ;;
1684 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1685 | --sbi=* | --sb=*)
1686 sbindir=$ac_optarg ;;
1688 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1689 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1690 | --sharedst | --shareds | --shared | --share | --shar \
1691 | --sha | --sh)
1692 ac_prev=sharedstatedir ;;
1693 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1694 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1695 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1696 | --sha=* | --sh=*)
1697 sharedstatedir=$ac_optarg ;;
1699 -site | --site | --sit)
1700 ac_prev=site ;;
1701 -site=* | --site=* | --sit=*)
1702 site=$ac_optarg ;;
1704 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1705 ac_prev=srcdir ;;
1706 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1707 srcdir=$ac_optarg ;;
1709 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1710 | --syscon | --sysco | --sysc | --sys | --sy)
1711 ac_prev=sysconfdir ;;
1712 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1713 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1714 sysconfdir=$ac_optarg ;;
1716 -target | --target | --targe | --targ | --tar | --ta | --t)
1717 ac_prev=target_alias ;;
1718 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1719 target_alias=$ac_optarg ;;
1721 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1722 verbose=yes ;;
1724 -version | --version | --versio | --versi | --vers | -V)
1725 ac_init_version=: ;;
1727 -with-* | --with-*)
1728 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1729 # Reject names that are not valid shell variable names.
1730 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1731 as_fn_error $? "invalid package name: $ac_useropt"
1732 ac_useropt_orig=$ac_useropt
1733 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1734 case $ac_user_opts in
1736 "with_$ac_useropt"
1737 "*) ;;
1738 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1739 ac_unrecognized_sep=', ';;
1740 esac
1741 eval with_$ac_useropt=\$ac_optarg ;;
1743 -without-* | --without-*)
1744 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1745 # Reject names that are not valid shell variable names.
1746 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1747 as_fn_error $? "invalid package name: $ac_useropt"
1748 ac_useropt_orig=$ac_useropt
1749 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1750 case $ac_user_opts in
1752 "with_$ac_useropt"
1753 "*) ;;
1754 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1755 ac_unrecognized_sep=', ';;
1756 esac
1757 eval with_$ac_useropt=no ;;
1759 --x)
1760 # Obsolete; use --with-x.
1761 with_x=yes ;;
1763 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1764 | --x-incl | --x-inc | --x-in | --x-i)
1765 ac_prev=x_includes ;;
1766 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1767 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1768 x_includes=$ac_optarg ;;
1770 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1771 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1772 ac_prev=x_libraries ;;
1773 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1774 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1775 x_libraries=$ac_optarg ;;
1777 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1778 Try \`$0 --help' for more information"
1781 *=*)
1782 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1783 # Reject names that are not valid shell variable names.
1784 case $ac_envvar in #(
1785 '' | [0-9]* | *[!_$as_cr_alnum]* )
1786 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1787 esac
1788 eval $ac_envvar=\$ac_optarg
1789 export $ac_envvar ;;
1792 # FIXME: should be removed in autoconf 3.0.
1793 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1795 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1796 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1799 esac
1800 done
1802 if test -n "$ac_prev"; then
1803 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1804 as_fn_error $? "missing argument to $ac_option"
1807 if test -n "$ac_unrecognized_opts"; then
1808 case $enable_option_checking in
1809 no) ;;
1810 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1811 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1812 esac
1815 # Check all directory arguments for consistency.
1816 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1817 datadir sysconfdir sharedstatedir localstatedir includedir \
1818 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1819 libdir localedir mandir
1821 eval ac_val=\$$ac_var
1822 # Remove trailing slashes.
1823 case $ac_val in
1824 */ )
1825 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1826 eval $ac_var=\$ac_val;;
1827 esac
1828 # Be sure to have absolute directory names.
1829 case $ac_val in
1830 [\\/$]* | ?:[\\/]* ) continue;;
1831 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1832 esac
1833 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1834 done
1836 # There might be people who depend on the old broken behavior: `$host'
1837 # used to hold the argument of --host etc.
1838 # FIXME: To remove some day.
1839 build=$build_alias
1840 host=$host_alias
1841 target=$target_alias
1843 # FIXME: To remove some day.
1844 if test "x$host_alias" != x; then
1845 if test "x$build_alias" = x; then
1846 cross_compiling=maybe
1847 elif test "x$build_alias" != "x$host_alias"; then
1848 cross_compiling=yes
1852 ac_tool_prefix=
1853 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1855 test "$silent" = yes && exec 6>/dev/null
1858 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1859 ac_ls_di=`ls -di .` &&
1860 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1861 as_fn_error $? "working directory cannot be determined"
1862 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1863 as_fn_error $? "pwd does not report name of working directory"
1866 # Find the source files, if location was not specified.
1867 if test -z "$srcdir"; then
1868 ac_srcdir_defaulted=yes
1869 # Try the directory containing this script, then the parent directory.
1870 ac_confdir=`$as_dirname -- "$as_myself" ||
1871 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1872 X"$as_myself" : 'X\(//\)[^/]' \| \
1873 X"$as_myself" : 'X\(//\)$' \| \
1874 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1875 $as_echo X"$as_myself" |
1876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1877 s//\1/
1880 /^X\(\/\/\)[^/].*/{
1881 s//\1/
1884 /^X\(\/\/\)$/{
1885 s//\1/
1888 /^X\(\/\).*/{
1889 s//\1/
1892 s/.*/./; q'`
1893 srcdir=$ac_confdir
1894 if test ! -r "$srcdir/$ac_unique_file"; then
1895 srcdir=..
1897 else
1898 ac_srcdir_defaulted=no
1900 if test ! -r "$srcdir/$ac_unique_file"; then
1901 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1902 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1904 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1905 ac_abs_confdir=`(
1906 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1907 pwd)`
1908 # When building in place, set srcdir=.
1909 if test "$ac_abs_confdir" = "$ac_pwd"; then
1910 srcdir=.
1912 # Remove unnecessary trailing slashes from srcdir.
1913 # Double slashes in file names in object file debugging info
1914 # mess up M-x gdb in Emacs.
1915 case $srcdir in
1916 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1917 esac
1918 for ac_var in $ac_precious_vars; do
1919 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1920 eval ac_env_${ac_var}_value=\$${ac_var}
1921 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1922 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1923 done
1926 # Report the --help message.
1928 if test "$ac_init_help" = "long"; then
1929 # Omit some internal or obsolete options to make the list less imposing.
1930 # This message is too long to be a string in the A/UX 3.1 sh.
1931 cat <<_ACEOF
1932 \`configure' configures Wine 1.7.3 to adapt to many kinds of systems.
1934 Usage: $0 [OPTION]... [VAR=VALUE]...
1936 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1937 VAR=VALUE. See below for descriptions of some of the useful variables.
1939 Defaults for the options are specified in brackets.
1941 Configuration:
1942 -h, --help display this help and exit
1943 --help=short display options specific to this package
1944 --help=recursive display the short help of all the included packages
1945 -V, --version display version information and exit
1946 -q, --quiet, --silent do not print \`checking ...' messages
1947 --cache-file=FILE cache test results in FILE [disabled]
1948 -C, --config-cache alias for \`--cache-file=config.cache'
1949 -n, --no-create do not create output files
1950 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1952 Installation directories:
1953 --prefix=PREFIX install architecture-independent files in PREFIX
1954 [$ac_default_prefix]
1955 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1956 [PREFIX]
1958 By default, \`make install' will install all the files in
1959 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1960 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1961 for instance \`--prefix=\$HOME'.
1963 For better control, use the options below.
1965 Fine tuning of the installation directories:
1966 --bindir=DIR user executables [EPREFIX/bin]
1967 --sbindir=DIR system admin executables [EPREFIX/sbin]
1968 --libexecdir=DIR program executables [EPREFIX/libexec]
1969 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1970 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1971 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1972 --libdir=DIR object code libraries [EPREFIX/lib]
1973 --includedir=DIR C header files [PREFIX/include]
1974 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1975 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1976 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1977 --infodir=DIR info documentation [DATAROOTDIR/info]
1978 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1979 --mandir=DIR man documentation [DATAROOTDIR/man]
1980 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1981 --htmldir=DIR html documentation [DOCDIR]
1982 --dvidir=DIR dvi documentation [DOCDIR]
1983 --pdfdir=DIR pdf documentation [DOCDIR]
1984 --psdir=DIR ps documentation [DOCDIR]
1985 _ACEOF
1987 cat <<\_ACEOF
1989 X features:
1990 --x-includes=DIR X include files are in DIR
1991 --x-libraries=DIR X library files are in DIR
1993 System types:
1994 --build=BUILD configure for building on BUILD [guessed]
1995 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1996 _ACEOF
1999 if test -n "$ac_init_help"; then
2000 case $ac_init_help in
2001 short | recursive ) echo "Configuration of Wine 1.7.3:";;
2002 esac
2003 cat <<\_ACEOF
2005 Optional Features:
2006 --disable-option-checking ignore unrecognized --enable/--with options
2007 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2008 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2009 --disable-win16 do not include Win16 support
2010 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2011 binaries)
2012 --disable-tests do not build the regression tests
2013 --enable-maintainer-mode
2014 enable maintainer-specific build rules
2015 --disable-largefile omit support for large files
2017 Optional Packages:
2018 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2019 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2020 --without-alsa do not use the Alsa sound support
2021 --without-capi do not use CAPI (ISDN support)
2022 --without-cms do not use CMS (color management support)
2023 --without-coreaudio do not use the CoreAudio sound support
2024 --without-cups do not use CUPS
2025 --without-curses do not use (n)curses
2026 --without-dbus do not use DBus (dynamic device support)
2027 --without-fontconfig do not use fontconfig
2028 --without-freetype do not use the FreeType library
2029 --without-gettext do not use gettext
2030 --with-gettextpo use the GetTextPO library to rebuild po files
2031 --without-gphoto do not use gphoto (Digital Camera support)
2032 --without-glu do not use the GLU library
2033 --without-gnutls do not use GnuTLS (schannel support)
2034 --without-gsm do not use libgsm (GSM 06.10 codec support)
2035 --without-gstreamer do not use GStreamer (codecs support)
2036 --without-hal do not use HAL (dynamic device support)
2037 --without-jpeg do not use JPEG
2038 --without-ldap do not use LDAP
2039 --without-mpg123 do not use the mpg123 library
2040 --without-openal do not use OpenAL
2041 --without-opencl do not use OpenCL
2042 --without-opengl do not use OpenGL
2043 --without-osmesa do not use the OSMesa library
2044 --without-oss do not use the OSS sound support
2045 --without-png do not use PNG
2046 --without-pthread do not use the pthread library
2047 --without-sane do not use SANE (scanner support)
2048 --without-tiff do not use TIFF
2049 --without-v4l do not use v4l1 (v4l support)
2050 --without-xcomposite do not use the Xcomposite extension
2051 --without-xcursor do not use the Xcursor extension
2052 --without-xinerama do not use Xinerama (multi-monitor support)
2053 --without-xinput do not use the Xinput extension
2054 --without-xinput2 do not use the Xinput 2 extension
2055 --without-xml do not use XML
2056 --without-xrandr do not use Xrandr (resolution changes)
2057 --without-xrender do not use the Xrender extension
2058 --without-xshape do not use the Xshape extension
2059 --without-xshm do not use XShm (shared memory extension)
2060 --without-xslt do not use XSLT
2061 --without-xxf86vm do not use XFree video mode extension
2062 --without-zlib do not use Zlib (data compression)
2063 --with-wine-tools=DIR use Wine tools from directory DIR
2064 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2065 --with-x use the X Window System
2067 Some influential environment variables:
2068 CC C compiler command
2069 CFLAGS C compiler flags
2070 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2071 nonstandard directory <lib dir>
2072 LIBS libraries to pass to the linker, e.g. -l<library>
2073 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2074 you have headers in a nonstandard directory <include dir>
2075 CXX C++ compiler command
2076 CXXFLAGS C++ compiler flags
2077 CPP C preprocessor
2078 XMKMF Path to xmkmf, Makefile generator for X Window System
2079 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2080 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2081 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2082 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2083 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2084 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2085 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2086 HAL_LIBS Linker flags for hal, overriding pkg-config
2087 GNUTLS_CFLAGS
2088 C compiler flags for gnutls, overriding pkg-config
2089 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2090 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2091 SANE_LIBS Linker flags for libsane, overriding pkg-config
2092 GPHOTO2_CFLAGS
2093 C compiler flags for libgphoto2, overriding pkg-config
2094 GPHOTO2_LIBS
2095 Linker flags for libgphoto2, overriding pkg-config
2096 GPHOTO2_PORT_CFLAGS
2097 C compiler flags for libgphoto2_port, overriding pkg-config
2098 GPHOTO2_PORT_LIBS
2099 Linker flags for libgphoto2_port, overriding pkg-config
2100 LCMS2_CFLAGS
2101 C compiler flags for lcms2, overriding pkg-config
2102 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2103 FREETYPE_CFLAGS
2104 C compiler flags for freetype2, overriding pkg-config
2105 FREETYPE_LIBS
2106 Linker flags for freetype2, overriding pkg-config
2107 GSTREAMER_CFLAGS
2108 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2109 GSTREAMER_LIBS
2110 Linker flags for gstreamer-app-0.10, overriding pkg-config
2111 CAPI20_CFLAGS
2112 C compiler flags for capi20, overriding pkg-config
2113 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2114 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2115 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2116 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2117 PNG_LIBS Linker flags for libpng, overriding pkg-config
2118 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2119 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2120 MPG123_CFLAGS
2121 C compiler flags for libmpg123, overriding pkg-config
2122 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2124 Use these variables to override the choices made by `configure' or to help
2125 it to find libraries and programs with nonstandard names/locations.
2127 Report bugs to <wine-devel@winehq.org>.
2128 Wine home page: <http://www.winehq.org>.
2129 _ACEOF
2130 ac_status=$?
2133 if test "$ac_init_help" = "recursive"; then
2134 # If there are subdirs, report their specific --help.
2135 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2136 test -d "$ac_dir" ||
2137 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2138 continue
2139 ac_builddir=.
2141 case "$ac_dir" in
2142 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2144 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2145 # A ".." for each directory in $ac_dir_suffix.
2146 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2147 case $ac_top_builddir_sub in
2148 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2149 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2150 esac ;;
2151 esac
2152 ac_abs_top_builddir=$ac_pwd
2153 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2154 # for backward compatibility:
2155 ac_top_builddir=$ac_top_build_prefix
2157 case $srcdir in
2158 .) # We are building in place.
2159 ac_srcdir=.
2160 ac_top_srcdir=$ac_top_builddir_sub
2161 ac_abs_top_srcdir=$ac_pwd ;;
2162 [\\/]* | ?:[\\/]* ) # Absolute name.
2163 ac_srcdir=$srcdir$ac_dir_suffix;
2164 ac_top_srcdir=$srcdir
2165 ac_abs_top_srcdir=$srcdir ;;
2166 *) # Relative name.
2167 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2168 ac_top_srcdir=$ac_top_build_prefix$srcdir
2169 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2170 esac
2171 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2173 cd "$ac_dir" || { ac_status=$?; continue; }
2174 # Check for guested configure.
2175 if test -f "$ac_srcdir/configure.gnu"; then
2176 echo &&
2177 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2178 elif test -f "$ac_srcdir/configure"; then
2179 echo &&
2180 $SHELL "$ac_srcdir/configure" --help=recursive
2181 else
2182 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2183 fi || ac_status=$?
2184 cd "$ac_pwd" || { ac_status=$?; break; }
2185 done
2188 test -n "$ac_init_help" && exit $ac_status
2189 if $ac_init_version; then
2190 cat <<\_ACEOF
2191 Wine configure 1.7.3
2192 generated by GNU Autoconf 2.69
2194 Copyright (C) 2012 Free Software Foundation, Inc.
2195 This configure script is free software; the Free Software Foundation
2196 gives unlimited permission to copy, distribute and modify it.
2197 _ACEOF
2198 exit
2201 ## ------------------------ ##
2202 ## Autoconf initialization. ##
2203 ## ------------------------ ##
2205 # ac_fn_c_try_compile LINENO
2206 # --------------------------
2207 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2208 ac_fn_c_try_compile ()
2210 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2211 rm -f conftest.$ac_objext
2212 if { { ac_try="$ac_compile"
2213 case "(($ac_try" in
2214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2215 *) ac_try_echo=$ac_try;;
2216 esac
2217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2218 $as_echo "$ac_try_echo"; } >&5
2219 (eval "$ac_compile") 2>conftest.err
2220 ac_status=$?
2221 if test -s conftest.err; then
2222 grep -v '^ *+' conftest.err >conftest.er1
2223 cat conftest.er1 >&5
2224 mv -f conftest.er1 conftest.err
2226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2227 test $ac_status = 0; } && {
2228 test -z "$ac_c_werror_flag" ||
2229 test ! -s conftest.err
2230 } && test -s conftest.$ac_objext; then :
2231 ac_retval=0
2232 else
2233 $as_echo "$as_me: failed program was:" >&5
2234 sed 's/^/| /' conftest.$ac_ext >&5
2236 ac_retval=1
2238 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2239 as_fn_set_status $ac_retval
2241 } # ac_fn_c_try_compile
2243 # ac_fn_cxx_try_compile LINENO
2244 # ----------------------------
2245 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2246 ac_fn_cxx_try_compile ()
2248 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2249 rm -f conftest.$ac_objext
2250 if { { ac_try="$ac_compile"
2251 case "(($ac_try" in
2252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2253 *) ac_try_echo=$ac_try;;
2254 esac
2255 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2256 $as_echo "$ac_try_echo"; } >&5
2257 (eval "$ac_compile") 2>conftest.err
2258 ac_status=$?
2259 if test -s conftest.err; then
2260 grep -v '^ *+' conftest.err >conftest.er1
2261 cat conftest.er1 >&5
2262 mv -f conftest.er1 conftest.err
2264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2265 test $ac_status = 0; } && {
2266 test -z "$ac_cxx_werror_flag" ||
2267 test ! -s conftest.err
2268 } && test -s conftest.$ac_objext; then :
2269 ac_retval=0
2270 else
2271 $as_echo "$as_me: failed program was:" >&5
2272 sed 's/^/| /' conftest.$ac_ext >&5
2274 ac_retval=1
2276 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2277 as_fn_set_status $ac_retval
2279 } # ac_fn_cxx_try_compile
2281 # ac_fn_c_try_link LINENO
2282 # -----------------------
2283 # Try to link conftest.$ac_ext, and return whether this succeeded.
2284 ac_fn_c_try_link ()
2286 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2287 rm -f conftest.$ac_objext conftest$ac_exeext
2288 if { { ac_try="$ac_link"
2289 case "(($ac_try" in
2290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291 *) ac_try_echo=$ac_try;;
2292 esac
2293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2294 $as_echo "$ac_try_echo"; } >&5
2295 (eval "$ac_link") 2>conftest.err
2296 ac_status=$?
2297 if test -s conftest.err; then
2298 grep -v '^ *+' conftest.err >conftest.er1
2299 cat conftest.er1 >&5
2300 mv -f conftest.er1 conftest.err
2302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2303 test $ac_status = 0; } && {
2304 test -z "$ac_c_werror_flag" ||
2305 test ! -s conftest.err
2306 } && test -s conftest$ac_exeext && {
2307 test "$cross_compiling" = yes ||
2308 test -x conftest$ac_exeext
2309 }; then :
2310 ac_retval=0
2311 else
2312 $as_echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.$ac_ext >&5
2315 ac_retval=1
2317 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2318 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2319 # interfere with the next link command; also delete a directory that is
2320 # left behind by Apple's compiler. We do this before executing the actions.
2321 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2323 as_fn_set_status $ac_retval
2325 } # ac_fn_c_try_link
2327 # ac_fn_c_try_cpp LINENO
2328 # ----------------------
2329 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2330 ac_fn_c_try_cpp ()
2332 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2333 if { { ac_try="$ac_cpp conftest.$ac_ext"
2334 case "(($ac_try" in
2335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;;
2337 esac
2338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2341 ac_status=$?
2342 if test -s conftest.err; then
2343 grep -v '^ *+' conftest.err >conftest.er1
2344 cat conftest.er1 >&5
2345 mv -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; } > conftest.i && {
2349 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2350 test ! -s conftest.err
2351 }; then :
2352 ac_retval=0
2353 else
2354 $as_echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.$ac_ext >&5
2357 ac_retval=1
2359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360 as_fn_set_status $ac_retval
2362 } # ac_fn_c_try_cpp
2364 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2365 # -------------------------------------------------------
2366 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2367 # the include files in INCLUDES and setting the cache variable VAR
2368 # accordingly.
2369 ac_fn_c_check_header_mongrel ()
2371 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2372 if eval \${$3+:} false; then :
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2374 $as_echo_n "checking for $2... " >&6; }
2375 if eval \${$3+:} false; then :
2376 $as_echo_n "(cached) " >&6
2378 eval ac_res=\$$3
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2380 $as_echo "$ac_res" >&6; }
2381 else
2382 # Is the header compilable?
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2384 $as_echo_n "checking $2 usability... " >&6; }
2385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2386 /* end confdefs.h. */
2388 #include <$2>
2389 _ACEOF
2390 if ac_fn_c_try_compile "$LINENO"; then :
2391 ac_header_compiler=yes
2392 else
2393 ac_header_compiler=no
2395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2397 $as_echo "$ac_header_compiler" >&6; }
2399 # Is the header present?
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2401 $as_echo_n "checking $2 presence... " >&6; }
2402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2403 /* end confdefs.h. */
2404 #include <$2>
2405 _ACEOF
2406 if ac_fn_c_try_cpp "$LINENO"; then :
2407 ac_header_preproc=yes
2408 else
2409 ac_header_preproc=no
2411 rm -f conftest.err conftest.i conftest.$ac_ext
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2413 $as_echo "$ac_header_preproc" >&6; }
2415 # So? What about this header?
2416 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2417 yes:no: )
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2419 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2421 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2423 no:yes:* )
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2425 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2427 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2429 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2431 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2433 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2434 ( $as_echo "## ------------------------------------ ##
2435 ## Report this to wine-devel@winehq.org ##
2436 ## ------------------------------------ ##"
2437 ) | sed "s/^/$as_me: WARNING: /" >&2
2439 esac
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2441 $as_echo_n "checking for $2... " >&6; }
2442 if eval \${$3+:} false; then :
2443 $as_echo_n "(cached) " >&6
2444 else
2445 eval "$3=\$ac_header_compiler"
2447 eval ac_res=\$$3
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2449 $as_echo "$ac_res" >&6; }
2451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2453 } # ac_fn_c_check_header_mongrel
2455 # ac_fn_c_try_run LINENO
2456 # ----------------------
2457 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2458 # that executables *can* be run.
2459 ac_fn_c_try_run ()
2461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2462 if { { ac_try="$ac_link"
2463 case "(($ac_try" in
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2466 esac
2467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2468 $as_echo "$ac_try_echo"; } >&5
2469 (eval "$ac_link") 2>&5
2470 ac_status=$?
2471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2472 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2473 { { case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2476 esac
2477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2478 $as_echo "$ac_try_echo"; } >&5
2479 (eval "$ac_try") 2>&5
2480 ac_status=$?
2481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2482 test $ac_status = 0; }; }; then :
2483 ac_retval=0
2484 else
2485 $as_echo "$as_me: program exited with status $ac_status" >&5
2486 $as_echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.$ac_ext >&5
2489 ac_retval=$ac_status
2491 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2493 as_fn_set_status $ac_retval
2495 } # ac_fn_c_try_run
2497 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2498 # -------------------------------------------------------
2499 # Tests whether HEADER exists and can be compiled using the include files in
2500 # INCLUDES, setting the cache variable VAR accordingly.
2501 ac_fn_c_check_header_compile ()
2503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2505 $as_echo_n "checking for $2... " >&6; }
2506 if eval \${$3+:} false; then :
2507 $as_echo_n "(cached) " >&6
2508 else
2509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2510 /* end confdefs.h. */
2512 #include <$2>
2513 _ACEOF
2514 if ac_fn_c_try_compile "$LINENO"; then :
2515 eval "$3=yes"
2516 else
2517 eval "$3=no"
2519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2521 eval ac_res=\$$3
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2523 $as_echo "$ac_res" >&6; }
2524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2526 } # ac_fn_c_check_header_compile
2528 # ac_fn_c_check_func LINENO FUNC VAR
2529 # ----------------------------------
2530 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2531 ac_fn_c_check_func ()
2533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2535 $as_echo_n "checking for $2... " >&6; }
2536 if eval \${$3+:} false; then :
2537 $as_echo_n "(cached) " >&6
2538 else
2539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2540 /* end confdefs.h. */
2541 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2543 #define $2 innocuous_$2
2545 /* System header to define __stub macros and hopefully few prototypes,
2546 which can conflict with char $2 (); below.
2547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2548 <limits.h> exists even on freestanding compilers. */
2550 #ifdef __STDC__
2551 # include <limits.h>
2552 #else
2553 # include <assert.h>
2554 #endif
2556 #undef $2
2558 /* Override any GCC internal prototype to avoid an error.
2559 Use char because int might match the return type of a GCC
2560 builtin and then its argument prototype would still apply. */
2561 #ifdef __cplusplus
2562 extern "C"
2563 #endif
2564 char $2 ();
2565 /* The GNU C library defines this for functions which it implements
2566 to always fail with ENOSYS. Some functions are actually named
2567 something starting with __ and the normal name is an alias. */
2568 #if defined __stub_$2 || defined __stub___$2
2569 choke me
2570 #endif
2573 main ()
2575 return $2 ();
2577 return 0;
2579 _ACEOF
2580 if ac_fn_c_try_link "$LINENO"; then :
2581 eval "$3=yes"
2582 else
2583 eval "$3=no"
2585 rm -f core conftest.err conftest.$ac_objext \
2586 conftest$ac_exeext conftest.$ac_ext
2588 eval ac_res=\$$3
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2590 $as_echo "$ac_res" >&6; }
2591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593 } # ac_fn_c_check_func
2595 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2596 # ----------------------------------------------------
2597 # Tries to find if the field MEMBER exists in type AGGR, after including
2598 # INCLUDES, setting cache variable VAR accordingly.
2599 ac_fn_c_check_member ()
2601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2603 $as_echo_n "checking for $2.$3... " >&6; }
2604 if eval \${$4+:} false; then :
2605 $as_echo_n "(cached) " >&6
2606 else
2607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2608 /* end confdefs.h. */
2611 main ()
2613 static $2 ac_aggr;
2614 if (ac_aggr.$3)
2615 return 0;
2617 return 0;
2619 _ACEOF
2620 if ac_fn_c_try_compile "$LINENO"; then :
2621 eval "$4=yes"
2622 else
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2627 main ()
2629 static $2 ac_aggr;
2630 if (sizeof ac_aggr.$3)
2631 return 0;
2633 return 0;
2635 _ACEOF
2636 if ac_fn_c_try_compile "$LINENO"; then :
2637 eval "$4=yes"
2638 else
2639 eval "$4=no"
2641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2645 eval ac_res=\$$4
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2647 $as_echo "$ac_res" >&6; }
2648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2650 } # ac_fn_c_check_member
2652 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2653 # -------------------------------------------
2654 # Tests whether TYPE exists after having included INCLUDES, setting cache
2655 # variable VAR accordingly.
2656 ac_fn_c_check_type ()
2658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2660 $as_echo_n "checking for $2... " >&6; }
2661 if eval \${$3+:} false; then :
2662 $as_echo_n "(cached) " >&6
2663 else
2664 eval "$3=no"
2665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2669 main ()
2671 if (sizeof ($2))
2672 return 0;
2674 return 0;
2676 _ACEOF
2677 if ac_fn_c_try_compile "$LINENO"; then :
2678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2679 /* end confdefs.h. */
2682 main ()
2684 if (sizeof (($2)))
2685 return 0;
2687 return 0;
2689 _ACEOF
2690 if ac_fn_c_try_compile "$LINENO"; then :
2692 else
2693 eval "$3=yes"
2695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 eval ac_res=\$$3
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2701 $as_echo "$ac_res" >&6; }
2702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2704 } # ac_fn_c_check_type
2705 cat >config.log <<_ACEOF
2706 This file contains any messages produced by compilers while
2707 running configure, to aid debugging if configure makes a mistake.
2709 It was created by Wine $as_me 1.7.3, which was
2710 generated by GNU Autoconf 2.69. Invocation command line was
2712 $ $0 $@
2714 _ACEOF
2715 exec 5>>config.log
2717 cat <<_ASUNAME
2718 ## --------- ##
2719 ## Platform. ##
2720 ## --------- ##
2722 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2723 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2724 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2725 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2726 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2728 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2729 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2731 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2732 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2733 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2734 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2735 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2736 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2737 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2739 _ASUNAME
2741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 for as_dir in $PATH
2744 IFS=$as_save_IFS
2745 test -z "$as_dir" && as_dir=.
2746 $as_echo "PATH: $as_dir"
2747 done
2748 IFS=$as_save_IFS
2750 } >&5
2752 cat >&5 <<_ACEOF
2755 ## ----------- ##
2756 ## Core tests. ##
2757 ## ----------- ##
2759 _ACEOF
2762 # Keep a trace of the command line.
2763 # Strip out --no-create and --no-recursion so they do not pile up.
2764 # Strip out --silent because we don't want to record it for future runs.
2765 # Also quote any args containing shell meta-characters.
2766 # Make two passes to allow for proper duplicate-argument suppression.
2767 ac_configure_args=
2768 ac_configure_args0=
2769 ac_configure_args1=
2770 ac_must_keep_next=false
2771 for ac_pass in 1 2
2773 for ac_arg
2775 case $ac_arg in
2776 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2777 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2778 | -silent | --silent | --silen | --sile | --sil)
2779 continue ;;
2780 *\'*)
2781 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2782 esac
2783 case $ac_pass in
2784 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2786 as_fn_append ac_configure_args1 " '$ac_arg'"
2787 if test $ac_must_keep_next = true; then
2788 ac_must_keep_next=false # Got value, back to normal.
2789 else
2790 case $ac_arg in
2791 *=* | --config-cache | -C | -disable-* | --disable-* \
2792 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2793 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2794 | -with-* | --with-* | -without-* | --without-* | --x)
2795 case "$ac_configure_args0 " in
2796 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2797 esac
2799 -* ) ac_must_keep_next=true ;;
2800 esac
2802 as_fn_append ac_configure_args " '$ac_arg'"
2804 esac
2805 done
2806 done
2807 { ac_configure_args0=; unset ac_configure_args0;}
2808 { ac_configure_args1=; unset ac_configure_args1;}
2810 # When interrupted or exit'd, cleanup temporary files, and complete
2811 # config.log. We remove comments because anyway the quotes in there
2812 # would cause problems or look ugly.
2813 # WARNING: Use '\'' to represent an apostrophe within the trap.
2814 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2815 trap 'exit_status=$?
2816 # Save into config.log some information that might help in debugging.
2818 echo
2820 $as_echo "## ---------------- ##
2821 ## Cache variables. ##
2822 ## ---------------- ##"
2823 echo
2824 # The following way of writing the cache mishandles newlines in values,
2826 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2827 eval ac_val=\$$ac_var
2828 case $ac_val in #(
2829 *${as_nl}*)
2830 case $ac_var in #(
2831 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2832 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2833 esac
2834 case $ac_var in #(
2835 _ | IFS | as_nl) ;; #(
2836 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2837 *) { eval $ac_var=; unset $ac_var;} ;;
2838 esac ;;
2839 esac
2840 done
2841 (set) 2>&1 |
2842 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2843 *${as_nl}ac_space=\ *)
2844 sed -n \
2845 "s/'\''/'\''\\\\'\'''\''/g;
2846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2847 ;; #(
2849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2851 esac |
2852 sort
2854 echo
2856 $as_echo "## ----------------- ##
2857 ## Output variables. ##
2858 ## ----------------- ##"
2859 echo
2860 for ac_var in $ac_subst_vars
2862 eval ac_val=\$$ac_var
2863 case $ac_val in
2864 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2865 esac
2866 $as_echo "$ac_var='\''$ac_val'\''"
2867 done | sort
2868 echo
2870 if test -n "$ac_subst_files"; then
2871 $as_echo "## ------------------- ##
2872 ## File substitutions. ##
2873 ## ------------------- ##"
2874 echo
2875 for ac_var in $ac_subst_files
2877 eval ac_val=\$$ac_var
2878 case $ac_val in
2879 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2880 esac
2881 $as_echo "$ac_var='\''$ac_val'\''"
2882 done | sort
2883 echo
2886 if test -s confdefs.h; then
2887 $as_echo "## ----------- ##
2888 ## confdefs.h. ##
2889 ## ----------- ##"
2890 echo
2891 cat confdefs.h
2892 echo
2894 test "$ac_signal" != 0 &&
2895 $as_echo "$as_me: caught signal $ac_signal"
2896 $as_echo "$as_me: exit $exit_status"
2897 } >&5
2898 rm -f core *.core core.conftest.* &&
2899 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2900 exit $exit_status
2902 for ac_signal in 1 2 13 15; do
2903 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2904 done
2905 ac_signal=0
2907 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2908 rm -f -r conftest* confdefs.h
2910 $as_echo "/* confdefs.h */" > confdefs.h
2912 # Predefined preprocessor variables.
2914 cat >>confdefs.h <<_ACEOF
2915 #define PACKAGE_NAME "$PACKAGE_NAME"
2916 _ACEOF
2918 cat >>confdefs.h <<_ACEOF
2919 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2920 _ACEOF
2922 cat >>confdefs.h <<_ACEOF
2923 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2924 _ACEOF
2926 cat >>confdefs.h <<_ACEOF
2927 #define PACKAGE_STRING "$PACKAGE_STRING"
2928 _ACEOF
2930 cat >>confdefs.h <<_ACEOF
2931 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2932 _ACEOF
2934 cat >>confdefs.h <<_ACEOF
2935 #define PACKAGE_URL "$PACKAGE_URL"
2936 _ACEOF
2939 # Let the site file select an alternate cache file if it wants to.
2940 # Prefer an explicitly selected file to automatically selected ones.
2941 ac_site_file1=NONE
2942 ac_site_file2=NONE
2943 if test -n "$CONFIG_SITE"; then
2944 # We do not want a PATH search for config.site.
2945 case $CONFIG_SITE in #((
2946 -*) ac_site_file1=./$CONFIG_SITE;;
2947 */*) ac_site_file1=$CONFIG_SITE;;
2948 *) ac_site_file1=./$CONFIG_SITE;;
2949 esac
2950 elif test "x$prefix" != xNONE; then
2951 ac_site_file1=$prefix/share/config.site
2952 ac_site_file2=$prefix/etc/config.site
2953 else
2954 ac_site_file1=$ac_default_prefix/share/config.site
2955 ac_site_file2=$ac_default_prefix/etc/config.site
2957 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2959 test "x$ac_site_file" = xNONE && continue
2960 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2962 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2963 sed 's/^/| /' "$ac_site_file" >&5
2964 . "$ac_site_file" \
2965 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 as_fn_error $? "failed to load site script $ac_site_file
2968 See \`config.log' for more details" "$LINENO" 5; }
2970 done
2972 if test -r "$cache_file"; then
2973 # Some versions of bash will fail to source /dev/null (special files
2974 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2975 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2977 $as_echo "$as_me: loading cache $cache_file" >&6;}
2978 case $cache_file in
2979 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2980 *) . "./$cache_file";;
2981 esac
2983 else
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2985 $as_echo "$as_me: creating cache $cache_file" >&6;}
2986 >$cache_file
2989 # Check that the precious variables saved in the cache have kept the same
2990 # value.
2991 ac_cache_corrupted=false
2992 for ac_var in $ac_precious_vars; do
2993 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2994 eval ac_new_set=\$ac_env_${ac_var}_set
2995 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2996 eval ac_new_val=\$ac_env_${ac_var}_value
2997 case $ac_old_set,$ac_new_set in
2998 set,)
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3000 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3001 ac_cache_corrupted=: ;;
3002 ,set)
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3004 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3005 ac_cache_corrupted=: ;;
3006 ,);;
3008 if test "x$ac_old_val" != "x$ac_new_val"; then
3009 # differences in whitespace do not lead to failure.
3010 ac_old_val_w=`echo x $ac_old_val`
3011 ac_new_val_w=`echo x $ac_new_val`
3012 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3014 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3015 ac_cache_corrupted=:
3016 else
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3018 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3019 eval $ac_var=\$ac_old_val
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3022 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3024 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3025 fi;;
3026 esac
3027 # Pass precious variables to config.status.
3028 if test "$ac_new_set" = set; then
3029 case $ac_new_val in
3030 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3031 *) ac_arg=$ac_var=$ac_new_val ;;
3032 esac
3033 case " $ac_configure_args " in
3034 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3035 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3036 esac
3038 done
3039 if $ac_cache_corrupted; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3043 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3044 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3046 ## -------------------- ##
3047 ## Main body of script. ##
3048 ## -------------------- ##
3050 ac_ext=c
3051 ac_cpp='$CPP $CPPFLAGS'
3052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3058 ac_config_headers="$ac_config_headers include/config.h"
3060 ac_aux_dir=
3061 for ac_dir in tools "$srcdir"/tools; do
3062 if test -f "$ac_dir/install-sh"; then
3063 ac_aux_dir=$ac_dir
3064 ac_install_sh="$ac_aux_dir/install-sh -c"
3065 break
3066 elif test -f "$ac_dir/install.sh"; then
3067 ac_aux_dir=$ac_dir
3068 ac_install_sh="$ac_aux_dir/install.sh -c"
3069 break
3070 elif test -f "$ac_dir/shtool"; then
3071 ac_aux_dir=$ac_dir
3072 ac_install_sh="$ac_aux_dir/shtool install -c"
3073 break
3075 done
3076 if test -z "$ac_aux_dir"; then
3077 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3080 # These three variables are undocumented and unsupported,
3081 # and are intended to be withdrawn in a future Autoconf release.
3082 # They can cause serious problems if a builder's source tree is in a directory
3083 # whose full name contains unusual characters.
3084 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3085 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3086 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3092 # Check whether --enable-win16 was given.
3093 if test "${enable_win16+set}" = set; then :
3094 enableval=$enable_win16;
3097 # Check whether --enable-win64 was given.
3098 if test "${enable_win64+set}" = set; then :
3099 enableval=$enable_win64;
3102 # Check whether --enable-tests was given.
3103 if test "${enable_tests+set}" = set; then :
3104 enableval=$enable_tests;
3107 # Check whether --enable-maintainer-mode was given.
3108 if test "${enable_maintainer_mode+set}" = set; then :
3109 enableval=$enable_maintainer_mode;
3114 # Check whether --with-alsa was given.
3115 if test "${with_alsa+set}" = set; then :
3116 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3120 # Check whether --with-capi was given.
3121 if test "${with_capi+set}" = set; then :
3122 withval=$with_capi;
3126 # Check whether --with-cms was given.
3127 if test "${with_cms+set}" = set; then :
3128 withval=$with_cms;
3132 # Check whether --with-coreaudio was given.
3133 if test "${with_coreaudio+set}" = set; then :
3134 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3138 # Check whether --with-cups was given.
3139 if test "${with_cups+set}" = set; then :
3140 withval=$with_cups;
3144 # Check whether --with-curses was given.
3145 if test "${with_curses+set}" = set; then :
3146 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3150 # Check whether --with-dbus was given.
3151 if test "${with_dbus+set}" = set; then :
3152 withval=$with_dbus;
3156 # Check whether --with-fontconfig was given.
3157 if test "${with_fontconfig+set}" = set; then :
3158 withval=$with_fontconfig;
3162 # Check whether --with-freetype was given.
3163 if test "${with_freetype+set}" = set; then :
3164 withval=$with_freetype;
3168 # Check whether --with-gettext was given.
3169 if test "${with_gettext+set}" = set; then :
3170 withval=$with_gettext;
3174 # Check whether --with-gettextpo was given.
3175 if test "${with_gettextpo+set}" = set; then :
3176 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3180 # Check whether --with-gphoto was given.
3181 if test "${with_gphoto+set}" = set; then :
3182 withval=$with_gphoto;
3186 # Check whether --with-glu was given.
3187 if test "${with_glu+set}" = set; then :
3188 withval=$with_glu;
3192 # Check whether --with-gnutls was given.
3193 if test "${with_gnutls+set}" = set; then :
3194 withval=$with_gnutls;
3198 # Check whether --with-gsm was given.
3199 if test "${with_gsm+set}" = set; then :
3200 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3204 # Check whether --with-gstreamer was given.
3205 if test "${with_gstreamer+set}" = set; then :
3206 withval=$with_gstreamer;
3210 # Check whether --with-hal was given.
3211 if test "${with_hal+set}" = set; then :
3212 withval=$with_hal;
3216 # Check whether --with-jpeg was given.
3217 if test "${with_jpeg+set}" = set; then :
3218 withval=$with_jpeg;
3222 # Check whether --with-ldap was given.
3223 if test "${with_ldap+set}" = set; then :
3224 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3228 # Check whether --with-mpg123 was given.
3229 if test "${with_mpg123+set}" = set; then :
3230 withval=$with_mpg123;
3234 # Check whether --with-openal was given.
3235 if test "${with_openal+set}" = set; then :
3236 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3240 # Check whether --with-opencl was given.
3241 if test "${with_opencl+set}" = set; then :
3242 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3246 # Check whether --with-opengl was given.
3247 if test "${with_opengl+set}" = set; then :
3248 withval=$with_opengl;
3252 # Check whether --with-osmesa was given.
3253 if test "${with_osmesa+set}" = set; then :
3254 withval=$with_osmesa;
3258 # Check whether --with-oss was given.
3259 if test "${with_oss+set}" = set; then :
3260 withval=$with_oss;
3264 # Check whether --with-png was given.
3265 if test "${with_png+set}" = set; then :
3266 withval=$with_png;
3270 # Check whether --with-pthread was given.
3271 if test "${with_pthread+set}" = set; then :
3272 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3276 # Check whether --with-sane was given.
3277 if test "${with_sane+set}" = set; then :
3278 withval=$with_sane;
3282 # Check whether --with-tiff was given.
3283 if test "${with_tiff+set}" = set; then :
3284 withval=$with_tiff;
3288 # Check whether --with-v4l was given.
3289 if test "${with_v4l+set}" = set; then :
3290 withval=$with_v4l;
3294 # Check whether --with-xcomposite was given.
3295 if test "${with_xcomposite+set}" = set; then :
3296 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3300 # Check whether --with-xcursor was given.
3301 if test "${with_xcursor+set}" = set; then :
3302 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3306 # Check whether --with-xinerama was given.
3307 if test "${with_xinerama+set}" = set; then :
3308 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3312 # Check whether --with-xinput was given.
3313 if test "${with_xinput+set}" = set; then :
3314 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3318 # Check whether --with-xinput2 was given.
3319 if test "${with_xinput2+set}" = set; then :
3320 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3324 # Check whether --with-xml was given.
3325 if test "${with_xml+set}" = set; then :
3326 withval=$with_xml;
3330 # Check whether --with-xrandr was given.
3331 if test "${with_xrandr+set}" = set; then :
3332 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3336 # Check whether --with-xrender was given.
3337 if test "${with_xrender+set}" = set; then :
3338 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3342 # Check whether --with-xshape was given.
3343 if test "${with_xshape+set}" = set; then :
3344 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3348 # Check whether --with-xshm was given.
3349 if test "${with_xshm+set}" = set; then :
3350 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3354 # Check whether --with-xslt was given.
3355 if test "${with_xslt+set}" = set; then :
3356 withval=$with_xslt;
3360 # Check whether --with-xxf86vm was given.
3361 if test "${with_xxf86vm+set}" = set; then :
3362 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
3366 # Check whether --with-zlib was given.
3367 if test "${with_zlib+set}" = set; then :
3368 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3373 # Check whether --with-wine-tools was given.
3374 if test "${with_wine_tools+set}" = set; then :
3375 withval=$with_wine_tools;
3379 # Check whether --with-wine64 was given.
3380 if test "${with_wine64+set}" = set; then :
3381 withval=$with_wine64;
3385 # Make sure we can run config.sub.
3386 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3387 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3390 $as_echo_n "checking build system type... " >&6; }
3391 if ${ac_cv_build+:} false; then :
3392 $as_echo_n "(cached) " >&6
3393 else
3394 ac_build_alias=$build_alias
3395 test "x$ac_build_alias" = x &&
3396 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3397 test "x$ac_build_alias" = x &&
3398 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3399 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3400 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3404 $as_echo "$ac_cv_build" >&6; }
3405 case $ac_cv_build in
3406 *-*-*) ;;
3407 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3408 esac
3409 build=$ac_cv_build
3410 ac_save_IFS=$IFS; IFS='-'
3411 set x $ac_cv_build
3412 shift
3413 build_cpu=$1
3414 build_vendor=$2
3415 shift; shift
3416 # Remember, the first character of IFS is used to create $*,
3417 # except with old shells:
3418 build_os=$*
3419 IFS=$ac_save_IFS
3420 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3424 $as_echo_n "checking host system type... " >&6; }
3425 if ${ac_cv_host+:} false; then :
3426 $as_echo_n "(cached) " >&6
3427 else
3428 if test "x$host_alias" = x; then
3429 ac_cv_host=$ac_cv_build
3430 else
3431 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3432 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3437 $as_echo "$ac_cv_host" >&6; }
3438 case $ac_cv_host in
3439 *-*-*) ;;
3440 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3441 esac
3442 host=$ac_cv_host
3443 ac_save_IFS=$IFS; IFS='-'
3444 set x $ac_cv_host
3445 shift
3446 host_cpu=$1
3447 host_vendor=$2
3448 shift; shift
3449 # Remember, the first character of IFS is used to create $*,
3450 # except with old shells:
3451 host_os=$*
3452 IFS=$ac_save_IFS
3453 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3457 case "$srcdir" in
3458 .) ;;
3459 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3460 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3461 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3462 fi ;;
3463 esac
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3467 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3468 set x ${MAKE-make}
3469 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3470 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3471 $as_echo_n "(cached) " >&6
3472 else
3473 cat >conftest.make <<\_ACEOF
3474 SHELL = /bin/sh
3475 all:
3476 @echo '@@@%%%=$(MAKE)=@@@%%%'
3477 _ACEOF
3478 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3479 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3480 *@@@%%%=?*=@@@%%%*)
3481 eval ac_cv_prog_make_${ac_make}_set=yes;;
3483 eval ac_cv_prog_make_${ac_make}_set=no;;
3484 esac
3485 rm -f conftest.make
3487 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3489 $as_echo "yes" >&6; }
3490 SET_MAKE=
3491 else
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3494 SET_MAKE="MAKE=${MAKE-make}"
3497 ac_ext=c
3498 ac_cpp='$CPP $CPPFLAGS'
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3502 if test -n "$ac_tool_prefix"; then
3503 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3504 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506 $as_echo_n "checking for $ac_word... " >&6; }
3507 if ${ac_cv_prog_CC+:} false; then :
3508 $as_echo_n "(cached) " >&6
3509 else
3510 if test -n "$CC"; then
3511 ac_cv_prog_CC="$CC" # Let the user override the test.
3512 else
3513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514 for as_dir in $PATH
3516 IFS=$as_save_IFS
3517 test -z "$as_dir" && as_dir=.
3518 for ac_exec_ext in '' $ac_executable_extensions; do
3519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3520 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3522 break 2
3524 done
3525 done
3526 IFS=$as_save_IFS
3530 CC=$ac_cv_prog_CC
3531 if test -n "$CC"; then
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3533 $as_echo "$CC" >&6; }
3534 else
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536 $as_echo "no" >&6; }
3541 if test -z "$ac_cv_prog_CC"; then
3542 ac_ct_CC=$CC
3543 # Extract the first word of "gcc", so it can be a program name with args.
3544 set dummy gcc; ac_word=$2
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3548 $as_echo_n "(cached) " >&6
3549 else
3550 if test -n "$ac_ct_CC"; then
3551 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3552 else
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH
3556 IFS=$as_save_IFS
3557 test -z "$as_dir" && as_dir=.
3558 for ac_exec_ext in '' $ac_executable_extensions; do
3559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3560 ac_cv_prog_ac_ct_CC="gcc"
3561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 break 2
3564 done
3565 done
3566 IFS=$as_save_IFS
3570 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3571 if test -n "$ac_ct_CC"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3573 $as_echo "$ac_ct_CC" >&6; }
3574 else
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3579 if test "x$ac_ct_CC" = x; then
3580 CC=""
3581 else
3582 case $cross_compiling:$ac_tool_warned in
3583 yes:)
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3586 ac_tool_warned=yes ;;
3587 esac
3588 CC=$ac_ct_CC
3590 else
3591 CC="$ac_cv_prog_CC"
3594 if test -z "$CC"; then
3595 if test -n "$ac_tool_prefix"; then
3596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3597 set dummy ${ac_tool_prefix}cc; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_CC+:} false; then :
3601 $as_echo_n "(cached) " >&6
3602 else
3603 if test -n "$CC"; then
3604 ac_cv_prog_CC="$CC" # Let the user override the test.
3605 else
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 for as_dir in $PATH
3609 IFS=$as_save_IFS
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3613 ac_cv_prog_CC="${ac_tool_prefix}cc"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 break 2
3617 done
3618 done
3619 IFS=$as_save_IFS
3623 CC=$ac_cv_prog_CC
3624 if test -n "$CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3626 $as_echo "$CC" >&6; }
3627 else
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3635 if test -z "$CC"; then
3636 # Extract the first word of "cc", so it can be a program name with args.
3637 set dummy cc; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if ${ac_cv_prog_CC+:} false; then :
3641 $as_echo_n "(cached) " >&6
3642 else
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC="$CC" # Let the user override the test.
3645 else
3646 ac_prog_rejected=no
3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 for as_dir in $PATH
3650 IFS=$as_save_IFS
3651 test -z "$as_dir" && as_dir=.
3652 for ac_exec_ext in '' $ac_executable_extensions; do
3653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3654 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3655 ac_prog_rejected=yes
3656 continue
3658 ac_cv_prog_CC="cc"
3659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 break 2
3662 done
3663 done
3664 IFS=$as_save_IFS
3666 if test $ac_prog_rejected = yes; then
3667 # We found a bogon in the path, so make sure we never use it.
3668 set dummy $ac_cv_prog_CC
3669 shift
3670 if test $# != 0; then
3671 # We chose a different compiler from the bogus one.
3672 # However, it has the same basename, so the bogon will be chosen
3673 # first if we set CC to just the basename; use the full file name.
3674 shift
3675 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3680 CC=$ac_cv_prog_CC
3681 if test -n "$CC"; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3683 $as_echo "$CC" >&6; }
3684 else
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3691 if test -z "$CC"; then
3692 if test -n "$ac_tool_prefix"; then
3693 for ac_prog in cl.exe
3695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3696 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 $as_echo_n "checking for $ac_word... " >&6; }
3699 if ${ac_cv_prog_CC+:} false; then :
3700 $as_echo_n "(cached) " >&6
3701 else
3702 if test -n "$CC"; then
3703 ac_cv_prog_CC="$CC" # Let the user override the test.
3704 else
3705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706 for as_dir in $PATH
3708 IFS=$as_save_IFS
3709 test -z "$as_dir" && as_dir=.
3710 for ac_exec_ext in '' $ac_executable_extensions; do
3711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3712 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3716 done
3717 done
3718 IFS=$as_save_IFS
3722 CC=$ac_cv_prog_CC
3723 if test -n "$CC"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725 $as_echo "$CC" >&6; }
3726 else
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3732 test -n "$CC" && break
3733 done
3735 if test -z "$CC"; then
3736 ac_ct_CC=$CC
3737 for ac_prog in cl.exe
3739 # Extract the first word of "$ac_prog", so it can be a program name with args.
3740 set dummy $ac_prog; ac_word=$2
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3742 $as_echo_n "checking for $ac_word... " >&6; }
3743 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3744 $as_echo_n "(cached) " >&6
3745 else
3746 if test -n "$ac_ct_CC"; then
3747 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3748 else
3749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750 for as_dir in $PATH
3752 IFS=$as_save_IFS
3753 test -z "$as_dir" && as_dir=.
3754 for ac_exec_ext in '' $ac_executable_extensions; do
3755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3756 ac_cv_prog_ac_ct_CC="$ac_prog"
3757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 break 2
3760 done
3761 done
3762 IFS=$as_save_IFS
3766 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3767 if test -n "$ac_ct_CC"; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3769 $as_echo "$ac_ct_CC" >&6; }
3770 else
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772 $as_echo "no" >&6; }
3776 test -n "$ac_ct_CC" && break
3777 done
3779 if test "x$ac_ct_CC" = x; then
3780 CC=""
3781 else
3782 case $cross_compiling:$ac_tool_warned in
3783 yes:)
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3786 ac_tool_warned=yes ;;
3787 esac
3788 CC=$ac_ct_CC
3795 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3797 as_fn_error $? "no acceptable C compiler found in \$PATH
3798 See \`config.log' for more details" "$LINENO" 5; }
3800 # Provide some information about the compiler.
3801 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3802 set X $ac_compile
3803 ac_compiler=$2
3804 for ac_option in --version -v -V -qversion; do
3805 { { ac_try="$ac_compiler $ac_option >&5"
3806 case "(($ac_try" in
3807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3808 *) ac_try_echo=$ac_try;;
3809 esac
3810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3811 $as_echo "$ac_try_echo"; } >&5
3812 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3813 ac_status=$?
3814 if test -s conftest.err; then
3815 sed '10a\
3816 ... rest of stderr output deleted ...
3817 10q' conftest.err >conftest.er1
3818 cat conftest.er1 >&5
3820 rm -f conftest.er1 conftest.err
3821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3822 test $ac_status = 0; }
3823 done
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3829 main ()
3833 return 0;
3835 _ACEOF
3836 ac_clean_files_save=$ac_clean_files
3837 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3838 # Try to create an executable without -o first, disregard a.out.
3839 # It will help us diagnose broken compilers, and finding out an intuition
3840 # of exeext.
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3842 $as_echo_n "checking whether the C compiler works... " >&6; }
3843 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3845 # The possible output files:
3846 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3848 ac_rmfiles=
3849 for ac_file in $ac_files
3851 case $ac_file in
3852 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3853 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3854 esac
3855 done
3856 rm -f $ac_rmfiles
3858 if { { ac_try="$ac_link_default"
3859 case "(($ac_try" in
3860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3861 *) ac_try_echo=$ac_try;;
3862 esac
3863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3864 $as_echo "$ac_try_echo"; } >&5
3865 (eval "$ac_link_default") 2>&5
3866 ac_status=$?
3867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3868 test $ac_status = 0; }; then :
3869 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3870 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3871 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3872 # so that the user can short-circuit this test for compilers unknown to
3873 # Autoconf.
3874 for ac_file in $ac_files ''
3876 test -f "$ac_file" || continue
3877 case $ac_file in
3878 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3880 [ab].out )
3881 # We found the default executable, but exeext='' is most
3882 # certainly right.
3883 break;;
3884 *.* )
3885 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3886 then :; else
3887 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3889 # We set ac_cv_exeext here because the later test for it is not
3890 # safe: cross compilers may not add the suffix if given an `-o'
3891 # argument, so we may need to know it at that point already.
3892 # Even if this section looks crufty: it has the advantage of
3893 # actually working.
3894 break;;
3896 break;;
3897 esac
3898 done
3899 test "$ac_cv_exeext" = no && ac_cv_exeext=
3901 else
3902 ac_file=''
3904 if test -z "$ac_file"; then :
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3907 $as_echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.$ac_ext >&5
3910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3912 as_fn_error 77 "C compiler cannot create executables
3913 See \`config.log' for more details" "$LINENO" 5; }
3914 else
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3916 $as_echo "yes" >&6; }
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3919 $as_echo_n "checking for C compiler default output file name... " >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3921 $as_echo "$ac_file" >&6; }
3922 ac_exeext=$ac_cv_exeext
3924 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3925 ac_clean_files=$ac_clean_files_save
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3927 $as_echo_n "checking for suffix of executables... " >&6; }
3928 if { { ac_try="$ac_link"
3929 case "(($ac_try" in
3930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3931 *) ac_try_echo=$ac_try;;
3932 esac
3933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934 $as_echo "$ac_try_echo"; } >&5
3935 (eval "$ac_link") 2>&5
3936 ac_status=$?
3937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938 test $ac_status = 0; }; then :
3939 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3940 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3941 # work properly (i.e., refer to `conftest.exe'), while it won't with
3942 # `rm'.
3943 for ac_file in conftest.exe conftest conftest.*; do
3944 test -f "$ac_file" || continue
3945 case $ac_file in
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3947 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3948 break;;
3949 * ) break;;
3950 esac
3951 done
3952 else
3953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3955 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3956 See \`config.log' for more details" "$LINENO" 5; }
3958 rm -f conftest conftest$ac_cv_exeext
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3960 $as_echo "$ac_cv_exeext" >&6; }
3962 rm -f conftest.$ac_ext
3963 EXEEXT=$ac_cv_exeext
3964 ac_exeext=$EXEEXT
3965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3967 #include <stdio.h>
3969 main ()
3971 FILE *f = fopen ("conftest.out", "w");
3972 return ferror (f) || fclose (f) != 0;
3975 return 0;
3977 _ACEOF
3978 ac_clean_files="$ac_clean_files conftest.out"
3979 # Check that the compiler produces executables we can run. If not, either
3980 # the compiler is broken, or we cross compile.
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3982 $as_echo_n "checking whether we are cross compiling... " >&6; }
3983 if test "$cross_compiling" != yes; then
3984 { { ac_try="$ac_link"
3985 case "(($ac_try" in
3986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3987 *) ac_try_echo=$ac_try;;
3988 esac
3989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3990 $as_echo "$ac_try_echo"; } >&5
3991 (eval "$ac_link") 2>&5
3992 ac_status=$?
3993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3994 test $ac_status = 0; }
3995 if { ac_try='./conftest$ac_cv_exeext'
3996 { { case "(($ac_try" in
3997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998 *) ac_try_echo=$ac_try;;
3999 esac
4000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001 $as_echo "$ac_try_echo"; } >&5
4002 (eval "$ac_try") 2>&5
4003 ac_status=$?
4004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4005 test $ac_status = 0; }; }; then
4006 cross_compiling=no
4007 else
4008 if test "$cross_compiling" = maybe; then
4009 cross_compiling=yes
4010 else
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error $? "cannot run C compiled programs.
4014 If you meant to cross compile, use \`--host'.
4015 See \`config.log' for more details" "$LINENO" 5; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4020 $as_echo "$cross_compiling" >&6; }
4022 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4023 ac_clean_files=$ac_clean_files_save
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4025 $as_echo_n "checking for suffix of object files... " >&6; }
4026 if ${ac_cv_objext+:} false; then :
4027 $as_echo_n "(cached) " >&6
4028 else
4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4033 main ()
4037 return 0;
4039 _ACEOF
4040 rm -f conftest.o conftest.obj
4041 if { { ac_try="$ac_compile"
4042 case "(($ac_try" in
4043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4045 esac
4046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4047 $as_echo "$ac_try_echo"; } >&5
4048 (eval "$ac_compile") 2>&5
4049 ac_status=$?
4050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4051 test $ac_status = 0; }; then :
4052 for ac_file in conftest.o conftest.obj conftest.*; do
4053 test -f "$ac_file" || continue;
4054 case $ac_file in
4055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4056 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4057 break;;
4058 esac
4059 done
4060 else
4061 $as_echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.$ac_ext >&5
4064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4066 as_fn_error $? "cannot compute suffix of object files: cannot compile
4067 See \`config.log' for more details" "$LINENO" 5; }
4069 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4072 $as_echo "$ac_cv_objext" >&6; }
4073 OBJEXT=$ac_cv_objext
4074 ac_objext=$OBJEXT
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4076 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4077 if ${ac_cv_c_compiler_gnu+:} false; then :
4078 $as_echo_n "(cached) " >&6
4079 else
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4084 main ()
4086 #ifndef __GNUC__
4087 choke me
4088 #endif
4091 return 0;
4093 _ACEOF
4094 if ac_fn_c_try_compile "$LINENO"; then :
4095 ac_compiler_gnu=yes
4096 else
4097 ac_compiler_gnu=no
4099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4100 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4104 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4105 if test $ac_compiler_gnu = yes; then
4106 GCC=yes
4107 else
4108 GCC=
4110 ac_test_CFLAGS=${CFLAGS+set}
4111 ac_save_CFLAGS=$CFLAGS
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4113 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4114 if ${ac_cv_prog_cc_g+:} false; then :
4115 $as_echo_n "(cached) " >&6
4116 else
4117 ac_save_c_werror_flag=$ac_c_werror_flag
4118 ac_c_werror_flag=yes
4119 ac_cv_prog_cc_g=no
4120 CFLAGS="-g"
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4125 main ()
4129 return 0;
4131 _ACEOF
4132 if ac_fn_c_try_compile "$LINENO"; then :
4133 ac_cv_prog_cc_g=yes
4134 else
4135 CFLAGS=""
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4140 main ()
4144 return 0;
4146 _ACEOF
4147 if ac_fn_c_try_compile "$LINENO"; then :
4149 else
4150 ac_c_werror_flag=$ac_save_c_werror_flag
4151 CFLAGS="-g"
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4156 main ()
4160 return 0;
4162 _ACEOF
4163 if ac_fn_c_try_compile "$LINENO"; then :
4164 ac_cv_prog_cc_g=yes
4166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 ac_c_werror_flag=$ac_save_c_werror_flag
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4174 $as_echo "$ac_cv_prog_cc_g" >&6; }
4175 if test "$ac_test_CFLAGS" = set; then
4176 CFLAGS=$ac_save_CFLAGS
4177 elif test $ac_cv_prog_cc_g = yes; then
4178 if test "$GCC" = yes; then
4179 CFLAGS="-g -O2"
4180 else
4181 CFLAGS="-g"
4183 else
4184 if test "$GCC" = yes; then
4185 CFLAGS="-O2"
4186 else
4187 CFLAGS=
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4191 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4192 if ${ac_cv_prog_cc_c89+:} false; then :
4193 $as_echo_n "(cached) " >&6
4194 else
4195 ac_cv_prog_cc_c89=no
4196 ac_save_CC=$CC
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4199 #include <stdarg.h>
4200 #include <stdio.h>
4201 struct stat;
4202 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4203 struct buf { int x; };
4204 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4205 static char *e (p, i)
4206 char **p;
4207 int i;
4209 return p[i];
4211 static char *f (char * (*g) (char **, int), char **p, ...)
4213 char *s;
4214 va_list v;
4215 va_start (v,p);
4216 s = g (p, va_arg (v,int));
4217 va_end (v);
4218 return s;
4221 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4222 function prototypes and stuff, but not '\xHH' hex character constants.
4223 These don't provoke an error unfortunately, instead are silently treated
4224 as 'x'. The following induces an error, until -std is added to get
4225 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4226 array size at least. It's necessary to write '\x00'==0 to get something
4227 that's true only with -std. */
4228 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4230 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4231 inside strings and character constants. */
4232 #define FOO(x) 'x'
4233 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4235 int test (int i, double x);
4236 struct s1 {int (*f) (int a);};
4237 struct s2 {int (*f) (double a);};
4238 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4239 int argc;
4240 char **argv;
4242 main ()
4244 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4246 return 0;
4248 _ACEOF
4249 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4250 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4252 CC="$ac_save_CC $ac_arg"
4253 if ac_fn_c_try_compile "$LINENO"; then :
4254 ac_cv_prog_cc_c89=$ac_arg
4256 rm -f core conftest.err conftest.$ac_objext
4257 test "x$ac_cv_prog_cc_c89" != "xno" && break
4258 done
4259 rm -f conftest.$ac_ext
4260 CC=$ac_save_CC
4263 # AC_CACHE_VAL
4264 case "x$ac_cv_prog_cc_c89" in
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4267 $as_echo "none needed" >&6; } ;;
4268 xno)
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4270 $as_echo "unsupported" >&6; } ;;
4272 CC="$CC $ac_cv_prog_cc_c89"
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4274 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4275 esac
4276 if test "x$ac_cv_prog_cc_c89" != xno; then :
4280 ac_ext=c
4281 ac_cpp='$CPP $CPPFLAGS'
4282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4286 ac_ext=cpp
4287 ac_cpp='$CXXCPP $CPPFLAGS'
4288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4291 if test -z "$CXX"; then
4292 if test -n "$CCC"; then
4293 CXX=$CCC
4294 else
4295 if test -n "$ac_tool_prefix"; then
4296 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4298 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4299 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4301 $as_echo_n "checking for $ac_word... " >&6; }
4302 if ${ac_cv_prog_CXX+:} false; then :
4303 $as_echo_n "(cached) " >&6
4304 else
4305 if test -n "$CXX"; then
4306 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4307 else
4308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309 for as_dir in $PATH
4311 IFS=$as_save_IFS
4312 test -z "$as_dir" && as_dir=.
4313 for ac_exec_ext in '' $ac_executable_extensions; do
4314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4315 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4317 break 2
4319 done
4320 done
4321 IFS=$as_save_IFS
4325 CXX=$ac_cv_prog_CXX
4326 if test -n "$CXX"; then
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4328 $as_echo "$CXX" >&6; }
4329 else
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4331 $as_echo "no" >&6; }
4335 test -n "$CXX" && break
4336 done
4338 if test -z "$CXX"; then
4339 ac_ct_CXX=$CXX
4340 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4342 # Extract the first word of "$ac_prog", so it can be a program name with args.
4343 set dummy $ac_prog; ac_word=$2
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4345 $as_echo_n "checking for $ac_word... " >&6; }
4346 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4347 $as_echo_n "(cached) " >&6
4348 else
4349 if test -n "$ac_ct_CXX"; then
4350 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4351 else
4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4353 for as_dir in $PATH
4355 IFS=$as_save_IFS
4356 test -z "$as_dir" && as_dir=.
4357 for ac_exec_ext in '' $ac_executable_extensions; do
4358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4359 ac_cv_prog_ac_ct_CXX="$ac_prog"
4360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4361 break 2
4363 done
4364 done
4365 IFS=$as_save_IFS
4369 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4370 if test -n "$ac_ct_CXX"; then
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4372 $as_echo "$ac_ct_CXX" >&6; }
4373 else
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4375 $as_echo "no" >&6; }
4379 test -n "$ac_ct_CXX" && break
4380 done
4382 if test "x$ac_ct_CXX" = x; then
4383 CXX="g++"
4384 else
4385 case $cross_compiling:$ac_tool_warned in
4386 yes:)
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4389 ac_tool_warned=yes ;;
4390 esac
4391 CXX=$ac_ct_CXX
4397 # Provide some information about the compiler.
4398 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4399 set X $ac_compile
4400 ac_compiler=$2
4401 for ac_option in --version -v -V -qversion; do
4402 { { ac_try="$ac_compiler $ac_option >&5"
4403 case "(($ac_try" in
4404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4405 *) ac_try_echo=$ac_try;;
4406 esac
4407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4408 $as_echo "$ac_try_echo"; } >&5
4409 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4410 ac_status=$?
4411 if test -s conftest.err; then
4412 sed '10a\
4413 ... rest of stderr output deleted ...
4414 10q' conftest.err >conftest.er1
4415 cat conftest.er1 >&5
4417 rm -f conftest.er1 conftest.err
4418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4419 test $ac_status = 0; }
4420 done
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4423 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4424 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4425 $as_echo_n "(cached) " >&6
4426 else
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4431 main ()
4433 #ifndef __GNUC__
4434 choke me
4435 #endif
4438 return 0;
4440 _ACEOF
4441 if ac_fn_cxx_try_compile "$LINENO"; then :
4442 ac_compiler_gnu=yes
4443 else
4444 ac_compiler_gnu=no
4446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4447 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4451 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4452 if test $ac_compiler_gnu = yes; then
4453 GXX=yes
4454 else
4455 GXX=
4457 ac_test_CXXFLAGS=${CXXFLAGS+set}
4458 ac_save_CXXFLAGS=$CXXFLAGS
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4460 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4461 if ${ac_cv_prog_cxx_g+:} false; then :
4462 $as_echo_n "(cached) " >&6
4463 else
4464 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4465 ac_cxx_werror_flag=yes
4466 ac_cv_prog_cxx_g=no
4467 CXXFLAGS="-g"
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4472 main ()
4476 return 0;
4478 _ACEOF
4479 if ac_fn_cxx_try_compile "$LINENO"; then :
4480 ac_cv_prog_cxx_g=yes
4481 else
4482 CXXFLAGS=""
4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4487 main ()
4491 return 0;
4493 _ACEOF
4494 if ac_fn_cxx_try_compile "$LINENO"; then :
4496 else
4497 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4498 CXXFLAGS="-g"
4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4503 main ()
4507 return 0;
4509 _ACEOF
4510 if ac_fn_cxx_try_compile "$LINENO"; then :
4511 ac_cv_prog_cxx_g=yes
4513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4521 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4522 if test "$ac_test_CXXFLAGS" = set; then
4523 CXXFLAGS=$ac_save_CXXFLAGS
4524 elif test $ac_cv_prog_cxx_g = yes; then
4525 if test "$GXX" = yes; then
4526 CXXFLAGS="-g -O2"
4527 else
4528 CXXFLAGS="-g"
4530 else
4531 if test "$GXX" = yes; then
4532 CXXFLAGS="-O2"
4533 else
4534 CXXFLAGS=
4537 ac_ext=c
4538 ac_cpp='$CPP $CPPFLAGS'
4539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4543 if test -n "$ac_tool_prefix"; then
4544 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4545 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if ${ac_cv_prog_CPPBIN+:} false; then :
4549 $as_echo_n "(cached) " >&6
4550 else
4551 if test -n "$CPPBIN"; then
4552 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4553 else
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 for as_dir in $PATH
4557 IFS=$as_save_IFS
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4561 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 break 2
4565 done
4566 done
4567 IFS=$as_save_IFS
4571 CPPBIN=$ac_cv_prog_CPPBIN
4572 if test -n "$CPPBIN"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4574 $as_echo "$CPPBIN" >&6; }
4575 else
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4582 if test -z "$ac_cv_prog_CPPBIN"; then
4583 ac_ct_CPPBIN=$CPPBIN
4584 # Extract the first word of "cpp", so it can be a program name with args.
4585 set dummy cpp; ac_word=$2
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4587 $as_echo_n "checking for $ac_word... " >&6; }
4588 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4589 $as_echo_n "(cached) " >&6
4590 else
4591 if test -n "$ac_ct_CPPBIN"; then
4592 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4593 else
4594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595 for as_dir in $PATH
4597 IFS=$as_save_IFS
4598 test -z "$as_dir" && as_dir=.
4599 for ac_exec_ext in '' $ac_executable_extensions; do
4600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4601 ac_cv_prog_ac_ct_CPPBIN="cpp"
4602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4603 break 2
4605 done
4606 done
4607 IFS=$as_save_IFS
4611 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4612 if test -n "$ac_ct_CPPBIN"; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4614 $as_echo "$ac_ct_CPPBIN" >&6; }
4615 else
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4617 $as_echo "no" >&6; }
4620 if test "x$ac_ct_CPPBIN" = x; then
4621 CPPBIN="cpp"
4622 else
4623 case $cross_compiling:$ac_tool_warned in
4624 yes:)
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4627 ac_tool_warned=yes ;;
4628 esac
4629 CPPBIN=$ac_ct_CPPBIN
4631 else
4632 CPPBIN="$ac_cv_prog_CPPBIN"
4636 cat >>confdefs.h <<_ACEOF
4637 #define EXEEXT "$ac_exeext"
4638 _ACEOF
4641 case $host in
4642 *-darwin*)
4643 if test "x$enable_win64" = "xyes"
4644 then
4645 CC="$CC -m64"
4646 CXX="$CXX -m64"
4647 host_cpu="x86_64"
4648 notice_platform="64-bit "
4649 TARGETFLAGS="-m64"
4651 else
4652 CC="$CC -m32"
4653 CXX="$CXX -m32"
4654 host_cpu="i386"
4655 notice_platform="32-bit "
4656 TARGETFLAGS="-m32"
4658 enable_win16=${enable_win16:-yes}
4660 with_fontconfig=${with_fontconfig:-no}
4662 x86_64*)
4663 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4664 then
4665 CC="$CC -m32"
4666 CXX="$CXX -m32"
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4668 $as_echo_n "checking whether $CC works... " >&6; }
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4674 main ()
4678 return 0;
4680 _ACEOF
4681 if ac_fn_c_try_link "$LINENO"; then :
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4683 $as_echo "yes" >&6; }
4684 else
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4687 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4689 rm -f core conftest.err conftest.$ac_objext \
4690 conftest$ac_exeext conftest.$ac_ext
4691 host_cpu="i386"
4692 notice_platform="32-bit "
4693 TARGETFLAGS="-m32"
4695 enable_win16=${enable_win16:-yes}
4696 else
4697 if test "x${GCC}" = "xyes"
4698 then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4700 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4703 #include <stdarg.h>
4705 main ()
4707 void func(__builtin_ms_va_list *args);
4709 return 0;
4711 _ACEOF
4712 if ac_fn_c_try_compile "$LINENO"; then :
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4714 $as_echo "yes" >&6; }
4715 else
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4718 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4722 TARGETFLAGS="-m64"
4726 arm*)
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4728 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4730 /* end confdefs.h. */
4731 int ac_test(int i) { return i; }
4733 main ()
4735 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4737 return 0;
4739 _ACEOF
4740 if ac_fn_c_try_link "$LINENO"; then :
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4742 $as_echo "yes" >&6; }
4743 else
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 $as_echo "no" >&6; }
4746 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4748 rm -f core conftest.err conftest.$ac_objext \
4749 conftest$ac_exeext conftest.$ac_ext
4750 CFLAGS="$CFLAGS -marm"
4752 *-mingw32*|*-cygwin*)
4753 enable_win16=${enable_win16:-no}
4754 CFLAGS="$CFLAGS -D_WIN32"
4756 i[3456789]86*)
4757 enable_win16=${enable_win16:-yes}
4759 esac
4761 enable_win16=${enable_win16:-no}
4762 enable_win64=${enable_win64:-no}
4764 enable_winetest=${enable_winetest:-$enable_tests}
4766 if test -n "$with_wine64"
4767 then
4768 if test "x$enable_win64" = "xyes"
4769 then
4770 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4771 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4773 enable_fonts=${enable_fonts:-no}
4774 enable_server=${enable_server:-no}
4775 elif test "x$enable_win64" = "xyes"
4776 then
4777 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4781 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4782 if ${wine_cv_toolsdir+:} false; then :
4783 $as_echo_n "(cached) " >&6
4784 else
4785 wine_cv_toolsdir="$with_wine_tools"
4786 if test -z "$with_wine_tools"; then
4787 if test "$cross_compiling" = "yes"; then
4788 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4789 elif test -n "$with_wine64"; then
4790 wine_cv_toolsdir="$with_wine64"
4793 if test -z "$wine_cv_toolsdir"; then
4794 wine_cv_toolsdir="\$(top_builddir)"
4795 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4796 case "$wine_cv_toolsdir" in
4797 /*) ;;
4798 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4799 esac
4800 enable_tools=${enable_tools:-no}
4801 else
4802 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4806 $as_echo "$wine_cv_toolsdir" >&6; }
4807 TOOLSDIR=$wine_cv_toolsdir
4809 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4810 then
4811 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4815 for ac_prog in flex
4817 # Extract the first word of "$ac_prog", so it can be a program name with args.
4818 set dummy $ac_prog; ac_word=$2
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 $as_echo_n "checking for $ac_word... " >&6; }
4821 if ${ac_cv_prog_FLEX+:} false; then :
4822 $as_echo_n "(cached) " >&6
4823 else
4824 if test -n "$FLEX"; then
4825 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4826 else
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH
4830 IFS=$as_save_IFS
4831 test -z "$as_dir" && as_dir=.
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4834 ac_cv_prog_FLEX="$ac_prog"
4835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 break 2
4838 done
4839 done
4840 IFS=$as_save_IFS
4844 FLEX=$ac_cv_prog_FLEX
4845 if test -n "$FLEX"; then
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4847 $as_echo "$FLEX" >&6; }
4848 else
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4850 $as_echo "no" >&6; }
4854 test -n "$FLEX" && break
4855 done
4856 test -n "$FLEX" || FLEX="none"
4858 if test "$FLEX" = "none"
4859 then
4860 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4863 $as_echo_n "checking whether flex is recent enough... " >&6; }
4864 cat >conftest.l <<EOF
4865 %top{
4866 #include "prediluvian.h"
4870 if $FLEX -t conftest.l >/dev/null 2>&5
4871 then
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4873 $as_echo "yes" >&6; }
4874 else
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4876 $as_echo "no" >&6; }
4877 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4880 for ac_prog in bison
4882 # Extract the first word of "$ac_prog", so it can be a program name with args.
4883 set dummy $ac_prog; ac_word=$2
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4885 $as_echo_n "checking for $ac_word... " >&6; }
4886 if ${ac_cv_prog_BISON+:} false; then :
4887 $as_echo_n "(cached) " >&6
4888 else
4889 if test -n "$BISON"; then
4890 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4891 else
4892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 for as_dir in $PATH
4895 IFS=$as_save_IFS
4896 test -z "$as_dir" && as_dir=.
4897 for ac_exec_ext in '' $ac_executable_extensions; do
4898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_BISON="$ac_prog"
4900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 break 2
4903 done
4904 done
4905 IFS=$as_save_IFS
4909 BISON=$ac_cv_prog_BISON
4910 if test -n "$BISON"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4912 $as_echo "$BISON" >&6; }
4913 else
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4919 test -n "$BISON" && break
4920 done
4921 test -n "$BISON" || BISON="none"
4923 if test "$BISON" = "none"
4924 then
4925 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4928 if test -n "$ac_tool_prefix"; then
4929 for ac_prog in ar gar
4931 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4932 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if ${ac_cv_prog_AR+:} false; then :
4936 $as_echo_n "(cached) " >&6
4937 else
4938 if test -n "$AR"; then
4939 ac_cv_prog_AR="$AR" # Let the user override the test.
4940 else
4941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 for as_dir in $PATH
4944 IFS=$as_save_IFS
4945 test -z "$as_dir" && as_dir=.
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 break 2
4952 done
4953 done
4954 IFS=$as_save_IFS
4958 AR=$ac_cv_prog_AR
4959 if test -n "$AR"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4961 $as_echo "$AR" >&6; }
4962 else
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4968 test -n "$AR" && break
4969 done
4971 if test -z "$AR"; then
4972 ac_ct_AR=$AR
4973 for ac_prog in ar gar
4975 # Extract the first word of "$ac_prog", so it can be a program name with args.
4976 set dummy $ac_prog; ac_word=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4980 $as_echo_n "(cached) " >&6
4981 else
4982 if test -n "$ac_ct_AR"; then
4983 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4984 else
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 for as_dir in $PATH
4988 IFS=$as_save_IFS
4989 test -z "$as_dir" && as_dir=.
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_ac_ct_AR="$ac_prog"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 break 2
4996 done
4997 done
4998 IFS=$as_save_IFS
5002 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5003 if test -n "$ac_ct_AR"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5005 $as_echo "$ac_ct_AR" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5012 test -n "$ac_ct_AR" && break
5013 done
5015 if test "x$ac_ct_AR" = x; then
5016 AR="ar"
5017 else
5018 case $cross_compiling:$ac_tool_warned in
5019 yes:)
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5022 ac_tool_warned=yes ;;
5023 esac
5024 AR=$ac_ct_AR
5028 if test -n "$ac_tool_prefix"; then
5029 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5030 set dummy ${ac_tool_prefix}strip; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_STRIP+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 if test -n "$STRIP"; then
5037 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5038 else
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 for as_dir in $PATH
5042 IFS=$as_save_IFS
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 break 2
5050 done
5051 done
5052 IFS=$as_save_IFS
5056 STRIP=$ac_cv_prog_STRIP
5057 if test -n "$STRIP"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5059 $as_echo "$STRIP" >&6; }
5060 else
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5067 if test -z "$ac_cv_prog_STRIP"; then
5068 ac_ct_STRIP=$STRIP
5069 # Extract the first word of "strip", so it can be a program name with args.
5070 set dummy strip; ac_word=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5074 $as_echo_n "(cached) " >&6
5075 else
5076 if test -n "$ac_ct_STRIP"; then
5077 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5078 else
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 for as_dir in $PATH
5082 IFS=$as_save_IFS
5083 test -z "$as_dir" && as_dir=.
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5086 ac_cv_prog_ac_ct_STRIP="strip"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 break 2
5090 done
5091 done
5092 IFS=$as_save_IFS
5096 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5097 if test -n "$ac_ct_STRIP"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5099 $as_echo "$ac_ct_STRIP" >&6; }
5100 else
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5105 if test "x$ac_ct_STRIP" = x; then
5106 STRIP="strip"
5107 else
5108 case $cross_compiling:$ac_tool_warned in
5109 yes:)
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5112 ac_tool_warned=yes ;;
5113 esac
5114 STRIP=$ac_ct_STRIP
5116 else
5117 STRIP="$ac_cv_prog_STRIP"
5120 ARFLAGS=rc
5122 if test -n "$ac_tool_prefix"; then
5123 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5124 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if ${ac_cv_prog_RANLIB+:} false; then :
5128 $as_echo_n "(cached) " >&6
5129 else
5130 if test -n "$RANLIB"; then
5131 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5132 else
5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5134 for as_dir in $PATH
5136 IFS=$as_save_IFS
5137 test -z "$as_dir" && as_dir=.
5138 for ac_exec_ext in '' $ac_executable_extensions; do
5139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5140 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5142 break 2
5144 done
5145 done
5146 IFS=$as_save_IFS
5150 RANLIB=$ac_cv_prog_RANLIB
5151 if test -n "$RANLIB"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5153 $as_echo "$RANLIB" >&6; }
5154 else
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5161 if test -z "$ac_cv_prog_RANLIB"; then
5162 ac_ct_RANLIB=$RANLIB
5163 # Extract the first word of "ranlib", so it can be a program name with args.
5164 set dummy ranlib; ac_word=$2
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166 $as_echo_n "checking for $ac_word... " >&6; }
5167 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5168 $as_echo_n "(cached) " >&6
5169 else
5170 if test -n "$ac_ct_RANLIB"; then
5171 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5172 else
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 for as_dir in $PATH
5176 IFS=$as_save_IFS
5177 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5180 ac_cv_prog_ac_ct_RANLIB="ranlib"
5181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 break 2
5184 done
5185 done
5186 IFS=$as_save_IFS
5190 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5191 if test -n "$ac_ct_RANLIB"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5193 $as_echo "$ac_ct_RANLIB" >&6; }
5194 else
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5199 if test "x$ac_ct_RANLIB" = x; then
5200 RANLIB=":"
5201 else
5202 case $cross_compiling:$ac_tool_warned in
5203 yes:)
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5206 ac_tool_warned=yes ;;
5207 esac
5208 RANLIB=$ac_ct_RANLIB
5210 else
5211 RANLIB="$ac_cv_prog_RANLIB"
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5215 $as_echo_n "checking whether ln -s works... " >&6; }
5216 LN_S=$as_ln_s
5217 if test "$LN_S" = "ln -s"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5219 $as_echo "yes" >&6; }
5220 else
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5222 $as_echo "no, using $LN_S" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5226 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5227 if ${ac_cv_path_GREP+:} false; then :
5228 $as_echo_n "(cached) " >&6
5229 else
5230 if test -z "$GREP"; then
5231 ac_path_GREP_found=false
5232 # Loop through the user's path and test for each of PROGNAME-LIST
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5236 IFS=$as_save_IFS
5237 test -z "$as_dir" && as_dir=.
5238 for ac_prog in grep ggrep; do
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5241 as_fn_executable_p "$ac_path_GREP" || continue
5242 # Check for GNU ac_path_GREP and select it if it is found.
5243 # Check for GNU $ac_path_GREP
5244 case `"$ac_path_GREP" --version 2>&1` in
5245 *GNU*)
5246 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5248 ac_count=0
5249 $as_echo_n 0123456789 >"conftest.in"
5250 while :
5252 cat "conftest.in" "conftest.in" >"conftest.tmp"
5253 mv "conftest.tmp" "conftest.in"
5254 cp "conftest.in" "conftest.nl"
5255 $as_echo 'GREP' >> "conftest.nl"
5256 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5257 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5258 as_fn_arith $ac_count + 1 && ac_count=$as_val
5259 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5260 # Best one so far, save it but keep looking for a better one
5261 ac_cv_path_GREP="$ac_path_GREP"
5262 ac_path_GREP_max=$ac_count
5264 # 10*(2^10) chars as input seems more than enough
5265 test $ac_count -gt 10 && break
5266 done
5267 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5268 esac
5270 $ac_path_GREP_found && break 3
5271 done
5272 done
5273 done
5274 IFS=$as_save_IFS
5275 if test -z "$ac_cv_path_GREP"; then
5276 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5278 else
5279 ac_cv_path_GREP=$GREP
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5284 $as_echo "$ac_cv_path_GREP" >&6; }
5285 GREP="$ac_cv_path_GREP"
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5289 $as_echo_n "checking for egrep... " >&6; }
5290 if ${ac_cv_path_EGREP+:} false; then :
5291 $as_echo_n "(cached) " >&6
5292 else
5293 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5294 then ac_cv_path_EGREP="$GREP -E"
5295 else
5296 if test -z "$EGREP"; then
5297 ac_path_EGREP_found=false
5298 # Loop through the user's path and test for each of PROGNAME-LIST
5299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5300 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5302 IFS=$as_save_IFS
5303 test -z "$as_dir" && as_dir=.
5304 for ac_prog in egrep; do
5305 for ac_exec_ext in '' $ac_executable_extensions; do
5306 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5307 as_fn_executable_p "$ac_path_EGREP" || continue
5308 # Check for GNU ac_path_EGREP and select it if it is found.
5309 # Check for GNU $ac_path_EGREP
5310 case `"$ac_path_EGREP" --version 2>&1` in
5311 *GNU*)
5312 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5314 ac_count=0
5315 $as_echo_n 0123456789 >"conftest.in"
5316 while :
5318 cat "conftest.in" "conftest.in" >"conftest.tmp"
5319 mv "conftest.tmp" "conftest.in"
5320 cp "conftest.in" "conftest.nl"
5321 $as_echo 'EGREP' >> "conftest.nl"
5322 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5323 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5324 as_fn_arith $ac_count + 1 && ac_count=$as_val
5325 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5326 # Best one so far, save it but keep looking for a better one
5327 ac_cv_path_EGREP="$ac_path_EGREP"
5328 ac_path_EGREP_max=$ac_count
5330 # 10*(2^10) chars as input seems more than enough
5331 test $ac_count -gt 10 && break
5332 done
5333 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5334 esac
5336 $ac_path_EGREP_found && break 3
5337 done
5338 done
5339 done
5340 IFS=$as_save_IFS
5341 if test -z "$ac_cv_path_EGREP"; then
5342 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5344 else
5345 ac_cv_path_EGREP=$EGREP
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5351 $as_echo "$ac_cv_path_EGREP" >&6; }
5352 EGREP="$ac_cv_path_EGREP"
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5356 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5357 if test -z "$MKDIR_P"; then
5358 if ${ac_cv_path_mkdir+:} false; then :
5359 $as_echo_n "(cached) " >&6
5360 else
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5364 IFS=$as_save_IFS
5365 test -z "$as_dir" && as_dir=.
5366 for ac_prog in mkdir gmkdir; do
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5369 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5370 'mkdir (GNU coreutils) '* | \
5371 'mkdir (coreutils) '* | \
5372 'mkdir (fileutils) '4.1*)
5373 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5374 break 3;;
5375 esac
5376 done
5377 done
5378 done
5379 IFS=$as_save_IFS
5383 test -d ./--version && rmdir ./--version
5384 if test "${ac_cv_path_mkdir+set}" = set; then
5385 MKDIR_P="$ac_cv_path_mkdir -p"
5386 else
5387 # As a last resort, use the slow shell script. Don't cache a
5388 # value for MKDIR_P within a source directory, because that will
5389 # break other packages using the cache if that directory is
5390 # removed, or if the value is a relative name.
5391 MKDIR_P="$ac_install_sh -d"
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5395 $as_echo "$MKDIR_P" >&6; }
5397 # Extract the first word of "ldconfig", so it can be a program name with args.
5398 set dummy ldconfig; ac_word=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if ${ac_cv_path_LDCONFIG+:} false; then :
5402 $as_echo_n "(cached) " >&6
5403 else
5404 case $LDCONFIG in
5405 [\\/]* | ?:[\\/]*)
5406 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410 for as_dir in /sbin /usr/sbin $PATH
5412 IFS=$as_save_IFS
5413 test -z "$as_dir" && as_dir=.
5414 for ac_exec_ext in '' $ac_executable_extensions; do
5415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5416 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 break 2
5420 done
5421 done
5422 IFS=$as_save_IFS
5424 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5426 esac
5428 LDCONFIG=$ac_cv_path_LDCONFIG
5429 if test -n "$LDCONFIG"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5431 $as_echo "$LDCONFIG" >&6; }
5432 else
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5439 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5440 # Find a good install program. We prefer a C program (faster),
5441 # so one script is as good as another. But avoid the broken or
5442 # incompatible versions:
5443 # SysV /etc/install, /usr/sbin/install
5444 # SunOS /usr/etc/install
5445 # IRIX /sbin/install
5446 # AIX /bin/install
5447 # AmigaOS /C/install, which installs bootblocks on floppy discs
5448 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5449 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5450 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5451 # OS/2's system install, which has a completely different semantic
5452 # ./install, which can be erroneously created by make from ./install.sh.
5453 # Reject install programs that cannot install multiple files.
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5455 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5456 if test -z "$INSTALL"; then
5457 if ${ac_cv_path_install+:} false; then :
5458 $as_echo_n "(cached) " >&6
5459 else
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in $PATH
5463 IFS=$as_save_IFS
5464 test -z "$as_dir" && as_dir=.
5465 # Account for people who put trailing slashes in PATH elements.
5466 case $as_dir/ in #((
5467 ./ | .// | /[cC]/* | \
5468 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5469 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
5470 /usr/ucb/* ) ;;
5472 # OSF1 and SCO ODT 3.0 have their own names for install.
5473 # Don't use installbsd from OSF since it installs stuff as root
5474 # by default.
5475 for ac_prog in ginstall scoinst install; do
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5478 if test $ac_prog = install &&
5479 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5480 # AIX install. It has an incompatible calling convention.
5482 elif test $ac_prog = install &&
5483 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5484 # program-specific install script used by HP pwplus--don't use.
5486 else
5487 rm -rf conftest.one conftest.two conftest.dir
5488 echo one > conftest.one
5489 echo two > conftest.two
5490 mkdir conftest.dir
5491 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5492 test -s conftest.one && test -s conftest.two &&
5493 test -s conftest.dir/conftest.one &&
5494 test -s conftest.dir/conftest.two
5495 then
5496 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5497 break 3
5501 done
5502 done
5504 esac
5506 done
5507 IFS=$as_save_IFS
5509 rm -rf conftest.one conftest.two conftest.dir
5512 if test "${ac_cv_path_install+set}" = set; then
5513 INSTALL=$ac_cv_path_install
5514 else
5515 # As a last resort, use the slow shell script. Don't cache a
5516 # value for INSTALL within a source directory, because that will
5517 # break other packages using the cache if that directory is
5518 # removed, or if the value is a relative name.
5519 INSTALL=$ac_install_sh
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5523 $as_echo "$INSTALL" >&6; }
5525 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5526 # It thinks the first close brace ends the variable substitution.
5527 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5529 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5531 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5534 for ac_prog in fontforge
5536 # Extract the first word of "$ac_prog", so it can be a program name with args.
5537 set dummy $ac_prog; ac_word=$2
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5539 $as_echo_n "checking for $ac_word... " >&6; }
5540 if ${ac_cv_prog_FONTFORGE+:} false; then :
5541 $as_echo_n "(cached) " >&6
5542 else
5543 if test -n "$FONTFORGE"; then
5544 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5545 else
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547 for as_dir in $PATH
5549 IFS=$as_save_IFS
5550 test -z "$as_dir" && as_dir=.
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5553 ac_cv_prog_FONTFORGE="$ac_prog"
5554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 break 2
5557 done
5558 done
5559 IFS=$as_save_IFS
5563 FONTFORGE=$ac_cv_prog_FONTFORGE
5564 if test -n "$FONTFORGE"; then
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5566 $as_echo "$FONTFORGE" >&6; }
5567 else
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5573 test -n "$FONTFORGE" && break
5574 done
5575 test -n "$FONTFORGE" || FONTFORGE="false"
5577 for ac_prog in rsvg
5579 # Extract the first word of "$ac_prog", so it can be a program name with args.
5580 set dummy $ac_prog; ac_word=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5582 $as_echo_n "checking for $ac_word... " >&6; }
5583 if ${ac_cv_prog_RSVG+:} false; then :
5584 $as_echo_n "(cached) " >&6
5585 else
5586 if test -n "$RSVG"; then
5587 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5588 else
5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590 for as_dir in $PATH
5592 IFS=$as_save_IFS
5593 test -z "$as_dir" && as_dir=.
5594 for ac_exec_ext in '' $ac_executable_extensions; do
5595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5596 ac_cv_prog_RSVG="$ac_prog"
5597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 break 2
5600 done
5601 done
5602 IFS=$as_save_IFS
5606 RSVG=$ac_cv_prog_RSVG
5607 if test -n "$RSVG"; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5609 $as_echo "$RSVG" >&6; }
5610 else
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5616 test -n "$RSVG" && break
5617 done
5618 test -n "$RSVG" || RSVG="false"
5620 for ac_prog in convert
5622 # Extract the first word of "$ac_prog", so it can be a program name with args.
5623 set dummy $ac_prog; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_CONVERT+:} false; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -n "$CONVERT"; then
5630 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_CONVERT="$ac_prog"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5643 done
5644 done
5645 IFS=$as_save_IFS
5649 CONVERT=$ac_cv_prog_CONVERT
5650 if test -n "$CONVERT"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5652 $as_echo "$CONVERT" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5659 test -n "$CONVERT" && break
5660 done
5661 test -n "$CONVERT" || CONVERT="false"
5663 for ac_prog in icotool
5665 # Extract the first word of "$ac_prog", so it can be a program name with args.
5666 set dummy $ac_prog; ac_word=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if ${ac_cv_prog_ICOTOOL+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 if test -n "$ICOTOOL"; then
5673 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5674 else
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 for as_dir in $PATH
5678 IFS=$as_save_IFS
5679 test -z "$as_dir" && as_dir=.
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_ICOTOOL="$ac_prog"
5683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 break 2
5686 done
5687 done
5688 IFS=$as_save_IFS
5692 ICOTOOL=$ac_cv_prog_ICOTOOL
5693 if test -n "$ICOTOOL"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5695 $as_echo "$ICOTOOL" >&6; }
5696 else
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5702 test -n "$ICOTOOL" && break
5703 done
5704 test -n "$ICOTOOL" || ICOTOOL="false"
5706 for ac_prog in msgfmt
5708 # Extract the first word of "$ac_prog", so it can be a program name with args.
5709 set dummy $ac_prog; ac_word=$2
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 $as_echo_n "checking for $ac_word... " >&6; }
5712 if ${ac_cv_prog_MSGFMT+:} false; then :
5713 $as_echo_n "(cached) " >&6
5714 else
5715 if test -n "$MSGFMT"; then
5716 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5717 else
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH
5721 IFS=$as_save_IFS
5722 test -z "$as_dir" && as_dir=.
5723 for ac_exec_ext in '' $ac_executable_extensions; do
5724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5725 ac_cv_prog_MSGFMT="$ac_prog"
5726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 break 2
5729 done
5730 done
5731 IFS=$as_save_IFS
5735 MSGFMT=$ac_cv_prog_MSGFMT
5736 if test -n "$MSGFMT"; then
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5738 $as_echo "$MSGFMT" >&6; }
5739 else
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }
5745 test -n "$MSGFMT" && break
5746 done
5747 test -n "$MSGFMT" || MSGFMT="false"
5749 if test -n "$ac_tool_prefix"; then
5750 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5751 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753 $as_echo_n "checking for $ac_word... " >&6; }
5754 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5755 $as_echo_n "(cached) " >&6
5756 else
5757 if test -n "$PKG_CONFIG"; then
5758 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5759 else
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 for as_dir in $PATH
5763 IFS=$as_save_IFS
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5767 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 break 2
5771 done
5772 done
5773 IFS=$as_save_IFS
5777 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5778 if test -n "$PKG_CONFIG"; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5780 $as_echo "$PKG_CONFIG" >&6; }
5781 else
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783 $as_echo "no" >&6; }
5788 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5789 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5790 elif test "$cross_compiling" != yes; then
5791 unset ac_cv_prog_PKG_CONFIG
5792 # Extract the first word of "pkg-config", so it can be a program name with args.
5793 set dummy pkg-config; ac_word=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5797 $as_echo_n "(cached) " >&6
5798 else
5799 if test -n "$PKG_CONFIG"; then
5800 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5801 else
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 for as_dir in $PATH
5805 IFS=$as_save_IFS
5806 test -z "$as_dir" && as_dir=.
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_PKG_CONFIG="pkg-config"
5810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5811 break 2
5813 done
5814 done
5815 IFS=$as_save_IFS
5819 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5820 if test -n "$PKG_CONFIG"; then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5822 $as_echo "$PKG_CONFIG" >&6; }
5823 else
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5831 if test "x$enable_maintainer_mode" != "xyes"
5832 then
5833 MAINTAINER_MODE=\#
5835 else
5836 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5837 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5839 if test "$CONVERT" = false
5840 then
5841 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5842 else
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5844 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5845 convert_version=`convert --version | head -n1`
5846 if test "x$convert_version" != "x"
5847 then
5848 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5849 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5850 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5851 then
5852 CONVERT=false
5855 if test "$CONVERT" = false
5856 then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5858 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5859 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5860 else
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5862 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5866 if test "$ICOTOOL" = false
5867 then
5868 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5869 else
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5871 $as_echo_n "checking for recent enough icotool... " >&6; }
5872 icotool_version=`icotool --version | head -n1`
5873 if test "x$icotool_version" != "x"
5874 then
5875 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5876 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5877 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5878 then
5879 ICOTOOL=false
5880 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5883 if test "$ICOTOOL" = false
5884 then
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5886 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5887 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5888 else
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5890 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5894 with_gettext=yes
5895 with_gettextpo=yes
5896 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5899 test "x$with_gettext" != xno || MSGFMT=false
5900 if test "$MSGFMT" != "false"
5901 then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5903 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5904 cat >conftest.po <<EOF
5905 # comment
5906 msgctxt "ctxt"
5907 msgid "id"
5908 msgstr "str"
5910 if $MSGFMT -o /dev/null conftest.po 2>&5
5911 then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5913 $as_echo "yes" >&6; }
5914 else
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5917 MSGFMT=false
5920 if test "$MSGFMT" = false; then :
5921 case "x$with_gettext" in
5922 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5923 xno) ;;
5924 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5925 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5926 esac
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5931 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5932 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 ac_check_lib_save_LIBS=$LIBS
5936 LIBS="-li386 $LIBS"
5937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5938 /* end confdefs.h. */
5940 /* Override any GCC internal prototype to avoid an error.
5941 Use char because int might match the return type of a GCC
5942 builtin and then its argument prototype would still apply. */
5943 #ifdef __cplusplus
5944 extern "C"
5945 #endif
5946 char i386_set_ldt ();
5948 main ()
5950 return i386_set_ldt ();
5952 return 0;
5954 _ACEOF
5955 if ac_fn_c_try_link "$LINENO"; then :
5956 ac_cv_lib_i386_i386_set_ldt=yes
5957 else
5958 ac_cv_lib_i386_i386_set_ldt=no
5960 rm -f core conftest.err conftest.$ac_objext \
5961 conftest$ac_exeext conftest.$ac_ext
5962 LIBS=$ac_check_lib_save_LIBS
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5965 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5966 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5967 cat >>confdefs.h <<_ACEOF
5968 #define HAVE_LIBI386 1
5969 _ACEOF
5971 LIBS="-li386 $LIBS"
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5976 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5977 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5978 $as_echo_n "(cached) " >&6
5979 else
5980 ac_check_lib_save_LIBS=$LIBS
5981 LIBS="-lossaudio $LIBS"
5982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5983 /* end confdefs.h. */
5985 /* Override any GCC internal prototype to avoid an error.
5986 Use char because int might match the return type of a GCC
5987 builtin and then its argument prototype would still apply. */
5988 #ifdef __cplusplus
5989 extern "C"
5990 #endif
5991 char _oss_ioctl ();
5993 main ()
5995 return _oss_ioctl ();
5997 return 0;
5999 _ACEOF
6000 if ac_fn_c_try_link "$LINENO"; then :
6001 ac_cv_lib_ossaudio__oss_ioctl=yes
6002 else
6003 ac_cv_lib_ossaudio__oss_ioctl=no
6005 rm -f core conftest.err conftest.$ac_objext \
6006 conftest$ac_exeext conftest.$ac_ext
6007 LIBS=$ac_check_lib_save_LIBS
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6010 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6011 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6012 cat >>confdefs.h <<_ACEOF
6013 #define HAVE_LIBOSSAUDIO 1
6014 _ACEOF
6016 LIBS="-lossaudio $LIBS"
6021 XLIB=""
6023 OPENGL_LIBS=""
6027 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
6029 # Check whether --enable-largefile was given.
6030 if test "${enable_largefile+set}" = set; then :
6031 enableval=$enable_largefile;
6034 if test "$enable_largefile" != no; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6037 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6038 if ${ac_cv_sys_largefile_CC+:} false; then :
6039 $as_echo_n "(cached) " >&6
6040 else
6041 ac_cv_sys_largefile_CC=no
6042 if test "$GCC" != yes; then
6043 ac_save_CC=$CC
6044 while :; do
6045 # IRIX 6.2 and later do not support large files by default,
6046 # so use the C compiler's -n32 option if that helps.
6047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6048 /* end confdefs.h. */
6049 #include <sys/types.h>
6050 /* Check that off_t can represent 2**63 - 1 correctly.
6051 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6052 since some C++ compilers masquerading as C compilers
6053 incorrectly reject 9223372036854775807. */
6054 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6055 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6056 && LARGE_OFF_T % 2147483647 == 1)
6057 ? 1 : -1];
6059 main ()
6063 return 0;
6065 _ACEOF
6066 if ac_fn_c_try_compile "$LINENO"; then :
6067 break
6069 rm -f core conftest.err conftest.$ac_objext
6070 CC="$CC -n32"
6071 if ac_fn_c_try_compile "$LINENO"; then :
6072 ac_cv_sys_largefile_CC=' -n32'; break
6074 rm -f core conftest.err conftest.$ac_objext
6075 break
6076 done
6077 CC=$ac_save_CC
6078 rm -f conftest.$ac_ext
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6082 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6083 if test "$ac_cv_sys_largefile_CC" != no; then
6084 CC=$CC$ac_cv_sys_largefile_CC
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6088 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6089 if ${ac_cv_sys_file_offset_bits+:} false; then :
6090 $as_echo_n "(cached) " >&6
6091 else
6092 while :; do
6093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6094 /* end confdefs.h. */
6095 #include <sys/types.h>
6096 /* Check that off_t can represent 2**63 - 1 correctly.
6097 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6098 since some C++ compilers masquerading as C compilers
6099 incorrectly reject 9223372036854775807. */
6100 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6101 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6102 && LARGE_OFF_T % 2147483647 == 1)
6103 ? 1 : -1];
6105 main ()
6109 return 0;
6111 _ACEOF
6112 if ac_fn_c_try_compile "$LINENO"; then :
6113 ac_cv_sys_file_offset_bits=no; break
6115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6117 /* end confdefs.h. */
6118 #define _FILE_OFFSET_BITS 64
6119 #include <sys/types.h>
6120 /* Check that off_t can represent 2**63 - 1 correctly.
6121 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6122 since some C++ compilers masquerading as C compilers
6123 incorrectly reject 9223372036854775807. */
6124 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6125 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6126 && LARGE_OFF_T % 2147483647 == 1)
6127 ? 1 : -1];
6129 main ()
6133 return 0;
6135 _ACEOF
6136 if ac_fn_c_try_compile "$LINENO"; then :
6137 ac_cv_sys_file_offset_bits=64; break
6139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6140 ac_cv_sys_file_offset_bits=unknown
6141 break
6142 done
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6145 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6146 case $ac_cv_sys_file_offset_bits in #(
6147 no | unknown) ;;
6149 cat >>confdefs.h <<_ACEOF
6150 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6151 _ACEOF
6153 esac
6154 rm -rf conftest*
6155 if test $ac_cv_sys_file_offset_bits = unknown; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6157 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6158 if ${ac_cv_sys_large_files+:} false; then :
6159 $as_echo_n "(cached) " >&6
6160 else
6161 while :; do
6162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6163 /* end confdefs.h. */
6164 #include <sys/types.h>
6165 /* Check that off_t can represent 2**63 - 1 correctly.
6166 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6167 since some C++ compilers masquerading as C compilers
6168 incorrectly reject 9223372036854775807. */
6169 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6170 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6171 && LARGE_OFF_T % 2147483647 == 1)
6172 ? 1 : -1];
6174 main ()
6178 return 0;
6180 _ACEOF
6181 if ac_fn_c_try_compile "$LINENO"; then :
6182 ac_cv_sys_large_files=no; break
6184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6187 #define _LARGE_FILES 1
6188 #include <sys/types.h>
6189 /* Check that off_t can represent 2**63 - 1 correctly.
6190 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6191 since some C++ compilers masquerading as C compilers
6192 incorrectly reject 9223372036854775807. */
6193 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6194 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6195 && LARGE_OFF_T % 2147483647 == 1)
6196 ? 1 : -1];
6198 main ()
6202 return 0;
6204 _ACEOF
6205 if ac_fn_c_try_compile "$LINENO"; then :
6206 ac_cv_sys_large_files=1; break
6208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6209 ac_cv_sys_large_files=unknown
6210 break
6211 done
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6214 $as_echo "$ac_cv_sys_large_files" >&6; }
6215 case $ac_cv_sys_large_files in #(
6216 no | unknown) ;;
6218 cat >>confdefs.h <<_ACEOF
6219 #define _LARGE_FILES $ac_cv_sys_large_files
6220 _ACEOF
6222 esac
6223 rm -rf conftest*
6230 ac_ext=c
6231 ac_cpp='$CPP $CPPFLAGS'
6232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6236 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6237 # On Suns, sometimes $CPP names a directory.
6238 if test -n "$CPP" && test -d "$CPP"; then
6239 CPP=
6241 if test -z "$CPP"; then
6242 if ${ac_cv_prog_CPP+:} false; then :
6243 $as_echo_n "(cached) " >&6
6244 else
6245 # Double quotes because CPP needs to be expanded
6246 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6248 ac_preproc_ok=false
6249 for ac_c_preproc_warn_flag in '' yes
6251 # Use a header file that comes with gcc, so configuring glibc
6252 # with a fresh cross-compiler works.
6253 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6254 # <limits.h> exists even on freestanding compilers.
6255 # On the NeXT, cc -E runs the code through the compiler's parser,
6256 # not just through cpp. "Syntax error" is here to catch this case.
6257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6258 /* end confdefs.h. */
6259 #ifdef __STDC__
6260 # include <limits.h>
6261 #else
6262 # include <assert.h>
6263 #endif
6264 Syntax error
6265 _ACEOF
6266 if ac_fn_c_try_cpp "$LINENO"; then :
6268 else
6269 # Broken: fails on valid input.
6270 continue
6272 rm -f conftest.err conftest.i conftest.$ac_ext
6274 # OK, works on sane cases. Now check whether nonexistent headers
6275 # can be detected and how.
6276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6278 #include <ac_nonexistent.h>
6279 _ACEOF
6280 if ac_fn_c_try_cpp "$LINENO"; then :
6281 # Broken: success on invalid input.
6282 continue
6283 else
6284 # Passes both tests.
6285 ac_preproc_ok=:
6286 break
6288 rm -f conftest.err conftest.i conftest.$ac_ext
6290 done
6291 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6292 rm -f conftest.i conftest.err conftest.$ac_ext
6293 if $ac_preproc_ok; then :
6294 break
6297 done
6298 ac_cv_prog_CPP=$CPP
6301 CPP=$ac_cv_prog_CPP
6302 else
6303 ac_cv_prog_CPP=$CPP
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6306 $as_echo "$CPP" >&6; }
6307 ac_preproc_ok=false
6308 for ac_c_preproc_warn_flag in '' yes
6310 # Use a header file that comes with gcc, so configuring glibc
6311 # with a fresh cross-compiler works.
6312 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6313 # <limits.h> exists even on freestanding compilers.
6314 # On the NeXT, cc -E runs the code through the compiler's parser,
6315 # not just through cpp. "Syntax error" is here to catch this case.
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6318 #ifdef __STDC__
6319 # include <limits.h>
6320 #else
6321 # include <assert.h>
6322 #endif
6323 Syntax error
6324 _ACEOF
6325 if ac_fn_c_try_cpp "$LINENO"; then :
6327 else
6328 # Broken: fails on valid input.
6329 continue
6331 rm -f conftest.err conftest.i conftest.$ac_ext
6333 # OK, works on sane cases. Now check whether nonexistent headers
6334 # can be detected and how.
6335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h. */
6337 #include <ac_nonexistent.h>
6338 _ACEOF
6339 if ac_fn_c_try_cpp "$LINENO"; then :
6340 # Broken: success on invalid input.
6341 continue
6342 else
6343 # Passes both tests.
6344 ac_preproc_ok=:
6345 break
6347 rm -f conftest.err conftest.i conftest.$ac_ext
6349 done
6350 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6351 rm -f conftest.i conftest.err conftest.$ac_ext
6352 if $ac_preproc_ok; then :
6354 else
6355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6357 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6358 See \`config.log' for more details" "$LINENO" 5; }
6361 ac_ext=c
6362 ac_cpp='$CPP $CPPFLAGS'
6363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6369 $as_echo_n "checking for ANSI C header files... " >&6; }
6370 if ${ac_cv_header_stdc+:} false; then :
6371 $as_echo_n "(cached) " >&6
6372 else
6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6375 #include <stdlib.h>
6376 #include <stdarg.h>
6377 #include <string.h>
6378 #include <float.h>
6381 main ()
6385 return 0;
6387 _ACEOF
6388 if ac_fn_c_try_compile "$LINENO"; then :
6389 ac_cv_header_stdc=yes
6390 else
6391 ac_cv_header_stdc=no
6393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6395 if test $ac_cv_header_stdc = yes; then
6396 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6399 #include <string.h>
6401 _ACEOF
6402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6403 $EGREP "memchr" >/dev/null 2>&1; then :
6405 else
6406 ac_cv_header_stdc=no
6408 rm -f conftest*
6412 if test $ac_cv_header_stdc = yes; then
6413 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6415 /* end confdefs.h. */
6416 #include <stdlib.h>
6418 _ACEOF
6419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6420 $EGREP "free" >/dev/null 2>&1; then :
6422 else
6423 ac_cv_header_stdc=no
6425 rm -f conftest*
6429 if test $ac_cv_header_stdc = yes; then
6430 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6431 if test "$cross_compiling" = yes; then :
6433 else
6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6436 #include <ctype.h>
6437 #include <stdlib.h>
6438 #if ((' ' & 0x0FF) == 0x020)
6439 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6440 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6441 #else
6442 # define ISLOWER(c) \
6443 (('a' <= (c) && (c) <= 'i') \
6444 || ('j' <= (c) && (c) <= 'r') \
6445 || ('s' <= (c) && (c) <= 'z'))
6446 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6447 #endif
6449 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6451 main ()
6453 int i;
6454 for (i = 0; i < 256; i++)
6455 if (XOR (islower (i), ISLOWER (i))
6456 || toupper (i) != TOUPPER (i))
6457 return 2;
6458 return 0;
6460 _ACEOF
6461 if ac_fn_c_try_run "$LINENO"; then :
6463 else
6464 ac_cv_header_stdc=no
6466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6467 conftest.$ac_objext conftest.beam conftest.$ac_ext
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6473 $as_echo "$ac_cv_header_stdc" >&6; }
6474 if test $ac_cv_header_stdc = yes; then
6476 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6480 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6481 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6482 inttypes.h stdint.h unistd.h
6483 do :
6484 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6485 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6487 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6488 cat >>confdefs.h <<_ACEOF
6489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6490 _ACEOF
6494 done
6497 for ac_header in \
6498 AL/al.h \
6499 ApplicationServices/ApplicationServices.h \
6500 AudioToolbox/AudioConverter.h \
6501 AudioUnit/AudioUnit.h \
6502 AudioUnit/AudioComponent.h \
6503 CL/cl.h \
6504 Carbon/Carbon.h \
6505 CoreAudio/CoreAudio.h \
6506 CoreServices/CoreServices.h \
6507 DiskArbitration/DiskArbitration.h \
6508 IOKit/IOKitLib.h \
6509 IOKit/hid/IOHIDLib.h \
6510 OpenAL/al.h \
6511 OpenCL/opencl.h \
6512 QuickTime/ImageCompression.h \
6513 Security/Security.h \
6514 alias.h \
6515 alsa/asoundlib.h \
6516 arpa/inet.h \
6517 arpa/nameser.h \
6518 asm/types.h \
6519 asm/user.h \
6520 curses.h \
6521 direct.h \
6522 dirent.h \
6523 dlfcn.h \
6524 elf.h \
6525 float.h \
6526 fnmatch.h \
6527 fontconfig/fontconfig.h \
6528 getopt.h \
6529 gettext-po.h \
6530 grp.h \
6531 gsm.h \
6532 gsm/gsm.h \
6533 ieeefp.h \
6534 inet/mib2.h \
6535 io.h \
6536 kstat.h \
6537 lber.h \
6538 ldap.h \
6539 libproc.h \
6540 link.h \
6541 linux/cdrom.h \
6542 linux/compiler.h \
6543 linux/filter.h \
6544 linux/hdreg.h \
6545 linux/input.h \
6546 linux/ioctl.h \
6547 linux/joystick.h \
6548 linux/major.h \
6549 linux/param.h \
6550 linux/serial.h \
6551 linux/types.h \
6552 linux/ucdrom.h \
6553 lwp.h \
6554 mach-o/nlist.h \
6555 mach-o/loader.h \
6556 mach/mach.h \
6557 mach/machine.h \
6558 machine/cpu.h \
6559 machine/limits.h \
6560 machine/sysarch.h \
6561 mntent.h \
6562 ncurses.h \
6563 netdb.h \
6564 netinet/in.h \
6565 netinet/in_systm.h \
6566 netinet/tcp.h \
6567 netinet/tcp_fsm.h \
6568 poll.h \
6569 port.h \
6570 process.h \
6571 pthread.h \
6572 pwd.h \
6573 sched.h \
6574 scsi/scsi.h \
6575 scsi/scsi_ioctl.h \
6576 scsi/sg.h \
6577 stdbool.h \
6578 stdint.h \
6579 stropts.h \
6580 sys/asoundlib.h \
6581 sys/attr.h \
6582 sys/cdio.h \
6583 sys/elf32.h \
6584 sys/epoll.h \
6585 sys/event.h \
6586 sys/exec_elf.h \
6587 sys/filio.h \
6588 sys/inotify.h \
6589 sys/ioctl.h \
6590 sys/ipc.h \
6591 sys/limits.h \
6592 sys/link.h \
6593 sys/mman.h \
6594 sys/modem.h \
6595 sys/msg.h \
6596 sys/mtio.h \
6597 sys/param.h \
6598 sys/poll.h \
6599 sys/prctl.h \
6600 sys/protosw.h \
6601 sys/ptrace.h \
6602 sys/queue.h \
6603 sys/resource.h \
6604 sys/scsiio.h \
6605 sys/shm.h \
6606 sys/signal.h \
6607 sys/socket.h \
6608 sys/socketvar.h \
6609 sys/sockio.h \
6610 sys/statvfs.h \
6611 sys/strtio.h \
6612 sys/syscall.h \
6613 sys/tihdr.h \
6614 sys/time.h \
6615 sys/timeout.h \
6616 sys/times.h \
6617 sys/uio.h \
6618 sys/user.h \
6619 sys/utsname.h \
6620 sys/vm86.h \
6621 sys/wait.h \
6622 syscall.h \
6623 termios.h \
6624 unistd.h \
6625 utime.h \
6626 valgrind/memcheck.h \
6627 valgrind/valgrind.h \
6628 zlib.h
6630 do :
6631 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6632 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6633 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6634 cat >>confdefs.h <<_ACEOF
6635 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6636 _ACEOF
6640 done
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6643 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6644 if ${ac_cv_header_stat_broken+:} false; then :
6645 $as_echo_n "(cached) " >&6
6646 else
6647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6648 /* end confdefs.h. */
6649 #include <sys/types.h>
6650 #include <sys/stat.h>
6652 #if defined S_ISBLK && defined S_IFDIR
6653 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6654 #endif
6656 #if defined S_ISBLK && defined S_IFCHR
6657 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6658 #endif
6660 #if defined S_ISLNK && defined S_IFREG
6661 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6662 #endif
6664 #if defined S_ISSOCK && defined S_IFREG
6665 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6666 #endif
6668 _ACEOF
6669 if ac_fn_c_try_compile "$LINENO"; then :
6670 ac_cv_header_stat_broken=no
6671 else
6672 ac_cv_header_stat_broken=yes
6674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6677 $as_echo "$ac_cv_header_stat_broken" >&6; }
6678 if test $ac_cv_header_stat_broken = yes; then
6680 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6686 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6687 do :
6688 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6689 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6690 #ifdef HAVE_SYS_PARAM_H
6691 # include <sys/param.h>
6692 #endif
6694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6695 cat >>confdefs.h <<_ACEOF
6696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6697 _ACEOF
6701 done
6704 for ac_header in \
6705 netinet/ip.h \
6706 net/if.h \
6707 net/if_arp.h \
6708 net/if_dl.h \
6709 net/if_types.h \
6710 net/route.h \
6711 netinet/if_ether.h \
6712 netinet/if_inarp.h \
6713 netinet/in_pcb.h \
6714 netinet/ip_icmp.h \
6715 netinet/ip_var.h \
6716 netinet/udp.h \
6717 netipx/ipx.h \
6718 sys/un.h \
6720 do :
6721 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6722 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6723 #ifdef HAVE_SYS_SOCKET_H
6724 # include <sys/socket.h>
6725 #endif
6726 #ifdef HAVE_SYS_SOCKETVAR_H
6727 # include <sys/socketvar.h>
6728 #endif
6729 #ifdef HAVE_NET_ROUTE_H
6730 # include <net/route.h>
6731 #endif
6732 #ifdef HAVE_NETINET_IN_H
6733 # include <netinet/in.h>
6734 #endif
6735 #ifdef HAVE_NETINET_IN_SYSTM_H
6736 # include <netinet/in_systm.h>
6737 #endif
6738 #ifdef HAVE_NET_IF_H
6739 # include <net/if.h>
6740 #endif
6741 #ifdef HAVE_NETINET_IP_H
6742 # include <netinet/ip.h>
6743 #endif
6745 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6746 cat >>confdefs.h <<_ACEOF
6747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6748 _ACEOF
6752 done
6755 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6756 do :
6757 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6758 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6759 #ifdef HAVE_ALIAS_H
6760 # include <alias.h>
6761 #endif
6762 #ifdef HAVE_SYS_SOCKET_H
6763 # include <sys/socket.h>
6764 #endif
6765 #ifdef HAVE_SYS_SOCKETVAR_H
6766 # include <sys/socketvar.h>
6767 #endif
6768 #ifdef HAVE_SYS_TIMEOUT_H
6769 # include <sys/timeout.h>
6770 #endif
6771 #ifdef HAVE_NETINET_IN_H
6772 # include <netinet/in.h>
6773 #endif
6774 #ifdef HAVE_NETINET_IN_SYSTM_H
6775 # include <netinet/in_systm.h>
6776 #endif
6777 #ifdef HAVE_NETINET_IP_H
6778 # include <netinet/ip.h>
6779 #endif
6780 #ifdef HAVE_NETINET_IP_VAR_H
6781 # include <netinet/ip_var.h>
6782 #endif
6783 #ifdef HAVE_NETINET_IP_ICMP_H
6784 # include <netinet/ip_icmp.h>
6785 #endif
6786 #ifdef HAVE_NETINET_UDP_H
6787 # include <netinet/udp.h>
6788 #endif
6789 #ifdef HAVE_NETINET_TCP_H
6790 # include <netinet/tcp.h>
6791 #endif
6792 #ifdef HAVE_NETINET_TCP_TIMER_H
6793 #include <netinet/tcp_timer.h>
6794 #endif
6796 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6797 cat >>confdefs.h <<_ACEOF
6798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6799 _ACEOF
6803 done
6806 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6807 do :
6808 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6809 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6810 #ifdef HAVE_ASM_TYPES_H
6811 # include <asm/types.h>
6812 #endif
6813 #ifdef HAVE_SYS_SOCKET_H
6814 # include <sys/socket.h>
6815 #endif
6816 #ifdef HAVE_LINUX_TYPES_H
6817 # include <linux/types.h>
6818 #endif
6820 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6821 cat >>confdefs.h <<_ACEOF
6822 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6823 _ACEOF
6827 done
6830 for ac_header in mach-o/dyld_images.h
6831 do :
6832 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6833 # include <stdbool.h>
6834 #endif
6835 #ifdef HAVE_STDINT_H
6836 # include <stdint.h>
6837 #endif
6839 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6840 cat >>confdefs.h <<_ACEOF
6841 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6842 _ACEOF
6846 done
6849 for ac_header in resolv.h
6850 do :
6851 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6852 #ifdef HAVE_SYS_SOCKET_H
6853 # include <sys/socket.h>
6854 #endif
6855 #ifdef HAVE_NETINET_IN_H
6856 # include <netinet/in.h>
6857 #endif
6858 #ifdef HAVE_ARPA_NAMESER_H
6859 # include <arpa/nameser.h>
6860 #endif
6862 if test "x$ac_cv_header_resolv_h" = xyes; then :
6863 cat >>confdefs.h <<_ACEOF
6864 #define HAVE_RESOLV_H 1
6865 _ACEOF
6869 done
6872 for ac_header in ifaddrs.h
6873 do :
6874 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6876 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6877 cat >>confdefs.h <<_ACEOF
6878 #define HAVE_IFADDRS_H 1
6879 _ACEOF
6883 done
6886 for ac_header in ucontext.h
6887 do :
6888 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6890 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6891 cat >>confdefs.h <<_ACEOF
6892 #define HAVE_UCONTEXT_H 1
6893 _ACEOF
6897 done
6900 for ac_header in sys/thr.h
6901 do :
6902 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6903 #ifdef HAVE_UCONTEXT_H
6904 #include <ucontext.h>
6905 #endif
6907 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6908 cat >>confdefs.h <<_ACEOF
6909 #define HAVE_SYS_THR_H 1
6910 _ACEOF
6914 done
6917 for ac_header in pthread_np.h
6918 do :
6919 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6920 #include <pthread.h>
6921 #endif
6923 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6924 cat >>confdefs.h <<_ACEOF
6925 #define HAVE_PTHREAD_NP_H 1
6926 _ACEOF
6930 done
6933 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6934 do :
6935 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6936 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6937 #include <sys/time.h>
6938 #endif
6939 #include <sys/types.h>
6940 #ifdef HAVE_ASM_TYPES_H
6941 #include <asm/types.h>
6942 #endif
6944 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6945 cat >>confdefs.h <<_ACEOF
6946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6947 _ACEOF
6951 done
6954 for ac_header in libprocstat.h
6955 do :
6956 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6957 #include <sys/param.h>
6958 #endif
6959 #ifdef HAVE_SYS_QUEUE_H
6960 #include <sys/queue.h>
6961 #endif
6962 #ifdef HAVE_SYS_SOCKET_H
6963 #include <sys/socket.h>
6964 #endif
6966 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6967 cat >>confdefs.h <<_ACEOF
6968 #define HAVE_LIBPROCSTAT_H 1
6969 _ACEOF
6973 done
6977 dlldir="\${libdir}/wine"
6979 DLLPREFIX=""
6981 DLLFLAGS="-D_REENTRANT"
6983 IMPLIBEXT="def"
6985 LDRPATH_INSTALL=""
6987 LDRPATH_LOCAL=""
6989 LIBEXT="so"
6990 DLLEXT=".so"
6991 STATIC_IMPLIBEXT="def.a"
6992 # Extract the first word of "ldd", so it can be a program name with args.
6993 set dummy ldd; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; }
6996 if ${ac_cv_path_LDD+:} false; then :
6997 $as_echo_n "(cached) " >&6
6998 else
6999 case $LDD in
7000 [\\/]* | ?:[\\/]*)
7001 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005 as_dummy="/sbin:/usr/sbin:$PATH"
7006 for as_dir in $as_dummy
7008 IFS=$as_save_IFS
7009 test -z "$as_dir" && as_dir=.
7010 for ac_exec_ext in '' $ac_executable_extensions; do
7011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7012 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7014 break 2
7016 done
7017 done
7018 IFS=$as_save_IFS
7020 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7022 esac
7024 LDD=$ac_cv_path_LDD
7025 if test -n "$LDD"; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7027 $as_echo "$LDD" >&6; }
7028 else
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7030 $as_echo "no" >&6; }
7034 if test -n "$ac_tool_prefix"; then
7035 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7036 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7038 $as_echo_n "checking for $ac_word... " >&6; }
7039 if ${ac_cv_prog_READELF+:} false; then :
7040 $as_echo_n "(cached) " >&6
7041 else
7042 if test -n "$READELF"; then
7043 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7044 else
7045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7046 for as_dir in $PATH
7048 IFS=$as_save_IFS
7049 test -z "$as_dir" && as_dir=.
7050 for ac_exec_ext in '' $ac_executable_extensions; do
7051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7052 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7054 break 2
7056 done
7057 done
7058 IFS=$as_save_IFS
7062 READELF=$ac_cv_prog_READELF
7063 if test -n "$READELF"; then
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7065 $as_echo "$READELF" >&6; }
7066 else
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7068 $as_echo "no" >&6; }
7073 if test -z "$ac_cv_prog_READELF"; then
7074 ac_ct_READELF=$READELF
7075 # Extract the first word of "readelf", so it can be a program name with args.
7076 set dummy readelf; ac_word=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7080 $as_echo_n "(cached) " >&6
7081 else
7082 if test -n "$ac_ct_READELF"; then
7083 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7084 else
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 for as_dir in $PATH
7088 IFS=$as_save_IFS
7089 test -z "$as_dir" && as_dir=.
7090 for ac_exec_ext in '' $ac_executable_extensions; do
7091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092 ac_cv_prog_ac_ct_READELF="readelf"
7093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094 break 2
7096 done
7097 done
7098 IFS=$as_save_IFS
7102 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7103 if test -n "$ac_ct_READELF"; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7105 $as_echo "$ac_ct_READELF" >&6; }
7106 else
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7111 if test "x$ac_ct_READELF" = x; then
7112 READELF="true"
7113 else
7114 case $cross_compiling:$ac_tool_warned in
7115 yes:)
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7118 ac_tool_warned=yes ;;
7119 esac
7120 READELF=$ac_ct_READELF
7122 else
7123 READELF="$ac_cv_prog_READELF"
7127 wine_binary="wine"
7128 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7130 LOADER_RULES="
7131 all: $wine_binary wine-installed
7133 install install-lib:: wine-installed \$(DESTDIR)\$(bindir)
7134 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7136 uninstall::
7137 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7141 case $host_os in
7142 cygwin*|mingw32*)
7143 if test -n "$ac_tool_prefix"; then
7144 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7145 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_DLLTOOL+:} false; then :
7149 $as_echo_n "(cached) " >&6
7150 else
7151 if test -n "$DLLTOOL"; then
7152 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7153 else
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 for as_dir in $PATH
7157 IFS=$as_save_IFS
7158 test -z "$as_dir" && as_dir=.
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7163 break 2
7165 done
7166 done
7167 IFS=$as_save_IFS
7171 DLLTOOL=$ac_cv_prog_DLLTOOL
7172 if test -n "$DLLTOOL"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7174 $as_echo "$DLLTOOL" >&6; }
7175 else
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7182 if test -z "$ac_cv_prog_DLLTOOL"; then
7183 ac_ct_DLLTOOL=$DLLTOOL
7184 # Extract the first word of "dlltool", so it can be a program name with args.
7185 set dummy dlltool; ac_word=$2
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187 $as_echo_n "checking for $ac_word... " >&6; }
7188 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7189 $as_echo_n "(cached) " >&6
7190 else
7191 if test -n "$ac_ct_DLLTOOL"; then
7192 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7193 else
7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 for as_dir in $PATH
7197 IFS=$as_save_IFS
7198 test -z "$as_dir" && as_dir=.
7199 for ac_exec_ext in '' $ac_executable_extensions; do
7200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7201 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7203 break 2
7205 done
7206 done
7207 IFS=$as_save_IFS
7211 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7212 if test -n "$ac_ct_DLLTOOL"; then
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7214 $as_echo "$ac_ct_DLLTOOL" >&6; }
7215 else
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7217 $as_echo "no" >&6; }
7220 if test "x$ac_ct_DLLTOOL" = x; then
7221 DLLTOOL="false"
7222 else
7223 case $cross_compiling:$ac_tool_warned in
7224 yes:)
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7227 ac_tool_warned=yes ;;
7228 esac
7229 DLLTOOL=$ac_ct_DLLTOOL
7231 else
7232 DLLTOOL="$ac_cv_prog_DLLTOOL"
7235 LIBEXT="dll"
7236 DLLEXT=""
7237 IMPLIBEXT="a"
7238 STATIC_IMPLIBEXT="a"
7239 enable_iphlpapi=${enable_iphlpapi:-no}
7240 enable_kernel32=${enable_kernel32:-no}
7241 enable_msvcrt=${enable_msvcrt:-no}
7242 enable_ntdll=${enable_ntdll:-no}
7243 enable_ws2_32=${enable_ws2_32:-no}
7244 enable_loader=${enable_loader:-no}
7245 enable_server=${enable_server:-no}
7246 with_x=${with_x:-no}
7247 with_pthread=${with_pthread:-no}
7249 crtlibs=""
7250 case $host_os in
7251 mingw32*)
7252 crtlibs="-lmsvcrt"
7253 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7255 esac
7257 LIBWINE_RULES="
7258 all: libwine.dll libwine.a
7260 libwine.a: wine.def
7261 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7263 libwine.dll: \$(OBJS) wine.def Makefile.in
7264 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7266 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7267 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7269 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7270 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7272 uninstall::
7273 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7275 clean::
7276 \$(RM) libwine.dll version.c
7281 darwin*|macosx*)
7282 LIBEXT="dylib"
7283 DLLFLAGS="$DLLFLAGS -fPIC"
7284 LIBWINE_LDFLAGS="-multiply_defined suppress"
7285 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7286 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7287 COREFOUNDATIONLIB="-framework CoreFoundation"
7289 IOKITLIB="-framework IOKit -framework CoreFoundation"
7291 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
7293 APPLICATIONSERVICESLIB="-framework ApplicationServices"
7295 CORESERVICESLIB="-framework CoreServices"
7297 APPKITLIB="-framework AppKit"
7299 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7300 case $host_os in
7301 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7302 esac
7303 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7304 then
7305 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
7308 if test "$ac_cv_header_Security_Security_h" = "yes"
7309 then
7310 SECURITYLIB="-framework Security -framework CoreFoundation"
7312 ac_save_LIBS="$LIBS"
7313 LIBS="$LIBS $SECURITYLIB"
7314 for ac_func in SSLCopyPeerCertificates
7315 do :
7316 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7317 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7318 cat >>confdefs.h <<_ACEOF
7319 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7320 _ACEOF
7323 done
7325 LIBS="$ac_save_LIBS"
7326 with_gnutls=${with_gnutls:-no}
7328 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7329 then
7330 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7331 then
7332 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7334 else
7335 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7338 ac_save_LIBS="$LIBS"
7339 LIBS="$LIBS $COREAUDIO"
7340 for ac_func in AUGraphAddNode
7341 do :
7342 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7343 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7344 cat >>confdefs.h <<_ACEOF
7345 #define HAVE_AUGRAPHADDNODE 1
7346 _ACEOF
7349 done
7351 LIBS="$ac_save_LIBS"
7353 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7354 then
7355 FRAMEWORK_OPENAL="-framework OpenAL"
7358 cat >>confdefs.h <<_ACEOF
7359 #define HAVE_OPENAL 1
7360 _ACEOF
7362 ac_cv_lib_openal=yes
7364 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7365 then
7366 LIBOPENCL="-framework OpenCL"
7368 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7370 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7371 then
7372 ac_save_LIBS="$LIBS"
7373 LIBS="$LIBS $IOKITLIB"
7374 for ac_func in IOHIDManagerCreate
7375 do :
7376 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7377 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7378 cat >>confdefs.h <<_ACEOF
7379 #define HAVE_IOHIDMANAGERCREATE 1
7380 _ACEOF
7383 done
7385 LIBS="$ac_save_LIBS"
7387 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7388 then
7389 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7391 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7392 else
7393 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7395 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7396 then
7397 CARBONLIB="-framework Carbon"
7401 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7402 then
7403 ac_save_LIBS="$LIBS"
7404 LIBS="$LIBS $APPLICATIONSERVICESLIB"
7405 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7406 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7407 enable_winemac_drv=${enable_winemac_drv:-yes}
7410 LIBS="$ac_save_LIBS"
7413 if test "x$enable_win16" = "xyes"
7414 then
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7416 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7417 if test "$cross_compiling" = yes; then :
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7419 $as_echo "cross-compiling, assuming yes" >&6; }
7420 else
7421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7422 /* end confdefs.h. */
7423 asm(".text\n"
7424 "bad:\tnop;nop\n"
7425 "good:\tnop;nop\n\t"
7426 ".globl _testfunc\n"
7427 "_testfunc:\tcallw good");
7428 extern void testfunc();
7430 main ()
7432 unsigned short *p = (unsigned short *)testfunc;
7433 return p[0] != 0xe866 || p[1] != 0xfffa
7435 return 0;
7437 _ACEOF
7438 if ac_fn_c_try_run "$LINENO"; then :
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7440 $as_echo "yes" >&6; }
7441 else
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443 $as_echo "no" >&6; }
7444 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
7446 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7447 conftest.$ac_objext conftest.beam conftest.$ac_ext
7452 LIBWINE_RULES="
7453 all: libwine.dylib
7455 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7456 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7458 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7459 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7461 libwine.dylib: libwine.\$(SOVERSION).dylib
7462 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7464 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7465 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7466 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7468 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7469 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7471 uninstall::
7472 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7474 clean::
7475 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7479 as_fn_append LOADER_RULES "
7480 $wine_binary: main.o Makefile.in wine_info.plist
7481 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7483 wine-installed: main.o Makefile.in wine_info.plist
7484 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7486 wine_info.plist: wine_info.plist.in \$(top_builddir)/include/config.h
7487 LC_ALL=C sed -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g' \$(srcdir)/wine_info.plist.in >\$@ || (\$(RM) \$@ && false)
7491 linux-android*)
7492 DLLFLAGS="$DLLFLAGS -fPIC"
7493 DLLPREFIX="lib"
7494 LDEXECFLAGS=""
7495 dlldir="\${libdir}"
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7497 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7498 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7499 $as_echo_n "(cached) " >&6
7500 else
7501 ac_wine_try_cflags_saved=$CFLAGS
7502 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7505 int main(int argc, char **argv) { return 0; }
7506 _ACEOF
7507 if ac_fn_c_try_link "$LINENO"; then :
7508 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7509 else
7510 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7512 rm -f core conftest.err conftest.$ac_objext \
7513 conftest$ac_exeext conftest.$ac_ext
7514 CFLAGS=$ac_wine_try_cflags_saved
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7517 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7518 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7519 LDEXECFLAGS="-Wl,--export-dynamic"
7521 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7523 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7524 if eval \${$as_ac_var+:} false; then :
7525 $as_echo_n "(cached) " >&6
7526 else
7527 ac_wine_try_cflags_saved=$CFLAGS
7528 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7530 /* end confdefs.h. */
7531 int main(int argc, char **argv) { return 0; }
7532 _ACEOF
7533 if ac_fn_c_try_link "$LINENO"; then :
7534 eval "$as_ac_var=yes"
7535 else
7536 eval "$as_ac_var=no"
7538 rm -f core conftest.err conftest.$ac_objext \
7539 conftest$ac_exeext conftest.$ac_ext
7540 CFLAGS=$ac_wine_try_cflags_saved
7542 eval ac_res=\$$as_ac_var
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7544 $as_echo "$ac_res" >&6; }
7545 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7546 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7547 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7548 else
7549 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7551 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7552 if eval \${$as_ac_var+:} false; then :
7553 $as_echo_n "(cached) " >&6
7554 else
7555 ac_wine_try_cflags_saved=$CFLAGS
7556 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7559 int main(int argc, char **argv) { return 0; }
7560 _ACEOF
7561 if ac_fn_c_try_link "$LINENO"; then :
7562 eval "$as_ac_var=yes"
7563 else
7564 eval "$as_ac_var=no"
7566 rm -f core conftest.err conftest.$ac_objext \
7567 conftest$ac_exeext conftest.$ac_ext
7568 CFLAGS=$ac_wine_try_cflags_saved
7570 eval ac_res=\$$as_ac_var
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7572 $as_echo "$ac_res" >&6; }
7573 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7574 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7575 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7580 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7581 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7582 $as_echo_n "(cached) " >&6
7583 else
7584 ac_wine_try_cflags_saved=$CFLAGS
7585 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7588 int main(int argc, char **argv) { return 0; }
7589 _ACEOF
7590 if ac_fn_c_try_link "$LINENO"; then :
7591 ac_cv_cflags__Wl___enable_new_dtags=yes
7592 else
7593 ac_cv_cflags__Wl___enable_new_dtags=no
7595 rm -f core conftest.err conftest.$ac_objext \
7596 conftest$ac_exeext conftest.$ac_ext
7597 CFLAGS=$ac_wine_try_cflags_saved
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7600 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7601 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7602 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7605 case $host_cpu in
7606 *i[3456789]86* | x86_64)
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7608 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7609 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7610 $as_echo_n "(cached) " >&6
7611 else
7612 ac_wine_try_cflags_saved=$CFLAGS
7613 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7616 int main(int argc, char **argv) { return 0; }
7617 _ACEOF
7618 if ac_fn_c_try_link "$LINENO"; then :
7619 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7620 else
7621 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7623 rm -f core conftest.err conftest.$ac_objext \
7624 conftest$ac_exeext conftest.$ac_ext
7625 CFLAGS=$ac_wine_try_cflags_saved
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7628 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7629 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7630 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7633 esac
7635 LIBWINE_RULES="
7636 all: libwine.so
7638 libwine.so: \$(OBJS) Makefile.in
7639 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7641 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7642 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7644 uninstall::
7645 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7647 clean::
7648 \$(RM) libwine.so version.c
7652 as_fn_append LOADER_RULES "
7653 $wine_binary: main.o Makefile.in
7654 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7656 wine-installed: main.o Makefile.in
7657 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7662 DLLFLAGS="$DLLFLAGS -fPIC"
7663 LDEXECFLAGS=""
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7665 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7666 if ${ac_cv_c_dll_gnuelf+:} false; then :
7667 $as_echo_n "(cached) " >&6
7668 else
7669 ac_wine_try_cflags_saved=$CFLAGS
7670 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7673 void myfunc() {}
7674 _ACEOF
7675 if ac_fn_c_try_link "$LINENO"; then :
7676 ac_cv_c_dll_gnuelf="yes"
7677 else
7678 ac_cv_c_dll_gnuelf="no"
7680 rm -f core conftest.err conftest.$ac_objext \
7681 conftest$ac_exeext conftest.$ac_ext
7682 CFLAGS=$ac_wine_try_cflags_saved
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7685 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7686 if test "$ac_cv_c_dll_gnuelf" = "yes"
7687 then
7688 LDSHARED="\$(CC) -shared"
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7690 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7691 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
7692 $as_echo_n "(cached) " >&6
7693 else
7694 ac_wine_try_cflags_saved=$CFLAGS
7695 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7698 int main(int argc, char **argv) { return 0; }
7699 _ACEOF
7700 if ac_fn_c_try_link "$LINENO"; then :
7701 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
7702 else
7703 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7705 rm -f core conftest.err conftest.$ac_objext \
7706 conftest$ac_exeext conftest.$ac_ext
7707 CFLAGS=$ac_wine_try_cflags_saved
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7710 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7711 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7712 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7713 else
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7715 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7716 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
7717 $as_echo_n "(cached) " >&6
7718 else
7719 ac_wine_try_cflags_saved=$CFLAGS
7720 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h. */
7723 int main(int argc, char **argv) { return 0; }
7724 _ACEOF
7725 if ac_fn_c_try_link "$LINENO"; then :
7726 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
7727 else
7728 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
7730 rm -f core conftest.err conftest.$ac_objext \
7731 conftest$ac_exeext conftest.$ac_ext
7732 CFLAGS=$ac_wine_try_cflags_saved
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7735 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7736 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7737 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7741 echo '{ global: *; };' >conftest.map
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7743 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7744 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
7745 $as_echo_n "(cached) " >&6
7746 else
7747 ac_wine_try_cflags_saved=$CFLAGS
7748 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7751 int main(int argc, char **argv) { return 0; }
7752 _ACEOF
7753 if ac_fn_c_try_link "$LINENO"; then :
7754 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
7755 else
7756 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
7758 rm -f core conftest.err conftest.$ac_objext \
7759 conftest$ac_exeext conftest.$ac_ext
7760 CFLAGS=$ac_wine_try_cflags_saved
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7763 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7764 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7765 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7767 rm -f conftest.map
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7770 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7771 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 ac_wine_try_cflags_saved=$CFLAGS
7775 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7777 /* end confdefs.h. */
7778 int main(int argc, char **argv) { return 0; }
7779 _ACEOF
7780 if ac_fn_c_try_link "$LINENO"; then :
7781 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7782 else
7783 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7785 rm -f core conftest.err conftest.$ac_objext \
7786 conftest$ac_exeext conftest.$ac_ext
7787 CFLAGS=$ac_wine_try_cflags_saved
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7790 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7791 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7792 LDEXECFLAGS="-Wl,--export-dynamic"
7795 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7797 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7798 if eval \${$as_ac_var+:} false; then :
7799 $as_echo_n "(cached) " >&6
7800 else
7801 ac_wine_try_cflags_saved=$CFLAGS
7802 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7804 /* end confdefs.h. */
7805 int main(int argc, char **argv) { return 0; }
7806 _ACEOF
7807 if ac_fn_c_try_link "$LINENO"; then :
7808 eval "$as_ac_var=yes"
7809 else
7810 eval "$as_ac_var=no"
7812 rm -f core conftest.err conftest.$ac_objext \
7813 conftest$ac_exeext conftest.$ac_ext
7814 CFLAGS=$ac_wine_try_cflags_saved
7816 eval ac_res=\$$as_ac_var
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7818 $as_echo "$ac_res" >&6; }
7819 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7820 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7821 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7822 else
7823 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7825 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7826 if eval \${$as_ac_var+:} false; then :
7827 $as_echo_n "(cached) " >&6
7828 else
7829 ac_wine_try_cflags_saved=$CFLAGS
7830 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7832 /* end confdefs.h. */
7833 int main(int argc, char **argv) { return 0; }
7834 _ACEOF
7835 if ac_fn_c_try_link "$LINENO"; then :
7836 eval "$as_ac_var=yes"
7837 else
7838 eval "$as_ac_var=no"
7840 rm -f core conftest.err conftest.$ac_objext \
7841 conftest$ac_exeext conftest.$ac_ext
7842 CFLAGS=$ac_wine_try_cflags_saved
7844 eval ac_res=\$$as_ac_var
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7846 $as_echo "$ac_res" >&6; }
7847 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7848 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7849 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7854 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7855 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7856 $as_echo_n "(cached) " >&6
7857 else
7858 ac_wine_try_cflags_saved=$CFLAGS
7859 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7861 /* end confdefs.h. */
7862 int main(int argc, char **argv) { return 0; }
7863 _ACEOF
7864 if ac_fn_c_try_link "$LINENO"; then :
7865 ac_cv_cflags__Wl___enable_new_dtags=yes
7866 else
7867 ac_cv_cflags__Wl___enable_new_dtags=no
7869 rm -f core conftest.err conftest.$ac_objext \
7870 conftest$ac_exeext conftest.$ac_ext
7871 CFLAGS=$ac_wine_try_cflags_saved
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7874 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7875 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7876 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7879 case $host_cpu in
7880 *i[3456789]86* | x86_64)
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7882 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7883 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7884 $as_echo_n "(cached) " >&6
7885 else
7886 ac_wine_try_cflags_saved=$CFLAGS
7887 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7890 int main(int argc, char **argv) { return 0; }
7891 _ACEOF
7892 if ac_fn_c_try_link "$LINENO"; then :
7893 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7894 else
7895 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7897 rm -f core conftest.err conftest.$ac_objext \
7898 conftest$ac_exeext conftest.$ac_ext
7899 CFLAGS=$ac_wine_try_cflags_saved
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7902 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7903 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7904 case $host_os in
7905 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7906 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7907 esac
7910 # Extract the first word of "prelink", so it can be a program name with args.
7911 set dummy prelink; ac_word=$2
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7913 $as_echo_n "checking for $ac_word... " >&6; }
7914 if ${ac_cv_path_PRELINK+:} false; then :
7915 $as_echo_n "(cached) " >&6
7916 else
7917 case $PRELINK in
7918 [\\/]* | ?:[\\/]*)
7919 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 for as_dir in /sbin /usr/sbin $PATH
7925 IFS=$as_save_IFS
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 break 2
7933 done
7934 done
7935 IFS=$as_save_IFS
7937 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7939 esac
7941 PRELINK=$ac_cv_path_PRELINK
7942 if test -n "$PRELINK"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7944 $as_echo "$PRELINK" >&6; }
7945 else
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7951 if test "x$PRELINK" = xfalse
7952 then
7953 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7956 esac
7958 else
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7960 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7961 if ${ac_cv_c_dll_unixware+:} false; then :
7962 $as_echo_n "(cached) " >&6
7963 else
7964 ac_wine_try_cflags_saved=$CFLAGS
7965 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7967 /* end confdefs.h. */
7968 void myfunc() {}
7969 _ACEOF
7970 if ac_fn_c_try_link "$LINENO"; then :
7971 ac_cv_c_dll_unixware="yes"
7972 else
7973 ac_cv_c_dll_unixware="no"
7975 rm -f core conftest.err conftest.$ac_objext \
7976 conftest$ac_exeext conftest.$ac_ext
7977 CFLAGS=$ac_wine_try_cflags_saved
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7980 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7981 if test "$ac_cv_c_dll_unixware" = "yes"
7982 then
7983 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7986 LIBWINE_RULES="
7987 all: libwine.so
7989 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7990 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7992 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7993 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7995 libwine.so: libwine.so.\$(SOVERSION)
7996 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7998 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7999 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8000 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8002 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8003 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8005 uninstall::
8006 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8008 clean::
8009 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8013 as_fn_append LOADER_RULES "
8014 $wine_binary: main.o Makefile.in
8015 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8017 wine-installed: main.o Makefile.in
8018 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8021 esac
8023 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8024 enable_winemac_drv=${enable_winemac_drv:-no}
8026 CROSSTARGET=""
8028 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8029 then
8030 case "$host_cpu" in
8031 i[3456789]86*)
8032 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
8033 mingw32-gcc" ;;
8034 x86_64)
8035 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 " ;;
8037 ac_prefix_list="" ;;
8038 esac
8039 for ac_prog in $ac_prefix_list
8041 # Extract the first word of "$ac_prog", so it can be a program name with args.
8042 set dummy $ac_prog; ac_word=$2
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044 $as_echo_n "checking for $ac_word... " >&6; }
8045 if ${ac_cv_prog_CROSSCC+:} false; then :
8046 $as_echo_n "(cached) " >&6
8047 else
8048 if test -n "$CROSSCC"; then
8049 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8050 else
8051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8052 for as_dir in $PATH
8054 IFS=$as_save_IFS
8055 test -z "$as_dir" && as_dir=.
8056 for ac_exec_ext in '' $ac_executable_extensions; do
8057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8058 ac_cv_prog_CROSSCC="$ac_prog"
8059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060 break 2
8062 done
8063 done
8064 IFS=$as_save_IFS
8068 CROSSCC=$ac_cv_prog_CROSSCC
8069 if test -n "$CROSSCC"; then
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8071 $as_echo "$CROSSCC" >&6; }
8072 else
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8078 test -n "$CROSSCC" && break
8079 done
8080 test -n "$CROSSCC" || CROSSCC="false"
8082 if test "$CROSSCC" != "false"
8083 then
8084 ac_save_CC="$CC"
8085 CC="$CROSSCC"
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8087 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8089 /* end confdefs.h. */
8092 main ()
8096 return 0;
8098 _ACEOF
8099 if ac_fn_c_try_compile "$LINENO"; then :
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8101 $as_echo "yes" >&6; }
8102 set x $CROSSCC
8103 shift
8104 while test $# -ge 1
8106 case "$1" in
8107 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8108 esac
8109 shift
8110 done
8111 else
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8113 $as_echo "no" >&6; }
8115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8116 CC="$ac_save_CC"
8121 if test "$ac_cv_header_pthread_h" = "yes"
8122 then
8123 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8124 if test "x$ac_cv_func_pthread_create" = xyes; then :
8126 else
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8128 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8129 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8130 $as_echo_n "(cached) " >&6
8131 else
8132 ac_check_lib_save_LIBS=$LIBS
8133 LIBS="-lpthread $LIBS"
8134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8137 /* Override any GCC internal prototype to avoid an error.
8138 Use char because int might match the return type of a GCC
8139 builtin and then its argument prototype would still apply. */
8140 #ifdef __cplusplus
8141 extern "C"
8142 #endif
8143 char pthread_create ();
8145 main ()
8147 return pthread_create ();
8149 return 0;
8151 _ACEOF
8152 if ac_fn_c_try_link "$LINENO"; then :
8153 ac_cv_lib_pthread_pthread_create=yes
8154 else
8155 ac_cv_lib_pthread_pthread_create=no
8157 rm -f core conftest.err conftest.$ac_objext \
8158 conftest$ac_exeext conftest.$ac_ext
8159 LIBS=$ac_check_lib_save_LIBS
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8162 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8163 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8164 LIBPTHREAD="-lpthread"
8171 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
8172 case "x$with_pthread" in
8173 xno) ;;
8174 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8175 Wine cannot support threads without libpthread.
8176 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8177 esac
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8182 $as_echo_n "checking for X... " >&6; }
8185 # Check whether --with-x was given.
8186 if test "${with_x+set}" = set; then :
8187 withval=$with_x;
8190 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8191 if test "x$with_x" = xno; then
8192 # The user explicitly disabled X.
8193 have_x=disabled
8194 else
8195 case $x_includes,$x_libraries in #(
8196 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8197 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8198 $as_echo_n "(cached) " >&6
8199 else
8200 # One or both of the vars are not set, and there is no cached value.
8201 ac_x_includes=no ac_x_libraries=no
8202 rm -f -r conftest.dir
8203 if mkdir conftest.dir; then
8204 cd conftest.dir
8205 cat >Imakefile <<'_ACEOF'
8206 incroot:
8207 @echo incroot='${INCROOT}'
8208 usrlibdir:
8209 @echo usrlibdir='${USRLIBDIR}'
8210 libdir:
8211 @echo libdir='${LIBDIR}'
8212 _ACEOF
8213 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8214 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8215 for ac_var in incroot usrlibdir libdir; do
8216 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8217 done
8218 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8219 for ac_extension in a so sl dylib la dll; do
8220 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8221 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8222 ac_im_usrlibdir=$ac_im_libdir; break
8224 done
8225 # Screen out bogus values from the imake configuration. They are
8226 # bogus both because they are the default anyway, and because
8227 # using them would break gcc on systems where it needs fixed includes.
8228 case $ac_im_incroot in
8229 /usr/include) ac_x_includes= ;;
8230 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8231 esac
8232 case $ac_im_usrlibdir in
8233 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8234 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8235 esac
8237 cd ..
8238 rm -f -r conftest.dir
8241 # Standard set of common directories for X headers.
8242 # Check X11 before X11Rn because it is often a symlink to the current release.
8243 ac_x_header_dirs='
8244 /usr/X11/include
8245 /usr/X11R7/include
8246 /usr/X11R6/include
8247 /usr/X11R5/include
8248 /usr/X11R4/include
8250 /usr/include/X11
8251 /usr/include/X11R7
8252 /usr/include/X11R6
8253 /usr/include/X11R5
8254 /usr/include/X11R4
8256 /usr/local/X11/include
8257 /usr/local/X11R7/include
8258 /usr/local/X11R6/include
8259 /usr/local/X11R5/include
8260 /usr/local/X11R4/include
8262 /usr/local/include/X11
8263 /usr/local/include/X11R7
8264 /usr/local/include/X11R6
8265 /usr/local/include/X11R5
8266 /usr/local/include/X11R4
8268 /usr/X386/include
8269 /usr/x386/include
8270 /usr/XFree86/include/X11
8272 /usr/include
8273 /usr/local/include
8274 /usr/unsupported/include
8275 /usr/athena/include
8276 /usr/local/x11r5/include
8277 /usr/lpp/Xamples/include
8279 /usr/openwin/include
8280 /usr/openwin/share/include'
8282 if test "$ac_x_includes" = no; then
8283 # Guess where to find include files, by looking for Xlib.h.
8284 # First, try using that file with no special directory specified.
8285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 #include <X11/Xlib.h>
8288 _ACEOF
8289 if ac_fn_c_try_cpp "$LINENO"; then :
8290 # We can compile using X headers with no special include directory.
8291 ac_x_includes=
8292 else
8293 for ac_dir in $ac_x_header_dirs; do
8294 if test -r "$ac_dir/X11/Xlib.h"; then
8295 ac_x_includes=$ac_dir
8296 break
8298 done
8300 rm -f conftest.err conftest.i conftest.$ac_ext
8301 fi # $ac_x_includes = no
8303 if test "$ac_x_libraries" = no; then
8304 # Check for the libraries.
8305 # See if we find them without any special options.
8306 # Don't add to $LIBS permanently.
8307 ac_save_LIBS=$LIBS
8308 LIBS="-lX11 $LIBS"
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 #include <X11/Xlib.h>
8313 main ()
8315 XrmInitialize ()
8317 return 0;
8319 _ACEOF
8320 if ac_fn_c_try_link "$LINENO"; then :
8321 LIBS=$ac_save_LIBS
8322 # We can link X programs with no special library path.
8323 ac_x_libraries=
8324 else
8325 LIBS=$ac_save_LIBS
8326 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8328 # Don't even attempt the hair of trying to link an X program!
8329 for ac_extension in a so sl dylib la dll; do
8330 if test -r "$ac_dir/libX11.$ac_extension"; then
8331 ac_x_libraries=$ac_dir
8332 break 2
8334 done
8335 done
8337 rm -f core conftest.err conftest.$ac_objext \
8338 conftest$ac_exeext conftest.$ac_ext
8339 fi # $ac_x_libraries = no
8341 case $ac_x_includes,$ac_x_libraries in #(
8342 no,* | *,no | *\'*)
8343 # Didn't find X, or a directory has "'" in its name.
8344 ac_cv_have_x="have_x=no";; #(
8346 # Record where we found X for the cache.
8347 ac_cv_have_x="have_x=yes\
8348 ac_x_includes='$ac_x_includes'\
8349 ac_x_libraries='$ac_x_libraries'"
8350 esac
8352 ;; #(
8353 *) have_x=yes;;
8354 esac
8355 eval "$ac_cv_have_x"
8356 fi # $with_x != no
8358 if test "$have_x" != yes; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8360 $as_echo "$have_x" >&6; }
8361 no_x=yes
8362 else
8363 # If each of the values was on the command line, it overrides each guess.
8364 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8365 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8366 # Update the cache value to reflect the command line values.
8367 ac_cv_have_x="have_x=yes\
8368 ac_x_includes='$x_includes'\
8369 ac_x_libraries='$x_libraries'"
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8371 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8374 if test "$no_x" = yes; then
8375 # Not all programs may use this symbol, but it does not hurt to define it.
8377 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8379 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8380 else
8381 if test -n "$x_includes"; then
8382 X_CFLAGS="$X_CFLAGS -I$x_includes"
8385 # It would also be nice to do this for all -L options, not just this one.
8386 if test -n "$x_libraries"; then
8387 X_LIBS="$X_LIBS -L$x_libraries"
8388 # For Solaris; some versions of Sun CC require a space after -R and
8389 # others require no space. Words are not sufficient . . . .
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8391 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8392 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8393 ac_xsave_c_werror_flag=$ac_c_werror_flag
8394 ac_c_werror_flag=yes
8395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8399 main ()
8403 return 0;
8405 _ACEOF
8406 if ac_fn_c_try_link "$LINENO"; then :
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8408 $as_echo "no" >&6; }
8409 X_LIBS="$X_LIBS -R$x_libraries"
8410 else
8411 LIBS="$ac_xsave_LIBS -R $x_libraries"
8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8416 main ()
8420 return 0;
8422 _ACEOF
8423 if ac_fn_c_try_link "$LINENO"; then :
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8425 $as_echo "yes" >&6; }
8426 X_LIBS="$X_LIBS -R $x_libraries"
8427 else
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8429 $as_echo "neither works" >&6; }
8431 rm -f core conftest.err conftest.$ac_objext \
8432 conftest$ac_exeext conftest.$ac_ext
8434 rm -f core conftest.err conftest.$ac_objext \
8435 conftest$ac_exeext conftest.$ac_ext
8436 ac_c_werror_flag=$ac_xsave_c_werror_flag
8437 LIBS=$ac_xsave_LIBS
8440 # Check for system-dependent libraries X programs must link with.
8441 # Do this before checking for the system-independent R6 libraries
8442 # (-lICE), since we may need -lsocket or whatever for X linking.
8444 if test "$ISC" = yes; then
8445 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8446 else
8447 # Martyn Johnson says this is needed for Ultrix, if the X
8448 # libraries were built with DECnet support. And Karl Berry says
8449 # the Alpha needs dnet_stub (dnet does not exist).
8450 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8454 /* Override any GCC internal prototype to avoid an error.
8455 Use char because int might match the return type of a GCC
8456 builtin and then its argument prototype would still apply. */
8457 #ifdef __cplusplus
8458 extern "C"
8459 #endif
8460 char XOpenDisplay ();
8462 main ()
8464 return XOpenDisplay ();
8466 return 0;
8468 _ACEOF
8469 if ac_fn_c_try_link "$LINENO"; then :
8471 else
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8473 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8474 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 ac_check_lib_save_LIBS=$LIBS
8478 LIBS="-ldnet $LIBS"
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8482 /* Override any GCC internal prototype to avoid an error.
8483 Use char because int might match the return type of a GCC
8484 builtin and then its argument prototype would still apply. */
8485 #ifdef __cplusplus
8486 extern "C"
8487 #endif
8488 char dnet_ntoa ();
8490 main ()
8492 return dnet_ntoa ();
8494 return 0;
8496 _ACEOF
8497 if ac_fn_c_try_link "$LINENO"; then :
8498 ac_cv_lib_dnet_dnet_ntoa=yes
8499 else
8500 ac_cv_lib_dnet_dnet_ntoa=no
8502 rm -f core conftest.err conftest.$ac_objext \
8503 conftest$ac_exeext conftest.$ac_ext
8504 LIBS=$ac_check_lib_save_LIBS
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8507 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8508 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8509 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8512 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8514 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8515 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8516 $as_echo_n "(cached) " >&6
8517 else
8518 ac_check_lib_save_LIBS=$LIBS
8519 LIBS="-ldnet_stub $LIBS"
8520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8523 /* Override any GCC internal prototype to avoid an error.
8524 Use char because int might match the return type of a GCC
8525 builtin and then its argument prototype would still apply. */
8526 #ifdef __cplusplus
8527 extern "C"
8528 #endif
8529 char dnet_ntoa ();
8531 main ()
8533 return dnet_ntoa ();
8535 return 0;
8537 _ACEOF
8538 if ac_fn_c_try_link "$LINENO"; then :
8539 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8540 else
8541 ac_cv_lib_dnet_stub_dnet_ntoa=no
8543 rm -f core conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545 LIBS=$ac_check_lib_save_LIBS
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8548 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8549 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8550 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8555 rm -f core conftest.err conftest.$ac_objext \
8556 conftest$ac_exeext conftest.$ac_ext
8557 LIBS="$ac_xsave_LIBS"
8559 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8560 # to get the SysV transport functions.
8561 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8562 # needs -lnsl.
8563 # The nsl library prevents programs from opening the X display
8564 # on Irix 5.2, according to T.E. Dickey.
8565 # The functions gethostbyname, getservbyname, and inet_addr are
8566 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8567 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8568 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8572 if test $ac_cv_func_gethostbyname = no; then
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8574 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8575 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8576 $as_echo_n "(cached) " >&6
8577 else
8578 ac_check_lib_save_LIBS=$LIBS
8579 LIBS="-lnsl $LIBS"
8580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8583 /* Override any GCC internal prototype to avoid an error.
8584 Use char because int might match the return type of a GCC
8585 builtin and then its argument prototype would still apply. */
8586 #ifdef __cplusplus
8587 extern "C"
8588 #endif
8589 char gethostbyname ();
8591 main ()
8593 return gethostbyname ();
8595 return 0;
8597 _ACEOF
8598 if ac_fn_c_try_link "$LINENO"; then :
8599 ac_cv_lib_nsl_gethostbyname=yes
8600 else
8601 ac_cv_lib_nsl_gethostbyname=no
8603 rm -f core conftest.err conftest.$ac_objext \
8604 conftest$ac_exeext conftest.$ac_ext
8605 LIBS=$ac_check_lib_save_LIBS
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8608 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8609 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8610 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8613 if test $ac_cv_lib_nsl_gethostbyname = no; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8615 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8616 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8617 $as_echo_n "(cached) " >&6
8618 else
8619 ac_check_lib_save_LIBS=$LIBS
8620 LIBS="-lbsd $LIBS"
8621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */
8624 /* Override any GCC internal prototype to avoid an error.
8625 Use char because int might match the return type of a GCC
8626 builtin and then its argument prototype would still apply. */
8627 #ifdef __cplusplus
8628 extern "C"
8629 #endif
8630 char gethostbyname ();
8632 main ()
8634 return gethostbyname ();
8636 return 0;
8638 _ACEOF
8639 if ac_fn_c_try_link "$LINENO"; then :
8640 ac_cv_lib_bsd_gethostbyname=yes
8641 else
8642 ac_cv_lib_bsd_gethostbyname=no
8644 rm -f core conftest.err conftest.$ac_objext \
8645 conftest$ac_exeext conftest.$ac_ext
8646 LIBS=$ac_check_lib_save_LIBS
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8649 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8650 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
8651 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8657 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8658 # socket/setsockopt and other routines are undefined under SCO ODT
8659 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8660 # on later versions), says Simon Leinen: it contains gethostby*
8661 # variants that don't use the name server (or something). -lsocket
8662 # must be given before -lnsl if both are needed. We assume that
8663 # if connect needs -lnsl, so does gethostbyname.
8664 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
8665 if test "x$ac_cv_func_connect" = xyes; then :
8669 if test $ac_cv_func_connect = no; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8671 $as_echo_n "checking for connect in -lsocket... " >&6; }
8672 if ${ac_cv_lib_socket_connect+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 ac_check_lib_save_LIBS=$LIBS
8676 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8680 /* Override any GCC internal prototype to avoid an error.
8681 Use char because int might match the return type of a GCC
8682 builtin and then its argument prototype would still apply. */
8683 #ifdef __cplusplus
8684 extern "C"
8685 #endif
8686 char connect ();
8688 main ()
8690 return connect ();
8692 return 0;
8694 _ACEOF
8695 if ac_fn_c_try_link "$LINENO"; then :
8696 ac_cv_lib_socket_connect=yes
8697 else
8698 ac_cv_lib_socket_connect=no
8700 rm -f core conftest.err conftest.$ac_objext \
8701 conftest$ac_exeext conftest.$ac_ext
8702 LIBS=$ac_check_lib_save_LIBS
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8705 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8706 if test "x$ac_cv_lib_socket_connect" = xyes; then :
8707 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8712 # Guillermo Gomez says -lposix is necessary on A/UX.
8713 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
8714 if test "x$ac_cv_func_remove" = xyes; then :
8718 if test $ac_cv_func_remove = no; then
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8720 $as_echo_n "checking for remove in -lposix... " >&6; }
8721 if ${ac_cv_lib_posix_remove+:} false; then :
8722 $as_echo_n "(cached) " >&6
8723 else
8724 ac_check_lib_save_LIBS=$LIBS
8725 LIBS="-lposix $LIBS"
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8729 /* Override any GCC internal prototype to avoid an error.
8730 Use char because int might match the return type of a GCC
8731 builtin and then its argument prototype would still apply. */
8732 #ifdef __cplusplus
8733 extern "C"
8734 #endif
8735 char remove ();
8737 main ()
8739 return remove ();
8741 return 0;
8743 _ACEOF
8744 if ac_fn_c_try_link "$LINENO"; then :
8745 ac_cv_lib_posix_remove=yes
8746 else
8747 ac_cv_lib_posix_remove=no
8749 rm -f core conftest.err conftest.$ac_objext \
8750 conftest$ac_exeext conftest.$ac_ext
8751 LIBS=$ac_check_lib_save_LIBS
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8754 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8755 if test "x$ac_cv_lib_posix_remove" = xyes; then :
8756 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8761 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8762 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8763 if test "x$ac_cv_func_shmat" = xyes; then :
8767 if test $ac_cv_func_shmat = no; then
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8769 $as_echo_n "checking for shmat in -lipc... " >&6; }
8770 if ${ac_cv_lib_ipc_shmat+:} false; then :
8771 $as_echo_n "(cached) " >&6
8772 else
8773 ac_check_lib_save_LIBS=$LIBS
8774 LIBS="-lipc $LIBS"
8775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8778 /* Override any GCC internal prototype to avoid an error.
8779 Use char because int might match the return type of a GCC
8780 builtin and then its argument prototype would still apply. */
8781 #ifdef __cplusplus
8782 extern "C"
8783 #endif
8784 char shmat ();
8786 main ()
8788 return shmat ();
8790 return 0;
8792 _ACEOF
8793 if ac_fn_c_try_link "$LINENO"; then :
8794 ac_cv_lib_ipc_shmat=yes
8795 else
8796 ac_cv_lib_ipc_shmat=no
8798 rm -f core conftest.err conftest.$ac_objext \
8799 conftest$ac_exeext conftest.$ac_ext
8800 LIBS=$ac_check_lib_save_LIBS
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8803 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8804 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8805 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8811 # Check for libraries that X11R6 Xt/Xaw programs need.
8812 ac_save_LDFLAGS=$LDFLAGS
8813 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8814 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8815 # check for ICE first), but we must link in the order -lSM -lICE or
8816 # we get undefined symbols. So assume we have SM if we have ICE.
8817 # These have to be linked with before -lX11, unlike the other
8818 # libraries we check for below, so use a different variable.
8819 # John Interrante, Karl Berry
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8821 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8822 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8823 $as_echo_n "(cached) " >&6
8824 else
8825 ac_check_lib_save_LIBS=$LIBS
8826 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8828 /* end confdefs.h. */
8830 /* Override any GCC internal prototype to avoid an error.
8831 Use char because int might match the return type of a GCC
8832 builtin and then its argument prototype would still apply. */
8833 #ifdef __cplusplus
8834 extern "C"
8835 #endif
8836 char IceConnectionNumber ();
8838 main ()
8840 return IceConnectionNumber ();
8842 return 0;
8844 _ACEOF
8845 if ac_fn_c_try_link "$LINENO"; then :
8846 ac_cv_lib_ICE_IceConnectionNumber=yes
8847 else
8848 ac_cv_lib_ICE_IceConnectionNumber=no
8850 rm -f core conftest.err conftest.$ac_objext \
8851 conftest$ac_exeext conftest.$ac_ext
8852 LIBS=$ac_check_lib_save_LIBS
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8855 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8856 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8857 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8860 LDFLAGS=$ac_save_LDFLAGS
8865 if test "$have_x" = "yes"
8866 then
8867 XLIB="-lX11"
8868 ac_save_CPPFLAGS="$CPPFLAGS"
8869 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8872 $as_echo_n "checking for -lX11... " >&6; }
8873 if ${ac_cv_lib_soname_X11+:} false; then :
8874 $as_echo_n "(cached) " >&6
8875 else
8876 ac_check_soname_save_LIBS=$LIBS
8877 LIBS="-lX11 $X_LIBS $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 XCreateWindow ();
8889 main ()
8891 return XCreateWindow ();
8893 return 0;
8895 _ACEOF
8896 if ac_fn_c_try_link "$LINENO"; then :
8897 case "$LIBEXT" in
8898 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8899 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'` ;;
8900 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8901 if test "x$ac_cv_lib_soname_X11" = x; then :
8902 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$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_X11" = "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_X11" >&5
8916 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8918 cat >>confdefs.h <<_ACEOF
8919 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8920 _ACEOF
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8925 $as_echo_n "checking for -lXext... " >&6; }
8926 if ${ac_cv_lib_soname_Xext+:} false; then :
8927 $as_echo_n "(cached) " >&6
8928 else
8929 ac_check_soname_save_LIBS=$LIBS
8930 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8932 /* end confdefs.h. */
8934 /* Override any GCC internal prototype to avoid an error.
8935 Use char because int might match the return type of a GCC
8936 builtin and then its argument prototype would still apply. */
8937 #ifdef __cplusplus
8938 extern "C"
8939 #endif
8940 char XextCreateExtension ();
8942 main ()
8944 return XextCreateExtension ();
8946 return 0;
8948 _ACEOF
8949 if ac_fn_c_try_link "$LINENO"; then :
8950 case "$LIBEXT" in
8951 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8952 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'` ;;
8953 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8954 if test "x$ac_cv_lib_soname_Xext" = x; then :
8955 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8956 fi ;;
8957 esac
8959 rm -f core conftest.err conftest.$ac_objext \
8960 conftest$ac_exeext conftest.$ac_ext
8961 LIBS=$ac_check_soname_save_LIBS
8963 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8965 $as_echo "not found" >&6; }
8967 else
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8969 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8971 cat >>confdefs.h <<_ACEOF
8972 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8973 _ACEOF
8975 XLIB="-lXext $XLIB"
8978 for ac_header in X11/Xlib.h \
8979 X11/XKBlib.h \
8980 X11/Xutil.h \
8981 X11/Xcursor/Xcursor.h \
8982 X11/extensions/shape.h \
8983 X11/extensions/XInput.h \
8984 X11/extensions/XInput2.h \
8985 X11/extensions/XShm.h \
8986 X11/extensions/Xcomposite.h \
8987 X11/extensions/Xinerama.h \
8988 X11/extensions/Xrandr.h \
8989 X11/extensions/Xrender.h \
8990 X11/extensions/xf86vmode.h \
8991 X11/extensions/xf86vmproto.h
8992 do :
8993 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8994 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8995 # include <X11/Xlib.h>
8996 #endif
8997 #ifdef HAVE_X11_XUTIL_H
8998 # include <X11/Xutil.h>
8999 #endif
9001 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9002 cat >>confdefs.h <<_ACEOF
9003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9004 _ACEOF
9008 done
9011 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9012 then
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9014 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9015 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9016 $as_echo_n "(cached) " >&6
9017 else
9018 ac_check_lib_save_LIBS=$LIBS
9019 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9023 /* Override any GCC internal prototype to avoid an error.
9024 Use char because int might match the return type of a GCC
9025 builtin and then its argument prototype would still apply. */
9026 #ifdef __cplusplus
9027 extern "C"
9028 #endif
9029 char XkbQueryExtension ();
9031 main ()
9033 return XkbQueryExtension ();
9035 return 0;
9037 _ACEOF
9038 if ac_fn_c_try_link "$LINENO"; then :
9039 ac_cv_lib_X11_XkbQueryExtension=yes
9040 else
9041 ac_cv_lib_X11_XkbQueryExtension=no
9043 rm -f core conftest.err conftest.$ac_objext \
9044 conftest$ac_exeext conftest.$ac_ext
9045 LIBS=$ac_check_lib_save_LIBS
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9048 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9049 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9051 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9057 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9058 then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9060 $as_echo_n "checking for -lXcursor... " >&6; }
9061 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9062 $as_echo_n "(cached) " >&6
9063 else
9064 ac_check_soname_save_LIBS=$LIBS
9065 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9067 /* end confdefs.h. */
9069 /* Override any GCC internal prototype to avoid an error.
9070 Use char because int might match the return type of a GCC
9071 builtin and then its argument prototype would still apply. */
9072 #ifdef __cplusplus
9073 extern "C"
9074 #endif
9075 char XcursorImageLoadCursor ();
9077 main ()
9079 return XcursorImageLoadCursor ();
9081 return 0;
9083 _ACEOF
9084 if ac_fn_c_try_link "$LINENO"; then :
9085 case "$LIBEXT" in
9086 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9087 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'` ;;
9088 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9089 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
9090 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9091 fi ;;
9092 esac
9094 rm -f core conftest.err conftest.$ac_objext \
9095 conftest$ac_exeext conftest.$ac_ext
9096 LIBS=$ac_check_soname_save_LIBS
9098 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9100 $as_echo "not found" >&6; }
9102 else
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9104 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9106 cat >>confdefs.h <<_ACEOF
9107 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9108 _ACEOF
9113 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9114 case "x$with_xcursor" in
9115 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9116 xno) ;;
9117 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9118 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9119 esac
9122 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9123 then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9125 $as_echo_n "checking for -lXi... " >&6; }
9126 if ${ac_cv_lib_soname_Xi+:} false; then :
9127 $as_echo_n "(cached) " >&6
9128 else
9129 ac_check_soname_save_LIBS=$LIBS
9130 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9134 /* Override any GCC internal prototype to avoid an error.
9135 Use char because int might match the return type of a GCC
9136 builtin and then its argument prototype would still apply. */
9137 #ifdef __cplusplus
9138 extern "C"
9139 #endif
9140 char XOpenDevice ();
9142 main ()
9144 return XOpenDevice ();
9146 return 0;
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150 case "$LIBEXT" in
9151 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9152 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'` ;;
9153 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9154 if test "x$ac_cv_lib_soname_Xi" = x; then :
9155 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9156 fi ;;
9157 esac
9159 rm -f core conftest.err conftest.$ac_objext \
9160 conftest$ac_exeext conftest.$ac_ext
9161 LIBS=$ac_check_soname_save_LIBS
9163 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9165 $as_echo "not found" >&6; }
9167 else
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9169 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9171 cat >>confdefs.h <<_ACEOF
9172 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9173 _ACEOF
9178 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9179 case "x$with_xinput" in
9180 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9181 xno) ;;
9182 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9183 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9184 esac
9187 if test "x$ac_cv_lib_soname_Xi" != x
9188 then
9189 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9190 case "x$with_xinput2" in
9191 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9192 xno) ;;
9193 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9194 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9195 esac
9199 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9200 then
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9202 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9203 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9204 $as_echo_n "(cached) " >&6
9205 else
9206 ac_check_lib_save_LIBS=$LIBS
9207 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9209 /* end confdefs.h. */
9211 /* Override any GCC internal prototype to avoid an error.
9212 Use char because int might match the return type of a GCC
9213 builtin and then its argument prototype would still apply. */
9214 #ifdef __cplusplus
9215 extern "C"
9216 #endif
9217 char XShmQueryExtension ();
9219 main ()
9221 return XShmQueryExtension ();
9223 return 0;
9225 _ACEOF
9226 if ac_fn_c_try_link "$LINENO"; then :
9227 ac_cv_lib_Xext_XShmQueryExtension=yes
9228 else
9229 ac_cv_lib_Xext_XShmQueryExtension=no
9231 rm -f core conftest.err conftest.$ac_objext \
9232 conftest$ac_exeext conftest.$ac_ext
9233 LIBS=$ac_check_lib_save_LIBS
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9236 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9237 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9239 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9244 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9245 case "x$with_xshm" in
9246 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9247 xno) ;;
9248 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9249 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9250 esac
9253 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9254 then
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9256 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9257 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9258 $as_echo_n "(cached) " >&6
9259 else
9260 ac_check_lib_save_LIBS=$LIBS
9261 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9263 /* end confdefs.h. */
9265 /* Override any GCC internal prototype to avoid an error.
9266 Use char because int might match the return type of a GCC
9267 builtin and then its argument prototype would still apply. */
9268 #ifdef __cplusplus
9269 extern "C"
9270 #endif
9271 char XShapeQueryExtension ();
9273 main ()
9275 return XShapeQueryExtension ();
9277 return 0;
9279 _ACEOF
9280 if ac_fn_c_try_link "$LINENO"; then :
9281 ac_cv_lib_Xext_XShapeQueryExtension=yes
9282 else
9283 ac_cv_lib_Xext_XShapeQueryExtension=no
9285 rm -f core conftest.err conftest.$ac_objext \
9286 conftest$ac_exeext conftest.$ac_ext
9287 LIBS=$ac_check_lib_save_LIBS
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9290 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9291 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9293 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9298 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9299 case "x$with_xshape" in
9300 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9301 xno) ;;
9302 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9303 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9304 esac
9307 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9308 then
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9310 $as_echo_n "checking for -lXxf86vm... " >&6; }
9311 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9312 $as_echo_n "(cached) " >&6
9313 else
9314 ac_check_soname_save_LIBS=$LIBS
9315 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9319 /* Override any GCC internal prototype to avoid an error.
9320 Use char because int might match the return type of a GCC
9321 builtin and then its argument prototype would still apply. */
9322 #ifdef __cplusplus
9323 extern "C"
9324 #endif
9325 char XF86VidModeQueryExtension ();
9327 main ()
9329 return XF86VidModeQueryExtension ();
9331 return 0;
9333 _ACEOF
9334 if ac_fn_c_try_link "$LINENO"; then :
9335 case "$LIBEXT" in
9336 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9337 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'` ;;
9338 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9339 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
9340 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9341 fi ;;
9342 esac
9344 rm -f core conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 LIBS=$ac_check_soname_save_LIBS
9348 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9350 $as_echo "not found" >&6; }
9352 else
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9354 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9356 cat >>confdefs.h <<_ACEOF
9357 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9358 _ACEOF
9363 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9364 case "x$with_xxf86vm" in
9365 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9366 xno) ;;
9367 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9368 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9369 esac
9372 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"
9373 then
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9375 $as_echo_n "checking for -lXrender... " >&6; }
9376 if ${ac_cv_lib_soname_Xrender+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_check_soname_save_LIBS=$LIBS
9380 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9384 /* Override any GCC internal prototype to avoid an error.
9385 Use char because int might match the return type of a GCC
9386 builtin and then its argument prototype would still apply. */
9387 #ifdef __cplusplus
9388 extern "C"
9389 #endif
9390 char XRenderQueryExtension ();
9392 main ()
9394 return XRenderQueryExtension ();
9396 return 0;
9398 _ACEOF
9399 if ac_fn_c_try_link "$LINENO"; then :
9400 case "$LIBEXT" in
9401 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9402 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'` ;;
9403 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9404 if test "x$ac_cv_lib_soname_Xrender" = x; then :
9405 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9406 fi ;;
9407 esac
9409 rm -f core conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 LIBS=$ac_check_soname_save_LIBS
9413 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9415 $as_echo "not found" >&6; }
9417 else
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9419 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9421 cat >>confdefs.h <<_ACEOF
9422 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9423 _ACEOF
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9426 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9427 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9428 $as_echo_n "(cached) " >&6
9429 else
9430 ac_check_lib_save_LIBS=$LIBS
9431 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9433 /* end confdefs.h. */
9435 /* Override any GCC internal prototype to avoid an error.
9436 Use char because int might match the return type of a GCC
9437 builtin and then its argument prototype would still apply. */
9438 #ifdef __cplusplus
9439 extern "C"
9440 #endif
9441 char XRenderSetPictureTransform ();
9443 main ()
9445 return XRenderSetPictureTransform ();
9447 return 0;
9449 _ACEOF
9450 if ac_fn_c_try_link "$LINENO"; then :
9451 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9452 else
9453 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9455 rm -f core conftest.err conftest.$ac_objext \
9456 conftest$ac_exeext conftest.$ac_ext
9457 LIBS=$ac_check_lib_save_LIBS
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9460 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9461 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9463 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9468 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9469 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9470 $as_echo_n "(cached) " >&6
9471 else
9472 ac_check_lib_save_LIBS=$LIBS
9473 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9480 #ifdef __cplusplus
9481 extern "C"
9482 #endif
9483 char XRenderCreateLinearGradient ();
9485 main ()
9487 return XRenderCreateLinearGradient ();
9489 return 0;
9491 _ACEOF
9492 if ac_fn_c_try_link "$LINENO"; then :
9493 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9494 else
9495 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9497 rm -f core conftest.err conftest.$ac_objext \
9498 conftest$ac_exeext conftest.$ac_ext
9499 LIBS=$ac_check_lib_save_LIBS
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9502 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9503 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9505 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9512 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9513 case "x$with_xrender" in
9514 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9515 xno) ;;
9516 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9517 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9518 esac
9521 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9522 then
9523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h. */
9525 #include <X11/Xlib.h>
9526 #include <X11/extensions/Xrandr.h>
9528 main ()
9530 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9532 return 0;
9534 _ACEOF
9535 if ac_fn_c_try_compile "$LINENO"; then :
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9537 $as_echo_n "checking for -lXrandr... " >&6; }
9538 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9539 $as_echo_n "(cached) " >&6
9540 else
9541 ac_check_soname_save_LIBS=$LIBS
9542 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9544 /* end confdefs.h. */
9546 /* Override any GCC internal prototype to avoid an error.
9547 Use char because int might match the return type of a GCC
9548 builtin and then its argument prototype would still apply. */
9549 #ifdef __cplusplus
9550 extern "C"
9551 #endif
9552 char XRRQueryExtension ();
9554 main ()
9556 return XRRQueryExtension ();
9558 return 0;
9560 _ACEOF
9561 if ac_fn_c_try_link "$LINENO"; then :
9562 case "$LIBEXT" in
9563 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9564 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'` ;;
9565 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9566 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
9567 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9568 fi ;;
9569 esac
9571 rm -f core conftest.err conftest.$ac_objext \
9572 conftest$ac_exeext conftest.$ac_ext
9573 LIBS=$ac_check_soname_save_LIBS
9575 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9577 $as_echo "not found" >&6; }
9579 else
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9581 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9583 cat >>confdefs.h <<_ACEOF
9584 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9585 _ACEOF
9587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9589 #include <X11/Xlib.h>
9590 #include <X11/extensions/Xrandr.h>
9592 main ()
9594 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9596 return 0;
9598 _ACEOF
9599 if ac_fn_c_try_compile "$LINENO"; then :
9601 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9609 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9610 case "x$with_xrandr" in
9611 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9612 xno) ;;
9613 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9614 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9615 esac
9618 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9619 then
9620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9622 #include <X11/Xlib.h>
9623 #include <X11/extensions/Xinerama.h>
9625 main ()
9627 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9629 return 0;
9631 _ACEOF
9632 if ac_fn_c_try_compile "$LINENO"; then :
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9634 $as_echo_n "checking for -lXinerama... " >&6; }
9635 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9636 $as_echo_n "(cached) " >&6
9637 else
9638 ac_check_soname_save_LIBS=$LIBS
9639 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9641 /* end confdefs.h. */
9643 /* Override any GCC internal prototype to avoid an error.
9644 Use char because int might match the return type of a GCC
9645 builtin and then its argument prototype would still apply. */
9646 #ifdef __cplusplus
9647 extern "C"
9648 #endif
9649 char XineramaQueryScreens ();
9651 main ()
9653 return XineramaQueryScreens ();
9655 return 0;
9657 _ACEOF
9658 if ac_fn_c_try_link "$LINENO"; then :
9659 case "$LIBEXT" in
9660 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9661 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'` ;;
9662 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9663 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
9664 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9665 fi ;;
9666 esac
9668 rm -f core conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9670 LIBS=$ac_check_soname_save_LIBS
9672 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9674 $as_echo "not found" >&6; }
9676 else
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9678 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9680 cat >>confdefs.h <<_ACEOF
9681 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9682 _ACEOF
9687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9689 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9690 case "x$with_xinerama" in
9691 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9692 xno) ;;
9693 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9694 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9695 esac
9698 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9699 then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9701 $as_echo_n "checking for -lXcomposite... " >&6; }
9702 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
9703 $as_echo_n "(cached) " >&6
9704 else
9705 ac_check_soname_save_LIBS=$LIBS
9706 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9710 /* Override any GCC internal prototype to avoid an error.
9711 Use char because int might match the return type of a GCC
9712 builtin and then its argument prototype would still apply. */
9713 #ifdef __cplusplus
9714 extern "C"
9715 #endif
9716 char XCompositeRedirectWindow ();
9718 main ()
9720 return XCompositeRedirectWindow ();
9722 return 0;
9724 _ACEOF
9725 if ac_fn_c_try_link "$LINENO"; then :
9726 case "$LIBEXT" in
9727 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9728 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'` ;;
9729 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9730 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
9731 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9732 fi ;;
9733 esac
9735 rm -f core conftest.err conftest.$ac_objext \
9736 conftest$ac_exeext conftest.$ac_ext
9737 LIBS=$ac_check_soname_save_LIBS
9739 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9741 $as_echo "not found" >&6; }
9743 else
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9745 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9747 cat >>confdefs.h <<_ACEOF
9748 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9749 _ACEOF
9754 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9755 case "x$with_xcomposite" in
9756 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9757 xno) ;;
9758 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9759 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9760 esac
9763 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9764 #include <X11/Xlib.h>
9765 #endif
9767 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9769 cat >>confdefs.h <<_ACEOF
9770 #define HAVE_XICCALLBACK_CALLBACK 1
9771 _ACEOF
9775 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9776 #include <X11/Xlib.h>
9777 #endif
9779 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9781 cat >>confdefs.h <<_ACEOF
9782 #define HAVE_XEVENT_XCOOKIE 1
9783 _ACEOF
9790 opengl_msg=""
9791 if test "x$with_opengl" != "xno"
9792 then
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9794 $as_echo_n "checking for -lGL... " >&6; }
9795 if ${ac_cv_lib_soname_GL+:} false; then :
9796 $as_echo_n "(cached) " >&6
9797 else
9798 ac_check_soname_save_LIBS=$LIBS
9799 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9806 #ifdef __cplusplus
9807 extern "C"
9808 #endif
9809 char glXCreateContext ();
9811 main ()
9813 return glXCreateContext ();
9815 return 0;
9817 _ACEOF
9818 if ac_fn_c_try_link "$LINENO"; then :
9819 case "$LIBEXT" in
9820 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9821 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'` ;;
9822 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9823 if test "x$ac_cv_lib_soname_GL" = x; then :
9824 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9825 fi ;;
9826 esac
9828 rm -f core conftest.err conftest.$ac_objext \
9829 conftest$ac_exeext conftest.$ac_ext
9830 LIBS=$ac_check_soname_save_LIBS
9832 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9834 $as_echo "not found" >&6; }
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9836 $as_echo_n "checking for -lGL... " >&6; }
9837 if ${ac_cv_lib_soname_GL+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 ac_check_soname_save_LIBS=$LIBS
9841 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"
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9845 /* Override any GCC internal prototype to avoid an error.
9846 Use char because int might match the return type of a GCC
9847 builtin and then its argument prototype would still apply. */
9848 #ifdef __cplusplus
9849 extern "C"
9850 #endif
9851 char glXCreateContext ();
9853 main ()
9855 return glXCreateContext ();
9857 return 0;
9859 _ACEOF
9860 if ac_fn_c_try_link "$LINENO"; then :
9861 case "$LIBEXT" in
9862 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9863 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'` ;;
9864 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9865 if test "x$ac_cv_lib_soname_GL" = x; then :
9866 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9867 fi ;;
9868 esac
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 LIBS=$ac_check_soname_save_LIBS
9874 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9876 $as_echo "not found" >&6; }
9877 if test -f /usr/X11R6/lib/libGL.a
9878 then
9879 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9880 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9881 else
9882 opengl_msg="No OpenGL library found on this system."
9884 else
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9886 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9888 cat >>confdefs.h <<_ACEOF
9889 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9890 _ACEOF
9892 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"
9894 else
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9896 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9898 cat >>confdefs.h <<_ACEOF
9899 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9900 _ACEOF
9902 OPENGL_LIBS="-lGL"
9904 if test "x$with_glu" != "xno"
9905 then
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9907 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9908 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9909 $as_echo_n "(cached) " >&6
9910 else
9911 ac_check_lib_save_LIBS=$LIBS
9912 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9916 /* Override any GCC internal prototype to avoid an error.
9917 Use char because int might match the return type of a GCC
9918 builtin and then its argument prototype would still apply. */
9919 #ifdef __cplusplus
9920 extern "C"
9921 #endif
9922 char gluLookAt ();
9924 main ()
9926 return gluLookAt ();
9928 return 0;
9930 _ACEOF
9931 if ac_fn_c_try_link "$LINENO"; then :
9932 ac_cv_lib_GLU_gluLookAt=yes
9933 else
9934 ac_cv_lib_GLU_gluLookAt=no
9936 rm -f core conftest.err conftest.$ac_objext \
9937 conftest$ac_exeext conftest.$ac_ext
9938 LIBS=$ac_check_lib_save_LIBS
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9941 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9942 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9946 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9947 case "x$with_glu" in
9948 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9949 xno) ;;
9950 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9951 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9952 esac
9956 if test "x$with_osmesa" != "xno"
9957 then
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9959 $as_echo_n "checking for -lOSMesa... " >&6; }
9960 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9961 $as_echo_n "(cached) " >&6
9962 else
9963 ac_check_soname_save_LIBS=$LIBS
9964 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9968 /* Override any GCC internal prototype to avoid an error.
9969 Use char because int might match the return type of a GCC
9970 builtin and then its argument prototype would still apply. */
9971 #ifdef __cplusplus
9972 extern "C"
9973 #endif
9974 char glAccum ();
9976 main ()
9978 return glAccum ();
9980 return 0;
9982 _ACEOF
9983 if ac_fn_c_try_link "$LINENO"; then :
9984 case "$LIBEXT" in
9985 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9986 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'` ;;
9987 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9988 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9989 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9990 fi ;;
9991 esac
9993 rm -f core conftest.err conftest.$ac_objext \
9994 conftest$ac_exeext conftest.$ac_ext
9995 LIBS=$ac_check_soname_save_LIBS
9997 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9999 $as_echo "not found" >&6; }
10001 else
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10003 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10005 cat >>confdefs.h <<_ACEOF
10006 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10007 _ACEOF
10011 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10012 case "x$with_osmesa" in
10013 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10014 xno) ;;
10015 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10016 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10017 esac
10021 if test -n "$opengl_msg"; then :
10022 case "x$with_opengl" in
10023 x) as_fn_append wine_warnings "|$opengl_msg
10024 OpenGL and Direct3D won't be supported." ;;
10025 xno) ;;
10026 *) as_fn_error $? "$opengl_msg
10027 OpenGL and Direct3D won't be supported.
10028 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10029 esac
10032 CPPFLAGS="$ac_save_CPPFLAGS"
10033 else
10034 XLIB=""
10035 X_CFLAGS=""
10036 X_LIBS=""
10037 enable_winex11_drv=${enable_winex11_drv:-no}
10039 if test "x$XLIB" = "x"; then :
10040 case "x$with_x" in
10041 xno) ;;
10042 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10043 without X support, which probably isn't what you want. You will need
10044 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10045 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10046 esac
10049 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10051 if test "$ac_cv_header_CL_cl_h" = "yes"
10052 then
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10054 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10055 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10056 $as_echo_n "(cached) " >&6
10057 else
10058 ac_check_lib_save_LIBS=$LIBS
10059 LIBS="-lOpenCL $LIBS"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10063 /* Override any GCC internal prototype to avoid an error.
10064 Use char because int might match the return type of a GCC
10065 builtin and then its argument prototype would still apply. */
10066 #ifdef __cplusplus
10067 extern "C"
10068 #endif
10069 char clGetPlatformInfo ();
10071 main ()
10073 return clGetPlatformInfo ();
10075 return 0;
10077 _ACEOF
10078 if ac_fn_c_try_link "$LINENO"; then :
10079 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10080 else
10081 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10083 rm -f core conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 LIBS=$ac_check_lib_save_LIBS
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10088 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10089 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10090 LIBOPENCL="-lOpenCL"
10095 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10096 case "x$with_opencl" in
10097 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10098 xno) ;;
10099 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10100 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10101 esac
10103 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10106 if test "x$with_xml" != "xno"
10107 then
10108 if test -n "$XML2_CFLAGS"; then :
10110 elif test -n "$PKG_CONFIG"; then :
10111 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10113 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10114 if test -n "$XML2_LIBS"; then :
10116 elif test -n "$PKG_CONFIG"; then :
10117 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10119 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10120 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10121 ac_save_CPPFLAGS=$CPPFLAGS
10122 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10123 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10124 do :
10125 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10126 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10127 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10128 cat >>confdefs.h <<_ACEOF
10129 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10130 _ACEOF
10134 done
10136 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"
10137 then
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10139 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10140 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10141 $as_echo_n "(cached) " >&6
10142 else
10143 ac_check_lib_save_LIBS=$LIBS
10144 LIBS="-lxml2 $XML2_LIBS $LIBS"
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10148 /* Override any GCC internal prototype to avoid an error.
10149 Use char because int might match the return type of a GCC
10150 builtin and then its argument prototype would still apply. */
10151 #ifdef __cplusplus
10152 extern "C"
10153 #endif
10154 char xmlParseMemory ();
10156 main ()
10158 return xmlParseMemory ();
10160 return 0;
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"; then :
10164 ac_cv_lib_xml2_xmlParseMemory=yes
10165 else
10166 ac_cv_lib_xml2_xmlParseMemory=no
10168 rm -f core conftest.err conftest.$ac_objext \
10169 conftest$ac_exeext conftest.$ac_ext
10170 LIBS=$ac_check_lib_save_LIBS
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10173 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10174 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10176 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10178 else
10179 XML2_LIBS=""
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10183 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10184 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10185 $as_echo_n "(cached) " >&6
10186 else
10187 ac_check_lib_save_LIBS=$LIBS
10188 LIBS="-lxml2 $XML2_LIBS $LIBS"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10192 /* Override any GCC internal prototype to avoid an error.
10193 Use char because int might match the return type of a GCC
10194 builtin and then its argument prototype would still apply. */
10195 #ifdef __cplusplus
10196 extern "C"
10197 #endif
10198 char xmlReadMemory ();
10200 main ()
10202 return xmlReadMemory ();
10204 return 0;
10206 _ACEOF
10207 if ac_fn_c_try_link "$LINENO"; then :
10208 ac_cv_lib_xml2_xmlReadMemory=yes
10209 else
10210 ac_cv_lib_xml2_xmlReadMemory=no
10212 rm -f core conftest.err conftest.$ac_objext \
10213 conftest$ac_exeext conftest.$ac_ext
10214 LIBS=$ac_check_lib_save_LIBS
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10217 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10218 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10220 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10225 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10226 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10227 $as_echo_n "(cached) " >&6
10228 else
10229 ac_check_lib_save_LIBS=$LIBS
10230 LIBS="-lxml2 $XML2_LIBS $LIBS"
10231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10234 /* Override any GCC internal prototype to avoid an error.
10235 Use char because int might match the return type of a GCC
10236 builtin and then its argument prototype would still apply. */
10237 #ifdef __cplusplus
10238 extern "C"
10239 #endif
10240 char xmlNewDocPI ();
10242 main ()
10244 return xmlNewDocPI ();
10246 return 0;
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 ac_cv_lib_xml2_xmlNewDocPI=yes
10251 else
10252 ac_cv_lib_xml2_xmlNewDocPI=no
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 LIBS=$ac_check_lib_save_LIBS
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10259 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10260 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10262 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10267 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10268 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10269 $as_echo_n "(cached) " >&6
10270 else
10271 ac_check_lib_save_LIBS=$LIBS
10272 LIBS="-lxml2 $XML2_LIBS $LIBS"
10273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10276 /* Override any GCC internal prototype to avoid an error.
10277 Use char because int might match the return type of a GCC
10278 builtin and then its argument prototype would still apply. */
10279 #ifdef __cplusplus
10280 extern "C"
10281 #endif
10282 char xmlSchemaSetParserStructuredErrors ();
10284 main ()
10286 return xmlSchemaSetParserStructuredErrors ();
10288 return 0;
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"; then :
10292 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10293 else
10294 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10296 rm -f core conftest.err conftest.$ac_objext \
10297 conftest$ac_exeext conftest.$ac_ext
10298 LIBS=$ac_check_lib_save_LIBS
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10301 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10302 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10304 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10309 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10310 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10311 $as_echo_n "(cached) " >&6
10312 else
10313 ac_check_lib_save_LIBS=$LIBS
10314 LIBS="-lxml2 $XML2_LIBS $LIBS"
10315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10318 /* Override any GCC internal prototype to avoid an error.
10319 Use char because int might match the return type of a GCC
10320 builtin and then its argument prototype would still apply. */
10321 #ifdef __cplusplus
10322 extern "C"
10323 #endif
10324 char xmlSchemaSetValidStructuredErrors ();
10326 main ()
10328 return xmlSchemaSetValidStructuredErrors ();
10330 return 0;
10332 _ACEOF
10333 if ac_fn_c_try_link "$LINENO"; then :
10334 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10335 else
10336 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10338 rm -f core conftest.err conftest.$ac_objext \
10339 conftest$ac_exeext conftest.$ac_ext
10340 LIBS=$ac_check_lib_save_LIBS
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10343 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10344 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10346 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10351 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10352 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10353 $as_echo_n "(cached) " >&6
10354 else
10355 ac_check_lib_save_LIBS=$LIBS
10356 LIBS="-lxml2 $XML2_LIBS $LIBS"
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10360 /* Override any GCC internal prototype to avoid an error.
10361 Use char because int might match the return type of a GCC
10362 builtin and then its argument prototype would still apply. */
10363 #ifdef __cplusplus
10364 extern "C"
10365 #endif
10366 char xmlFirstElementChild ();
10368 main ()
10370 return xmlFirstElementChild ();
10372 return 0;
10374 _ACEOF
10375 if ac_fn_c_try_link "$LINENO"; then :
10376 ac_cv_lib_xml2_xmlFirstElementChild=yes
10377 else
10378 ac_cv_lib_xml2_xmlFirstElementChild=no
10380 rm -f core conftest.err conftest.$ac_objext \
10381 conftest$ac_exeext conftest.$ac_ext
10382 LIBS=$ac_check_lib_save_LIBS
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10385 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10386 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10388 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10392 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10394 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10396 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10400 else
10401 XML2_CFLAGS=""
10402 XML2_LIBS=""
10404 CPPFLAGS=$ac_save_CPPFLAGS
10405 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10406 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10409 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10410 case "x$with_xml" in
10411 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10412 xno) ;;
10413 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10414 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10415 esac
10418 if test "x$with_xslt" != "xno"
10419 then
10420 if test -n "$XSLT_CFLAGS"; then :
10422 elif test -n "$PKG_CONFIG"; then :
10423 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10425 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10426 if test -n "$XSLT_LIBS"; then :
10428 elif test -n "$PKG_CONFIG"; then :
10429 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10431 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10432 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10433 ac_save_CPPFLAGS=$CPPFLAGS
10434 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10435 for ac_header in libxslt/pattern.h libxslt/transform.h
10436 do :
10437 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10438 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10439 # include <libxslt/pattern.h>
10440 #endif
10442 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10443 cat >>confdefs.h <<_ACEOF
10444 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10445 _ACEOF
10449 done
10451 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10452 then
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10454 $as_echo_n "checking for -lxslt... " >&6; }
10455 if ${ac_cv_lib_soname_xslt+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_check_soname_save_LIBS=$LIBS
10459 LIBS="-lxslt $XSLT_LIBS $LIBS"
10460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10463 /* Override any GCC internal prototype to avoid an error.
10464 Use char because int might match the return type of a GCC
10465 builtin and then its argument prototype would still apply. */
10466 #ifdef __cplusplus
10467 extern "C"
10468 #endif
10469 char xsltCompilePattern ();
10471 main ()
10473 return xsltCompilePattern ();
10475 return 0;
10477 _ACEOF
10478 if ac_fn_c_try_link "$LINENO"; then :
10479 case "$LIBEXT" in
10480 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10481 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'` ;;
10482 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10483 if test "x$ac_cv_lib_soname_xslt" = x; then :
10484 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10485 fi ;;
10486 esac
10488 rm -f core conftest.err conftest.$ac_objext \
10489 conftest$ac_exeext conftest.$ac_ext
10490 LIBS=$ac_check_soname_save_LIBS
10492 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10494 $as_echo "not found" >&6; }
10496 else
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10498 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10500 cat >>confdefs.h <<_ACEOF
10501 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10502 _ACEOF
10506 else
10507 XSLT_CFLAGS=""
10509 CPPFLAGS=$ac_save_CPPFLAGS
10510 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10511 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10514 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10515 case "x$with_xslt" in
10516 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10517 xno) ;;
10518 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10519 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10520 esac
10523 if test "x$with_dbus" != "xno"
10524 then
10525 if test -n "$DBUS_CFLAGS"; then :
10527 elif test -n "$PKG_CONFIG"; then :
10528 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10531 if test -n "$DBUS_LIBS"; then :
10533 elif test -n "$PKG_CONFIG"; then :
10534 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10538 ac_save_CPPFLAGS=$CPPFLAGS
10539 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10540 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10541 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10543 $as_echo_n "checking for -ldbus-1... " >&6; }
10544 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10545 $as_echo_n "(cached) " >&6
10546 else
10547 ac_check_soname_save_LIBS=$LIBS
10548 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10552 /* Override any GCC internal prototype to avoid an error.
10553 Use char because int might match the return type of a GCC
10554 builtin and then its argument prototype would still apply. */
10555 #ifdef __cplusplus
10556 extern "C"
10557 #endif
10558 char dbus_connection_close ();
10560 main ()
10562 return dbus_connection_close ();
10564 return 0;
10566 _ACEOF
10567 if ac_fn_c_try_link "$LINENO"; then :
10568 case "$LIBEXT" in
10569 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10570 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'` ;;
10571 *) 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'`
10572 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
10573 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10574 fi ;;
10575 esac
10577 rm -f core conftest.err conftest.$ac_objext \
10578 conftest$ac_exeext conftest.$ac_ext
10579 LIBS=$ac_check_soname_save_LIBS
10581 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10583 $as_echo "not found" >&6; }
10584 DBUS_CFLAGS=""
10585 else
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10587 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10589 cat >>confdefs.h <<_ACEOF
10590 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10591 _ACEOF
10595 else
10596 DBUS_CFLAGS=""
10600 CPPFLAGS=$ac_save_CPPFLAGS
10601 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10602 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10605 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10606 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10607 case "x$with_dbus" in
10608 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10609 xno) ;;
10610 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10611 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10612 esac
10615 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10616 then
10617 if test -n "$HAL_CFLAGS"; then :
10619 elif test -n "$PKG_CONFIG"; then :
10620 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10623 if test -n "$HAL_LIBS"; then :
10625 elif test -n "$PKG_CONFIG"; then :
10626 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10629 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10630 ac_save_CPPFLAGS=$CPPFLAGS
10631 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10632 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10633 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10635 $as_echo_n "checking for -lhal... " >&6; }
10636 if ${ac_cv_lib_soname_hal+:} false; then :
10637 $as_echo_n "(cached) " >&6
10638 else
10639 ac_check_soname_save_LIBS=$LIBS
10640 LIBS="-lhal $HAL_LIBS $LIBS"
10641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10644 /* Override any GCC internal prototype to avoid an error.
10645 Use char because int might match the return type of a GCC
10646 builtin and then its argument prototype would still apply. */
10647 #ifdef __cplusplus
10648 extern "C"
10649 #endif
10650 char libhal_ctx_new ();
10652 main ()
10654 return libhal_ctx_new ();
10656 return 0;
10658 _ACEOF
10659 if ac_fn_c_try_link "$LINENO"; then :
10660 case "$LIBEXT" in
10661 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10662 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'` ;;
10663 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10664 if test "x$ac_cv_lib_soname_hal" = x; then :
10665 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10666 fi ;;
10667 esac
10669 rm -f core conftest.err conftest.$ac_objext \
10670 conftest$ac_exeext conftest.$ac_ext
10671 LIBS=$ac_check_soname_save_LIBS
10673 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10675 $as_echo "not found" >&6; }
10676 HAL_CFLAGS=""
10677 else
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10679 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10681 cat >>confdefs.h <<_ACEOF
10682 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10683 _ACEOF
10687 else
10688 HAL_CFLAGS=""
10692 CPPFLAGS=$ac_save_CPPFLAGS
10693 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10694 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10696 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10697 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10698 case "x$with_hal" in
10699 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10700 xno) ;;
10701 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
10702 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10703 esac
10707 if test "x$with_gnutls" != "xno"
10708 then
10709 if test -n "$GNUTLS_CFLAGS"; then :
10711 elif test -n "$PKG_CONFIG"; then :
10712 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10715 if test -n "$GNUTLS_LIBS"; then :
10717 elif test -n "$PKG_CONFIG"; then :
10718 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10722 ac_save_CPPFLAGS=$CPPFLAGS
10723 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
10724 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10725 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
10726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h. */
10728 #include <gnutls/gnutls.h>
10729 #include <gnutls/crypto.h>
10731 main ()
10733 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10735 return 0;
10737 _ACEOF
10738 if ac_fn_c_try_compile "$LINENO"; then :
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10740 $as_echo_n "checking for -lgnutls... " >&6; }
10741 if ${ac_cv_lib_soname_gnutls+:} false; then :
10742 $as_echo_n "(cached) " >&6
10743 else
10744 ac_check_soname_save_LIBS=$LIBS
10745 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
10746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10749 /* Override any GCC internal prototype to avoid an error.
10750 Use char because int might match the return type of a GCC
10751 builtin and then its argument prototype would still apply. */
10752 #ifdef __cplusplus
10753 extern "C"
10754 #endif
10755 char gnutls_global_init ();
10757 main ()
10759 return gnutls_global_init ();
10761 return 0;
10763 _ACEOF
10764 if ac_fn_c_try_link "$LINENO"; then :
10765 case "$LIBEXT" in
10766 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10767 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'` ;;
10768 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10769 if test "x$ac_cv_lib_soname_gnutls" = x; then :
10770 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10771 fi ;;
10772 esac
10774 rm -f core conftest.err conftest.$ac_objext \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_soname_save_LIBS
10778 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10780 $as_echo "not found" >&6; }
10781 GNUTLS_CFLAGS=""
10782 else
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10784 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10786 cat >>confdefs.h <<_ACEOF
10787 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10788 _ACEOF
10793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10794 else
10795 GNUTLS_CFLAGS=""
10799 CPPFLAGS=$ac_save_CPPFLAGS
10800 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10801 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10804 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10805 case "x$with_gnutls" in
10806 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10807 xno) ;;
10808 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
10809 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10810 esac
10813 CURSESLIBS=""
10814 if test "$ac_cv_header_ncurses_h" = "yes"
10815 then
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10817 $as_echo_n "checking for -lncurses... " >&6; }
10818 if ${ac_cv_lib_soname_ncurses+:} false; then :
10819 $as_echo_n "(cached) " >&6
10820 else
10821 ac_check_soname_save_LIBS=$LIBS
10822 LIBS="-lncurses $LIBS"
10823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10826 /* Override any GCC internal prototype to avoid an error.
10827 Use char because int might match the return type of a GCC
10828 builtin and then its argument prototype would still apply. */
10829 #ifdef __cplusplus
10830 extern "C"
10831 #endif
10832 char waddch ();
10834 main ()
10836 return waddch ();
10838 return 0;
10840 _ACEOF
10841 if ac_fn_c_try_link "$LINENO"; then :
10842 case "$LIBEXT" in
10843 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10844 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'` ;;
10845 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10846 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10847 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10848 fi ;;
10849 esac
10851 rm -f core conftest.err conftest.$ac_objext \
10852 conftest$ac_exeext conftest.$ac_ext
10853 LIBS=$ac_check_soname_save_LIBS
10855 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10857 $as_echo "not found" >&6; }
10859 else
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10861 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10863 cat >>confdefs.h <<_ACEOF
10864 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10865 _ACEOF
10867 CURSESLIBS="-lncurses"
10869 elif test "$ac_cv_header_curses_h" = "yes"
10870 then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10872 $as_echo_n "checking for -lcurses... " >&6; }
10873 if ${ac_cv_lib_soname_curses+:} false; then :
10874 $as_echo_n "(cached) " >&6
10875 else
10876 ac_check_soname_save_LIBS=$LIBS
10877 LIBS="-lcurses $LIBS"
10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10884 #ifdef __cplusplus
10885 extern "C"
10886 #endif
10887 char waddch ();
10889 main ()
10891 return waddch ();
10893 return 0;
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"; then :
10897 case "$LIBEXT" in
10898 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10899 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'` ;;
10900 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10901 if test "x$ac_cv_lib_soname_curses" = x; then :
10902 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10903 fi ;;
10904 esac
10906 rm -f core conftest.err conftest.$ac_objext \
10907 conftest$ac_exeext conftest.$ac_ext
10908 LIBS=$ac_check_soname_save_LIBS
10910 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10912 $as_echo "not found" >&6; }
10914 else
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10916 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10918 cat >>confdefs.h <<_ACEOF
10919 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10920 _ACEOF
10922 CURSESLIBS="-lcurses"
10925 ac_save_LIBS="$LIBS"
10926 LIBS="$LIBS $CURSESLIBS"
10927 for ac_func in mousemask
10928 do :
10929 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10930 if test "x$ac_cv_func_mousemask" = xyes; then :
10931 cat >>confdefs.h <<_ACEOF
10932 #define HAVE_MOUSEMASK 1
10933 _ACEOF
10936 done
10938 LIBS="$ac_save_LIBS"
10939 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10940 case "x$with_curses" in
10941 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10942 xno) ;;
10943 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10944 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10945 esac
10948 if test "x$with_sane" != "xno"
10949 then
10950 if test -n "$SANE_CFLAGS"; then :
10952 elif test -n "$PKG_CONFIG"; then :
10953 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10955 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10956 if test -n "$SANE_LIBS"; then :
10958 elif test -n "$PKG_CONFIG"; then :
10959 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
10961 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10963 ac_save_CPPFLAGS=$CPPFLAGS
10964 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
10965 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10966 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10968 $as_echo_n "checking for -lsane... " >&6; }
10969 if ${ac_cv_lib_soname_sane+:} false; then :
10970 $as_echo_n "(cached) " >&6
10971 else
10972 ac_check_soname_save_LIBS=$LIBS
10973 LIBS="-lsane $SANE_LIBS $LIBS"
10974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h. */
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10980 #ifdef __cplusplus
10981 extern "C"
10982 #endif
10983 char sane_init ();
10985 main ()
10987 return sane_init ();
10989 return 0;
10991 _ACEOF
10992 if ac_fn_c_try_link "$LINENO"; then :
10993 case "$LIBEXT" in
10994 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10995 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'` ;;
10996 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10997 if test "x$ac_cv_lib_soname_sane" = x; then :
10998 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10999 fi ;;
11000 esac
11002 rm -f core conftest.err conftest.$ac_objext \
11003 conftest$ac_exeext conftest.$ac_ext
11004 LIBS=$ac_check_soname_save_LIBS
11006 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11008 $as_echo "not found" >&6; }
11009 SANE_CFLAGS=""
11010 else
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11012 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11014 cat >>confdefs.h <<_ACEOF
11015 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11016 _ACEOF
11020 else
11021 SANE_CFLAGS=""
11025 CPPFLAGS=$ac_save_CPPFLAGS
11026 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11027 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11030 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11031 case "x$with_sane" in
11032 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11033 xno) ;;
11034 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11035 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11036 esac
11039 if test "x$with_v4l" != "xno"
11040 then
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11042 $as_echo_n "checking for -lv4l1... " >&6; }
11043 if ${ac_cv_lib_soname_v4l1+:} false; then :
11044 $as_echo_n "(cached) " >&6
11045 else
11046 ac_check_soname_save_LIBS=$LIBS
11047 LIBS="-lv4l1 $LIBS"
11048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11051 /* Override any GCC internal prototype to avoid an error.
11052 Use char because int might match the return type of a GCC
11053 builtin and then its argument prototype would still apply. */
11054 #ifdef __cplusplus
11055 extern "C"
11056 #endif
11057 char v4l1_open ();
11059 main ()
11061 return v4l1_open ();
11063 return 0;
11065 _ACEOF
11066 if ac_fn_c_try_link "$LINENO"; then :
11067 case "$LIBEXT" in
11068 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11069 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'` ;;
11070 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11071 if test "x$ac_cv_lib_soname_v4l1" = x; then :
11072 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11073 fi ;;
11074 esac
11076 rm -f core conftest.err conftest.$ac_objext \
11077 conftest$ac_exeext conftest.$ac_ext
11078 LIBS=$ac_check_soname_save_LIBS
11080 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11082 $as_echo "not found" >&6; }
11084 else
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11086 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11088 cat >>confdefs.h <<_ACEOF
11089 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11090 _ACEOF
11095 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11096 case "x$with_v4l" in
11097 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11098 xno) ;;
11099 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11100 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11101 esac
11104 if test "x$with_gphoto" != "xno"
11105 then
11106 if test -n "$GPHOTO2_CFLAGS"; then :
11108 elif test -n "$PKG_CONFIG"; then :
11109 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11111 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11112 if test -n "$GPHOTO2_LIBS"; then :
11114 elif test -n "$PKG_CONFIG"; then :
11115 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11117 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11118 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11119 ac_save_CPPFLAGS=$CPPFLAGS
11120 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11121 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11122 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11124 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11125 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11126 $as_echo_n "(cached) " >&6
11127 else
11128 ac_check_lib_save_LIBS=$LIBS
11129 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11133 /* Override any GCC internal prototype to avoid an error.
11134 Use char because int might match the return type of a GCC
11135 builtin and then its argument prototype would still apply. */
11136 #ifdef __cplusplus
11137 extern "C"
11138 #endif
11139 char gp_camera_new ();
11141 main ()
11143 return gp_camera_new ();
11145 return 0;
11147 _ACEOF
11148 if ac_fn_c_try_link "$LINENO"; then :
11149 ac_cv_lib_gphoto2_gp_camera_new=yes
11150 else
11151 ac_cv_lib_gphoto2_gp_camera_new=no
11153 rm -f core conftest.err conftest.$ac_objext \
11154 conftest$ac_exeext conftest.$ac_ext
11155 LIBS=$ac_check_lib_save_LIBS
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11158 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11159 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11161 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11163 else
11164 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11167 else
11168 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11172 CPPFLAGS=$ac_save_CPPFLAGS
11173 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11174 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11176 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11178 elif test -n "$PKG_CONFIG"; then :
11179 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11181 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11182 if test -n "$GPHOTO2_PORT_LIBS"; then :
11184 elif test -n "$PKG_CONFIG"; then :
11185 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11187 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11188 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11189 ac_save_CPPFLAGS=$CPPFLAGS
11190 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11191 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11192 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11194 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11195 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11196 $as_echo_n "(cached) " >&6
11197 else
11198 ac_check_lib_save_LIBS=$LIBS
11199 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11206 #ifdef __cplusplus
11207 extern "C"
11208 #endif
11209 char gp_port_info_list_new ();
11211 main ()
11213 return gp_port_info_list_new ();
11215 return 0;
11217 _ACEOF
11218 if ac_fn_c_try_link "$LINENO"; then :
11219 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11220 else
11221 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11223 rm -f core conftest.err conftest.$ac_objext \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11228 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11229 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11231 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11233 else
11234 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11237 else
11238 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11242 CPPFLAGS=$ac_save_CPPFLAGS
11243 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11244 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11247 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11248 case "x$with_gphoto" in
11249 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11250 xno) ;;
11251 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11252 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11253 esac
11255 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11256 case "x$with_gphoto" in
11257 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11258 xno) ;;
11259 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11260 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11261 esac
11265 if test "$ac_cv_header_resolv_h" = "yes"
11266 then
11267 ac_save_LIBS="$LIBS"
11268 for lib in '' -lresolv
11270 LIBS="$lib $ac_save_LIBS"
11271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11273 #ifdef HAVE_NETINET_IN_H
11274 #include <netinet/in.h>
11275 #endif
11276 #include <resolv.h>
11278 main ()
11280 res_query("foo",ns_c_in,0,0,0);
11282 return 0;
11284 _ACEOF
11285 if ac_fn_c_try_link "$LINENO"; then :
11287 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11289 RESOLVLIBS="$lib"
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 if test "${RESOLVLIBS+set}" = set; then
11295 break
11297 done
11298 LIBS="$ac_save_LIBS"
11301 if test "x$with_lcms2" != "xno"
11302 then
11303 if test -n "$LCMS2_CFLAGS"; then :
11305 elif test -n "$PKG_CONFIG"; then :
11306 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11309 if test -n "$LCMS2_LIBS"; then :
11311 elif test -n "$PKG_CONFIG"; then :
11312 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11315 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11316 ac_save_CPPFLAGS=$CPPFLAGS
11317 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11318 for ac_header in lcms2.h
11319 do :
11320 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11321 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11322 cat >>confdefs.h <<_ACEOF
11323 #define HAVE_LCMS2_H 1
11324 _ACEOF
11328 done
11330 if test "$ac_cv_header_lcms2_h" = "yes"
11331 then
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11333 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11334 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11335 $as_echo_n "(cached) " >&6
11336 else
11337 ac_check_lib_save_LIBS=$LIBS
11338 LIBS="-llcms2 $LIBS"
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 char cmsOpenProfileFromFile ();
11350 main ()
11352 return cmsOpenProfileFromFile ();
11354 return 0;
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"; then :
11358 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11359 else
11360 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11362 rm -f core conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11367 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11368 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11370 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11372 else
11373 LCMS2_LIBS=""
11376 else
11377 LCMS2_CFLAGS=""
11378 LCMS2_LIBS=""
11380 CPPFLAGS=$ac_save_CPPFLAGS
11381 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11382 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11385 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11386 case "x$with_cms" in
11387 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11388 xno) ;;
11389 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11390 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11391 esac
11394 if test "x$with_freetype" != "xno"
11395 then
11396 if test -n "$FREETYPE_CFLAGS"; then :
11398 elif test -n "$PKG_CONFIG"; then :
11399 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11401 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11402 if test -n "$FREETYPE_LIBS"; then :
11404 elif test -n "$PKG_CONFIG"; then :
11405 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11407 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11408 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11409 ac_save_CPPFLAGS=$CPPFLAGS
11410 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11412 $as_echo_n "checking for -lfreetype... " >&6; }
11413 if ${ac_cv_lib_soname_freetype+:} false; then :
11414 $as_echo_n "(cached) " >&6
11415 else
11416 ac_check_soname_save_LIBS=$LIBS
11417 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h. */
11421 /* Override any GCC internal prototype to avoid an error.
11422 Use char because int might match the return type of a GCC
11423 builtin and then its argument prototype would still apply. */
11424 #ifdef __cplusplus
11425 extern "C"
11426 #endif
11427 char FT_Init_FreeType ();
11429 main ()
11431 return FT_Init_FreeType ();
11433 return 0;
11435 _ACEOF
11436 if ac_fn_c_try_link "$LINENO"; then :
11437 case "$LIBEXT" in
11438 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11439 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'` ;;
11440 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11441 if test "x$ac_cv_lib_soname_freetype" = x; then :
11442 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11443 fi ;;
11444 esac
11446 rm -f core conftest.err conftest.$ac_objext \
11447 conftest$ac_exeext conftest.$ac_ext
11448 LIBS=$ac_check_soname_save_LIBS
11450 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11452 $as_echo "not found" >&6; }
11453 ft_lib=no
11454 else
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11456 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11458 cat >>confdefs.h <<_ACEOF
11459 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11460 _ACEOF
11462 ft_lib=yes
11464 if test "$ft_lib" = "yes"
11465 then
11466 for ac_header in ft2build.h \
11467 freetype/freetype.h \
11468 freetype/ftglyph.h \
11469 freetype/fttypes.h \
11470 freetype/tttables.h \
11471 freetype/ftsnames.h \
11472 freetype/ttnameid.h \
11473 freetype/ftoutln.h \
11474 freetype/ftwinfnt.h \
11475 freetype/ftmodapi.h \
11476 freetype/ftlcdfil.h
11477 do :
11478 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11479 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11480 # include <ft2build.h>
11481 #endif
11483 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11484 cat >>confdefs.h <<_ACEOF
11485 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11486 _ACEOF
11490 done
11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11493 /* end confdefs.h. */
11494 #include <ft2build.h>
11495 #include <freetype/fttrigon.h>
11496 _ACEOF
11497 if ac_fn_c_try_cpp "$LINENO"; then :
11499 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11501 wine_cv_fttrigon=yes
11502 else
11503 wine_cv_fttrigon=no
11505 rm -f conftest.err conftest.i conftest.$ac_ext
11506 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11508 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11510 cat >>confdefs.h <<_ACEOF
11511 #define HAVE_FT_TRUETYPEENGINETYPE 1
11512 _ACEOF
11517 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11518 then
11520 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11522 else
11523 FREETYPE_LIBS=""
11525 else
11526 FREETYPE_LIBS=""
11528 CPPFLAGS=$ac_save_CPPFLAGS
11529 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11530 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11533 if test "x$ac_cv_header_freetype_freetype_h" != xyes -o "x$wine_cv_fttrigon" != xyes; then :
11534 case "x$with_freetype" in
11535 xno) ;;
11536 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11537 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11538 esac
11540 test "x$ac_cv_header_freetype_freetype_h" = xyes -a "x$wine_cv_fttrigon" = xyes || enable_fonts=${enable_fonts:-no}
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11543 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11544 if ${ac_cv_c_ppdev+:} false; then :
11545 $as_echo_n "(cached) " >&6
11546 else
11547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11549 #ifdef HAVE_SYS_IOCTL_H
11550 # include <sys/ioctl.h>
11551 #endif
11552 #include <linux/ppdev.h>
11554 main ()
11556 ioctl (1,PPCLAIM,0)
11558 return 0;
11560 _ACEOF
11561 if ac_fn_c_try_compile "$LINENO"; then :
11562 ac_cv_c_ppdev="yes"
11563 else
11564 ac_cv_c_ppdev="no"
11566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11569 $as_echo "$ac_cv_c_ppdev" >&6; }
11570 if test "$ac_cv_c_ppdev" = "yes"
11571 then
11573 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11577 ac_wine_check_funcs_save_LIBS="$LIBS"
11578 LIBS="$LIBS $LIBPTHREAD"
11579 for ac_func in \
11580 pthread_attr_get_np \
11581 pthread_getattr_np \
11582 pthread_getthreadid_np \
11583 pthread_get_stackaddr_np \
11584 pthread_get_stacksize_np
11585 do :
11586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11588 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11589 cat >>confdefs.h <<_ACEOF
11590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11591 _ACEOF
11594 done
11596 LIBS="$ac_wine_check_funcs_save_LIBS"
11598 if test "$ac_cv_header_zlib_h" = "yes"
11599 then
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11601 $as_echo_n "checking for inflate in -lz... " >&6; }
11602 if ${ac_cv_lib_z_inflate+:} false; then :
11603 $as_echo_n "(cached) " >&6
11604 else
11605 ac_check_lib_save_LIBS=$LIBS
11606 LIBS="-lz $LIBS"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11613 #ifdef __cplusplus
11614 extern "C"
11615 #endif
11616 char inflate ();
11618 main ()
11620 return inflate ();
11622 return 0;
11624 _ACEOF
11625 if ac_fn_c_try_link "$LINENO"; then :
11626 ac_cv_lib_z_inflate=yes
11627 else
11628 ac_cv_lib_z_inflate=no
11630 rm -f core conftest.err conftest.$ac_objext \
11631 conftest$ac_exeext conftest.$ac_ext
11632 LIBS=$ac_check_lib_save_LIBS
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11635 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11636 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11638 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11640 ZLIB="-lz"
11645 if test "x$ZLIB" = "x"; then :
11646 case "x$with_zlib" in
11647 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11648 xno) ;;
11649 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11650 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11651 esac
11654 if test "x$enable_tools" != xno
11655 then
11656 if test "$ac_cv_header_gettext_po_h" = "yes"
11657 then
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11659 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11660 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
11661 $as_echo_n "(cached) " >&6
11662 else
11663 ac_check_lib_save_LIBS=$LIBS
11664 LIBS="-lgettextpo $LIBS"
11665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11666 /* end confdefs.h. */
11668 /* Override any GCC internal prototype to avoid an error.
11669 Use char because int might match the return type of a GCC
11670 builtin and then its argument prototype would still apply. */
11671 #ifdef __cplusplus
11672 extern "C"
11673 #endif
11674 char po_message_msgctxt ();
11676 main ()
11678 return po_message_msgctxt ();
11680 return 0;
11682 _ACEOF
11683 if ac_fn_c_try_link "$LINENO"; then :
11684 ac_cv_lib_gettextpo_po_message_msgctxt=yes
11685 else
11686 ac_cv_lib_gettextpo_po_message_msgctxt=no
11688 rm -f core conftest.err conftest.$ac_objext \
11689 conftest$ac_exeext conftest.$ac_ext
11690 LIBS=$ac_check_lib_save_LIBS
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11693 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11694 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
11696 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11698 LIBGETTEXTPO="-lgettextpo"
11703 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
11704 case "x$with_gettextpo" in
11705 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11706 xno) ;;
11707 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11708 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11709 esac
11713 if test "x$with_gstreamer" != "xno"
11714 then
11715 if test -n "$GSTREAMER_CFLAGS"; then :
11717 elif test -n "$PKG_CONFIG"; then :
11718 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11721 if test -n "$GSTREAMER_LIBS"; then :
11723 elif test -n "$PKG_CONFIG"; then :
11724 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11728 ac_save_CPPFLAGS=$CPPFLAGS
11729 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
11730 ac_gst_incl=""
11731 for i in $GSTREAMER_CFLAGS
11733 case "$i" in
11734 -I*) ac_gst_incl="$ac_gst_incl $i";;
11735 esac
11736 done
11737 GSTREAMER_CFLAGS=$ac_gst_incl
11738 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11739 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11740 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
11741 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11742 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11744 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11747 #include <gst/app/gstappsink.h>
11749 main ()
11751 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11753 return 0;
11755 _ACEOF
11756 if ac_fn_c_try_compile "$LINENO"; then :
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11758 $as_echo "yes" >&6; }
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11760 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11761 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
11762 $as_echo_n "(cached) " >&6
11763 else
11764 ac_check_lib_save_LIBS=$LIBS
11765 LIBS="-lgstreamer-0.10 $LIBS"
11766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11769 /* Override any GCC internal prototype to avoid an error.
11770 Use char because int might match the return type of a GCC
11771 builtin and then its argument prototype would still apply. */
11772 #ifdef __cplusplus
11773 extern "C"
11774 #endif
11775 char gst_pad_get_caps_reffed ();
11777 main ()
11779 return gst_pad_get_caps_reffed ();
11781 return 0;
11783 _ACEOF
11784 if ac_fn_c_try_link "$LINENO"; then :
11785 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
11786 else
11787 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
11789 rm -f core conftest.err conftest.$ac_objext \
11790 conftest$ac_exeext conftest.$ac_ext
11791 LIBS=$ac_check_lib_save_LIBS
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11794 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11795 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11797 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11798 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
11799 $as_echo_n "(cached) " >&6
11800 else
11801 ac_check_lib_save_LIBS=$LIBS
11802 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11809 #ifdef __cplusplus
11810 extern "C"
11811 #endif
11812 char gst_app_buffer_new ();
11814 main ()
11816 return gst_app_buffer_new ();
11818 return 0;
11820 _ACEOF
11821 if ac_fn_c_try_link "$LINENO"; then :
11822 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11823 else
11824 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11826 rm -f core conftest.err conftest.$ac_objext \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_lib_save_LIBS
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11831 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11832 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11838 else
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11840 $as_echo "no" >&6; }
11842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11846 else
11847 GSTREAMER_CFLAGS=""
11851 CPPFLAGS=$ac_save_CPPFLAGS
11852 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11853 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11856 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11857 case "x$with_gstreamer" in
11858 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11859 xno) ;;
11860 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11861 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11862 esac
11864 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11866 ALSALIBS=""
11868 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11869 then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11871 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11872 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11873 $as_echo_n "(cached) " >&6
11874 else
11875 ac_check_lib_save_LIBS=$LIBS
11876 LIBS="-lasound $LIBS"
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11883 #ifdef __cplusplus
11884 extern "C"
11885 #endif
11886 char snd_pcm_hw_params_get_access_mask ();
11888 main ()
11890 return snd_pcm_hw_params_get_access_mask ();
11892 return 0;
11894 _ACEOF
11895 if ac_fn_c_try_link "$LINENO"; then :
11896 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11897 else
11898 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11900 rm -f core conftest.err conftest.$ac_objext \
11901 conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_lib_save_LIBS
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11905 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11906 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11909 #ifdef HAVE_ALSA_ASOUNDLIB_H
11910 #include <alsa/asoundlib.h>
11911 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11912 #include <sys/asoundlib.h>
11913 #endif
11915 main ()
11917 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11919 return 0;
11921 _ACEOF
11922 if ac_fn_c_try_compile "$LINENO"; then :
11923 ALSALIBS="-lasound"
11925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11930 if test "x$with_oss" != xno
11931 then
11932 ac_save_CPPFLAGS="$CPPFLAGS"
11933 if test -f /etc/oss.conf
11934 then
11935 . /etc/oss.conf
11937 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11938 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11939 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11940 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11941 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11943 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11945 cat >>confdefs.h <<_ACEOF
11946 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11947 _ACEOF
11949 OSS4INCL="$ac_oss_incl"
11956 CPPFLAGS="$ac_save_CPPFLAGS"
11957 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11958 then
11959 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11963 if test "x$with_capi" != "xno"
11964 then
11965 if test -n "$CAPI20_CFLAGS"; then :
11967 elif test -n "$PKG_CONFIG"; then :
11968 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11971 if test -n "$CAPI20_LIBS"; then :
11973 elif test -n "$PKG_CONFIG"; then :
11974 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
11978 ac_save_CPPFLAGS=$CPPFLAGS
11979 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
11980 for ac_header in capi20.h linux/capi.h
11981 do :
11982 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11983 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11985 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11986 cat >>confdefs.h <<_ACEOF
11987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11988 _ACEOF
11992 done
11994 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11995 then
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11997 $as_echo_n "checking for -lcapi20... " >&6; }
11998 if ${ac_cv_lib_soname_capi20+:} false; then :
11999 $as_echo_n "(cached) " >&6
12000 else
12001 ac_check_soname_save_LIBS=$LIBS
12002 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12004 /* end confdefs.h. */
12006 /* Override any GCC internal prototype to avoid an error.
12007 Use char because int might match the return type of a GCC
12008 builtin and then its argument prototype would still apply. */
12009 #ifdef __cplusplus
12010 extern "C"
12011 #endif
12012 char capi20_register ();
12014 main ()
12016 return capi20_register ();
12018 return 0;
12020 _ACEOF
12021 if ac_fn_c_try_link "$LINENO"; then :
12022 case "$LIBEXT" in
12023 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12024 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'` ;;
12025 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12026 if test "x$ac_cv_lib_soname_capi20" = x; then :
12027 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12028 fi ;;
12029 esac
12031 rm -f core conftest.err conftest.$ac_objext \
12032 conftest$ac_exeext conftest.$ac_ext
12033 LIBS=$ac_check_soname_save_LIBS
12035 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12037 $as_echo "not found" >&6; }
12039 else
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12041 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12043 cat >>confdefs.h <<_ACEOF
12044 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12045 _ACEOF
12050 CPPFLAGS=$ac_save_CPPFLAGS
12051 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12052 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12055 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12056 case "x$with_capi" in
12057 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12058 xno) ;;
12059 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12060 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12061 esac
12064 CUPSINCL=""
12066 if test "x$with_cups" != "xno"
12067 then
12068 ac_save_CPPFLAGS="$CPPFLAGS"
12069 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12070 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12071 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12072 for ac_header in cups/cups.h
12073 do :
12074 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12075 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12076 cat >>confdefs.h <<_ACEOF
12077 #define HAVE_CUPS_CUPS_H 1
12078 _ACEOF
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12080 $as_echo_n "checking for -lcups... " >&6; }
12081 if ${ac_cv_lib_soname_cups+:} false; then :
12082 $as_echo_n "(cached) " >&6
12083 else
12084 ac_check_soname_save_LIBS=$LIBS
12085 LIBS="-lcups $ac_cups_libs $LIBS"
12086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12092 #ifdef __cplusplus
12093 extern "C"
12094 #endif
12095 char cupsGetDefault ();
12097 main ()
12099 return cupsGetDefault ();
12101 return 0;
12103 _ACEOF
12104 if ac_fn_c_try_link "$LINENO"; then :
12105 case "$LIBEXT" in
12106 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12107 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'` ;;
12108 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12109 if test "x$ac_cv_lib_soname_cups" = x; then :
12110 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12111 fi ;;
12112 esac
12114 rm -f core conftest.err conftest.$ac_objext \
12115 conftest$ac_exeext conftest.$ac_ext
12116 LIBS=$ac_check_soname_save_LIBS
12118 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12120 $as_echo "not found" >&6; }
12122 else
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12124 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12126 cat >>confdefs.h <<_ACEOF
12127 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12128 _ACEOF
12130 CUPSINCL="$ac_cups_cflags"
12134 done
12136 CPPFLAGS="$ac_save_CPPFLAGS"
12138 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12139 case "x$with_cups" in
12140 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12141 xno) ;;
12142 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12143 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12144 esac
12147 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12148 then
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12150 $as_echo_n "checking for -lfontconfig... " >&6; }
12151 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 ac_check_soname_save_LIBS=$LIBS
12155 LIBS="-lfontconfig $LIBS"
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12162 #ifdef __cplusplus
12163 extern "C"
12164 #endif
12165 char FcInit ();
12167 main ()
12169 return FcInit ();
12171 return 0;
12173 _ACEOF
12174 if ac_fn_c_try_link "$LINENO"; then :
12175 case "$LIBEXT" in
12176 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12177 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'` ;;
12178 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12179 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12180 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12181 fi ;;
12182 esac
12184 rm -f core conftest.err conftest.$ac_objext \
12185 conftest$ac_exeext conftest.$ac_ext
12186 LIBS=$ac_check_soname_save_LIBS
12188 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12190 $as_echo "not found" >&6; }
12192 else
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12194 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12196 cat >>confdefs.h <<_ACEOF
12197 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12198 _ACEOF
12202 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12203 then
12204 ac_save_CPPFLAGS="$CPPFLAGS"
12205 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
12206 $as_unset ac_cv_header_fontconfig_fontconfig_h
12207 for ac_header in fontconfig/fontconfig.h
12208 do :
12209 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12210 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12211 cat >>confdefs.h <<_ACEOF
12212 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12213 _ACEOF
12217 done
12219 CPPFLAGS="$ac_save_CPPFLAGS"
12220 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12221 then
12222 FONTCONFIGINCL="$X_CFLAGS"
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12225 $as_echo_n "checking for -lfontconfig... " >&6; }
12226 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12227 $as_echo_n "(cached) " >&6
12228 else
12229 ac_check_soname_save_LIBS=$LIBS
12230 LIBS="-lfontconfig $X_LIBS $LIBS"
12231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12237 #ifdef __cplusplus
12238 extern "C"
12239 #endif
12240 char FcInit ();
12242 main ()
12244 return FcInit ();
12246 return 0;
12248 _ACEOF
12249 if ac_fn_c_try_link "$LINENO"; then :
12250 case "$LIBEXT" in
12251 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12252 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'` ;;
12253 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12254 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12255 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12256 fi ;;
12257 esac
12259 rm -f core conftest.err conftest.$ac_objext \
12260 conftest$ac_exeext conftest.$ac_ext
12261 LIBS=$ac_check_soname_save_LIBS
12263 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12265 $as_echo "not found" >&6; }
12267 else
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12269 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12271 cat >>confdefs.h <<_ACEOF
12272 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12273 _ACEOF
12279 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12280 case "x$with_fontconfig" in
12281 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12282 xno) ;;
12283 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12284 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12285 esac
12288 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12289 then
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12291 $as_echo_n "checking for -lgsm... " >&6; }
12292 if ${ac_cv_lib_soname_gsm+:} false; then :
12293 $as_echo_n "(cached) " >&6
12294 else
12295 ac_check_soname_save_LIBS=$LIBS
12296 LIBS="-lgsm $LIBS"
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 /* Override any GCC internal prototype to avoid an error.
12301 Use char because int might match the return type of a GCC
12302 builtin and then its argument prototype would still apply. */
12303 #ifdef __cplusplus
12304 extern "C"
12305 #endif
12306 char gsm_create ();
12308 main ()
12310 return gsm_create ();
12312 return 0;
12314 _ACEOF
12315 if ac_fn_c_try_link "$LINENO"; then :
12316 case "$LIBEXT" in
12317 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12318 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'` ;;
12319 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12320 if test "x$ac_cv_lib_soname_gsm" = x; then :
12321 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12322 fi ;;
12323 esac
12325 rm -f core conftest.err conftest.$ac_objext \
12326 conftest$ac_exeext conftest.$ac_ext
12327 LIBS=$ac_check_soname_save_LIBS
12329 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12331 $as_echo "not found" >&6; }
12333 else
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12335 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12337 cat >>confdefs.h <<_ACEOF
12338 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12339 _ACEOF
12344 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12345 case "x$with_gsm" in
12346 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12347 xno) ;;
12348 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12349 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12350 esac
12353 if test "x$with_jpeg" != "xno"
12354 then
12355 if test -n "$JPEG_CFLAGS"; then :
12357 elif test -n "$PKG_CONFIG"; then :
12358 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12361 if test -n "$JPEG_LIBS"; then :
12363 elif test -n "$PKG_CONFIG"; then :
12364 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12368 ac_save_CPPFLAGS=$CPPFLAGS
12369 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12370 for ac_header in jpeglib.h
12371 do :
12372 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12373 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12374 cat >>confdefs.h <<_ACEOF
12375 #define HAVE_JPEGLIB_H 1
12376 _ACEOF
12380 done
12382 if test "$ac_cv_header_jpeglib_h" = "yes"
12383 then
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12385 $as_echo_n "checking for -ljpeg... " >&6; }
12386 if ${ac_cv_lib_soname_jpeg+:} false; then :
12387 $as_echo_n "(cached) " >&6
12388 else
12389 ac_check_soname_save_LIBS=$LIBS
12390 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12394 /* Override any GCC internal prototype to avoid an error.
12395 Use char because int might match the return type of a GCC
12396 builtin and then its argument prototype would still apply. */
12397 #ifdef __cplusplus
12398 extern "C"
12399 #endif
12400 char jpeg_start_decompress ();
12402 main ()
12404 return jpeg_start_decompress ();
12406 return 0;
12408 _ACEOF
12409 if ac_fn_c_try_link "$LINENO"; then :
12410 case "$LIBEXT" in
12411 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12412 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'` ;;
12413 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12414 if test "x$ac_cv_lib_soname_jpeg" = x; then :
12415 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12416 fi ;;
12417 esac
12419 rm -f core conftest.err conftest.$ac_objext \
12420 conftest$ac_exeext conftest.$ac_ext
12421 LIBS=$ac_check_soname_save_LIBS
12423 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12425 $as_echo "not found" >&6; }
12426 JPEG_CFLAGS=""
12427 else
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12429 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12431 cat >>confdefs.h <<_ACEOF
12432 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12433 _ACEOF
12437 else
12438 JPEG_CFLAGS=""
12440 CPPFLAGS=$ac_save_CPPFLAGS
12441 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12442 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12445 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12446 case "x$with_jpeg" in
12447 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12448 xno) ;;
12449 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12450 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12451 esac
12454 if test "x$with_png" != "xno"
12455 then
12456 if test -n "$PNG_CFLAGS"; then :
12458 elif test -n "$PKG_CONFIG"; then :
12459 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12461 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12462 if test -n "$PNG_LIBS"; then :
12464 elif test -n "$PKG_CONFIG"; then :
12465 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12467 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12469 ac_save_CPPFLAGS=$CPPFLAGS
12470 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12471 for ac_header in png.h
12472 do :
12473 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12474 if test "x$ac_cv_header_png_h" = xyes; then :
12475 cat >>confdefs.h <<_ACEOF
12476 #define HAVE_PNG_H 1
12477 _ACEOF
12481 done
12483 if test "$ac_cv_header_png_h" = "yes"
12484 then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12486 $as_echo_n "checking for -lpng... " >&6; }
12487 if ${ac_cv_lib_soname_png+:} false; then :
12488 $as_echo_n "(cached) " >&6
12489 else
12490 ac_check_soname_save_LIBS=$LIBS
12491 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12498 #ifdef __cplusplus
12499 extern "C"
12500 #endif
12501 char png_create_read_struct ();
12503 main ()
12505 return png_create_read_struct ();
12507 return 0;
12509 _ACEOF
12510 if ac_fn_c_try_link "$LINENO"; then :
12511 case "$LIBEXT" in
12512 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12513 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'` ;;
12514 *) 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'`
12515 if test "x$ac_cv_lib_soname_png" = x; then :
12516 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12517 fi ;;
12518 esac
12520 rm -f core conftest.err conftest.$ac_objext \
12521 conftest$ac_exeext conftest.$ac_ext
12522 LIBS=$ac_check_soname_save_LIBS
12524 if test "x$ac_cv_lib_soname_png" = "x"; then :
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12526 $as_echo "not found" >&6; }
12527 PNG_CFLAGS=""
12528 else
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12530 $as_echo "$ac_cv_lib_soname_png" >&6; }
12532 cat >>confdefs.h <<_ACEOF
12533 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12534 _ACEOF
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12538 #include <png.h>
12540 main ()
12542 typeof(png_set_expand_gray_1_2_4_to_8) *p
12544 return 0;
12546 _ACEOF
12547 if ac_fn_c_try_compile "$LINENO"; then :
12549 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12554 else
12555 PNG_CFLAGS=""
12557 CPPFLAGS=$ac_save_CPPFLAGS
12558 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12559 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12562 if test "x$ac_cv_lib_soname_png" = "x"; then :
12563 case "x$with_png" in
12564 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12565 xno) ;;
12566 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12567 This is an error since --with-png was requested." "$LINENO" 5 ;;
12568 esac
12571 if test "x$with_tiff" != "xno"
12572 then
12573 if test -n "$TIFF_CFLAGS"; then :
12575 elif test -n "$PKG_CONFIG"; then :
12576 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12579 if test -n "$TIFF_LIBS"; then :
12581 elif test -n "$PKG_CONFIG"; then :
12582 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12586 ac_save_CPPFLAGS=$CPPFLAGS
12587 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12588 for ac_header in tiffio.h
12589 do :
12590 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12591 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12592 cat >>confdefs.h <<_ACEOF
12593 #define HAVE_TIFFIO_H 1
12594 _ACEOF
12598 done
12600 if test "$ac_cv_header_tiffio_h" = "yes"
12601 then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12603 $as_echo_n "checking for -ltiff... " >&6; }
12604 if ${ac_cv_lib_soname_tiff+:} false; then :
12605 $as_echo_n "(cached) " >&6
12606 else
12607 ac_check_soname_save_LIBS=$LIBS
12608 LIBS="-ltiff $TIFF_LIBS $LIBS"
12609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12612 /* Override any GCC internal prototype to avoid an error.
12613 Use char because int might match the return type of a GCC
12614 builtin and then its argument prototype would still apply. */
12615 #ifdef __cplusplus
12616 extern "C"
12617 #endif
12618 char TIFFClientOpen ();
12620 main ()
12622 return TIFFClientOpen ();
12624 return 0;
12626 _ACEOF
12627 if ac_fn_c_try_link "$LINENO"; then :
12628 case "$LIBEXT" in
12629 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12630 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'` ;;
12631 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12632 if test "x$ac_cv_lib_soname_tiff" = x; then :
12633 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12634 fi ;;
12635 esac
12637 rm -f core conftest.err conftest.$ac_objext \
12638 conftest$ac_exeext conftest.$ac_ext
12639 LIBS=$ac_check_soname_save_LIBS
12641 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12643 $as_echo "not found" >&6; }
12645 else
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12647 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12649 cat >>confdefs.h <<_ACEOF
12650 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12651 _ACEOF
12656 CPPFLAGS=$ac_save_CPPFLAGS
12657 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12658 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12661 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12662 case "x$with_tiff" in
12663 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12664 xno) ;;
12665 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12666 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12667 esac
12670 if test "x$with_mpg123" != "xno"
12671 then
12672 if test -n "$MPG123_CFLAGS"; then :
12674 elif test -n "$PKG_CONFIG"; then :
12675 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12678 if test -n "$MPG123_LIBS"; then :
12680 elif test -n "$PKG_CONFIG"; then :
12681 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12684 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
12685 ac_save_CPPFLAGS=$CPPFLAGS
12686 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
12687 for ac_header in mpg123.h
12688 do :
12689 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12690 if test "x$ac_cv_header_mpg123_h" = xyes; then :
12691 cat >>confdefs.h <<_ACEOF
12692 #define HAVE_MPG123_H 1
12693 _ACEOF
12697 done
12699 if test "$ac_cv_header_mpg123_h" = "yes"
12700 then
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12702 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12703 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
12704 $as_echo_n "(cached) " >&6
12705 else
12706 ac_check_lib_save_LIBS=$LIBS
12707 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12711 /* Override any GCC internal prototype to avoid an error.
12712 Use char because int might match the return type of a GCC
12713 builtin and then its argument prototype would still apply. */
12714 #ifdef __cplusplus
12715 extern "C"
12716 #endif
12717 char mpg123_feed ();
12719 main ()
12721 return mpg123_feed ();
12723 return 0;
12725 _ACEOF
12726 if ac_fn_c_try_link "$LINENO"; then :
12727 ac_cv_lib_mpg123_mpg123_feed=yes
12728 else
12729 ac_cv_lib_mpg123_mpg123_feed=no
12731 rm -f core conftest.err conftest.$ac_objext \
12732 conftest$ac_exeext conftest.$ac_ext
12733 LIBS=$ac_check_lib_save_LIBS
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12736 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12737 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12739 else
12740 MPG123_LIBS=""
12743 else
12744 MPG123_CFLAGS=""
12745 MPG123_LIBS=""
12747 CPPFLAGS=$ac_save_CPPFLAGS
12748 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12749 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12752 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12753 case "x$with_mpg123" in
12754 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12755 xno) ;;
12756 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12757 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12758 esac
12760 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}
12762 if test "$ac_cv_header_AL_al_h" = "yes"
12763 then
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12765 $as_echo_n "checking for -lopenal... " >&6; }
12766 if ${ac_cv_lib_soname_openal+:} false; then :
12767 $as_echo_n "(cached) " >&6
12768 else
12769 ac_check_soname_save_LIBS=$LIBS
12770 LIBS="-lopenal $LIBS"
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12777 #ifdef __cplusplus
12778 extern "C"
12779 #endif
12780 char alGetSource3i ();
12782 main ()
12784 return alGetSource3i ();
12786 return 0;
12788 _ACEOF
12789 if ac_fn_c_try_link "$LINENO"; then :
12790 case "$LIBEXT" in
12791 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12792 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'` ;;
12793 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12794 if test "x$ac_cv_lib_soname_openal" = x; then :
12795 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12796 fi ;;
12797 esac
12799 rm -f core conftest.err conftest.$ac_objext \
12800 conftest$ac_exeext conftest.$ac_ext
12801 LIBS=$ac_check_soname_save_LIBS
12803 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12805 $as_echo "not found" >&6; }
12807 else
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12809 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12811 cat >>confdefs.h <<_ACEOF
12812 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12813 _ACEOF
12815 LIBOPENAL="-lopenal"
12817 ac_cv_lib_openal=yes
12819 cat >>confdefs.h <<_ACEOF
12820 #define HAVE_OPENAL 1
12821 _ACEOF
12825 if test "x$ac_cv_lib_openal" != xyes; then :
12826 case "x$with_openal" in
12827 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12828 xno) ;;
12829 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12830 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12831 esac
12833 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12835 if test "$ac_cv_header_kstat_h" = "yes"
12836 then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12838 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12839 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12840 $as_echo_n "(cached) " >&6
12841 else
12842 ac_check_lib_save_LIBS=$LIBS
12843 LIBS="-lkstat $LIBS"
12844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12850 #ifdef __cplusplus
12851 extern "C"
12852 #endif
12853 char kstat_open ();
12855 main ()
12857 return kstat_open ();
12859 return 0;
12861 _ACEOF
12862 if ac_fn_c_try_link "$LINENO"; then :
12863 ac_cv_lib_kstat_kstat_open=yes
12864 else
12865 ac_cv_lib_kstat_kstat_open=no
12867 rm -f core conftest.err conftest.$ac_objext \
12868 conftest$ac_exeext conftest.$ac_ext
12869 LIBS=$ac_check_lib_save_LIBS
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12872 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12873 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12875 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12877 LIBKSTAT="-lkstat"
12883 if test "$ac_cv_header_libprocstat_h" = "yes"
12884 then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12886 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12887 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
12888 $as_echo_n "(cached) " >&6
12889 else
12890 ac_check_lib_save_LIBS=$LIBS
12891 LIBS="-lprocstat $LIBS"
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12898 #ifdef __cplusplus
12899 extern "C"
12900 #endif
12901 char procstat_open_sysctl ();
12903 main ()
12905 return procstat_open_sysctl ();
12907 return 0;
12909 _ACEOF
12910 if ac_fn_c_try_link "$LINENO"; then :
12911 ac_cv_lib_procstat_procstat_open_sysctl=yes
12912 else
12913 ac_cv_lib_procstat_procstat_open_sysctl=no
12915 rm -f core conftest.err conftest.$ac_objext \
12916 conftest$ac_exeext conftest.$ac_ext
12917 LIBS=$ac_check_lib_save_LIBS
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12920 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12921 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
12923 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12925 LIBPROCSTAT="-lprocstat"
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12932 $as_echo_n "checking for -lodbc... " >&6; }
12933 if ${ac_cv_lib_soname_odbc+:} false; then :
12934 $as_echo_n "(cached) " >&6
12935 else
12936 ac_check_soname_save_LIBS=$LIBS
12937 LIBS="-lodbc $LIBS"
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 /* Override any GCC internal prototype to avoid an error.
12942 Use char because int might match the return type of a GCC
12943 builtin and then its argument prototype would still apply. */
12944 #ifdef __cplusplus
12945 extern "C"
12946 #endif
12947 char SQLConnect ();
12949 main ()
12951 return SQLConnect ();
12953 return 0;
12955 _ACEOF
12956 if ac_fn_c_try_link "$LINENO"; then :
12957 case "$LIBEXT" in
12958 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12959 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'` ;;
12960 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12961 if test "x$ac_cv_lib_soname_odbc" = x; then :
12962 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12963 fi ;;
12964 esac
12966 rm -f core conftest.err conftest.$ac_objext \
12967 conftest$ac_exeext conftest.$ac_ext
12968 LIBS=$ac_check_soname_save_LIBS
12970 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12972 $as_echo "not found" >&6; }
12973 cat >>confdefs.h <<_ACEOF
12974 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12975 _ACEOF
12977 else
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12979 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12981 cat >>confdefs.h <<_ACEOF
12982 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12983 _ACEOF
12988 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12989 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12990 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12991 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12993 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12994 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12995 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12996 then
12997 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13001 EXTRACFLAGS=""
13003 if test "x${GCC}" = "xyes"
13004 then
13005 EXTRACFLAGS="-Wall -pipe"
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13008 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13009 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13010 $as_echo_n "(cached) " >&6
13011 else
13012 if test "$cross_compiling" = yes; then :
13013 ac_cv_c_gcc_strength_bug="yes"
13014 else
13015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13016 /* end confdefs.h. */
13017 int L[4] = {0,1,2,3};
13019 main ()
13021 static int Array[3];
13022 unsigned int B = 3;
13023 int i;
13024 for(i=0; i<B; i++) Array[i] = i - 3;
13025 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13026 L[i] = 4;
13027 return (Array[1] != -2 || L[2] != 3)
13029 return 0;
13031 _ACEOF
13032 if ac_fn_c_try_run "$LINENO"; then :
13033 ac_cv_c_gcc_strength_bug="no"
13034 else
13035 ac_cv_c_gcc_strength_bug="yes"
13037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13038 conftest.$ac_objext conftest.beam conftest.$ac_ext
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13043 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13044 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13045 then
13046 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13050 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13051 if ${ac_cv_cflags__fno_builtin+:} false; then :
13052 $as_echo_n "(cached) " >&6
13053 else
13054 ac_wine_try_cflags_saved=$CFLAGS
13055 CFLAGS="$CFLAGS -fno-builtin"
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13058 int main(int argc, char **argv) { return 0; }
13059 _ACEOF
13060 if ac_fn_c_try_link "$LINENO"; then :
13061 ac_cv_cflags__fno_builtin=yes
13062 else
13063 ac_cv_cflags__fno_builtin=no
13065 rm -f core conftest.err conftest.$ac_objext \
13066 conftest$ac_exeext conftest.$ac_ext
13067 CFLAGS=$ac_wine_try_cflags_saved
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13070 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13071 if test $ac_cv_cflags__fno_builtin = yes; then :
13072 BUILTINFLAG="-fno-builtin"
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13076 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13077 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13078 $as_echo_n "(cached) " >&6
13079 else
13080 ac_wine_try_cflags_saved=$CFLAGS
13081 CFLAGS="$CFLAGS -fno-strict-aliasing"
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13084 int main(int argc, char **argv) { return 0; }
13085 _ACEOF
13086 if ac_fn_c_try_link "$LINENO"; then :
13087 ac_cv_cflags__fno_strict_aliasing=yes
13088 else
13089 ac_cv_cflags__fno_strict_aliasing=no
13091 rm -f core conftest.err conftest.$ac_objext \
13092 conftest$ac_exeext conftest.$ac_ext
13093 CFLAGS=$ac_wine_try_cflags_saved
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13096 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13097 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13098 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13100 saved_CFLAGS=$CFLAGS
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13102 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13103 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13104 $as_echo_n "(cached) " >&6
13105 else
13106 ac_wine_try_cflags_saved=$CFLAGS
13107 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13110 int main(int argc, char **argv) { return 0; }
13111 _ACEOF
13112 if ac_fn_c_try_link "$LINENO"; then :
13113 ac_cv_cflags__Werror_unknown_warning_option=yes
13114 else
13115 ac_cv_cflags__Werror_unknown_warning_option=no
13117 rm -f core conftest.err conftest.$ac_objext \
13118 conftest$ac_exeext conftest.$ac_ext
13119 CFLAGS=$ac_wine_try_cflags_saved
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13122 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13123 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13124 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13127 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13128 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13129 $as_echo_n "(cached) " >&6
13130 else
13131 ac_wine_try_cflags_saved=$CFLAGS
13132 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13135 int main(int argc, char **argv) { return 0; }
13136 _ACEOF
13137 if ac_fn_c_try_link "$LINENO"; then :
13138 ac_cv_cflags__Wdeclaration_after_statement=yes
13139 else
13140 ac_cv_cflags__Wdeclaration_after_statement=no
13142 rm -f core conftest.err conftest.$ac_objext \
13143 conftest$ac_exeext conftest.$ac_ext
13144 CFLAGS=$ac_wine_try_cflags_saved
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13147 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13148 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13149 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13152 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13153 if ${ac_cv_cflags__Wempty_body+:} false; then :
13154 $as_echo_n "(cached) " >&6
13155 else
13156 ac_wine_try_cflags_saved=$CFLAGS
13157 CFLAGS="$CFLAGS -Wempty-body"
13158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13159 /* end confdefs.h. */
13160 int main(int argc, char **argv) { return 0; }
13161 _ACEOF
13162 if ac_fn_c_try_link "$LINENO"; then :
13163 ac_cv_cflags__Wempty_body=yes
13164 else
13165 ac_cv_cflags__Wempty_body=no
13167 rm -f core conftest.err conftest.$ac_objext \
13168 conftest$ac_exeext conftest.$ac_ext
13169 CFLAGS=$ac_wine_try_cflags_saved
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13172 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13173 if test $ac_cv_cflags__Wempty_body = yes; then :
13174 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13177 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13178 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13179 $as_echo_n "(cached) " >&6
13180 else
13181 ac_wine_try_cflags_saved=$CFLAGS
13182 CFLAGS="$CFLAGS -Wignored-qualifiers"
13183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13184 /* end confdefs.h. */
13185 int main(int argc, char **argv) { return 0; }
13186 _ACEOF
13187 if ac_fn_c_try_link "$LINENO"; then :
13188 ac_cv_cflags__Wignored_qualifiers=yes
13189 else
13190 ac_cv_cflags__Wignored_qualifiers=no
13192 rm -f core conftest.err conftest.$ac_objext \
13193 conftest$ac_exeext conftest.$ac_ext
13194 CFLAGS=$ac_wine_try_cflags_saved
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13197 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13198 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13199 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13202 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13203 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13204 $as_echo_n "(cached) " >&6
13205 else
13206 ac_wine_try_cflags_saved=$CFLAGS
13207 CFLAGS="$CFLAGS -Wstrict-prototypes"
13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13210 int main(int argc, char **argv) { return 0; }
13211 _ACEOF
13212 if ac_fn_c_try_link "$LINENO"; then :
13213 ac_cv_cflags__Wstrict_prototypes=yes
13214 else
13215 ac_cv_cflags__Wstrict_prototypes=no
13217 rm -f core conftest.err conftest.$ac_objext \
13218 conftest$ac_exeext conftest.$ac_ext
13219 CFLAGS=$ac_wine_try_cflags_saved
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13222 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13223 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13224 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13227 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13228 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13229 $as_echo_n "(cached) " >&6
13230 else
13231 ac_wine_try_cflags_saved=$CFLAGS
13232 CFLAGS="$CFLAGS -Wtype-limits"
13233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13234 /* end confdefs.h. */
13235 int main(int argc, char **argv) { return 0; }
13236 _ACEOF
13237 if ac_fn_c_try_link "$LINENO"; then :
13238 ac_cv_cflags__Wtype_limits=yes
13239 else
13240 ac_cv_cflags__Wtype_limits=no
13242 rm -f core conftest.err conftest.$ac_objext \
13243 conftest$ac_exeext conftest.$ac_ext
13244 CFLAGS=$ac_wine_try_cflags_saved
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13247 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13248 if test $ac_cv_cflags__Wtype_limits = yes; then :
13249 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13252 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13253 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13254 $as_echo_n "(cached) " >&6
13255 else
13256 ac_wine_try_cflags_saved=$CFLAGS
13257 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13260 int main(int argc, char **argv) { return 0; }
13261 _ACEOF
13262 if ac_fn_c_try_link "$LINENO"; then :
13263 ac_cv_cflags__Wunused_but_set_parameter=yes
13264 else
13265 ac_cv_cflags__Wunused_but_set_parameter=no
13267 rm -f core conftest.err conftest.$ac_objext \
13268 conftest$ac_exeext conftest.$ac_ext
13269 CFLAGS=$ac_wine_try_cflags_saved
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13272 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13273 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13274 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13277 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13278 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13279 $as_echo_n "(cached) " >&6
13280 else
13281 ac_wine_try_cflags_saved=$CFLAGS
13282 CFLAGS="$CFLAGS -Wwrite-strings"
13283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13285 int main(int argc, char **argv) { return 0; }
13286 _ACEOF
13287 if ac_fn_c_try_link "$LINENO"; then :
13288 ac_cv_cflags__Wwrite_strings=yes
13289 else
13290 ac_cv_cflags__Wwrite_strings=no
13292 rm -f core conftest.err conftest.$ac_objext \
13293 conftest$ac_exeext conftest.$ac_ext
13294 CFLAGS=$ac_wine_try_cflags_saved
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13297 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13298 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13299 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13303 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13304 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13305 $as_echo_n "(cached) " >&6
13306 else
13307 ac_wine_try_cflags_saved=$CFLAGS
13308 CFLAGS="$CFLAGS -Wpointer-arith"
13309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13310 /* end confdefs.h. */
13311 int main(int argc, char **argv) { return 0; }
13312 _ACEOF
13313 if ac_fn_c_try_link "$LINENO"; then :
13314 ac_cv_cflags__Wpointer_arith=yes
13315 else
13316 ac_cv_cflags__Wpointer_arith=no
13318 rm -f core conftest.err conftest.$ac_objext \
13319 conftest$ac_exeext conftest.$ac_ext
13320 CFLAGS=$ac_wine_try_cflags_saved
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13323 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13324 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13325 saved_string_h_CFLAGS=$CFLAGS
13326 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13328 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13329 if ${ac_cv_c_string_h_warnings+:} false; then :
13330 $as_echo_n "(cached) " >&6
13331 else
13332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13333 /* end confdefs.h. */
13334 #include <string.h>
13336 main ()
13340 return 0;
13342 _ACEOF
13343 if ac_fn_c_try_compile "$LINENO"; then :
13344 ac_cv_c_string_h_warnings=no
13345 else
13346 ac_cv_c_string_h_warnings=yes
13348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13351 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13352 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13353 CFLAGS=$saved_string_h_CFLAGS
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13357 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13358 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13359 $as_echo_n "(cached) " >&6
13360 else
13361 ac_wine_try_cflags_saved=$CFLAGS
13362 CFLAGS="$CFLAGS -Wlogical-op"
13363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13364 /* end confdefs.h. */
13365 int main(int argc, char **argv) { return 0; }
13366 _ACEOF
13367 if ac_fn_c_try_link "$LINENO"; then :
13368 ac_cv_cflags__Wlogical_op=yes
13369 else
13370 ac_cv_cflags__Wlogical_op=no
13372 rm -f core conftest.err conftest.$ac_objext \
13373 conftest$ac_exeext conftest.$ac_ext
13374 CFLAGS=$ac_wine_try_cflags_saved
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13377 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13378 if test $ac_cv_cflags__Wlogical_op = yes; then :
13379 saved_string_h_CFLAGS=$CFLAGS
13380 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13382 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13383 if ${ac_cv_c_logicalop_noisy+:} false; then :
13384 $as_echo_n "(cached) " >&6
13385 else
13386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13388 #include <string.h>
13389 char*f(const char *h,char n) {return strchr(h,n);}
13391 main ()
13395 return 0;
13397 _ACEOF
13398 if ac_fn_c_try_compile "$LINENO"; then :
13399 ac_cv_c_logicalop_noisy=no
13400 else
13401 ac_cv_c_logicalop_noisy=yes
13403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13406 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13407 CFLAGS=$saved_string_h_CFLAGS
13408 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13411 CFLAGS=$saved_CFLAGS
13413 for ac_flag in $CFLAGS; do
13414 case $ac_flag in
13415 -g) case $host_os in
13416 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13417 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13418 if ${ac_cv_cflags__gstabsp+:} false; then :
13419 $as_echo_n "(cached) " >&6
13420 else
13421 ac_wine_try_cflags_saved=$CFLAGS
13422 CFLAGS="$CFLAGS -gstabs+"
13423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13424 /* end confdefs.h. */
13425 int main(int argc, char **argv) { return 0; }
13426 _ACEOF
13427 if ac_fn_c_try_link "$LINENO"; then :
13428 ac_cv_cflags__gstabsp=yes
13429 else
13430 ac_cv_cflags__gstabsp=no
13432 rm -f core conftest.err conftest.$ac_objext \
13433 conftest$ac_exeext conftest.$ac_ext
13434 CFLAGS=$ac_wine_try_cflags_saved
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13437 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13438 if test $ac_cv_cflags__gstabsp = yes; then :
13439 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13440 fi ;;
13441 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13442 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13443 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13444 $as_echo_n "(cached) " >&6
13445 else
13446 ac_wine_try_cflags_saved=$CFLAGS
13447 CFLAGS="$CFLAGS -gdwarf-2"
13448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h. */
13450 int main(int argc, char **argv) { return 0; }
13451 _ACEOF
13452 if ac_fn_c_try_link "$LINENO"; then :
13453 ac_cv_cflags__gdwarf_2=yes
13454 else
13455 ac_cv_cflags__gdwarf_2=no
13457 rm -f core conftest.err conftest.$ac_objext \
13458 conftest$ac_exeext conftest.$ac_ext
13459 CFLAGS=$ac_wine_try_cflags_saved
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13462 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13463 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13464 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13467 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13468 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13469 $as_echo_n "(cached) " >&6
13470 else
13471 ac_wine_try_cflags_saved=$CFLAGS
13472 CFLAGS="$CFLAGS -gstrict-dwarf"
13473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13474 /* end confdefs.h. */
13475 int main(int argc, char **argv) { return 0; }
13476 _ACEOF
13477 if ac_fn_c_try_link "$LINENO"; then :
13478 ac_cv_cflags__gstrict_dwarf=yes
13479 else
13480 ac_cv_cflags__gstrict_dwarf=no
13482 rm -f core conftest.err conftest.$ac_objext \
13483 conftest$ac_exeext conftest.$ac_ext
13484 CFLAGS=$ac_wine_try_cflags_saved
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13487 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13488 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13489 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13490 fi ;;
13491 esac ;;
13492 esac
13493 done
13495 case $host_cpu in
13496 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13497 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13498 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13499 $as_echo_n "(cached) " >&6
13500 else
13501 ac_wine_try_cflags_saved=$CFLAGS
13502 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13505 int main(int argc, char **argv) { return 0; }
13506 _ACEOF
13507 if ac_fn_c_try_link "$LINENO"; then :
13508 ac_cv_cflags__fno_omit_frame_pointer=yes
13509 else
13510 ac_cv_cflags__fno_omit_frame_pointer=no
13512 rm -f core conftest.err conftest.$ac_objext \
13513 conftest$ac_exeext conftest.$ac_ext
13514 CFLAGS=$ac_wine_try_cflags_saved
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13517 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13518 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13519 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13520 fi ;;
13521 esac
13523 case $host in
13524 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13525 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13526 if ${ac_cv_cflags__Wno_format+:} false; then :
13527 $as_echo_n "(cached) " >&6
13528 else
13529 ac_wine_try_cflags_saved=$CFLAGS
13530 CFLAGS="$CFLAGS -Wno-format"
13531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13532 /* end confdefs.h. */
13533 int main(int argc, char **argv) { return 0; }
13534 _ACEOF
13535 if ac_fn_c_try_link "$LINENO"; then :
13536 ac_cv_cflags__Wno_format=yes
13537 else
13538 ac_cv_cflags__Wno_format=no
13540 rm -f core conftest.err conftest.$ac_objext \
13541 conftest$ac_exeext conftest.$ac_ext
13542 CFLAGS=$ac_wine_try_cflags_saved
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13545 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13546 if test $ac_cv_cflags__Wno_format = yes; then :
13547 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13548 fi ;;
13549 esac
13551 if test "x$enable_maintainer_mode" = "xyes"
13552 then
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13554 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13555 if ${ac_cv_cflags__Werror+:} false; then :
13556 $as_echo_n "(cached) " >&6
13557 else
13558 ac_wine_try_cflags_saved=$CFLAGS
13559 CFLAGS="$CFLAGS -Werror"
13560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13561 /* end confdefs.h. */
13562 int main(int argc, char **argv) { return 0; }
13563 _ACEOF
13564 if ac_fn_c_try_link "$LINENO"; then :
13565 ac_cv_cflags__Werror=yes
13566 else
13567 ac_cv_cflags__Werror=no
13569 rm -f core conftest.err conftest.$ac_objext \
13570 conftest$ac_exeext conftest.$ac_ext
13571 CFLAGS=$ac_wine_try_cflags_saved
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13574 $as_echo "$ac_cv_cflags__Werror" >&6; }
13575 if test $ac_cv_cflags__Werror = yes; then :
13576 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13580 saved_CFLAGS="$CFLAGS"
13581 CFLAGS="$CFLAGS -Werror"
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13583 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13584 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13585 $as_echo_n "(cached) " >&6
13586 else
13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h. */
13589 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13591 main ()
13595 return 0;
13597 _ACEOF
13598 if ac_fn_c_try_compile "$LINENO"; then :
13599 ac_cv_have_ms_hook_prologue="yes"
13600 else
13601 ac_cv_have_ms_hook_prologue="no"
13603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13606 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13607 CFLAGS="$saved_CFLAGS"
13608 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13609 then
13611 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13613 else
13614 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13621 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13622 if ${ac_cv_c_fortify_enabled+:} false; then :
13623 $as_echo_n "(cached) " >&6
13624 else
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 #include <string.h>
13629 main ()
13631 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13632 #error Fortify enabled
13633 #endif
13635 return 0;
13637 _ACEOF
13638 if ac_fn_c_try_compile "$LINENO"; then :
13639 ac_cv_c_fortify_enabled=no
13640 else
13641 ac_cv_c_fortify_enabled=yes
13643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13646 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13647 if test "$ac_cv_c_fortify_enabled" = yes
13648 then
13649 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13654 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13655 if ${ac_cv_c_extern_prefix+:} false; then :
13656 $as_echo_n "(cached) " >&6
13657 else
13658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13659 /* end confdefs.h. */
13660 extern int ac_test;
13662 main ()
13664 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13666 return 0;
13668 _ACEOF
13669 if ac_fn_c_try_link "$LINENO"; then :
13670 ac_cv_c_extern_prefix="yes"
13671 else
13672 ac_cv_c_extern_prefix="no"
13674 rm -f core conftest.err conftest.$ac_objext \
13675 conftest$ac_exeext conftest.$ac_ext
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13678 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13680 case $host_cpu in
13681 *i[3456789]86*)
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13683 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13684 if ${ac_cv_c_stdcall_suffix+:} false; then :
13685 $as_echo_n "(cached) " >&6
13686 else
13687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13689 #ifndef _MSC_VER
13690 #define __stdcall __attribute__((__stdcall__))
13691 #endif
13692 int __stdcall ac_test(int i) { return i; }
13694 main ()
13696 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13698 return 0;
13700 _ACEOF
13701 if ac_fn_c_try_link "$LINENO"; then :
13702 ac_cv_c_stdcall_suffix="yes"
13703 else
13704 ac_cv_c_stdcall_suffix="no"
13706 rm -f core conftest.err conftest.$ac_objext \
13707 conftest$ac_exeext conftest.$ac_ext
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13710 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13711 *) ac_cv_c_stdcall_suffix="no" ;;
13712 esac
13715 if test "$ac_cv_c_extern_prefix" = "yes"
13716 then
13717 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13719 asm_name_prefix="_"
13720 else
13721 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13723 asm_name_prefix=""
13727 if test "$ac_cv_c_stdcall_suffix" = "yes"
13728 then
13729 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13731 else
13732 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13738 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13739 if ${ac_cv_asm_func_def+:} false; then :
13740 $as_echo_n "(cached) " >&6
13741 else
13742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13746 main ()
13748 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13750 return 0;
13752 _ACEOF
13753 if ac_fn_c_try_link "$LINENO"; then :
13754 ac_cv_asm_func_def=".def"
13755 else
13756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13760 main ()
13762 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13764 return 0;
13766 _ACEOF
13767 if ac_fn_c_try_link "$LINENO"; then :
13768 ac_cv_asm_func_def=".type @function"
13769 else
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13774 main ()
13776 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13778 return 0;
13780 _ACEOF
13781 if ac_fn_c_try_link "$LINENO"; then :
13782 ac_cv_asm_func_def=".type 2"
13783 else
13784 ac_cv_asm_func_def="unknown"
13786 rm -f core conftest.err conftest.$ac_objext \
13787 conftest$ac_exeext conftest.$ac_ext
13789 rm -f core conftest.err conftest.$ac_objext \
13790 conftest$ac_exeext conftest.$ac_ext
13792 rm -f core conftest.err conftest.$ac_objext \
13793 conftest$ac_exeext conftest.$ac_ext
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13796 $as_echo "$ac_cv_asm_func_def" >&6; }
13799 case "$ac_cv_asm_func_def" in
13800 ".def")
13801 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13803 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13804 ".type @function")
13805 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13807 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
13808 ".type 2")
13809 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13811 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
13813 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13815 asm_func_header="" ;;
13816 esac
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13819 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13820 if ${ac_cv_c_asm_outside_funcs+:} false; then :
13821 $as_echo_n "(cached) " >&6
13822 else
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13825 asm(".text\n\t.long 0");
13827 main ()
13831 return 0;
13833 _ACEOF
13834 if ac_fn_c_try_compile "$LINENO"; then :
13835 ac_cv_c_asm_outside_funcs="yes"
13836 else
13837 ac_cv_c_asm_outside_funcs="no"
13839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13842 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13845 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13846 if ${ac_cv_c_dot_previous+:} false; then :
13847 $as_echo_n "(cached) " >&6
13848 else
13849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13853 main ()
13855 asm(".text\nac_test:\t.long 0\n\t.previous");
13857 return 0;
13859 _ACEOF
13860 if ac_fn_c_try_link "$LINENO"; then :
13861 ac_cv_c_dot_previous="yes"
13862 else
13863 ac_cv_c_dot_previous="no"
13865 rm -f core conftest.err conftest.$ac_objext \
13866 conftest$ac_exeext conftest.$ac_ext
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13869 $as_echo "$ac_cv_c_dot_previous" >&6; }
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13872 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13873 if ${ac_cv_c_cfi_support+:} false; then :
13874 $as_echo_n "(cached) " >&6
13875 else
13876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h. */
13878 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13880 main ()
13884 return 0;
13886 _ACEOF
13887 if ac_fn_c_try_compile "$LINENO"; then :
13888 ac_cv_c_cfi_support="yes"
13889 else
13890 ac_cv_c_cfi_support="no"
13892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13895 $as_echo "$ac_cv_c_cfi_support" >&6; }
13897 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13898 asm_func_trailer=""
13899 if test "$ac_cv_c_dot_previous" = "yes"
13900 then
13901 asm_func_trailer="\\n\\t.previous"
13903 if test "$ac_cv_c_cfi_support" = "yes"
13904 then
13905 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13906 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13908 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13910 UNWINDFLAGS=-fasynchronous-unwind-tables
13912 else
13913 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13917 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13920 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13921 then
13922 cat >>confdefs.h <<_ACEOF
13923 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13924 _ACEOF
13926 else
13927 cat >>confdefs.h <<_ACEOF
13928 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13929 _ACEOF
13933 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13936 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13940 case $build_os in
13941 cygwin*|mingw32*) TOOLSEXT=".exe"
13943 esac
13945 case $host_os in
13946 linux*)
13947 case $host_cpu in
13948 *i[3456789]86*|x86_64*)
13949 as_fn_append LOADER_RULES "
13950 all: $wine_binary-preloader
13952 $wine_binary-preloader: preloader.o Makefile.in
13953 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
13955 install install-lib:: $wine_binary-preloader \$(DESTDIR)\$(bindir)
13956 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13958 uninstall::
13959 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13960 " ;;
13961 esac
13963 esac
13966 ac_save_CFLAGS="$CFLAGS"
13967 CFLAGS="$CFLAGS $BUILTINFLAG"
13968 for ac_func in \
13969 __res_get_state \
13970 __res_getservers \
13971 _finite \
13972 _isnan \
13973 _pclose \
13974 _popen \
13975 _snprintf \
13976 _spawnvp \
13977 _strdup \
13978 _stricmp \
13979 _strnicmp \
13980 _strtoi64 \
13981 _strtoui64 \
13982 _vsnprintf \
13983 asctime_r \
13984 chsize \
13985 dlopen \
13986 epoll_create \
13987 ffs \
13988 finite \
13989 fnmatch \
13990 fork \
13991 fpclass \
13992 fstatfs \
13993 fstatvfs \
13994 ftruncate \
13995 futimens \
13996 futimes \
13997 futimesat \
13998 getattrlist \
13999 getdirentries \
14000 getopt_long_only \
14001 getpwuid \
14002 gettimeofday \
14003 getuid \
14004 if_nameindex \
14005 kqueue \
14006 lstat \
14007 memmove \
14008 mmap \
14009 pclose \
14010 pipe2 \
14011 poll \
14012 popen \
14013 port_create \
14014 prctl \
14015 pread \
14016 proc_pidinfo \
14017 pwrite \
14018 readdir \
14019 readlink \
14020 sched_yield \
14021 select \
14022 setproctitle \
14023 setrlimit \
14024 settimeofday \
14025 sigaltstack \
14026 sigprocmask \
14027 snprintf \
14028 statfs \
14029 statvfs \
14030 strcasecmp \
14031 strdup \
14032 strerror \
14033 strncasecmp \
14034 strtold \
14035 strtoll \
14036 strtoull \
14037 symlink \
14038 tcdrain \
14039 thr_kill2 \
14040 timegm \
14041 usleep \
14042 vsnprintf
14044 do :
14045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14047 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14048 cat >>confdefs.h <<_ACEOF
14049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14050 _ACEOF
14053 done
14055 CFLAGS="$ac_save_CFLAGS"
14057 if test "$ac_cv_func_dlopen" = no
14058 then
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14060 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14061 if ${ac_cv_lib_dl_dlopen+:} false; then :
14062 $as_echo_n "(cached) " >&6
14063 else
14064 ac_check_lib_save_LIBS=$LIBS
14065 LIBS="-ldl $LIBS"
14066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14069 /* Override any GCC internal prototype to avoid an error.
14070 Use char because int might match the return type of a GCC
14071 builtin and then its argument prototype would still apply. */
14072 #ifdef __cplusplus
14073 extern "C"
14074 #endif
14075 char dlopen ();
14077 main ()
14079 return dlopen ();
14081 return 0;
14083 _ACEOF
14084 if ac_fn_c_try_link "$LINENO"; then :
14085 ac_cv_lib_dl_dlopen=yes
14086 else
14087 ac_cv_lib_dl_dlopen=no
14089 rm -f core conftest.err conftest.$ac_objext \
14090 conftest$ac_exeext conftest.$ac_ext
14091 LIBS=$ac_check_lib_save_LIBS
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14094 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14095 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14096 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14097 LIBDL="-ldl"
14102 ac_wine_check_funcs_save_LIBS="$LIBS"
14103 LIBS="$LIBS $LIBDL"
14104 for ac_func in dladdr
14105 do :
14106 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14107 if test "x$ac_cv_func_dladdr" = xyes; then :
14108 cat >>confdefs.h <<_ACEOF
14109 #define HAVE_DLADDR 1
14110 _ACEOF
14113 done
14115 LIBS="$ac_wine_check_funcs_save_LIBS"
14117 if test "$ac_cv_func_poll" = no
14118 then
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14120 $as_echo_n "checking for poll in -lpoll... " >&6; }
14121 if ${ac_cv_lib_poll_poll+:} false; then :
14122 $as_echo_n "(cached) " >&6
14123 else
14124 ac_check_lib_save_LIBS=$LIBS
14125 LIBS="-lpoll $LIBS"
14126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14129 /* Override any GCC internal prototype to avoid an error.
14130 Use char because int might match the return type of a GCC
14131 builtin and then its argument prototype would still apply. */
14132 #ifdef __cplusplus
14133 extern "C"
14134 #endif
14135 char poll ();
14137 main ()
14139 return poll ();
14141 return 0;
14143 _ACEOF
14144 if ac_fn_c_try_link "$LINENO"; then :
14145 ac_cv_lib_poll_poll=yes
14146 else
14147 ac_cv_lib_poll_poll=no
14149 rm -f core conftest.err conftest.$ac_objext \
14150 conftest$ac_exeext conftest.$ac_ext
14151 LIBS=$ac_check_lib_save_LIBS
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14154 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14155 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14156 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14157 LIBPOLL="-lpoll"
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14164 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14165 if ${ac_cv_search_gethostbyname+:} false; then :
14166 $as_echo_n "(cached) " >&6
14167 else
14168 ac_func_search_save_LIBS=$LIBS
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14172 /* Override any GCC internal prototype to avoid an error.
14173 Use char because int might match the return type of a GCC
14174 builtin and then its argument prototype would still apply. */
14175 #ifdef __cplusplus
14176 extern "C"
14177 #endif
14178 char gethostbyname ();
14180 main ()
14182 return gethostbyname ();
14184 return 0;
14186 _ACEOF
14187 for ac_lib in '' nsl; do
14188 if test -z "$ac_lib"; then
14189 ac_res="none required"
14190 else
14191 ac_res=-l$ac_lib
14192 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14194 if ac_fn_c_try_link "$LINENO"; then :
14195 ac_cv_search_gethostbyname=$ac_res
14197 rm -f core conftest.err conftest.$ac_objext \
14198 conftest$ac_exeext
14199 if ${ac_cv_search_gethostbyname+:} false; then :
14200 break
14202 done
14203 if ${ac_cv_search_gethostbyname+:} false; then :
14205 else
14206 ac_cv_search_gethostbyname=no
14208 rm conftest.$ac_ext
14209 LIBS=$ac_func_search_save_LIBS
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14212 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14213 ac_res=$ac_cv_search_gethostbyname
14214 if test "$ac_res" != no; then :
14215 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14221 $as_echo_n "checking for library containing connect... " >&6; }
14222 if ${ac_cv_search_connect+:} false; then :
14223 $as_echo_n "(cached) " >&6
14224 else
14225 ac_func_search_save_LIBS=$LIBS
14226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14229 /* Override any GCC internal prototype to avoid an error.
14230 Use char because int might match the return type of a GCC
14231 builtin and then its argument prototype would still apply. */
14232 #ifdef __cplusplus
14233 extern "C"
14234 #endif
14235 char connect ();
14237 main ()
14239 return connect ();
14241 return 0;
14243 _ACEOF
14244 for ac_lib in '' socket; do
14245 if test -z "$ac_lib"; then
14246 ac_res="none required"
14247 else
14248 ac_res=-l$ac_lib
14249 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14251 if ac_fn_c_try_link "$LINENO"; then :
14252 ac_cv_search_connect=$ac_res
14254 rm -f core conftest.err conftest.$ac_objext \
14255 conftest$ac_exeext
14256 if ${ac_cv_search_connect+:} false; then :
14257 break
14259 done
14260 if ${ac_cv_search_connect+:} false; then :
14262 else
14263 ac_cv_search_connect=no
14265 rm conftest.$ac_ext
14266 LIBS=$ac_func_search_save_LIBS
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14269 $as_echo "$ac_cv_search_connect" >&6; }
14270 ac_res=$ac_cv_search_connect
14271 if test "$ac_res" != no; then :
14272 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14278 $as_echo_n "checking for library containing inet_aton... " >&6; }
14279 if ${ac_cv_search_inet_aton+:} false; then :
14280 $as_echo_n "(cached) " >&6
14281 else
14282 ac_func_search_save_LIBS=$LIBS
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14286 /* Override any GCC internal prototype to avoid an error.
14287 Use char because int might match the return type of a GCC
14288 builtin and then its argument prototype would still apply. */
14289 #ifdef __cplusplus
14290 extern "C"
14291 #endif
14292 char inet_aton ();
14294 main ()
14296 return inet_aton ();
14298 return 0;
14300 _ACEOF
14301 for ac_lib in '' resolv; do
14302 if test -z "$ac_lib"; then
14303 ac_res="none required"
14304 else
14305 ac_res=-l$ac_lib
14306 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14308 if ac_fn_c_try_link "$LINENO"; then :
14309 ac_cv_search_inet_aton=$ac_res
14311 rm -f core conftest.err conftest.$ac_objext \
14312 conftest$ac_exeext
14313 if ${ac_cv_search_inet_aton+:} false; then :
14314 break
14316 done
14317 if ${ac_cv_search_inet_aton+:} false; then :
14319 else
14320 ac_cv_search_inet_aton=no
14322 rm conftest.$ac_ext
14323 LIBS=$ac_func_search_save_LIBS
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14326 $as_echo "$ac_cv_search_inet_aton" >&6; }
14327 ac_res=$ac_cv_search_inet_aton
14328 if test "$ac_res" != no; then :
14329 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14334 for ac_func in \
14335 getaddrinfo \
14336 getnameinfo \
14337 getnetbyname \
14338 getprotobyname \
14339 getprotobynumber \
14340 getservbyport \
14341 inet_network \
14342 inet_ntop \
14343 inet_pton \
14344 sendmsg \
14345 socketpair \
14347 do :
14348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14350 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14351 cat >>confdefs.h <<_ACEOF
14352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14353 _ACEOF
14356 done
14359 ac_save_LIBS=$LIBS
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14361 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14362 if ${ac_cv_search_clock_gettime+:} false; then :
14363 $as_echo_n "(cached) " >&6
14364 else
14365 ac_func_search_save_LIBS=$LIBS
14366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14372 #ifdef __cplusplus
14373 extern "C"
14374 #endif
14375 char clock_gettime ();
14377 main ()
14379 return clock_gettime ();
14381 return 0;
14383 _ACEOF
14384 for ac_lib in '' rt; do
14385 if test -z "$ac_lib"; then
14386 ac_res="none required"
14387 else
14388 ac_res=-l$ac_lib
14389 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14391 if ac_fn_c_try_link "$LINENO"; then :
14392 ac_cv_search_clock_gettime=$ac_res
14394 rm -f core conftest.err conftest.$ac_objext \
14395 conftest$ac_exeext
14396 if ${ac_cv_search_clock_gettime+:} false; then :
14397 break
14399 done
14400 if ${ac_cv_search_clock_gettime+:} false; then :
14402 else
14403 ac_cv_search_clock_gettime=no
14405 rm conftest.$ac_ext
14406 LIBS=$ac_func_search_save_LIBS
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14409 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14410 ac_res=$ac_cv_search_clock_gettime
14411 if test "$ac_res" != no; then :
14412 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14414 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14416 test "$ac_res" = "none required" || LIBRT="$ac_res"
14420 LIBS=$ac_save_LIBS
14422 LDAPLIBS=""
14424 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14425 then
14426 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14428 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14430 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14431 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14432 $as_echo_n "(cached) " >&6
14433 else
14434 ac_check_lib_save_LIBS=$LIBS
14435 LIBS="-lldap_r $LIBPTHREAD $LIBS"
14436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14437 /* end confdefs.h. */
14439 /* Override any GCC internal prototype to avoid an error.
14440 Use char because int might match the return type of a GCC
14441 builtin and then its argument prototype would still apply. */
14442 #ifdef __cplusplus
14443 extern "C"
14444 #endif
14445 char ldap_initialize ();
14447 main ()
14449 return ldap_initialize ();
14451 return 0;
14453 _ACEOF
14454 if ac_fn_c_try_link "$LINENO"; then :
14455 ac_cv_lib_ldap_r_ldap_initialize=yes
14456 else
14457 ac_cv_lib_ldap_r_ldap_initialize=no
14459 rm -f core conftest.err conftest.$ac_objext \
14460 conftest$ac_exeext conftest.$ac_ext
14461 LIBS=$ac_check_lib_save_LIBS
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14464 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14465 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14467 $as_echo_n "checking for ber_init in -llber... " >&6; }
14468 if ${ac_cv_lib_lber_ber_init+:} false; then :
14469 $as_echo_n "(cached) " >&6
14470 else
14471 ac_check_lib_save_LIBS=$LIBS
14472 LIBS="-llber $LIBPTHREAD $LIBS"
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14476 /* Override any GCC internal prototype to avoid an error.
14477 Use char because int might match the return type of a GCC
14478 builtin and then its argument prototype would still apply. */
14479 #ifdef __cplusplus
14480 extern "C"
14481 #endif
14482 char ber_init ();
14484 main ()
14486 return ber_init ();
14488 return 0;
14490 _ACEOF
14491 if ac_fn_c_try_link "$LINENO"; then :
14492 ac_cv_lib_lber_ber_init=yes
14493 else
14494 ac_cv_lib_lber_ber_init=no
14496 rm -f core conftest.err conftest.$ac_objext \
14497 conftest$ac_exeext conftest.$ac_ext
14498 LIBS=$ac_check_lib_save_LIBS
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14501 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14502 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14504 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14506 LDAPLIBS="-lldap_r -llber"
14513 ac_wine_check_funcs_save_LIBS="$LIBS"
14514 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
14515 for ac_func in \
14516 ldap_count_references \
14517 ldap_first_reference \
14518 ldap_next_reference \
14519 ldap_parse_reference \
14520 ldap_parse_sort_control \
14521 ldap_parse_sortresponse_control \
14522 ldap_parse_vlv_control \
14523 ldap_parse_vlvresponse_control
14524 do :
14525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14528 cat >>confdefs.h <<_ACEOF
14529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14530 _ACEOF
14533 done
14535 LIBS="$ac_wine_check_funcs_save_LIBS"
14537 if test "x$LDAPLIBS" = "x"; then :
14538 case "x$with_ldap" in
14539 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14540 xno) ;;
14541 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14542 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14543 esac
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14547 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14548 if ${wine_cv_one_arg_mkdir+:} false; then :
14549 $as_echo_n "(cached) " >&6
14550 else
14551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14553 #include <sys/stat.h>
14555 main ()
14557 mkdir("foo");
14559 return 0;
14561 _ACEOF
14562 if ac_fn_c_try_compile "$LINENO"; then :
14563 wine_cv_one_arg_mkdir=yes
14564 else
14565 wine_cv_one_arg_mkdir=no
14567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14570 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14571 if test "$wine_cv_one_arg_mkdir" = "yes"
14572 then
14574 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14579 $as_echo_n "checking for sched_setaffinity... " >&6; }
14580 if ${wine_cv_have_sched_setaffinity+:} false; then :
14581 $as_echo_n "(cached) " >&6
14582 else
14583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h. */
14585 #define _GNU_SOURCE
14586 #include <sched.h>
14588 main ()
14590 sched_setaffinity(0, 0, 0);
14592 return 0;
14594 _ACEOF
14595 if ac_fn_c_try_link "$LINENO"; then :
14596 wine_cv_have_sched_setaffinity=yes
14597 else
14598 wine_cv_have_sched_setaffinity=no
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14604 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14605 if test "$wine_cv_have_sched_setaffinity" = "yes"
14606 then
14608 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14613 $as_echo_n "checking for fallocate... " >&6; }
14614 if ${wine_cv_have_fallocate+:} false; then :
14615 $as_echo_n "(cached) " >&6
14616 else
14617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14618 /* end confdefs.h. */
14619 #define _GNU_SOURCE
14620 #include <fcntl.h>
14622 main ()
14624 fallocate(-1, 0, 0, 0);
14626 return 0;
14628 _ACEOF
14629 if ac_fn_c_try_link "$LINENO"; then :
14630 wine_cv_have_fallocate=yes
14631 else
14632 wine_cv_have_fallocate=no
14634 rm -f core conftest.err conftest.$ac_objext \
14635 conftest$ac_exeext conftest.$ac_ext
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14638 $as_echo "$wine_cv_have_fallocate" >&6; }
14639 if test "$wine_cv_have_fallocate" = "yes"
14640 then
14642 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14648 $as_echo_n "checking for inline... " >&6; }
14649 if ${ac_cv_c_inline+:} false; then :
14650 $as_echo_n "(cached) " >&6
14651 else
14652 ac_cv_c_inline=no
14653 for ac_kw in inline __inline__ __inline; do
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14656 #ifndef __cplusplus
14657 typedef int foo_t;
14658 static $ac_kw foo_t static_foo () {return 0; }
14659 $ac_kw foo_t foo () {return 0; }
14660 #endif
14662 _ACEOF
14663 if ac_fn_c_try_compile "$LINENO"; then :
14664 ac_cv_c_inline=$ac_kw
14666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14667 test "$ac_cv_c_inline" != no && break
14668 done
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14672 $as_echo "$ac_cv_c_inline" >&6; }
14674 case $ac_cv_c_inline in
14675 inline | yes) ;;
14677 case $ac_cv_c_inline in
14678 no) ac_val=;;
14679 *) ac_val=$ac_cv_c_inline;;
14680 esac
14681 cat >>confdefs.h <<_ACEOF
14682 #ifndef __cplusplus
14683 #define inline $ac_val
14684 #endif
14685 _ACEOF
14687 esac
14689 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14690 if test "x$ac_cv_type_mode_t" = xyes; then :
14692 cat >>confdefs.h <<_ACEOF
14693 #define HAVE_MODE_T 1
14694 _ACEOF
14698 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14699 if test "x$ac_cv_type_off_t" = xyes; then :
14701 cat >>confdefs.h <<_ACEOF
14702 #define HAVE_OFF_T 1
14703 _ACEOF
14707 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14708 if test "x$ac_cv_type_pid_t" = xyes; then :
14710 cat >>confdefs.h <<_ACEOF
14711 #define HAVE_PID_T 1
14712 _ACEOF
14716 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14717 if test "x$ac_cv_type_size_t" = xyes; then :
14719 cat >>confdefs.h <<_ACEOF
14720 #define HAVE_SIZE_T 1
14721 _ACEOF
14725 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14726 if test "x$ac_cv_type_ssize_t" = xyes; then :
14728 cat >>confdefs.h <<_ACEOF
14729 #define HAVE_SSIZE_T 1
14730 _ACEOF
14734 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14735 if test "x$ac_cv_type_long_long" = xyes; then :
14737 cat >>confdefs.h <<_ACEOF
14738 #define HAVE_LONG_LONG 1
14739 _ACEOF
14743 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14744 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
14746 cat >>confdefs.h <<_ACEOF
14747 #define HAVE_FSBLKCNT_T 1
14748 _ACEOF
14752 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14753 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
14755 cat >>confdefs.h <<_ACEOF
14756 #define HAVE_FSFILCNT_T 1
14757 _ACEOF
14762 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14763 #include <signal.h>
14765 if test "x$ac_cv_type_sigset_t" = xyes; then :
14767 cat >>confdefs.h <<_ACEOF
14768 #define HAVE_SIGSET_T 1
14769 _ACEOF
14774 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14776 if test "x$ac_cv_type_request_sense" = xyes; then :
14778 cat >>confdefs.h <<_ACEOF
14779 #define HAVE_REQUEST_SENSE 1
14780 _ACEOF
14786 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14787 #ifdef HAVE_SYS_SOCKET_H
14788 #include <sys/socket.h>
14789 #endif
14790 #ifdef HAVE_SYS_SOCKETVAR_H
14791 #include <sys/socketvar.h>
14792 #endif
14793 #ifdef HAVE_NET_ROUTE_H
14794 #include <net/route.h>
14795 #endif
14796 #ifdef HAVE_NETINET_IN_H
14797 #include <netinet/in.h>
14798 #endif
14799 #ifdef HAVE_NETINET_IN_SYSTM_H
14800 #include <netinet/in_systm.h>
14801 #endif
14802 #ifdef HAVE_NETINET_IP_H
14803 #include <netinet/ip.h>
14804 #endif
14805 #ifdef HAVE_NETINET_IN_PCB_H
14806 #include <netinet/in_pcb.h>
14807 #endif
14809 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
14811 cat >>confdefs.h <<_ACEOF
14812 #define HAVE_STRUCT_XINPGEN 1
14813 _ACEOF
14819 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14820 #include <link.h>
14821 #endif
14822 #ifdef HAVE_SYS_LINK_H
14823 #include <sys/link.h>
14824 #endif
14826 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
14828 cat >>confdefs.h <<_ACEOF
14829 #define HAVE_STRUCT_R_DEBUG 1
14830 _ACEOF
14834 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14835 #include <link.h>
14836 #endif
14837 #ifdef HAVE_SYS_LINK_H
14838 #include <sys/link.h>
14839 #endif
14841 if test "x$ac_cv_type_struct_link_map" = xyes; then :
14843 cat >>confdefs.h <<_ACEOF
14844 #define HAVE_STRUCT_LINK_MAP 1
14845 _ACEOF
14851 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14852 #include <linux/input.h>
14853 #endif
14855 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
14857 cat >>confdefs.h <<_ACEOF
14858 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14859 _ACEOF
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14866 $as_echo_n "checking for sigaddset... " >&6; }
14867 if ${wine_cv_have_sigaddset+:} false; then :
14868 $as_echo_n "(cached) " >&6
14869 else
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14872 #include <signal.h>
14874 main ()
14876 sigset_t set; sigaddset(&set,SIGTERM);
14878 return 0;
14880 _ACEOF
14881 if ac_fn_c_try_link "$LINENO"; then :
14882 wine_cv_have_sigaddset=yes
14883 else
14884 wine_cv_have_sigaddset=no
14886 rm -f core conftest.err conftest.$ac_objext \
14887 conftest$ac_exeext conftest.$ac_ext
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14890 $as_echo "$wine_cv_have_sigaddset" >&6; }
14891 if test "$wine_cv_have_sigaddset" = "yes"
14892 then
14894 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14900 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14901 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14902 $as_echo_n "(cached) " >&6
14903 else
14904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14906 #include <netdb.h>
14908 main ()
14911 char *name=0;
14912 struct hostent he;
14913 struct hostent *result;
14914 char *buf=0;
14915 int bufsize=0;
14916 int errnr;
14917 char *addr=0;
14918 int addrlen=0;
14919 int addrtype=0;
14920 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14921 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14924 return 0;
14926 _ACEOF
14927 if ac_fn_c_try_link "$LINENO"; then :
14928 wine_cv_linux_gethostbyname_r_6=yes
14929 else
14930 wine_cv_linux_gethostbyname_r_6=no
14933 rm -f core conftest.err conftest.$ac_objext \
14934 conftest$ac_exeext conftest.$ac_ext
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14938 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14939 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14940 then
14942 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14946 if test "$ac_cv_header_linux_joystick_h" = "yes"
14947 then
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14949 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14950 if ${wine_cv_linux_joystick_22_api+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14956 #include <sys/ioctl.h>
14957 #include <sys/types.h>
14958 #include <linux/joystick.h>
14960 struct js_event blub;
14961 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14962 #error "no 2.2 header"
14963 #endif
14966 main ()
14968 /*empty*/
14970 return 0;
14972 _ACEOF
14973 if ac_fn_c_try_compile "$LINENO"; then :
14974 wine_cv_linux_joystick_22_api=yes
14975 else
14976 wine_cv_linux_joystick_22_api=no
14978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14982 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14983 if test "$wine_cv_linux_joystick_22_api" = "yes"
14984 then
14986 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14992 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14993 #ifdef HAVE_SYS_PARAM_H
14994 # include <sys/param.h>
14995 #endif
14996 #ifdef HAVE_SYS_MOUNT_H
14997 # include <sys/mount.h>
14998 #endif
14999 #ifdef HAVE_SYS_VFS_H
15000 # include <sys/vfs.h>
15001 #endif
15002 #ifdef HAVE_SYS_STATFS_H
15003 # include <sys/statfs.h>
15004 #endif
15006 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15008 cat >>confdefs.h <<_ACEOF
15009 #define HAVE_STRUCT_STATFS_F_BFREE 1
15010 _ACEOF
15014 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15015 #ifdef HAVE_SYS_PARAM_H
15016 # include <sys/param.h>
15017 #endif
15018 #ifdef HAVE_SYS_MOUNT_H
15019 # include <sys/mount.h>
15020 #endif
15021 #ifdef HAVE_SYS_VFS_H
15022 # include <sys/vfs.h>
15023 #endif
15024 #ifdef HAVE_SYS_STATFS_H
15025 # include <sys/statfs.h>
15026 #endif
15028 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15030 cat >>confdefs.h <<_ACEOF
15031 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15032 _ACEOF
15036 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15037 #ifdef HAVE_SYS_PARAM_H
15038 # include <sys/param.h>
15039 #endif
15040 #ifdef HAVE_SYS_MOUNT_H
15041 # include <sys/mount.h>
15042 #endif
15043 #ifdef HAVE_SYS_VFS_H
15044 # include <sys/vfs.h>
15045 #endif
15046 #ifdef HAVE_SYS_STATFS_H
15047 # include <sys/statfs.h>
15048 #endif
15050 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15052 cat >>confdefs.h <<_ACEOF
15053 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15054 _ACEOF
15058 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15059 #ifdef HAVE_SYS_PARAM_H
15060 # include <sys/param.h>
15061 #endif
15062 #ifdef HAVE_SYS_MOUNT_H
15063 # include <sys/mount.h>
15064 #endif
15065 #ifdef HAVE_SYS_VFS_H
15066 # include <sys/vfs.h>
15067 #endif
15068 #ifdef HAVE_SYS_STATFS_H
15069 # include <sys/statfs.h>
15070 #endif
15072 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15074 cat >>confdefs.h <<_ACEOF
15075 #define HAVE_STRUCT_STATFS_F_FFREE 1
15076 _ACEOF
15080 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15081 #ifdef HAVE_SYS_PARAM_H
15082 # include <sys/param.h>
15083 #endif
15084 #ifdef HAVE_SYS_MOUNT_H
15085 # include <sys/mount.h>
15086 #endif
15087 #ifdef HAVE_SYS_VFS_H
15088 # include <sys/vfs.h>
15089 #endif
15090 #ifdef HAVE_SYS_STATFS_H
15091 # include <sys/statfs.h>
15092 #endif
15094 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15096 cat >>confdefs.h <<_ACEOF
15097 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15098 _ACEOF
15102 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15103 #ifdef HAVE_SYS_PARAM_H
15104 # include <sys/param.h>
15105 #endif
15106 #ifdef HAVE_SYS_MOUNT_H
15107 # include <sys/mount.h>
15108 #endif
15109 #ifdef HAVE_SYS_VFS_H
15110 # include <sys/vfs.h>
15111 #endif
15112 #ifdef HAVE_SYS_STATFS_H
15113 # include <sys/statfs.h>
15114 #endif
15116 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15118 cat >>confdefs.h <<_ACEOF
15119 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15120 _ACEOF
15126 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15127 #include <sys/statvfs.h>
15128 #endif
15130 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15132 cat >>confdefs.h <<_ACEOF
15133 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15134 _ACEOF
15140 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15141 #include <dirent.h>
15142 #endif
15144 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15146 cat >>confdefs.h <<_ACEOF
15147 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15148 _ACEOF
15154 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15155 #ifdef HAVE_SYS_SOCKET_H
15156 # include <sys/socket.h>
15157 #endif
15158 #ifdef HAVE_SYS_UN_H
15159 # include <sys/un.h>
15160 #endif
15162 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15164 cat >>confdefs.h <<_ACEOF
15165 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15166 _ACEOF
15170 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15171 #ifdef HAVE_SYS_SOCKET_H
15172 # include <sys/socket.h>
15173 #endif
15174 #ifdef HAVE_SYS_UN_H
15175 # include <sys/un.h>
15176 #endif
15178 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15180 cat >>confdefs.h <<_ACEOF
15181 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15182 _ACEOF
15186 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15187 #ifdef HAVE_SYS_SOCKET_H
15188 # include <sys/socket.h>
15189 #endif
15190 #ifdef HAVE_SYS_UN_H
15191 # include <sys/un.h>
15192 #endif
15194 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15196 cat >>confdefs.h <<_ACEOF
15197 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15198 _ACEOF
15204 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15205 #ifdef HAVE_SCSI_SG_H
15206 #include <scsi/sg.h>
15207 #endif
15209 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15211 cat >>confdefs.h <<_ACEOF
15212 #define HAVE_SCSIREQ_T_CMD 1
15213 _ACEOF
15217 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>
15218 #ifdef HAVE_SCSI_SG_H
15219 #include <scsi/sg.h>
15220 #endif
15222 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15224 cat >>confdefs.h <<_ACEOF
15225 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15226 _ACEOF
15232 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15234 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15236 cat >>confdefs.h <<_ACEOF
15237 #define HAVE_SIGINFO_T_SI_FD 1
15238 _ACEOF
15244 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15245 #ifdef HAVE_SYS_MTIO_H
15246 #include <sys/mtio.h>
15247 #endif
15249 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15251 cat >>confdefs.h <<_ACEOF
15252 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15253 _ACEOF
15257 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15258 #ifdef HAVE_SYS_MTIO_H
15259 #include <sys/mtio.h>
15260 #endif
15262 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15264 cat >>confdefs.h <<_ACEOF
15265 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15266 _ACEOF
15270 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15271 #ifdef HAVE_SYS_MTIO_H
15272 #include <sys/mtio.h>
15273 #endif
15275 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15277 cat >>confdefs.h <<_ACEOF
15278 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15279 _ACEOF
15285 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15286 #include <getopt.h>
15287 #endif
15289 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15291 cat >>confdefs.h <<_ACEOF
15292 #define HAVE_STRUCT_OPTION_NAME 1
15293 _ACEOF
15299 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15300 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15302 cat >>confdefs.h <<_ACEOF
15303 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15304 _ACEOF
15308 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15309 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15311 cat >>confdefs.h <<_ACEOF
15312 #define HAVE_STRUCT_STAT_ST_MTIM 1
15313 _ACEOF
15317 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15318 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15320 cat >>confdefs.h <<_ACEOF
15321 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15322 _ACEOF
15326 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15327 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15329 cat >>confdefs.h <<_ACEOF
15330 #define HAVE_STRUCT_STAT_ST_CTIM 1
15331 _ACEOF
15335 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15336 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15338 cat >>confdefs.h <<_ACEOF
15339 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15340 _ACEOF
15344 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15345 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15347 cat >>confdefs.h <<_ACEOF
15348 #define HAVE_STRUCT_STAT_ST_ATIM 1
15349 _ACEOF
15353 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15354 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15356 cat >>confdefs.h <<_ACEOF
15357 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15358 _ACEOF
15362 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15363 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15365 cat >>confdefs.h <<_ACEOF
15366 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15367 _ACEOF
15371 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15372 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15374 cat >>confdefs.h <<_ACEOF
15375 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15376 _ACEOF
15380 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15381 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15383 cat >>confdefs.h <<_ACEOF
15384 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15385 _ACEOF
15389 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15390 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15392 cat >>confdefs.h <<_ACEOF
15393 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15394 _ACEOF
15398 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15399 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15401 cat >>confdefs.h <<_ACEOF
15402 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15403 _ACEOF
15409 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
15410 #include <sys/types.h>
15411 #endif
15412 #ifdef HAVE_NETINET_IN_H
15413 #include <netinet/in.h>
15414 #endif
15416 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15418 cat >>confdefs.h <<_ACEOF
15419 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15420 _ACEOF
15426 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15427 #include <resolv.h>
15428 #endif
15430 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15432 cat >>confdefs.h <<_ACEOF
15433 #define HAVE_STRUCT___RES_STATE 1
15434 _ACEOF
15440 ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
15441 #include <resolv.h>
15442 #endif
15444 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15446 cat >>confdefs.h <<_ACEOF
15447 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15448 _ACEOF
15454 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15455 #include <sys/types.h>
15456 #endif
15457 #ifdef HAVE_NETINET_IN_H
15458 # include <netinet/in.h>
15459 #endif
15460 #ifdef HAVE_ARPA_NAMESER_H
15461 # include <arpa/nameser.h>
15462 #endif
15464 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15466 cat >>confdefs.h <<_ACEOF
15467 #define HAVE_NS_MSG__MSG_PTR 1
15468 _ACEOF
15474 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15475 #include <sys/types.h>
15476 #endif
15477 #ifdef HAVE_NETINET_IP_H
15478 #include <netinet/ip.h>
15479 #endif
15480 #ifdef HAVE_NETINET_IP_ICMP_H
15481 #include <netinet/ip_icmp.h>
15482 #endif
15483 #ifdef HAVE_NETINET_ICMP_VAR_H
15484 #include <netinet/icmp_var.h>
15485 #endif
15487 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15489 cat >>confdefs.h <<_ACEOF
15490 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15491 _ACEOF
15497 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15498 #include <sys/types.h>
15499 #endif
15500 #ifdef HAVE_ALIAS_H
15501 #include <alias.h>
15502 #endif
15503 #ifdef HAVE_SYS_SOCKET_H
15504 #include <sys/socket.h>
15505 #endif
15506 #ifdef HAVE_SYS_SOCKETVAR_H
15507 #include <sys/socketvar.h>
15508 #endif
15509 #ifdef HAVE_SYS_TIMEOUT_H
15510 #include <sys/timeout.h>
15511 #endif
15512 #ifdef HAVE_NETINET_IN_H
15513 #include <netinet/in.h>
15514 #endif
15515 #ifdef HAVE_NETINET_IN_SYSTM_H
15516 #include <netinet/in_systm.h>
15517 #endif
15518 #ifdef HAVE_NETINET_IP_H
15519 #include <netinet/ip.h>
15520 #endif
15521 #ifdef HAVE_NETINET_IP_VAR_H
15522 #include <netinet/ip_var.h>
15523 #endif
15524 #ifdef HAVE_NETINET_IP_ICMP_H
15525 #include <netinet/ip_icmp.h>
15526 #endif
15527 #ifdef HAVE_NETINET_ICMP_VAR_H
15528 #include <netinet/icmp_var.h>
15529 #endif
15531 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15533 cat >>confdefs.h <<_ACEOF
15534 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15535 _ACEOF
15541 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15542 #include <sys/types.h>
15543 #endif
15544 #ifdef HAVE_SYS_SOCKETVAR_H
15545 #include <sys/socketvar.h>
15546 #endif
15547 #ifdef HAVE_NETINET_IN_H
15548 #include <netinet/in.h>
15549 #endif
15550 #ifdef HAVE_NETINET_IP_VAR_H
15551 #include <netinet/ip_var.h>
15552 #endif
15554 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15556 cat >>confdefs.h <<_ACEOF
15557 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15558 _ACEOF
15564 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
15565 #include <netinet/ip_var.h>
15566 #endif
15568 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15570 cat >>confdefs.h <<_ACEOF
15571 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15572 _ACEOF
15578 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15579 #include <sys/types.h>
15580 #endif
15581 #ifdef HAVE_SYS_SOCKETVAR_H
15582 #include <sys/socketvar.h>
15583 #endif
15584 #ifdef HAVE_NETINET_IN_H
15585 #include <netinet/in.h>
15586 #endif
15587 #ifdef HAVE_NETINET_TCP_H
15588 #include <netinet/tcp.h>
15589 #endif
15590 #ifdef HAVE_NETINET_TCP_VAR_H
15591 #include <netinet/tcp_var.h>
15592 #endif
15594 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
15596 cat >>confdefs.h <<_ACEOF
15597 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15598 _ACEOF
15604 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
15605 #include <netinet/tcp_var.h>
15606 #endif
15608 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
15610 cat >>confdefs.h <<_ACEOF
15611 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15612 _ACEOF
15618 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15619 #include <sys/types.h>
15620 #endif
15621 #ifdef HAVE_NETINET_IN_H
15622 #include <netinet/in.h>
15623 #endif
15624 #ifdef HAVE_NETINET_IP_VAR_H
15625 #include <netinet/ip_var.h>
15626 #endif
15627 #ifdef HAVE_NETINET_UDP_H
15628 #include <netinet/udp.h>
15629 #endif
15630 #ifdef HAVE_NETINET_UDP_VAR_H
15631 #include <netinet/udp_var.h>
15632 #endif
15634 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
15636 cat >>confdefs.h <<_ACEOF
15637 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15638 _ACEOF
15644 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15645 #include <sys/types.h>
15646 #endif
15647 #ifdef HAVE_NET_IF_H
15648 # include <net/if.h>
15649 #endif
15651 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
15653 cat >>confdefs.h <<_ACEOF
15654 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15655 _ACEOF
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15662 $as_echo_n "checking for timezone variable... " >&6; }
15663 if ${ac_cv_have_timezone+:} false; then :
15664 $as_echo_n "(cached) " >&6
15665 else
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15668 #include <time.h>
15670 main ()
15672 timezone = 1
15674 return 0;
15676 _ACEOF
15677 if ac_fn_c_try_link "$LINENO"; then :
15678 ac_cv_have_timezone="yes"
15679 else
15680 ac_cv_have_timezone="no"
15682 rm -f core conftest.err conftest.$ac_objext \
15683 conftest$ac_exeext conftest.$ac_ext
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15686 $as_echo "$ac_cv_have_timezone" >&6; }
15687 if test "$ac_cv_have_timezone" = "yes"
15688 then
15690 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15694 $as_echo_n "checking for daylight variable... " >&6; }
15695 if ${ac_cv_have_daylight+:} false; then :
15696 $as_echo_n "(cached) " >&6
15697 else
15698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15699 /* end confdefs.h. */
15700 #include <time.h>
15702 main ()
15704 daylight = 1
15706 return 0;
15708 _ACEOF
15709 if ac_fn_c_try_link "$LINENO"; then :
15710 ac_cv_have_daylight="yes"
15711 else
15712 ac_cv_have_daylight="no"
15714 rm -f core conftest.err conftest.$ac_objext \
15715 conftest$ac_exeext conftest.$ac_ext
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15718 $as_echo "$ac_cv_have_daylight" >&6; }
15719 if test "$ac_cv_have_daylight" = "yes"
15720 then
15722 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15726 ac_save_LIBS="$LIBS"
15727 LIBS="$LIBS -lm"
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15729 $as_echo_n "checking for isinf... " >&6; }
15730 if ${ac_cv_have_isinf+:} false; then :
15731 $as_echo_n "(cached) " >&6
15732 else
15733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734 /* end confdefs.h. */
15735 #include <math.h>
15737 main ()
15739 float f = 0.0; return isinf(f)
15741 return 0;
15743 _ACEOF
15744 if ac_fn_c_try_link "$LINENO"; then :
15745 ac_cv_have_isinf="yes"
15746 else
15747 ac_cv_have_isinf="no"
15749 rm -f core conftest.err conftest.$ac_objext \
15750 conftest$ac_exeext conftest.$ac_ext
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15753 $as_echo "$ac_cv_have_isinf" >&6; }
15754 if test "$ac_cv_have_isinf" = "yes"
15755 then
15757 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15762 $as_echo_n "checking for isnan... " >&6; }
15763 if ${ac_cv_have_isnan+:} false; then :
15764 $as_echo_n "(cached) " >&6
15765 else
15766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15767 /* end confdefs.h. */
15768 #include <math.h>
15770 main ()
15772 float f = 0.0; return isnan(f)
15774 return 0;
15776 _ACEOF
15777 if ac_fn_c_try_link "$LINENO"; then :
15778 ac_cv_have_isnan="yes"
15779 else
15780 ac_cv_have_isnan="no"
15782 rm -f core conftest.err conftest.$ac_objext \
15783 conftest$ac_exeext conftest.$ac_ext
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15786 $as_echo "$ac_cv_have_isnan" >&6; }
15787 if test "$ac_cv_have_isnan" = "yes"
15788 then
15790 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15793 LIBS="$ac_save_LIBS"
15796 case $host_cpu in
15797 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15798 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15799 if ${ac_cv_cpp_def___i386__+:} false; then :
15800 $as_echo_n "(cached) " >&6
15801 else
15802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15803 /* end confdefs.h. */
15804 #ifndef __i386__
15806 #endif
15807 _ACEOF
15808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15809 $EGREP "yes" >/dev/null 2>&1; then :
15810 ac_cv_cpp_def___i386__=yes
15811 else
15812 ac_cv_cpp_def___i386__=no
15814 rm -f conftest*
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15818 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15819 if test $ac_cv_cpp_def___i386__ = yes; then :
15820 CFLAGS="$CFLAGS -D__i386__"
15821 LINTFLAGS="$LINTFLAGS -D__i386__"
15822 fi ;;
15823 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15824 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15825 if ${ac_cv_cpp_def___x86_64__+:} false; then :
15826 $as_echo_n "(cached) " >&6
15827 else
15828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15829 /* end confdefs.h. */
15830 #ifndef __x86_64__
15832 #endif
15833 _ACEOF
15834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15835 $EGREP "yes" >/dev/null 2>&1; then :
15836 ac_cv_cpp_def___x86_64__=yes
15837 else
15838 ac_cv_cpp_def___x86_64__=no
15840 rm -f conftest*
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15844 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15845 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15846 CFLAGS="$CFLAGS -D__x86_64__"
15847 LINTFLAGS="$LINTFLAGS -D__x86_64__"
15848 fi ;;
15849 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15850 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15851 if ${ac_cv_cpp_def___sparc64__+:} false; then :
15852 $as_echo_n "(cached) " >&6
15853 else
15854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15855 /* end confdefs.h. */
15856 #ifndef __sparc64__
15858 #endif
15859 _ACEOF
15860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15861 $EGREP "yes" >/dev/null 2>&1; then :
15862 ac_cv_cpp_def___sparc64__=yes
15863 else
15864 ac_cv_cpp_def___sparc64__=no
15866 rm -f conftest*
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15870 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15871 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15872 CFLAGS="$CFLAGS -D__sparc64__"
15873 LINTFLAGS="$LINTFLAGS -D__sparc64__"
15874 fi ;;
15875 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15876 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15877 if ${ac_cv_cpp_def___sparc__+:} false; then :
15878 $as_echo_n "(cached) " >&6
15879 else
15880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15881 /* end confdefs.h. */
15882 #ifndef __sparc__
15884 #endif
15885 _ACEOF
15886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15887 $EGREP "yes" >/dev/null 2>&1; then :
15888 ac_cv_cpp_def___sparc__=yes
15889 else
15890 ac_cv_cpp_def___sparc__=no
15892 rm -f conftest*
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15896 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15897 if test $ac_cv_cpp_def___sparc__ = yes; then :
15898 CFLAGS="$CFLAGS -D__sparc__"
15899 LINTFLAGS="$LINTFLAGS -D__sparc__"
15900 fi ;;
15901 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15902 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15903 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15904 $as_echo_n "(cached) " >&6
15905 else
15906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15908 #ifndef __powerpc64__
15910 #endif
15911 _ACEOF
15912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15913 $EGREP "yes" >/dev/null 2>&1; then :
15914 ac_cv_cpp_def___powerpc64__=yes
15915 else
15916 ac_cv_cpp_def___powerpc64__=no
15918 rm -f conftest*
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15922 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15923 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15924 CFLAGS="$CFLAGS -D__powerpc64__"
15925 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15926 fi ;;
15927 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15928 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15929 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15930 $as_echo_n "(cached) " >&6
15931 else
15932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15934 #ifndef __powerpc__
15936 #endif
15937 _ACEOF
15938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15939 $EGREP "yes" >/dev/null 2>&1; then :
15940 ac_cv_cpp_def___powerpc__=yes
15941 else
15942 ac_cv_cpp_def___powerpc__=no
15944 rm -f conftest*
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15948 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15949 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15950 CFLAGS="$CFLAGS -D__powerpc__"
15951 LINTFLAGS="$LINTFLAGS -D__powerpc__"
15952 fi ;;
15953 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15954 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15955 if ${ac_cv_cpp_def___aarch64__+:} false; then :
15956 $as_echo_n "(cached) " >&6
15957 else
15958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15959 /* end confdefs.h. */
15960 #ifndef __aarch64__
15962 #endif
15963 _ACEOF
15964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15965 $EGREP "yes" >/dev/null 2>&1; then :
15966 ac_cv_cpp_def___aarch64__=yes
15967 else
15968 ac_cv_cpp_def___aarch64__=no
15970 rm -f conftest*
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15974 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15975 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15976 CFLAGS="$CFLAGS -D__aarch64__"
15977 LINTFLAGS="$LINTFLAGS -D__aarch64__"
15978 fi ;;
15979 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15980 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15981 if ${ac_cv_cpp_def___arm__+:} false; then :
15982 $as_echo_n "(cached) " >&6
15983 else
15984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15985 /* end confdefs.h. */
15986 #ifndef __arm__
15988 #endif
15989 _ACEOF
15990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15991 $EGREP "yes" >/dev/null 2>&1; then :
15992 ac_cv_cpp_def___arm__=yes
15993 else
15994 ac_cv_cpp_def___arm__=no
15996 rm -f conftest*
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16000 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16001 if test $ac_cv_cpp_def___arm__ = yes; then :
16002 CFLAGS="$CFLAGS -D__arm__"
16003 LINTFLAGS="$LINTFLAGS -D__arm__"
16004 fi ;;
16005 esac
16007 case $host_vendor in
16008 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16009 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16010 if ${ac_cv_cpp_def___sun__+:} false; then :
16011 $as_echo_n "(cached) " >&6
16012 else
16013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h. */
16015 #ifndef __sun__
16017 #endif
16018 _ACEOF
16019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16020 $EGREP "yes" >/dev/null 2>&1; then :
16021 ac_cv_cpp_def___sun__=yes
16022 else
16023 ac_cv_cpp_def___sun__=no
16025 rm -f conftest*
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16029 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16030 if test $ac_cv_cpp_def___sun__ = yes; then :
16031 CFLAGS="$CFLAGS -D__sun__"
16032 LINTFLAGS="$LINTFLAGS -D__sun__"
16033 fi ;;
16034 esac
16040 ac_config_commands="$ac_config_commands include/stamp-h"
16042 $as_echo_n "creating Makefile rules..." >&6
16045 MAKE_IMPLIB_RULES="DLLFLAGS = $DLLFLAGS
16048 if test -n "$CROSSTARGET"
16049 then
16050 as_fn_append MAKE_IMPLIB_RULES "MAKEDEPFLAGS = -xo -xcross.o
16051 all: \$(STATICLIB:.a=.cross.a)
16056 if test -n "$DLLEXT"
16057 then
16058 deps="\$(MODULE)$DLLEXT \$(MODULE).fake"
16059 else
16060 deps="\$(MODULE)"
16063 MAKE_DLL_RULES="
16064 DLLFLAGS = $DLLFLAGS
16065 MAINSPEC = \$(MODULE:%.dll=%).spec
16066 IDL_TLB_RES = \$(IDL_TLB_SRCS:.idl=_t.res)
16067 MODULEFLAGS = -shared \$(srcdir)/\$(MAINSPEC) \$(EXTRADLLFLAGS)
16069 all: $deps
16073 MAKE_PROG_RULES="
16074 DLLFLAGS = $DLLFLAGS
16076 all: $deps
16081 MAKE_TEST_RULES="
16082 DLLFLAGS = $DLLFLAGS
16083 TESTMODULE = \$(TESTDLL:%.dll=%)_test.exe
16084 TESTMODULE_STRIPPED = \$(TESTDLL:%.dll=%)_test-stripped.exe$DLLEXT
16085 WINETEST_RES = \$(top_builddir)/programs/winetest/\$(TESTDLL:%.dll=%)_test.res
16086 RUNTESTFLAGS = -q -P wine -T \$(top_builddir) -M \$(TESTDLL) -p \$(TESTMODULE)$DLLEXT
16087 EXTRA_OBJS = testlist.o
16089 all: \$(TESTMODULE)$DLLEXT \$(WINETEST_RES)
16091 \$(C_SRCS:.c=.ok): \$(TESTMODULE)$DLLEXT \$(TESTDLL:%=../%$DLLEXT)
16093 check test: \$(C_SRCS:.c=.ok)
16095 .PHONY: check test crosstest
16098 if test -n "$CROSSTARGET"
16099 then
16100 as_fn_append MAKE_TEST_RULES "
16101 MAKEDEPFLAGS = -xo -xcross.o
16102 CROSSTESTMODULE = \$(TESTDLL:%.dll=%)_crosstest.exe
16104 crosstest: \$(CROSSTESTMODULE)
16109 wine_rules_file=conf$$rules.make
16110 rm -f $wine_rules_file
16111 ALL_POT_FILES=""
16112 ALL_TEST_RESOURCES=""
16115 wine_fn_append_file ()
16117 as_fn_append $1 " \\$as_nl $2"
16120 wine_fn_append_rule ()
16122 $as_echo "$1" >>$wine_rules_file
16125 wine_fn_has_flag ()
16127 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
16130 wine_fn_depend_rules ()
16132 ac_alldeps=$1
16133 ac_makedep="\$(MAKEDEP)"
16134 ac_input=Make.vars.in:$ac_dir/Makefile.in
16135 if test $ac_dir != tools
16136 then
16137 ac_alldeps="$1 $ac_makedep"
16138 else
16139 ac_alldeps="$1 include/config.h"
16141 case $1 in
16142 *.in) ac_input=$ac_input:$1 ;;
16143 *) ac_makedep="$1 $ac_makedep" ;;
16144 esac
16146 wine_fn_append_rule \
16147 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
16148 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16149 depend: $ac_dir/depend
16150 .PHONY: $ac_dir/depend
16151 $ac_dir/depend: $ac_makedep dummy
16152 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16155 wine_fn_pot_rules ()
16157 test "x$with_gettextpo" = xyes || return
16159 if wine_fn_has_flag mc
16160 then
16161 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
16162 wine_fn_append_rule \
16163 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16164 @cd $ac_dir && \$(MAKE) msg.pot
16165 $ac_dir/msg.pot: tools/wmc include"
16167 if wine_fn_has_flag po
16168 then
16169 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
16170 wine_fn_append_rule \
16171 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16172 @cd $ac_dir && \$(MAKE) rsrc.pot
16173 $ac_dir/rsrc.pot: tools/wrc include"
16177 wine_fn_all_rules ()
16179 ac_rules=$1
16181 wine_fn_depend_rules ${ac_rules:-Make.rules}
16182 wine_fn_append_rule \
16183 "all: $ac_dir
16184 .PHONY: $ac_dir
16185 $ac_dir: $ac_dir/Makefile dummy
16186 @cd $ac_dir && \$(MAKE)"
16189 wine_fn_install_rules ()
16191 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
16193 wine_fn_append_rule \
16194 ".PHONY: $ac_dir/install $ac_dir/uninstall
16195 $ac_dir/install:: $ac_dir
16196 @cd $ac_dir && \$(MAKE) install
16197 $ac_dir/uninstall:: $ac_dir/Makefile
16198 @cd $ac_dir && \$(MAKE) uninstall
16199 install:: $ac_dir/install
16200 __uninstall__: $ac_dir/uninstall"
16202 if wine_fn_has_flag install-lib
16203 then
16204 wine_fn_append_rule \
16205 ".PHONY: $ac_dir/install-lib
16206 $ac_dir/install-lib:: $ac_dir
16207 @cd $ac_dir && \$(MAKE) install-lib
16208 install-lib:: $ac_dir/install-lib"
16211 if wine_fn_has_flag install-dev
16212 then
16213 wine_fn_append_rule \
16214 ".PHONY: $ac_dir/install-dev
16215 $ac_dir/install-dev:: $ac_dir
16216 @cd $ac_dir && \$(MAKE) install-dev
16217 install-dev:: $ac_dir/install-dev"
16221 wine_fn_clean_rules ()
16223 ac_clean=$@
16225 if wine_fn_has_flag clean
16226 then
16227 wine_fn_append_rule \
16228 "__clean__: $ac_dir/clean
16229 .PHONY: $ac_dir/clean
16230 $ac_dir/clean: $ac_dir/Makefile
16231 @cd $ac_dir && \$(MAKE) clean
16232 \$(RM) $ac_dir/Makefile"
16233 else
16234 wine_fn_append_rule \
16235 "clean::
16236 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16240 wine_fn_disabled_rules ()
16242 ac_clean=$@
16244 wine_fn_append_rule \
16245 "clean::
16246 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16249 wine_fn_config_makefile ()
16251 ac_dir=$1
16252 ac_enable=$2
16253 ac_flags=$3
16255 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16256 wine_fn_disabled_rules; return
16258 wine_fn_all_rules
16259 wine_fn_install_rules
16260 wine_fn_clean_rules
16263 wine_fn_config_lib ()
16265 ac_name=$1
16266 ac_flags=$2
16267 ac_dir=dlls/$ac_name
16269 wine_fn_all_rules Make.rules.in
16270 wine_fn_clean_rules
16272 wine_fn_append_rule \
16273 ".PHONY: $ac_dir/install $ac_dir/uninstall
16274 $ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir)
16275 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16276 $ac_dir/uninstall::
16277 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16278 install install-dev:: $ac_dir/install
16279 __uninstall__: $ac_dir/uninstall
16280 __builddeps__: $ac_dir
16281 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16284 wine_fn_config_dll ()
16286 ac_name=$1
16287 ac_dir=dlls/$ac_name
16288 ac_enable=$2
16289 ac_flags=$3
16290 ac_implib=${4:-$ac_name}
16291 ac_file=$ac_dir/lib$ac_implib
16292 ac_dll=$ac_name
16293 ac_deps="tools/widl tools/winebuild tools/winegcc include"
16294 ac_implibflags=""
16296 case $ac_name in
16297 *16) ac_implibflags=" -m16" ;;
16298 *.*) ;;
16299 *) ac_dll=$ac_dll.dll ;;
16300 esac
16302 ac_clean=
16303 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
16304 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
16305 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16307 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16308 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
16309 then
16310 wine_fn_depend_rules Make.rules.in
16311 wine_fn_clean_rules $ac_clean
16312 else
16313 wine_fn_disabled_rules $ac_clean
16314 return
16316 else
16317 wine_fn_all_rules Make.rules.in
16318 wine_fn_clean_rules $ac_clean
16319 wine_fn_append_rule \
16320 "$ac_dir: __builddeps__
16321 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16322 @cd $ac_dir && \$(MAKE) \$@
16323 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
16324 install install-lib:: $ac_dir/install-lib
16325 __uninstall__: $ac_dir/uninstall"
16326 if test -n "$DLLEXT"
16327 then
16328 wine_fn_append_rule \
16329 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16330 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16331 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16332 $ac_dir/uninstall::
16333 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16334 else
16335 wine_fn_append_rule \
16336 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir)
16337 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16338 $ac_dir/uninstall::
16339 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16342 wine_fn_pot_rules
16345 if wine_fn_has_flag staticimplib
16346 then
16347 wine_fn_append_rule \
16348 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16349 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16350 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16351 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16352 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16353 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16354 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16355 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16356 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16357 $ac_dir/uninstall::
16358 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16359 install install-dev:: $ac_dir/install-dev
16360 __uninstall__: $ac_dir/uninstall"
16362 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16363 then
16364 wine_fn_append_rule \
16365 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16366 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16367 $ac_dir/uninstall::
16368 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16371 if test -n "$CROSSTARGET"
16372 then
16373 wine_fn_append_rule \
16374 "__builddeps__: $ac_file.cross.a
16375 $ac_file.cross.a: $ac_dir/Makefile dummy
16376 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16379 elif wine_fn_has_flag implib
16380 then
16381 wine_fn_append_rule \
16382 "__builddeps__: $ac_file.$IMPLIBEXT
16383 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16384 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16385 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16386 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16387 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16388 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16389 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16390 $ac_dir/uninstall::
16391 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16392 install install-dev:: $ac_dir/install-dev
16393 __uninstall__: $ac_dir/uninstall"
16394 if test -n "$CROSSTARGET"
16395 then
16396 wine_fn_append_rule \
16397 "__builddeps__: $ac_file.cross.a
16398 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16399 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
16402 if test "$ac_name" != "$ac_implib"
16403 then
16404 wine_fn_append_rule \
16405 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16406 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16407 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16408 clean::
16409 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16410 if test -n "$CROSSTARGET"
16411 then
16412 wine_fn_append_rule \
16413 "__builddeps__: dlls/lib$ac_implib.cross.a
16414 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16415 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16421 wine_fn_config_program ()
16423 ac_name=$1
16424 ac_dir=programs/$ac_name
16425 ac_enable=$2
16426 ac_flags=$3
16427 ac_program=$ac_name
16429 case $ac_name in
16430 *.*) ;;
16431 *) ac_program=$ac_program.exe ;;
16432 esac
16434 ac_clean=
16435 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
16436 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16437 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
16438 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
16440 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16441 wine_fn_disabled_rules $ac_clean; return
16444 wine_fn_all_rules Make.rules.in
16445 wine_fn_clean_rules $ac_clean
16446 wine_fn_append_rule "$ac_dir: __builddeps__"
16447 wine_fn_pot_rules
16449 wine_fn_has_flag install || return
16450 wine_fn_append_rule \
16451 ".PHONY: $ac_dir/install $ac_dir/uninstall
16452 install install-lib:: $ac_dir/install
16453 __uninstall__: $ac_dir/uninstall"
16455 if test -n "$DLLEXT"
16456 then
16457 wine_fn_append_rule \
16458 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16459 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16460 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16461 $ac_dir/uninstall::
16462 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16464 if test -z "$with_wine64" && wine_fn_has_flag installbin
16465 then
16466 wine_fn_append_rule \
16467 "$ac_dir/install:: __tooldeps__ \$(DESTDIR)\$(bindir)
16468 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16469 $ac_dir/uninstall::
16470 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16472 else
16473 wine_fn_append_rule \
16474 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(bindir)
16475 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
16476 $ac_dir/uninstall::
16477 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
16480 if test -z "$with_wine64" && wine_fn_has_flag manpage
16481 then
16482 wine_fn_append_rule \
16483 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16484 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16485 $ac_dir/uninstall::
16486 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16490 wine_fn_config_test ()
16492 ac_dir=$1
16493 ac_name=$2
16494 ac_flags=$3
16496 ac_clean=
16497 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16498 test -n "$DLLEXT" || ac_clean=$ac_dir/${ac_name}.exe
16499 ac_clean="$ac_clean $ac_dir/testlist.c"
16501 if test "x$enable_tests" = xno; then :
16502 wine_fn_disabled_rules $ac_clean; return
16505 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
16506 wine_fn_all_rules Make.rules.in
16507 wine_fn_clean_rules $ac_clean
16509 wine_fn_append_rule \
16510 "$ac_dir: programs/winetest/Makefile __builddeps__
16511 programs/winetest: $ac_dir
16512 check test: $ac_dir/test
16513 .PHONY: $ac_dir/test
16514 $ac_dir/test: dummy
16515 @cd $ac_dir && \$(MAKE) test
16516 testclean::
16517 \$(RM) $ac_dir/*.ok"
16519 if test -n "$CROSSTARGET"
16520 then
16521 wine_fn_append_rule \
16522 "crosstest: $ac_dir/crosstest
16523 .PHONY: $ac_dir/crosstest
16524 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
16525 @cd $ac_dir && \$(MAKE) crosstest"
16529 wine_fn_config_tool ()
16531 ac_dir=$1
16532 ac_flags=$2
16533 if test "x$enable_tools" = xno; then :
16534 return
16537 wine_fn_all_rules
16538 wine_fn_install_rules
16539 wine_fn_clean_rules
16541 wine_fn_append_rule "__tooldeps__: $ac_dir"
16542 wine_fn_append_rule "$ac_dir: libs/port"
16543 case $ac_dir in
16544 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
16545 esac
16548 wine_fn_config_makerules ()
16550 ac_rules=$1
16551 ac_deps=$2
16552 wine_fn_append_rule \
16553 "$ac_rules: $ac_rules.in $ac_deps config.status
16554 @./config.status $ac_rules
16555 distclean::
16556 \$(RM) $ac_rules"
16559 wine_fn_config_symlink ()
16561 ac_linkdir=
16562 if test "x$1" = "x-d"
16563 then
16564 ac_linkdir=$2
16565 shift; shift
16567 ac_links=$@
16568 wine_fn_append_rule \
16569 "$ac_links:
16570 @./config.status \$@
16571 distclean::
16572 \$(RM) $ac_links"
16573 test -n "$ac_linkdir" || return
16574 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
16577 if test -z "$CROSSTARGET"
16578 then
16579 wine_fn_append_rule \
16580 "crosstest:
16581 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16583 wine_fn_append_rule "
16584 # Rules automatically generated by configure
16586 .INIT: Makefile
16587 .MAKEFILEDEPS:
16588 all: Makefile
16589 Makefile: Makefile.in Make.vars.in Make.rules config.status
16590 @./config.status Make.tmp Makefile"
16592 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16593 wine_fn_config_symlink -d dlls/shell32 dlls/shell32/AUTHORS
16594 if test "x$enable_fonts" != xno; then
16595 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16596 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16597 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16598 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16599 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16601 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16602 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16603 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16604 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16605 ac_config_links="$ac_config_links wine:tools/winewrapper"
16606 wine_fn_config_symlink wine
16607 if test "x$enable_win64" != xno; then
16608 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16609 wine_fn_config_symlink wine64
16612 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
16613 wine_fn_append_rule \
16614 "clean::
16615 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16616 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
16617 wine_fn_append_rule \
16618 "clean::
16619 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16620 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
16621 wine_fn_append_rule \
16622 "clean::
16623 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16624 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
16625 wine_fn_append_rule \
16626 "clean::
16627 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16628 ac_config_commands="$ac_config_commands dlls/user32/resources"
16629 wine_fn_append_rule \
16630 "clean::
16631 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16632 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
16633 wine_fn_append_rule \
16634 "clean::
16635 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16636 ac_config_commands="$ac_config_commands include/wine"
16637 wine_fn_append_rule \
16638 "clean::
16639 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16641 wine_fn_config_makerules Make.rules
16642 MAKE_RULES=Make.rules
16643 ac_config_files="$ac_config_files Make.rules"
16646 wine_fn_config_dll acledit enable_acledit
16647 wine_fn_config_dll aclui enable_aclui implib
16648 wine_fn_config_dll activeds enable_activeds implib
16649 wine_fn_config_dll actxprxy enable_actxprxy clean
16650 wine_fn_config_lib adsiid
16651 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16652 wine_fn_config_test dlls/advapi32/tests advapi32_test
16653 wine_fn_config_dll advpack enable_advpack implib
16654 wine_fn_config_test dlls/advpack/tests advpack_test
16655 wine_fn_config_dll amstream enable_amstream clean
16656 wine_fn_config_test dlls/amstream/tests amstream_test
16657 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16658 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16659 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16660 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16661 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16662 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16663 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16664 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16665 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16666 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16667 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16668 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16669 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16670 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16671 wine_fn_config_dll apphelp enable_apphelp
16672 wine_fn_config_test dlls/apphelp/tests apphelp_test
16673 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16674 wine_fn_config_dll atl enable_atl clean,implib
16675 wine_fn_config_test dlls/atl/tests atl_test
16676 wine_fn_config_dll atl100 enable_atl100 implib
16677 wine_fn_config_test dlls/atl100/tests atl100_test
16678 wine_fn_config_dll atl110 enable_atl110
16679 wine_fn_config_dll atl80 enable_atl80 implib
16680 wine_fn_config_test dlls/atl80/tests atl80_test
16681 wine_fn_config_dll authz enable_authz
16682 wine_fn_config_dll avicap32 enable_avicap32 implib
16683 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16684 wine_fn_config_test dlls/avifil32/tests avifil32_test
16685 wine_fn_config_dll avifile.dll16 enable_win16
16686 wine_fn_config_dll avrt enable_avrt implib
16687 wine_fn_config_dll bcrypt enable_bcrypt
16688 wine_fn_config_dll browseui enable_browseui clean,po
16689 wine_fn_config_test dlls/browseui/tests browseui_test
16690 wine_fn_config_dll cabinet enable_cabinet implib
16691 wine_fn_config_test dlls/cabinet/tests cabinet_test
16692 wine_fn_config_dll capi2032 enable_capi2032 implib
16693 wine_fn_config_dll cards enable_cards implib
16694 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16695 wine_fn_config_dll clusapi enable_clusapi implib
16696 wine_fn_config_dll comcat enable_comcat
16697 wine_fn_config_test dlls/comcat/tests comcat_test
16698 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16699 wine_fn_config_test dlls/comctl32/tests comctl32_test
16700 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16701 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16702 wine_fn_config_dll comm.drv16 enable_win16
16703 wine_fn_config_dll commdlg.dll16 enable_win16
16704 wine_fn_config_dll compobj.dll16 enable_win16
16705 wine_fn_config_dll compstui enable_compstui implib
16706 wine_fn_config_dll comsvcs enable_comsvcs implib
16707 wine_fn_config_dll credui enable_credui implib,po
16708 wine_fn_config_test dlls/credui/tests credui_test
16709 wine_fn_config_dll crtdll enable_crtdll implib
16710 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16711 wine_fn_config_test dlls/crypt32/tests crypt32_test
16712 wine_fn_config_dll cryptdlg enable_cryptdlg po
16713 wine_fn_config_dll cryptdll enable_cryptdll implib
16714 wine_fn_config_dll cryptnet enable_cryptnet implib
16715 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16716 wine_fn_config_dll cryptui enable_cryptui implib,po
16717 wine_fn_config_test dlls/cryptui/tests cryptui_test
16718 wine_fn_config_dll ctapi32 enable_ctapi32
16719 wine_fn_config_dll ctl3d.dll16 enable_win16
16720 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16721 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16722 wine_fn_config_dll d3d10 enable_d3d10 implib
16723 wine_fn_config_test dlls/d3d10/tests d3d10_test
16724 wine_fn_config_dll d3d10core enable_d3d10core implib
16725 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16726 wine_fn_config_dll d3d11 enable_d3d11
16727 wine_fn_config_dll d3d8 enable_d3d8 implib
16728 wine_fn_config_test dlls/d3d8/tests d3d8_test
16729 wine_fn_config_dll d3d9 enable_d3d9 implib
16730 wine_fn_config_test dlls/d3d9/tests d3d9_test
16731 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16732 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16733 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16734 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16735 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16736 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16737 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16738 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16739 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16740 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16741 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16742 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16743 wine_fn_config_dll d3dim enable_d3dim implib
16744 wine_fn_config_dll d3drm enable_d3drm implib
16745 wine_fn_config_test dlls/d3drm/tests d3drm_test
16746 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16747 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16748 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16749 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16750 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16751 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16752 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16753 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16754 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16755 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16756 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16757 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16758 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16759 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16760 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16761 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16762 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16763 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16764 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16765 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16766 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16767 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16768 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16769 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16770 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16771 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16772 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16773 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16774 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16775 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16776 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16777 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16778 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16779 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16780 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16781 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16782 wine_fn_config_dll dbgeng enable_dbgeng implib
16783 wine_fn_config_dll dbghelp enable_dbghelp implib
16784 wine_fn_config_dll dciman32 enable_dciman32 implib
16785 wine_fn_config_dll ddeml.dll16 enable_win16
16786 wine_fn_config_dll ddraw enable_ddraw clean,implib
16787 wine_fn_config_test dlls/ddraw/tests ddraw_test
16788 wine_fn_config_dll ddrawex enable_ddrawex clean
16789 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16790 wine_fn_config_dll devenum enable_devenum clean,po
16791 wine_fn_config_test dlls/devenum/tests devenum_test
16792 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16793 wine_fn_config_dll difxapi enable_difxapi
16794 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16795 wine_fn_config_test dlls/dinput/tests dinput_test
16796 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16797 wine_fn_config_test dlls/dinput8/tests dinput8_test
16798 wine_fn_config_dll dispdib.dll16 enable_win16
16799 wine_fn_config_dll dispex enable_dispex clean
16800 wine_fn_config_test dlls/dispex/tests dispex_test
16801 wine_fn_config_dll display.drv16 enable_win16
16802 wine_fn_config_dll dmband enable_dmband clean
16803 wine_fn_config_test dlls/dmband/tests dmband_test
16804 wine_fn_config_dll dmcompos enable_dmcompos clean
16805 wine_fn_config_dll dmime enable_dmime clean
16806 wine_fn_config_test dlls/dmime/tests dmime_test
16807 wine_fn_config_dll dmloader enable_dmloader clean
16808 wine_fn_config_test dlls/dmloader/tests dmloader_test
16809 wine_fn_config_dll dmscript enable_dmscript clean
16810 wine_fn_config_dll dmstyle enable_dmstyle clean
16811 wine_fn_config_dll dmsynth enable_dmsynth clean
16812 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16813 wine_fn_config_dll dmusic enable_dmusic clean
16814 wine_fn_config_test dlls/dmusic/tests dmusic_test
16815 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16816 wine_fn_config_dll dnsapi enable_dnsapi implib
16817 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16818 wine_fn_config_dll dplay enable_dplay implib
16819 wine_fn_config_dll dplayx enable_dplayx clean,implib
16820 wine_fn_config_test dlls/dplayx/tests dplayx_test
16821 wine_fn_config_dll dpnaddr enable_dpnaddr
16822 wine_fn_config_dll dpnet enable_dpnet clean,implib
16823 wine_fn_config_test dlls/dpnet/tests dpnet_test
16824 wine_fn_config_dll dpnhpast enable_dpnhpast
16825 wine_fn_config_dll dpnlobby enable_dpnlobby
16826 wine_fn_config_dll dpwsockx enable_dpwsockx
16827 wine_fn_config_dll drmclien enable_drmclien
16828 wine_fn_config_dll dsound enable_dsound clean,implib
16829 wine_fn_config_test dlls/dsound/tests dsound_test
16830 wine_fn_config_dll dssenh enable_dssenh
16831 wine_fn_config_test dlls/dssenh/tests dssenh_test
16832 wine_fn_config_dll dswave enable_dswave clean
16833 wine_fn_config_dll dwmapi enable_dwmapi implib
16834 wine_fn_config_dll dwrite enable_dwrite implib
16835 wine_fn_config_test dlls/dwrite/tests dwrite_test
16836 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16837 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16838 wine_fn_config_lib dxerr8
16839 wine_fn_config_lib dxerr9
16840 wine_fn_config_dll dxgi enable_dxgi implib
16841 wine_fn_config_test dlls/dxgi/tests dxgi_test
16842 wine_fn_config_lib dxguid
16843 wine_fn_config_dll explorerframe enable_explorerframe clean
16844 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16845 wine_fn_config_dll faultrep enable_faultrep implib
16846 wine_fn_config_test dlls/faultrep/tests faultrep_test
16847 wine_fn_config_dll fltlib enable_fltlib
16848 wine_fn_config_dll fusion enable_fusion
16849 wine_fn_config_test dlls/fusion/tests fusion_test
16850 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16851 wine_fn_config_dll gameux enable_gameux clean
16852 wine_fn_config_test dlls/gameux/tests gameux_test
16853 wine_fn_config_dll gdi.exe16 enable_win16
16854 wine_fn_config_dll gdi32 enable_gdi32 implib,po
16855 wine_fn_config_test dlls/gdi32/tests gdi32_test
16856 wine_fn_config_dll gdiplus enable_gdiplus implib
16857 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16858 wine_fn_config_dll glu32 enable_glu32 implib
16859 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16860 wine_fn_config_dll gpkcsp enable_gpkcsp
16861 wine_fn_config_dll hal enable_hal
16862 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16863 wine_fn_config_dll hid enable_hid implib
16864 wine_fn_config_dll hlink enable_hlink clean,implib
16865 wine_fn_config_test dlls/hlink/tests hlink_test
16866 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16867 wine_fn_config_dll httpapi enable_httpapi
16868 wine_fn_config_dll iccvid enable_iccvid po
16869 wine_fn_config_dll icmp enable_icmp
16870 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16871 wine_fn_config_test dlls/ieframe/tests ieframe_test
16872 wine_fn_config_dll ifsmgr.vxd enable_win16
16873 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16874 wine_fn_config_dll imagehlp enable_imagehlp implib
16875 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16876 wine_fn_config_dll imm.dll16 enable_win16
16877 wine_fn_config_dll imm32 enable_imm32 implib
16878 wine_fn_config_test dlls/imm32/tests imm32_test
16879 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16880 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16881 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16882 wine_fn_config_dll inetmib1 enable_inetmib1
16883 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16884 wine_fn_config_dll infosoft enable_infosoft clean
16885 wine_fn_config_test dlls/infosoft/tests infosoft_test
16886 wine_fn_config_dll initpki enable_initpki
16887 wine_fn_config_dll inkobj enable_inkobj
16888 wine_fn_config_dll inseng enable_inseng clean
16889 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16890 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16891 wine_fn_config_dll itircl enable_itircl
16892 wine_fn_config_dll itss enable_itss clean
16893 wine_fn_config_test dlls/itss/tests itss_test
16894 wine_fn_config_dll joy.cpl enable_joy_cpl po
16895 wine_fn_config_dll jscript enable_jscript clean,po
16896 wine_fn_config_test dlls/jscript/tests jscript_test
16897 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
16898 wine_fn_config_test dlls/kernel32/tests kernel32_test
16899 wine_fn_config_dll keyboard.drv16 enable_win16
16900 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16901 wine_fn_config_dll ktmw32 enable_ktmw32
16902 wine_fn_config_dll loadperf enable_loadperf implib
16903 wine_fn_config_dll localspl enable_localspl po
16904 wine_fn_config_test dlls/localspl/tests localspl_test
16905 wine_fn_config_dll localui enable_localui po
16906 wine_fn_config_test dlls/localui/tests localui_test
16907 wine_fn_config_dll lz32 enable_lz32 implib
16908 wine_fn_config_test dlls/lz32/tests lz32_test
16909 wine_fn_config_dll lzexpand.dll16 enable_win16
16910 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16911 wine_fn_config_test dlls/mapi32/tests mapi32_test
16912 wine_fn_config_dll mapistub enable_mapistub
16913 wine_fn_config_dll mciavi32 enable_mciavi32
16914 wine_fn_config_dll mcicda enable_mcicda
16915 wine_fn_config_dll mciqtz32 enable_mciqtz32
16916 wine_fn_config_dll mciseq enable_mciseq
16917 wine_fn_config_dll mciwave enable_mciwave
16918 wine_fn_config_dll mgmtapi enable_mgmtapi
16919 wine_fn_config_dll midimap enable_midimap
16920 wine_fn_config_dll mlang enable_mlang clean,implib
16921 wine_fn_config_test dlls/mlang/tests mlang_test
16922 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16923 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16924 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16925 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16926 wine_fn_config_dll mmdevldr.vxd enable_win16
16927 wine_fn_config_dll mmsystem.dll16 enable_win16
16928 wine_fn_config_dll monodebg.vxd enable_win16
16929 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16930 wine_fn_config_dll mouse.drv16 enable_win16
16931 wine_fn_config_dll mpr enable_mpr implib,po
16932 wine_fn_config_test dlls/mpr/tests mpr_test
16933 wine_fn_config_dll mprapi enable_mprapi implib
16934 wine_fn_config_dll msacm.dll16 enable_win16
16935 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16936 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16937 wine_fn_config_test dlls/msacm32/tests msacm32_test
16938 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16939 wine_fn_config_dll mscat32 enable_mscat32
16940 wine_fn_config_dll mscms enable_mscms implib
16941 wine_fn_config_test dlls/mscms/tests mscms_test
16942 wine_fn_config_dll mscoree enable_mscoree clean
16943 wine_fn_config_test dlls/mscoree/tests mscoree_test
16944 wine_fn_config_dll msctf enable_msctf clean
16945 wine_fn_config_test dlls/msctf/tests msctf_test
16946 wine_fn_config_dll msdaps enable_msdaps clean
16947 wine_fn_config_dll msdmo enable_msdmo implib
16948 wine_fn_config_dll msftedit enable_msftedit
16949 wine_fn_config_dll msg711.acm enable_msg711_acm
16950 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16951 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16952 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16953 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16954 wine_fn_config_dll msi enable_msi clean,implib,po
16955 wine_fn_config_test dlls/msi/tests msi_test
16956 wine_fn_config_dll msident enable_msident clean
16957 wine_fn_config_dll msimg32 enable_msimg32 implib
16958 wine_fn_config_dll msimsg enable_msimsg
16959 wine_fn_config_dll msimtf enable_msimtf clean
16960 wine_fn_config_dll msisip enable_msisip
16961 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16962 wine_fn_config_dll msls31 enable_msls31
16963 wine_fn_config_dll msnet32 enable_msnet32
16964 wine_fn_config_dll mspatcha enable_mspatcha
16965 wine_fn_config_dll msrle32 enable_msrle32 po
16966 wine_fn_config_dll mssign32 enable_mssign32
16967 wine_fn_config_dll mssip32 enable_mssip32
16968 wine_fn_config_dll mstask enable_mstask clean
16969 wine_fn_config_test dlls/mstask/tests mstask_test
16970 wine_fn_config_dll msvcirt enable_msvcirt
16971 wine_fn_config_dll msvcm80 enable_msvcm80
16972 wine_fn_config_dll msvcm90 enable_msvcm90
16973 wine_fn_config_dll msvcp100 enable_msvcp100
16974 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16975 wine_fn_config_dll msvcp110 enable_msvcp110
16976 wine_fn_config_dll msvcp60 enable_msvcp60
16977 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16978 wine_fn_config_dll msvcp70 enable_msvcp70
16979 wine_fn_config_dll msvcp71 enable_msvcp71
16980 wine_fn_config_dll msvcp80 enable_msvcp80
16981 wine_fn_config_dll msvcp90 enable_msvcp90
16982 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16983 wine_fn_config_dll msvcr100 enable_msvcr100
16984 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16985 wine_fn_config_dll msvcr110 enable_msvcr110
16986 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16987 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16988 wine_fn_config_dll msvcr80 enable_msvcr80
16989 wine_fn_config_dll msvcr90 enable_msvcr90
16990 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16991 wine_fn_config_dll msvcrt enable_msvcrt implib
16992 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16993 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16994 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16995 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16996 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16997 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16998 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16999 wine_fn_config_dll msvidc32 enable_msvidc32 po
17000 wine_fn_config_dll msvideo.dll16 enable_win16
17001 wine_fn_config_dll mswsock enable_mswsock implib
17002 wine_fn_config_dll msxml enable_msxml clean
17003 wine_fn_config_dll msxml2 enable_msxml2 clean
17004 wine_fn_config_dll msxml3 enable_msxml3 clean
17005 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17006 wine_fn_config_dll msxml4 enable_msxml4 clean
17007 wine_fn_config_dll msxml6 enable_msxml6 clean
17008 wine_fn_config_dll nddeapi enable_nddeapi implib
17009 wine_fn_config_dll netapi32 enable_netapi32 implib
17010 wine_fn_config_test dlls/netapi32/tests netapi32_test
17011 wine_fn_config_dll netcfgx enable_netcfgx
17012 wine_fn_config_dll newdev enable_newdev implib
17013 wine_fn_config_dll normaliz enable_normaliz implib
17014 wine_fn_config_dll npmshtml enable_npmshtml
17015 wine_fn_config_dll ntdll enable_ntdll implib
17016 wine_fn_config_test dlls/ntdll/tests ntdll_test
17017 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17018 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17019 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17020 wine_fn_config_dll ntprint enable_ntprint
17021 wine_fn_config_test dlls/ntprint/tests ntprint_test
17022 wine_fn_config_dll objsel enable_objsel clean
17023 wine_fn_config_dll odbc32 enable_odbc32 implib
17024 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17025 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17026 wine_fn_config_dll odbccu32 enable_odbccu32
17027 wine_fn_config_dll ole2.dll16 enable_win16
17028 wine_fn_config_dll ole2conv.dll16 enable_win16
17029 wine_fn_config_dll ole2disp.dll16 enable_win16
17030 wine_fn_config_dll ole2nls.dll16 enable_win16
17031 wine_fn_config_dll ole2prox.dll16 enable_win16
17032 wine_fn_config_dll ole2thk.dll16 enable_win16
17033 wine_fn_config_dll ole32 enable_ole32 clean,implib
17034 wine_fn_config_test dlls/ole32/tests ole32_test
17035 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17036 wine_fn_config_test dlls/oleacc/tests oleacc_test
17037 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17038 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17039 wine_fn_config_dll olecli.dll16 enable_win16
17040 wine_fn_config_dll olecli32 enable_olecli32 implib
17041 wine_fn_config_dll oledb32 enable_oledb32 clean
17042 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17043 wine_fn_config_dll oledlg enable_oledlg implib,po
17044 wine_fn_config_dll olepro32 enable_olepro32 implib
17045 wine_fn_config_dll olesvr.dll16 enable_win16
17046 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17047 wine_fn_config_dll olethk32 enable_olethk32
17048 wine_fn_config_dll openal32 enable_openal32
17049 wine_fn_config_dll opencl enable_opencl
17050 wine_fn_config_dll opengl32 enable_opengl32 implib
17051 wine_fn_config_test dlls/opengl32/tests opengl32_test
17052 wine_fn_config_dll pdh enable_pdh implib
17053 wine_fn_config_test dlls/pdh/tests pdh_test
17054 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17055 wine_fn_config_dll pidgen enable_pidgen
17056 wine_fn_config_dll powrprof enable_powrprof implib
17057 wine_fn_config_dll printui enable_printui
17058 wine_fn_config_dll propsys enable_propsys clean,implib
17059 wine_fn_config_test dlls/propsys/tests propsys_test
17060 wine_fn_config_dll psapi enable_psapi implib
17061 wine_fn_config_test dlls/psapi/tests psapi_test
17062 wine_fn_config_dll pstorec enable_pstorec clean
17063 wine_fn_config_dll qcap enable_qcap
17064 wine_fn_config_test dlls/qcap/tests qcap_test
17065 wine_fn_config_dll qedit enable_qedit clean
17066 wine_fn_config_test dlls/qedit/tests qedit_test
17067 wine_fn_config_dll qmgr enable_qmgr clean
17068 wine_fn_config_test dlls/qmgr/tests qmgr_test
17069 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17070 wine_fn_config_dll quartz enable_quartz clean,implib
17071 wine_fn_config_test dlls/quartz/tests quartz_test clean
17072 wine_fn_config_dll query enable_query
17073 wine_fn_config_dll rasapi16.dll16 enable_win16
17074 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17075 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17076 wine_fn_config_dll rasdlg enable_rasdlg implib
17077 wine_fn_config_dll regapi enable_regapi
17078 wine_fn_config_dll resutils enable_resutils implib
17079 wine_fn_config_dll riched20 enable_riched20 implib
17080 wine_fn_config_test dlls/riched20/tests riched20_test
17081 wine_fn_config_dll riched32 enable_riched32
17082 wine_fn_config_test dlls/riched32/tests riched32_test
17083 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17084 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17085 wine_fn_config_dll rsabase enable_rsabase
17086 wine_fn_config_dll rsaenh enable_rsaenh implib
17087 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17088 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17089 wine_fn_config_dll rtutils enable_rtutils implib
17090 wine_fn_config_dll samlib enable_samlib
17091 wine_fn_config_dll sane.ds enable_sane_ds po
17092 wine_fn_config_dll scarddlg enable_scarddlg
17093 wine_fn_config_dll sccbase enable_sccbase
17094 wine_fn_config_dll schannel enable_schannel
17095 wine_fn_config_test dlls/schannel/tests schannel_test
17096 wine_fn_config_dll scrrun enable_scrrun clean
17097 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17098 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17099 wine_fn_config_dll secur32 enable_secur32 implib
17100 wine_fn_config_test dlls/secur32/tests secur32_test
17101 wine_fn_config_dll security enable_security
17102 wine_fn_config_dll sensapi enable_sensapi implib
17103 wine_fn_config_dll serialui enable_serialui implib,po
17104 wine_fn_config_test dlls/serialui/tests serialui_test
17105 wine_fn_config_dll setupapi enable_setupapi implib,po
17106 wine_fn_config_test dlls/setupapi/tests setupapi_test
17107 wine_fn_config_dll setupx.dll16 enable_win16
17108 wine_fn_config_dll sfc enable_sfc implib
17109 wine_fn_config_dll sfc_os enable_sfc_os implib
17110 wine_fn_config_dll shdoclc enable_shdoclc po
17111 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17112 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17113 wine_fn_config_dll shell.dll16 enable_win16
17114 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17115 wine_fn_config_test dlls/shell32/tests shell32_test
17116 wine_fn_config_dll shfolder enable_shfolder implib
17117 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17118 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17119 wine_fn_config_dll slbcsp enable_slbcsp
17120 wine_fn_config_dll slc enable_slc implib
17121 wine_fn_config_dll snmpapi enable_snmpapi implib
17122 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17123 wine_fn_config_dll softpub enable_softpub
17124 wine_fn_config_dll sound.drv16 enable_win16
17125 wine_fn_config_dll spoolss enable_spoolss implib
17126 wine_fn_config_test dlls/spoolss/tests spoolss_test
17127 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17128 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17129 wine_fn_config_dll sti enable_sti clean,implib
17130 wine_fn_config_test dlls/sti/tests sti_test
17131 wine_fn_config_dll storage.dll16 enable_win16
17132 wine_fn_config_dll stress.dll16 enable_win16
17133 wine_fn_config_lib strmbase
17134 wine_fn_config_lib strmiids
17135 wine_fn_config_dll svrapi enable_svrapi
17136 wine_fn_config_dll sxs enable_sxs implib
17137 wine_fn_config_test dlls/sxs/tests sxs_test
17138 wine_fn_config_dll system.drv16 enable_win16
17139 wine_fn_config_dll t2embed enable_t2embed
17140 wine_fn_config_dll tapi32 enable_tapi32 implib
17141 wine_fn_config_dll toolhelp.dll16 enable_win16
17142 wine_fn_config_dll traffic enable_traffic
17143 wine_fn_config_dll twain.dll16 enable_win16
17144 wine_fn_config_dll twain_32 enable_twain_32
17145 wine_fn_config_test dlls/twain_32/tests twain_32_test
17146 wine_fn_config_dll typelib.dll16 enable_win16
17147 wine_fn_config_dll unicows enable_unicows implib
17148 wine_fn_config_dll updspapi enable_updspapi
17149 wine_fn_config_dll url enable_url implib
17150 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17151 wine_fn_config_test dlls/urlmon/tests urlmon_test
17152 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17153 wine_fn_config_dll user.exe16 enable_win16
17154 wine_fn_config_dll user32 enable_user32 implib,po
17155 wine_fn_config_test dlls/user32/tests user32_test
17156 wine_fn_config_dll userenv enable_userenv implib
17157 wine_fn_config_test dlls/userenv/tests userenv_test
17158 wine_fn_config_dll usp10 enable_usp10 implib
17159 wine_fn_config_test dlls/usp10/tests usp10_test
17160 wine_fn_config_lib uuid
17161 wine_fn_config_dll uxtheme enable_uxtheme implib
17162 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17163 wine_fn_config_dll vbscript enable_vbscript clean
17164 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17165 wine_fn_config_dll vcomp enable_vcomp
17166 wine_fn_config_dll vcomp100 enable_vcomp100
17167 wine_fn_config_dll vcomp90 enable_vcomp90
17168 wine_fn_config_dll vdhcp.vxd enable_win16
17169 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17170 wine_fn_config_dll ver.dll16 enable_win16
17171 wine_fn_config_dll version enable_version implib
17172 wine_fn_config_test dlls/version/tests version_test
17173 wine_fn_config_dll vmm.vxd enable_win16
17174 wine_fn_config_dll vnbt.vxd enable_win16
17175 wine_fn_config_dll vnetbios.vxd enable_win16
17176 wine_fn_config_dll vtdapi.vxd enable_win16
17177 wine_fn_config_dll vwin32.vxd enable_win16
17178 wine_fn_config_dll w32skrnl enable_win16
17179 wine_fn_config_dll w32sys.dll16 enable_win16
17180 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17181 wine_fn_config_dll wbemprox enable_wbemprox clean
17182 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17183 wine_fn_config_dll webservices enable_webservices implib
17184 wine_fn_config_dll wer enable_wer implib
17185 wine_fn_config_test dlls/wer/tests wer_test
17186 wine_fn_config_dll wevtapi enable_wevtapi
17187 wine_fn_config_dll wiaservc enable_wiaservc clean
17188 wine_fn_config_dll win32s16.dll16 enable_win16
17189 wine_fn_config_dll win87em.dll16 enable_win16
17190 wine_fn_config_dll winaspi.dll16 enable_win16
17191 wine_fn_config_dll windebug.dll16 enable_win16
17192 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17193 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17194 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17195 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17196 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17197 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17198 wine_fn_config_lib winecrt0
17199 wine_fn_config_dll wined3d enable_wined3d implib
17200 wine_fn_config_dll winegstreamer enable_winegstreamer
17201 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17202 wine_fn_config_dll winemac.drv enable_winemac_drv
17203 wine_fn_config_dll winemapi enable_winemapi
17204 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17205 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17206 wine_fn_config_dll wineps.drv enable_wineps_drv po
17207 wine_fn_config_dll wineps16.drv16 enable_win16
17208 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17209 wine_fn_config_dll winex11.drv enable_winex11_drv
17210 wine_fn_config_dll wing.dll16 enable_win16
17211 wine_fn_config_dll wing32 enable_wing32
17212 wine_fn_config_dll winhttp enable_winhttp clean,implib
17213 wine_fn_config_test dlls/winhttp/tests winhttp_test
17214 wine_fn_config_dll wininet enable_wininet implib,po
17215 wine_fn_config_test dlls/wininet/tests wininet_test
17216 wine_fn_config_dll winmm enable_winmm implib,po
17217 wine_fn_config_test dlls/winmm/tests winmm_test
17218 wine_fn_config_dll winnls.dll16 enable_win16
17219 wine_fn_config_dll winnls32 enable_winnls32 implib
17220 wine_fn_config_dll winscard enable_winscard implib
17221 wine_fn_config_dll winsock.dll16 enable_win16
17222 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17223 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17224 wine_fn_config_dll winsta enable_winsta
17225 wine_fn_config_dll wintab.dll16 enable_win16
17226 wine_fn_config_dll wintab32 enable_wintab32 implib
17227 wine_fn_config_test dlls/wintab32/tests wintab32_test
17228 wine_fn_config_dll wintrust enable_wintrust implib
17229 wine_fn_config_test dlls/wintrust/tests wintrust_test
17230 wine_fn_config_dll wlanapi enable_wlanapi
17231 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17232 wine_fn_config_test dlls/wldap32/tests wldap32_test
17233 wine_fn_config_dll wmi enable_wmi
17234 wine_fn_config_dll wmiutils enable_wmiutils clean
17235 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17236 wine_fn_config_dll wmvcore enable_wmvcore
17237 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17238 wine_fn_config_dll wow32 enable_win16 implib
17239 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17240 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17241 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17242 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17243 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17244 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17245 wine_fn_config_dll wsock32 enable_wsock32 implib
17246 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17247 wine_fn_config_dll wuapi enable_wuapi clean
17248 wine_fn_config_dll wuaueng enable_wuaueng
17249 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17250 wine_fn_config_dll xinput1_1 enable_xinput1_1
17251 wine_fn_config_dll xinput1_2 enable_xinput1_2
17252 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17253 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17254 wine_fn_config_dll xinput1_4 enable_xinput1_4
17255 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17256 wine_fn_config_dll xmllite enable_xmllite
17257 wine_fn_config_test dlls/xmllite/tests xmllite_test
17258 wine_fn_config_dll xolehlp enable_xolehlp
17259 wine_fn_config_dll xpsprint enable_xpsprint
17260 wine_fn_config_dll xpssvcs enable_xpssvcs
17261 wine_fn_config_makefile documentation enable_documentation clean
17262 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17263 wine_fn_config_makefile include enable_include clean,install-dev
17264 wine_fn_config_makefile libs/port enable_libs_port
17265 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17266 wine_fn_config_makefile libs/wpp enable_libs_wpp
17267 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17268 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17269 wine_fn_config_program attrib enable_attrib install,po
17270 wine_fn_config_program cabarc enable_cabarc install
17271 wine_fn_config_program cacls enable_cacls install
17272 wine_fn_config_program clock enable_clock install,po
17273 wine_fn_config_program cmd enable_cmd install,po
17274 wine_fn_config_test programs/cmd/tests cmd.exe_test
17275 wine_fn_config_program conhost enable_conhost install
17276 wine_fn_config_program control enable_control install
17277 wine_fn_config_program cscript enable_cscript install
17278 wine_fn_config_program dxdiag enable_dxdiag install,po
17279 wine_fn_config_program eject enable_eject install
17280 wine_fn_config_program expand enable_expand install
17281 wine_fn_config_program explorer enable_explorer install,po
17282 wine_fn_config_program extrac32 enable_extrac32 install
17283 wine_fn_config_program findstr enable_findstr install
17284 wine_fn_config_program hh enable_hh install
17285 wine_fn_config_program hostname enable_hostname install,po
17286 wine_fn_config_program icinfo enable_icinfo install
17287 wine_fn_config_program iexplore enable_iexplore install
17288 wine_fn_config_program ipconfig enable_ipconfig install,po
17289 wine_fn_config_program lodctr enable_lodctr install
17290 wine_fn_config_program mofcomp enable_mofcomp install
17291 wine_fn_config_program mshta enable_mshta install
17292 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17293 wine_fn_config_program net enable_net install,po
17294 wine_fn_config_program netsh enable_netsh install
17295 wine_fn_config_program netstat enable_netstat install,po
17296 wine_fn_config_program ngen enable_ngen install
17297 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17298 wine_fn_config_program oleview enable_oleview install,po
17299 wine_fn_config_program ping enable_ping install
17300 wine_fn_config_program plugplay enable_plugplay install
17301 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17302 wine_fn_config_program progman enable_progman install,po
17303 wine_fn_config_program reg enable_reg install,po
17304 wine_fn_config_program regasm enable_regasm install
17305 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17306 wine_fn_config_test programs/regedit/tests regedit.exe_test
17307 wine_fn_config_program regsvcs enable_regsvcs install
17308 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17309 wine_fn_config_program rpcss enable_rpcss clean,install
17310 wine_fn_config_program rundll.exe16 enable_win16 install
17311 wine_fn_config_program rundll32 enable_rundll32 install
17312 wine_fn_config_program sc enable_sc install
17313 wine_fn_config_program schtasks enable_schtasks install
17314 wine_fn_config_program secedit enable_secedit install
17315 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17316 wine_fn_config_program services enable_services clean,install
17317 wine_fn_config_test programs/services/tests services.exe_test
17318 wine_fn_config_program spoolsv enable_spoolsv install
17319 wine_fn_config_program start enable_start install,po
17320 wine_fn_config_program svchost enable_svchost install
17321 wine_fn_config_program taskkill enable_taskkill install,po
17322 wine_fn_config_program tasklist enable_tasklist install
17323 wine_fn_config_program taskmgr enable_taskmgr install,po
17324 wine_fn_config_program termsv enable_termsv install
17325 wine_fn_config_program uninstaller enable_uninstaller install,po
17326 wine_fn_config_program unlodctr enable_unlodctr install
17327 wine_fn_config_program view enable_view install,po
17328 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17329 wine_fn_config_program winebrowser enable_winebrowser install
17330 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17331 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17332 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17333 wine_fn_config_program winedevice enable_winedevice install
17334 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17335 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17336 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17337 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17338 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17339 wine_fn_config_program winetest enable_winetest clean
17340 wine_fn_config_program winevdm enable_win16 install
17341 wine_fn_config_program winhelp.exe16 enable_win16 install
17342 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17343 wine_fn_config_program winoldap.mod16 enable_win16 install
17344 wine_fn_config_program winver enable_winver install
17345 wine_fn_config_program wmic enable_wmic install,po
17346 wine_fn_config_program wordpad enable_wordpad install,po
17347 wine_fn_config_program write enable_write install,po
17348 wine_fn_config_program wscript enable_wscript clean,install
17349 wine_fn_config_test programs/wscript/tests wscript.exe_test
17350 wine_fn_config_program wusa enable_wusa install
17351 wine_fn_config_program xcopy enable_xcopy install,po
17352 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17353 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17354 wine_fn_config_tool tools/widl clean,install-dev,manpage
17355 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17356 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17357 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17358 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17359 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17361 LINGUAS="\
17362 ar \
17363 bg \
17364 ca \
17365 cs \
17366 da \
17367 de \
17368 el \
17369 en \
17370 en_US \
17371 eo \
17372 es \
17373 fa \
17374 fi \
17375 fr \
17376 he \
17377 hi \
17378 hr \
17379 hu \
17380 it \
17381 ja \
17382 ko \
17383 lt \
17384 ml \
17385 nb_NO \
17386 nl \
17387 or \
17388 pa \
17389 pl \
17390 pt_BR \
17391 pt_PT \
17392 rm \
17393 ro \
17394 ru \
17395 sk \
17396 sl \
17397 sr_RS@cyrillic \
17398 sr_RS@latin \
17399 sv \
17400 te \
17401 th \
17402 tr \
17403 uk \
17404 wa \
17405 zh_CN \
17406 zh_TW"
17410 ac_config_commands="$ac_config_commands Makefile"
17413 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17417 if test "x$enable_maintainer_mode" = xyes
17418 then
17419 wine_fn_append_rule "\$(srcdir)/configure: configure.ac aclocal.m4
17420 cd \$(srcdir) && autoconf --warnings=all
17421 \$(srcdir)/include/config.h.in: include/stamp-h.in
17422 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
17423 cd \$(srcdir) && autoheader --warnings=all
17424 @echo timestamp > \$@"
17427 if test "x$with_gettextpo" = xyes
17428 then
17429 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17430 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17431 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
17432 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17433 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
17434 msgcat -o \$@ \$(ALL_POT_FILES)"
17437 if test "$MSGFMT" != false
17438 then
17439 PORCFLAGS="--po-dir=\$(top_builddir)/po"
17441 wine_fn_append_rule "__builddeps__: \$(ALL_MO_FILES)"
17442 else
17443 LINGUAS=
17446 if test "x$enable_tools" != xno
17447 then
17448 wine_fn_append_rule "\$(MAKEDEP): tools/Makefile
17449 clean:: __clean__
17450 \$(RM) tools/makedep\$(EXEEXT)"
17453 if test -n "$with_wine64"
17454 then
17455 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17456 fonts server tools:
17457 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17458 $with_wine64/loader/wine:
17459 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17460 $with_wine64/loader/wine-preloader:
17461 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17462 clean::
17463 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17464 else
17465 as_fn_append LOADER_RULES "
17466 all: wine.inf
17468 wine.inf: wine.inf.in \$(top_builddir)/include/config.h
17469 LC_ALL=C sed -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' \$(srcdir)/wine.inf.in >\$@ || (\$(RM) \$@ && false)
17471 install install-lib:: wine.inf \$(DESTDIR)\$(datadir)/wine install-man-pages
17472 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17473 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17475 uninstall::
17476 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17480 $as_echo " done" >&6
17481 cat >confcache <<\_ACEOF
17482 # This file is a shell script that caches the results of configure
17483 # tests run on this system so they can be shared between configure
17484 # scripts and configure runs, see configure's option --config-cache.
17485 # It is not useful on other systems. If it contains results you don't
17486 # want to keep, you may remove or edit it.
17488 # config.status only pays attention to the cache file if you give it
17489 # the --recheck option to rerun configure.
17491 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17492 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17493 # following values.
17495 _ACEOF
17497 # The following way of writing the cache mishandles newlines in values,
17498 # but we know of no workaround that is simple, portable, and efficient.
17499 # So, we kill variables containing newlines.
17500 # Ultrix sh set writes to stderr and can't be redirected directly,
17501 # and sets the high bit in the cache file unless we assign to the vars.
17503 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17504 eval ac_val=\$$ac_var
17505 case $ac_val in #(
17506 *${as_nl}*)
17507 case $ac_var in #(
17508 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17509 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17510 esac
17511 case $ac_var in #(
17512 _ | IFS | as_nl) ;; #(
17513 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17514 *) { eval $ac_var=; unset $ac_var;} ;;
17515 esac ;;
17516 esac
17517 done
17519 (set) 2>&1 |
17520 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17521 *${as_nl}ac_space=\ *)
17522 # `set' does not quote correctly, so add quotes: double-quote
17523 # substitution turns \\\\ into \\, and sed turns \\ into \.
17524 sed -n \
17525 "s/'/'\\\\''/g;
17526 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17527 ;; #(
17529 # `set' quotes correctly as required by POSIX, so do not add quotes.
17530 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17532 esac |
17533 sort
17535 sed '
17536 /^ac_cv_env_/b end
17537 t clear
17538 :clear
17539 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17540 t end
17541 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17542 :end' >>confcache
17543 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17544 if test -w "$cache_file"; then
17545 if test "x$cache_file" != "x/dev/null"; then
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17547 $as_echo "$as_me: updating cache $cache_file" >&6;}
17548 if test ! -f "$cache_file" || test -h "$cache_file"; then
17549 cat confcache >"$cache_file"
17550 else
17551 case $cache_file in #(
17552 */* | ?:*)
17553 mv -f confcache "$cache_file"$$ &&
17554 mv -f "$cache_file"$$ "$cache_file" ;; #(
17556 mv -f confcache "$cache_file" ;;
17557 esac
17560 else
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17562 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17565 rm -f confcache
17567 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17568 # Let make expand exec_prefix.
17569 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17571 DEFS=-DHAVE_CONFIG_H
17573 ac_libobjs=
17574 ac_ltlibobjs=
17576 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17577 # 1. Remove the extension, and $U if already installed.
17578 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17579 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17580 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17581 # will be set to the directory where LIBOBJS objects are built.
17582 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17583 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17584 done
17585 LIBOBJS=$ac_libobjs
17587 LTLIBOBJS=$ac_ltlibobjs
17591 : "${CONFIG_STATUS=./config.status}"
17592 ac_write_fail=0
17593 ac_clean_files_save=$ac_clean_files
17594 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17596 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17597 as_write_fail=0
17598 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17599 #! $SHELL
17600 # Generated by $as_me.
17601 # Run this file to recreate the current configuration.
17602 # Compiler output produced by configure, useful for debugging
17603 # configure, is in config.log if it exists.
17605 debug=false
17606 ac_cs_recheck=false
17607 ac_cs_silent=false
17609 SHELL=\${CONFIG_SHELL-$SHELL}
17610 export SHELL
17611 _ASEOF
17612 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17613 ## -------------------- ##
17614 ## M4sh Initialization. ##
17615 ## -------------------- ##
17617 # Be more Bourne compatible
17618 DUALCASE=1; export DUALCASE # for MKS sh
17619 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17620 emulate sh
17621 NULLCMD=:
17622 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17623 # is contrary to our usage. Disable this feature.
17624 alias -g '${1+"$@"}'='"$@"'
17625 setopt NO_GLOB_SUBST
17626 else
17627 case `(set -o) 2>/dev/null` in #(
17628 *posix*) :
17629 set -o posix ;; #(
17630 *) :
17632 esac
17636 as_nl='
17638 export as_nl
17639 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17640 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17641 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17643 # Prefer a ksh shell builtin over an external printf program on Solaris,
17644 # but without wasting forks for bash or zsh.
17645 if test -z "$BASH_VERSION$ZSH_VERSION" \
17646 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17647 as_echo='print -r --'
17648 as_echo_n='print -rn --'
17649 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17650 as_echo='printf %s\n'
17651 as_echo_n='printf %s'
17652 else
17653 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17654 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17655 as_echo_n='/usr/ucb/echo -n'
17656 else
17657 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17658 as_echo_n_body='eval
17659 arg=$1;
17660 case $arg in #(
17661 *"$as_nl"*)
17662 expr "X$arg" : "X\\(.*\\)$as_nl";
17663 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17664 esac;
17665 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17667 export as_echo_n_body
17668 as_echo_n='sh -c $as_echo_n_body as_echo'
17670 export as_echo_body
17671 as_echo='sh -c $as_echo_body as_echo'
17674 # The user is always right.
17675 if test "${PATH_SEPARATOR+set}" != set; then
17676 PATH_SEPARATOR=:
17677 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17678 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17679 PATH_SEPARATOR=';'
17684 # IFS
17685 # We need space, tab and new line, in precisely that order. Quoting is
17686 # there to prevent editors from complaining about space-tab.
17687 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17688 # splitting by setting IFS to empty value.)
17689 IFS=" "" $as_nl"
17691 # Find who we are. Look in the path if we contain no directory separator.
17692 as_myself=
17693 case $0 in #((
17694 *[\\/]* ) as_myself=$0 ;;
17695 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17696 for as_dir in $PATH
17698 IFS=$as_save_IFS
17699 test -z "$as_dir" && as_dir=.
17700 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17701 done
17702 IFS=$as_save_IFS
17705 esac
17706 # We did not find ourselves, most probably we were run as `sh COMMAND'
17707 # in which case we are not to be found in the path.
17708 if test "x$as_myself" = x; then
17709 as_myself=$0
17711 if test ! -f "$as_myself"; then
17712 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17713 exit 1
17716 # Unset variables that we do not need and which cause bugs (e.g. in
17717 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17718 # suppresses any "Segmentation fault" message there. '((' could
17719 # trigger a bug in pdksh 5.2.14.
17720 for as_var in BASH_ENV ENV MAIL MAILPATH
17721 do eval test x\${$as_var+set} = xset \
17722 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17723 done
17724 PS1='$ '
17725 PS2='> '
17726 PS4='+ '
17728 # NLS nuisances.
17729 LC_ALL=C
17730 export LC_ALL
17731 LANGUAGE=C
17732 export LANGUAGE
17734 # CDPATH.
17735 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17738 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17739 # ----------------------------------------
17740 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17741 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17742 # script with STATUS, using 1 if that was 0.
17743 as_fn_error ()
17745 as_status=$1; test $as_status -eq 0 && as_status=1
17746 if test "$4"; then
17747 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17748 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17750 $as_echo "$as_me: error: $2" >&2
17751 as_fn_exit $as_status
17752 } # as_fn_error
17755 # as_fn_set_status STATUS
17756 # -----------------------
17757 # Set $? to STATUS, without forking.
17758 as_fn_set_status ()
17760 return $1
17761 } # as_fn_set_status
17763 # as_fn_exit STATUS
17764 # -----------------
17765 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17766 as_fn_exit ()
17768 set +e
17769 as_fn_set_status $1
17770 exit $1
17771 } # as_fn_exit
17773 # as_fn_unset VAR
17774 # ---------------
17775 # Portably unset VAR.
17776 as_fn_unset ()
17778 { eval $1=; unset $1;}
17780 as_unset=as_fn_unset
17781 # as_fn_append VAR VALUE
17782 # ----------------------
17783 # Append the text in VALUE to the end of the definition contained in VAR. Take
17784 # advantage of any shell optimizations that allow amortized linear growth over
17785 # repeated appends, instead of the typical quadratic growth present in naive
17786 # implementations.
17787 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17788 eval 'as_fn_append ()
17790 eval $1+=\$2
17792 else
17793 as_fn_append ()
17795 eval $1=\$$1\$2
17797 fi # as_fn_append
17799 # as_fn_arith ARG...
17800 # ------------------
17801 # Perform arithmetic evaluation on the ARGs, and store the result in the
17802 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17803 # must be portable across $(()) and expr.
17804 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17805 eval 'as_fn_arith ()
17807 as_val=$(( $* ))
17809 else
17810 as_fn_arith ()
17812 as_val=`expr "$@" || test $? -eq 1`
17814 fi # as_fn_arith
17817 if expr a : '\(a\)' >/dev/null 2>&1 &&
17818 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17819 as_expr=expr
17820 else
17821 as_expr=false
17824 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17825 as_basename=basename
17826 else
17827 as_basename=false
17830 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17831 as_dirname=dirname
17832 else
17833 as_dirname=false
17836 as_me=`$as_basename -- "$0" ||
17837 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17838 X"$0" : 'X\(//\)$' \| \
17839 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17840 $as_echo X/"$0" |
17841 sed '/^.*\/\([^/][^/]*\)\/*$/{
17842 s//\1/
17845 /^X\/\(\/\/\)$/{
17846 s//\1/
17849 /^X\/\(\/\).*/{
17850 s//\1/
17853 s/.*/./; q'`
17855 # Avoid depending upon Character Ranges.
17856 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17857 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17858 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17859 as_cr_digits='0123456789'
17860 as_cr_alnum=$as_cr_Letters$as_cr_digits
17862 ECHO_C= ECHO_N= ECHO_T=
17863 case `echo -n x` in #(((((
17864 -n*)
17865 case `echo 'xy\c'` in
17866 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17867 xy) ECHO_C='\c';;
17868 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17869 ECHO_T=' ';;
17870 esac;;
17872 ECHO_N='-n';;
17873 esac
17875 rm -f conf$$ conf$$.exe conf$$.file
17876 if test -d conf$$.dir; then
17877 rm -f conf$$.dir/conf$$.file
17878 else
17879 rm -f conf$$.dir
17880 mkdir conf$$.dir 2>/dev/null
17882 if (echo >conf$$.file) 2>/dev/null; then
17883 if ln -s conf$$.file conf$$ 2>/dev/null; then
17884 as_ln_s='ln -s'
17885 # ... but there are two gotchas:
17886 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17887 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17888 # In both cases, we have to default to `cp -pR'.
17889 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17890 as_ln_s='cp -pR'
17891 elif ln conf$$.file conf$$ 2>/dev/null; then
17892 as_ln_s=ln
17893 else
17894 as_ln_s='cp -pR'
17896 else
17897 as_ln_s='cp -pR'
17899 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17900 rmdir conf$$.dir 2>/dev/null
17903 # as_fn_mkdir_p
17904 # -------------
17905 # Create "$as_dir" as a directory, including parents if necessary.
17906 as_fn_mkdir_p ()
17909 case $as_dir in #(
17910 -*) as_dir=./$as_dir;;
17911 esac
17912 test -d "$as_dir" || eval $as_mkdir_p || {
17913 as_dirs=
17914 while :; do
17915 case $as_dir in #(
17916 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17917 *) as_qdir=$as_dir;;
17918 esac
17919 as_dirs="'$as_qdir' $as_dirs"
17920 as_dir=`$as_dirname -- "$as_dir" ||
17921 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17922 X"$as_dir" : 'X\(//\)[^/]' \| \
17923 X"$as_dir" : 'X\(//\)$' \| \
17924 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17925 $as_echo X"$as_dir" |
17926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17927 s//\1/
17930 /^X\(\/\/\)[^/].*/{
17931 s//\1/
17934 /^X\(\/\/\)$/{
17935 s//\1/
17938 /^X\(\/\).*/{
17939 s//\1/
17942 s/.*/./; q'`
17943 test -d "$as_dir" && break
17944 done
17945 test -z "$as_dirs" || eval "mkdir $as_dirs"
17946 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17949 } # as_fn_mkdir_p
17950 if mkdir -p . 2>/dev/null; then
17951 as_mkdir_p='mkdir -p "$as_dir"'
17952 else
17953 test -d ./-p && rmdir ./-p
17954 as_mkdir_p=false
17958 # as_fn_executable_p FILE
17959 # -----------------------
17960 # Test if FILE is an executable regular file.
17961 as_fn_executable_p ()
17963 test -f "$1" && test -x "$1"
17964 } # as_fn_executable_p
17965 as_test_x='test -x'
17966 as_executable_p=as_fn_executable_p
17968 # Sed expression to map a string onto a valid CPP name.
17969 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17971 # Sed expression to map a string onto a valid variable name.
17972 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17975 exec 6>&1
17976 ## ----------------------------------- ##
17977 ## Main body of $CONFIG_STATUS script. ##
17978 ## ----------------------------------- ##
17979 _ASEOF
17980 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17983 # Save the log message, to keep $0 and so on meaningful, and to
17984 # report actual input values of CONFIG_FILES etc. instead of their
17985 # values after options handling.
17986 ac_log="
17987 This file was extended by Wine $as_me 1.7.3, which was
17988 generated by GNU Autoconf 2.69. Invocation command line was
17990 CONFIG_FILES = $CONFIG_FILES
17991 CONFIG_HEADERS = $CONFIG_HEADERS
17992 CONFIG_LINKS = $CONFIG_LINKS
17993 CONFIG_COMMANDS = $CONFIG_COMMANDS
17994 $ $0 $@
17996 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17999 _ACEOF
18001 case $ac_config_files in *"
18002 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18003 esac
18005 case $ac_config_headers in *"
18006 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18007 esac
18010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18011 # Files that config.status was made for.
18012 config_files="$ac_config_files"
18013 config_headers="$ac_config_headers"
18014 config_links="$ac_config_links"
18015 config_commands="$ac_config_commands"
18017 _ACEOF
18019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18020 ac_cs_usage="\
18021 \`$as_me' instantiates files and other configuration actions
18022 from templates according to the current configuration. Unless the files
18023 and actions are specified as TAGs, all are instantiated by default.
18025 Usage: $0 [OPTION]... [TAG]...
18027 -h, --help print this help, then exit
18028 -V, --version print version number and configuration settings, then exit
18029 --config print configuration, then exit
18030 -q, --quiet, --silent
18031 do not print progress messages
18032 -d, --debug don't remove temporary files
18033 --recheck update $as_me by reconfiguring in the same conditions
18034 --file=FILE[:TEMPLATE]
18035 instantiate the configuration file FILE
18036 --header=FILE[:TEMPLATE]
18037 instantiate the configuration header FILE
18039 Configuration files:
18040 $config_files
18042 Configuration headers:
18043 $config_headers
18045 Configuration links:
18046 $config_links
18048 Configuration commands:
18049 $config_commands
18051 Report bugs to <wine-devel@winehq.org>.
18052 Wine home page: <http://www.winehq.org>."
18054 _ACEOF
18055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18056 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18057 ac_cs_version="\\
18058 Wine config.status 1.7.3
18059 configured by $0, generated by GNU Autoconf 2.69,
18060 with options \\"\$ac_cs_config\\"
18062 Copyright (C) 2012 Free Software Foundation, Inc.
18063 This config.status script is free software; the Free Software Foundation
18064 gives unlimited permission to copy, distribute and modify it."
18066 ac_pwd='$ac_pwd'
18067 srcdir='$srcdir'
18068 INSTALL='$INSTALL'
18069 MKDIR_P='$MKDIR_P'
18070 test -n "\$AWK" || AWK=awk
18071 _ACEOF
18073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18074 # The default lists apply if the user does not specify any file.
18075 ac_need_defaults=:
18076 while test $# != 0
18078 case $1 in
18079 --*=?*)
18080 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18081 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18082 ac_shift=:
18084 --*=)
18085 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18086 ac_optarg=
18087 ac_shift=:
18090 ac_option=$1
18091 ac_optarg=$2
18092 ac_shift=shift
18094 esac
18096 case $ac_option in
18097 # Handling of the options.
18098 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18099 ac_cs_recheck=: ;;
18100 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18101 $as_echo "$ac_cs_version"; exit ;;
18102 --config | --confi | --conf | --con | --co | --c )
18103 $as_echo "$ac_cs_config"; exit ;;
18104 --debug | --debu | --deb | --de | --d | -d )
18105 debug=: ;;
18106 --file | --fil | --fi | --f )
18107 $ac_shift
18108 case $ac_optarg in
18109 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18110 '') as_fn_error $? "missing file argument" ;;
18111 esac
18112 as_fn_append CONFIG_FILES " '$ac_optarg'"
18113 ac_need_defaults=false;;
18114 --header | --heade | --head | --hea )
18115 $ac_shift
18116 case $ac_optarg in
18117 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18118 esac
18119 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18120 ac_need_defaults=false;;
18121 --he | --h)
18122 # Conflict between --help and --header
18123 as_fn_error $? "ambiguous option: \`$1'
18124 Try \`$0 --help' for more information.";;
18125 --help | --hel | -h )
18126 $as_echo "$ac_cs_usage"; exit ;;
18127 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18128 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18129 ac_cs_silent=: ;;
18131 # This is an error.
18132 -*) as_fn_error $? "unrecognized option: \`$1'
18133 Try \`$0 --help' for more information." ;;
18135 *) as_fn_append ac_config_targets " $1"
18136 ac_need_defaults=false ;;
18138 esac
18139 shift
18140 done
18142 ac_configure_extra_args=
18144 if $ac_cs_silent; then
18145 exec 6>/dev/null
18146 ac_configure_extra_args="$ac_configure_extra_args --silent"
18149 _ACEOF
18150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18151 if \$ac_cs_recheck; then
18152 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18153 shift
18154 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18155 CONFIG_SHELL='$SHELL'
18156 export CONFIG_SHELL
18157 exec "\$@"
18160 _ACEOF
18161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18162 exec 5>>config.log
18164 echo
18165 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18166 ## Running $as_me. ##
18167 _ASBOX
18168 $as_echo "$ac_log"
18169 } >&5
18171 _ACEOF
18172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18174 # INIT-COMMANDS
18176 wine_fn_output_makefile ()
18178 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18179 `cat $wine_rules_file`
18180 _WINE_EOF
18181 as_fn_error $? "could not create Makefile" "$LINENO" 5
18184 _ACEOF
18186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18188 # Handling of arguments.
18189 for ac_config_target in $ac_config_targets
18191 case $ac_config_target in
18192 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18193 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18194 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18195 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18196 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18197 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18198 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18199 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18200 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18201 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18202 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18203 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18204 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18205 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18206 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18207 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
18208 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18209 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
18210 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
18211 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18212 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18214 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18215 esac
18216 done
18219 # If the user did not use the arguments to specify the items to instantiate,
18220 # then the envvar interface is used. Set only those that are not.
18221 # We use the long form for the default assignment because of an extremely
18222 # bizarre bug on SunOS 4.1.3.
18223 if $ac_need_defaults; then
18224 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18225 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18226 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18227 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18230 # Have a temporary directory for convenience. Make it in the build tree
18231 # simply because there is no reason against having it here, and in addition,
18232 # creating and moving files from /tmp can sometimes cause problems.
18233 # Hook for its removal unless debugging.
18234 # Note that there is a small window in which the directory will not be cleaned:
18235 # after its creation but before its name has been assigned to `$tmp'.
18236 $debug ||
18238 tmp= ac_tmp=
18239 trap 'exit_status=$?
18240 : "${ac_tmp:=$tmp}"
18241 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18243 trap 'as_fn_exit 1' 1 2 13 15
18245 # Create a (secure) tmp directory for tmp files.
18248 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18249 test -d "$tmp"
18250 } ||
18252 tmp=./conf$$-$RANDOM
18253 (umask 077 && mkdir "$tmp")
18254 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18255 ac_tmp=$tmp
18257 # Set up the scripts for CONFIG_FILES section.
18258 # No need to generate them if there are no CONFIG_FILES.
18259 # This happens for instance with `./config.status config.h'.
18260 if test -n "$CONFIG_FILES"; then
18262 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
18263 ac_cs_awk_getline=:
18264 ac_cs_awk_pipe_init=
18265 ac_cs_awk_read_file='
18266 while ((getline aline < (F[key])) > 0)
18267 print(aline)
18268 close(F[key])'
18269 ac_cs_awk_pipe_fini=
18270 else
18271 ac_cs_awk_getline=false
18272 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
18273 ac_cs_awk_read_file='
18274 print "|#_!!_#|"
18275 print "cat " F[key] " &&"
18276 '$ac_cs_awk_pipe_init
18277 # The final `:' finishes the AND list.
18278 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
18280 ac_cr=`echo X | tr X '\015'`
18281 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18282 # But we know of no other shell where ac_cr would be empty at this
18283 # point, so we can use a bashism as a fallback.
18284 if test "x$ac_cr" = x; then
18285 eval ac_cr=\$\'\\r\'
18287 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18288 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18289 ac_cs_awk_cr='\\r'
18290 else
18291 ac_cs_awk_cr=$ac_cr
18294 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18295 _ACEOF
18297 # Create commands to substitute file output variables.
18299 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18300 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18301 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
18302 echo "_ACAWK" &&
18303 echo "_ACEOF"
18304 } >conf$$files.sh &&
18305 . ./conf$$files.sh ||
18306 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18307 rm -f conf$$files.sh
18310 echo "cat >conf$$subs.awk <<_ACEOF" &&
18311 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18312 echo "_ACEOF"
18313 } >conf$$subs.sh ||
18314 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18315 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18316 ac_delim='%!_!# '
18317 for ac_last_try in false false false false false :; do
18318 . ./conf$$subs.sh ||
18319 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18321 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18322 if test $ac_delim_n = $ac_delim_num; then
18323 break
18324 elif $ac_last_try; then
18325 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18326 else
18327 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18329 done
18330 rm -f conf$$subs.sh
18332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18333 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18334 _ACEOF
18335 sed -n '
18337 s/^/S["/; s/!.*/"]=/
18340 s/^[^!]*!//
18341 :repl
18342 t repl
18343 s/'"$ac_delim"'$//
18344 t delim
18347 s/\(.\{148\}\)..*/\1/
18348 t more1
18349 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18352 b repl
18353 :more1
18354 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18357 s/.\{148\}//
18358 t nl
18359 :delim
18361 s/\(.\{148\}\)..*/\1/
18362 t more2
18363 s/["\\]/\\&/g; s/^/"/; s/$/"/
18366 :more2
18367 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18370 s/.\{148\}//
18371 t delim
18372 ' <conf$$subs.awk | sed '
18373 /^[^""]/{
18375 s/\n//
18377 ' >>$CONFIG_STATUS || ac_write_fail=1
18378 rm -f conf$$subs.awk
18379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18380 _ACAWK
18381 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18382 for (key in S) S_is_set[key] = 1
18383 FS = "\a"
18384 \$ac_cs_awk_pipe_init
18387 line = $ 0
18388 nfields = split(line, field, "@")
18389 substed = 0
18390 len = length(field[1])
18391 for (i = 2; i < nfields; i++) {
18392 key = field[i]
18393 keylen = length(key)
18394 if (S_is_set[key]) {
18395 value = S[key]
18396 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18397 len += length(value) + length(field[++i])
18398 substed = 1
18399 } else
18400 len += 1 + keylen
18402 if (nfields == 3 && !substed) {
18403 key = field[2]
18404 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18405 \$ac_cs_awk_read_file
18406 next
18409 print line
18411 \$ac_cs_awk_pipe_fini
18412 _ACAWK
18413 _ACEOF
18414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18415 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18416 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18417 else
18419 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18420 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18421 _ACEOF
18423 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18424 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18425 # trailing colons and then remove the whole line if VPATH becomes empty
18426 # (actually we leave an empty line to preserve line numbers).
18427 if test "x$srcdir" = x.; then
18428 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18430 s///
18431 s/^/:/
18432 s/[ ]*$/:/
18433 s/:\$(srcdir):/:/g
18434 s/:\${srcdir}:/:/g
18435 s/:@srcdir@:/:/g
18436 s/^:*//
18437 s/:*$//
18439 s/\(=[ ]*\).*/\1/
18441 s/\n//
18442 s/^[^=]*=[ ]*$//
18446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18447 fi # test -n "$CONFIG_FILES"
18449 # Set up the scripts for CONFIG_HEADERS section.
18450 # No need to generate them if there are no CONFIG_HEADERS.
18451 # This happens for instance with `./config.status Makefile'.
18452 if test -n "$CONFIG_HEADERS"; then
18453 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18454 BEGIN {
18455 _ACEOF
18457 # Transform confdefs.h into an awk script `defines.awk', embedded as
18458 # here-document in config.status, that substitutes the proper values into
18459 # config.h.in to produce config.h.
18461 # Create a delimiter string that does not exist in confdefs.h, to ease
18462 # handling of long lines.
18463 ac_delim='%!_!# '
18464 for ac_last_try in false false :; do
18465 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18466 if test -z "$ac_tt"; then
18467 break
18468 elif $ac_last_try; then
18469 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18470 else
18471 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18473 done
18475 # For the awk script, D is an array of macro values keyed by name,
18476 # likewise P contains macro parameters if any. Preserve backslash
18477 # newline sequences.
18479 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18480 sed -n '
18481 s/.\{148\}/&'"$ac_delim"'/g
18482 t rset
18483 :rset
18484 s/^[ ]*#[ ]*define[ ][ ]*/ /
18485 t def
18487 :def
18488 s/\\$//
18489 t bsnl
18490 s/["\\]/\\&/g
18491 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18492 D["\1"]=" \3"/p
18493 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18495 :bsnl
18496 s/["\\]/\\&/g
18497 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18498 D["\1"]=" \3\\\\\\n"\\/p
18499 t cont
18500 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18501 t cont
18503 :cont
18505 s/.\{148\}/&'"$ac_delim"'/g
18506 t clear
18507 :clear
18508 s/\\$//
18509 t bsnlc
18510 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18512 :bsnlc
18513 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18514 b cont
18515 ' <confdefs.h | sed '
18516 s/'"$ac_delim"'/"\\\
18517 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18520 for (key in D) D_is_set[key] = 1
18521 FS = "\a"
18523 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18524 line = \$ 0
18525 split(line, arg, " ")
18526 if (arg[1] == "#") {
18527 defundef = arg[2]
18528 mac1 = arg[3]
18529 } else {
18530 defundef = substr(arg[1], 2)
18531 mac1 = arg[2]
18533 split(mac1, mac2, "(") #)
18534 macro = mac2[1]
18535 prefix = substr(line, 1, index(line, defundef) - 1)
18536 if (D_is_set[macro]) {
18537 # Preserve the white space surrounding the "#".
18538 print prefix "define", macro P[macro] D[macro]
18539 next
18540 } else {
18541 # Replace #undef with comments. This is necessary, for example,
18542 # in the case of _POSIX_SOURCE, which is predefined and required
18543 # on some systems where configure will not decide to define it.
18544 if (defundef == "undef") {
18545 print "/*", prefix defundef, macro, "*/"
18546 next
18550 { print }
18551 _ACAWK
18552 _ACEOF
18553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18554 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18555 fi # test -n "$CONFIG_HEADERS"
18558 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18559 shift
18560 for ac_tag
18562 case $ac_tag in
18563 :[FHLC]) ac_mode=$ac_tag; continue;;
18564 esac
18565 case $ac_mode$ac_tag in
18566 :[FHL]*:*);;
18567 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18568 :[FH]-) ac_tag=-:-;;
18569 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18570 esac
18571 ac_save_IFS=$IFS
18572 IFS=:
18573 set x $ac_tag
18574 IFS=$ac_save_IFS
18575 shift
18576 ac_file=$1
18577 shift
18579 case $ac_mode in
18580 :L) ac_source=$1;;
18581 :[FH])
18582 ac_file_inputs=
18583 for ac_f
18585 case $ac_f in
18586 -) ac_f="$ac_tmp/stdin";;
18587 *) # Look for the file first in the build tree, then in the source tree
18588 # (if the path is not absolute). The absolute path cannot be DOS-style,
18589 # because $ac_f cannot contain `:'.
18590 test -f "$ac_f" ||
18591 case $ac_f in
18592 [\\/$]*) false;;
18593 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18594 esac ||
18595 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18596 esac
18597 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18598 as_fn_append ac_file_inputs " '$ac_f'"
18599 done
18601 # Let's still pretend it is `configure' which instantiates (i.e., don't
18602 # use $as_me), people would be surprised to read:
18603 # /* config.h. Generated by config.status. */
18604 configure_input='Generated from '`
18605 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18606 `' by configure.'
18607 if test x"$ac_file" != x-; then
18608 configure_input="$ac_file. $configure_input"
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18610 $as_echo "$as_me: creating $ac_file" >&6;}
18612 # Neutralize special characters interpreted by sed in replacement strings.
18613 case $configure_input in #(
18614 *\&* | *\|* | *\\* )
18615 ac_sed_conf_input=`$as_echo "$configure_input" |
18616 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18617 *) ac_sed_conf_input=$configure_input;;
18618 esac
18620 case $ac_tag in
18621 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18622 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18623 esac
18625 esac
18627 ac_dir=`$as_dirname -- "$ac_file" ||
18628 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18629 X"$ac_file" : 'X\(//\)[^/]' \| \
18630 X"$ac_file" : 'X\(//\)$' \| \
18631 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18632 $as_echo X"$ac_file" |
18633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18634 s//\1/
18637 /^X\(\/\/\)[^/].*/{
18638 s//\1/
18641 /^X\(\/\/\)$/{
18642 s//\1/
18645 /^X\(\/\).*/{
18646 s//\1/
18649 s/.*/./; q'`
18650 as_dir="$ac_dir"; as_fn_mkdir_p
18651 ac_builddir=.
18653 case "$ac_dir" in
18654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18656 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18657 # A ".." for each directory in $ac_dir_suffix.
18658 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18659 case $ac_top_builddir_sub in
18660 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18661 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18662 esac ;;
18663 esac
18664 ac_abs_top_builddir=$ac_pwd
18665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18666 # for backward compatibility:
18667 ac_top_builddir=$ac_top_build_prefix
18669 case $srcdir in
18670 .) # We are building in place.
18671 ac_srcdir=.
18672 ac_top_srcdir=$ac_top_builddir_sub
18673 ac_abs_top_srcdir=$ac_pwd ;;
18674 [\\/]* | ?:[\\/]* ) # Absolute name.
18675 ac_srcdir=$srcdir$ac_dir_suffix;
18676 ac_top_srcdir=$srcdir
18677 ac_abs_top_srcdir=$srcdir ;;
18678 *) # Relative name.
18679 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18680 ac_top_srcdir=$ac_top_build_prefix$srcdir
18681 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18682 esac
18683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18686 case $ac_mode in
18689 # CONFIG_FILE
18692 case $INSTALL in
18693 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18694 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18695 esac
18696 ac_MKDIR_P=$MKDIR_P
18697 case $MKDIR_P in
18698 [\\/$]* | ?:[\\/]* ) ;;
18699 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18700 esac
18701 _ACEOF
18703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18704 # If the template does not know about datarootdir, expand it.
18705 # FIXME: This hack should be removed a few years after 2.60.
18706 ac_datarootdir_hack=; ac_datarootdir_seen=
18707 ac_sed_dataroot='
18708 /datarootdir/ {
18712 /@datadir@/p
18713 /@docdir@/p
18714 /@infodir@/p
18715 /@localedir@/p
18716 /@mandir@/p'
18717 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18718 *datarootdir*) ac_datarootdir_seen=yes;;
18719 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18721 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18722 _ACEOF
18723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18724 ac_datarootdir_hack='
18725 s&@datadir@&$datadir&g
18726 s&@docdir@&$docdir&g
18727 s&@infodir@&$infodir&g
18728 s&@localedir@&$localedir&g
18729 s&@mandir@&$mandir&g
18730 s&\\\${datarootdir}&$datarootdir&g' ;;
18731 esac
18732 _ACEOF
18734 # Neutralize VPATH when `$srcdir' = `.'.
18735 # Shell code in configure.ac might set extrasub.
18736 # FIXME: do we really want to maintain this feature?
18737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18738 ac_sed_extra="$ac_vpsub
18739 $extrasub
18740 _ACEOF
18741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18743 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18744 s|@configure_input@|$ac_sed_conf_input|;t t
18745 s&@top_builddir@&$ac_top_builddir_sub&;t t
18746 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18747 s&@srcdir@&$ac_srcdir&;t t
18748 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18749 s&@top_srcdir@&$ac_top_srcdir&;t t
18750 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18751 s&@builddir@&$ac_builddir&;t t
18752 s&@abs_builddir@&$ac_abs_builddir&;t t
18753 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18754 s&@INSTALL@&$ac_INSTALL&;t t
18755 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18756 $ac_datarootdir_hack
18758 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18759 if $ac_cs_awk_getline; then
18760 $AWK -f "$ac_tmp/subs.awk"
18761 else
18762 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18763 fi \
18764 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18766 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18767 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18768 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18769 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18771 which seems to be undefined. Please make sure it is defined" >&5
18772 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18773 which seems to be undefined. Please make sure it is defined" >&2;}
18775 rm -f "$ac_tmp/stdin"
18776 case $ac_file in
18777 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18778 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18779 esac \
18780 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18784 # CONFIG_HEADER
18786 if test x"$ac_file" != x-; then
18788 $as_echo "/* $configure_input */" \
18789 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18790 } >"$ac_tmp/config.h" \
18791 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18792 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18794 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18795 else
18796 rm -f "$ac_file"
18797 mv "$ac_tmp/config.h" "$ac_file" \
18798 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18800 else
18801 $as_echo "/* $configure_input */" \
18802 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18803 || as_fn_error $? "could not create -" "$LINENO" 5
18808 # CONFIG_LINK
18811 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18813 else
18814 # Prefer the file from the source tree if names are identical.
18815 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18816 ac_source=$srcdir/$ac_source
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18820 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18822 if test ! -r "$ac_source"; then
18823 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18825 rm -f "$ac_file"
18827 # Try a relative symlink, then a hard link, then a copy.
18828 case $ac_source in
18829 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18830 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18831 esac
18832 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18833 ln "$ac_source" "$ac_file" 2>/dev/null ||
18834 cp -p "$ac_source" "$ac_file" ||
18835 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18838 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18839 $as_echo "$as_me: executing $ac_file commands" >&6;}
18841 esac
18844 case $ac_file$ac_mode in
18845 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18846 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18847 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18848 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18849 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18850 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18851 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18852 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18853 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18854 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18855 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18856 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18857 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18858 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18859 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18860 "Makefile":C) wine_fn_output_makefile Makefile ;;
18862 esac
18863 done # for ac_tag
18866 as_fn_exit 0
18867 _ACEOF
18868 ac_clean_files=$ac_clean_files_save
18870 test $ac_write_fail = 0 ||
18871 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18874 # configure is writing to config.log, and then calls config.status.
18875 # config.status does its own redirection, appending to config.log.
18876 # Unfortunately, on DOS this fails, as config.log is still kept open
18877 # by configure, so config.status won't be able to write to it; its
18878 # output is simply discarded. So we exec the FD to /dev/null,
18879 # effectively closing config.log, so it can be properly (re)opened and
18880 # appended to by config.status. When coming back to configure, we
18881 # need to make the FD available again.
18882 if test "$no_create" != yes; then
18883 ac_cs_success=:
18884 ac_config_status_args=
18885 test "$silent" = yes &&
18886 ac_config_status_args="$ac_config_status_args --quiet"
18887 exec 5>/dev/null
18888 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18889 exec 5>>config.log
18890 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18891 # would make configure fail if this is the last instruction.
18892 $ac_cs_success || as_fn_exit 1
18894 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18896 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18900 if test "$no_create" = "yes"
18901 then
18902 exit 0
18905 ac_save_IFS="$IFS"
18906 if test "x$wine_notices != "x; then
18907 echo >&6
18908 IFS="|"
18909 for msg in $wine_notices; do
18910 IFS="$ac_save_IFS"
18911 if test -n "$msg"; then
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18913 $as_echo "$as_me: $msg" >&6;}
18915 done
18917 IFS="|"
18918 for msg in $wine_warnings; do
18919 IFS="$ac_save_IFS"
18920 if test -n "$msg"; then
18921 echo >&2
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18923 $as_echo "$as_me: WARNING: $msg" >&2;}
18925 done
18926 IFS="$ac_save_IFS"
18928 $as_echo "
18929 $as_me: Finished. Do '${ac_make}' to compile Wine.
18930 " >&6