wined3d: Send present operations through a command stream.
[wine.git] / configure
bloba296e6716e9353a25859fcc3d94ec943a5c32da2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.2.
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.2'
584 PACKAGE_STRING='Wine 1.7.2'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 PORCFLAGS
628 LINGUAS
629 ALL_TEST_RESOURCES
630 LDAPLIBS
631 LIBRT
632 LIBPOLL
633 LIBDL
634 EXTRA_BINARIES
635 MAIN_BINARY
636 TOOLSEXT
637 LDPATH
638 UNWINDFLAGS
639 BUILTINFLAG
640 EXTRACFLAGS
641 LIBPROCSTAT
642 LIBKSTAT
643 LIBOPENAL
644 MPG123_LIBS
645 MPG123_CFLAGS
646 TIFF_LIBS
647 TIFF_CFLAGS
648 PNG_LIBS
649 PNG_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 FONTCONFIGINCL
653 CUPSINCL
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 OSS4INCL
657 ALSALIBS
658 GSTREAMER_LIBS
659 GSTREAMER_CFLAGS
660 LIBGETTEXTPO
661 ZLIB
662 FREETYPE_LIBS
663 FREETYPE_CFLAGS
664 LCMS2_LIBS
665 LCMS2_CFLAGS
666 RESOLVLIBS
667 GPHOTO2_PORT_LIBS
668 GPHOTO2_PORT_CFLAGS
669 GPHOTO2_LIBS
670 GPHOTO2_CFLAGS
671 SANE_LIBS
672 SANE_CFLAGS
673 GNUTLS_LIBS
674 GNUTLS_CFLAGS
675 HAL_LIBS
676 HAL_CFLAGS
677 DBUS_LIBS
678 DBUS_CFLAGS
679 XSLT_LIBS
680 XSLT_CFLAGS
681 XML2_LIBS
682 XML2_CFLAGS
683 X_EXTRA_LIBS
684 X_LIBS
685 X_PRE_LIBS
686 X_CFLAGS
687 XMKMF
688 LIBPTHREAD
689 CROSSTARGET
690 CROSSCC
691 CROSSTEST_DISABLE
692 PRELINK
693 CARBONLIB
694 QUICKTIMELIB
695 LIBOPENCL
696 FRAMEWORK_OPENAL
697 COREAUDIO
698 SECURITYLIB
699 DISKARBITRATIONLIB
700 LDEXECFLAGS
701 APPKITLIB
702 CORESERVICESLIB
703 APPLICATIONSERVICESLIB
704 FORCEFEEDBACKLIB
705 IOKITLIB
706 COREFOUNDATIONLIB
707 LIBWINE_RULES
708 SOCKETLIBS
709 DLLTOOL
710 READELF
712 LDRPATH_LOCAL
713 LDRPATH_INSTALL
714 IMPLIBEXT
715 DLLFLAGS
716 DLLPREFIX
717 DLLEXT
718 dlldir
720 OPENGL_LIBS
721 XLIB
722 MAINTAINER_MODE
723 PKG_CONFIG
724 MSGFMT
725 ICOTOOL
726 CONVERT
727 RSVG
728 FONTFORGE
729 LINTFLAGS
730 LINT
731 INSTALL_DATA
732 INSTALL_SCRIPT
733 INSTALL_PROGRAM
734 LDCONFIG
735 EGREP
736 GREP
737 LN_S
738 RANLIB
739 ARFLAGS
740 ac_ct_AR
742 BISON
743 FLEX
744 TOOLSDIR
745 WOW64_DISABLE
746 TARGETFLAGS
747 CPPBIN
748 ac_ct_CXX
749 CXXFLAGS
751 OBJEXT
752 EXEEXT
753 ac_ct_CC
754 CPPFLAGS
755 LDFLAGS
756 CFLAGS
758 SET_MAKE
759 host_os
760 host_vendor
761 host_cpu
762 host
763 build_os
764 build_vendor
765 build_cpu
766 build
767 target_alias
768 host_alias
769 build_alias
770 LIBS
771 ECHO_T
772 ECHO_N
773 ECHO_C
774 DEFS
775 mandir
776 localedir
777 libdir
778 psdir
779 pdfdir
780 dvidir
781 htmldir
782 infodir
783 docdir
784 oldincludedir
785 includedir
786 localstatedir
787 sharedstatedir
788 sysconfdir
789 datadir
790 datarootdir
791 libexecdir
792 sbindir
793 bindir
794 program_transform_name
795 prefix
796 exec_prefix
797 PACKAGE_URL
798 PACKAGE_BUGREPORT
799 PACKAGE_STRING
800 PACKAGE_VERSION
801 PACKAGE_TARNAME
802 PACKAGE_NAME
803 PATH_SEPARATOR
804 SHELL'
805 ac_subst_files='MAKE_RULES
806 MAKE_TEST_RULES
807 MAKE_DLL_RULES
808 MAKE_IMPLIB_RULES
809 MAKE_PROG_RULES'
810 ac_user_opts='
811 enable_option_checking
812 enable_win16
813 enable_win64
814 enable_tests
815 enable_maintainer_mode
816 with_alsa
817 with_capi
818 with_cms
819 with_coreaudio
820 with_cups
821 with_curses
822 with_dbus
823 with_fontconfig
824 with_freetype
825 with_gettext
826 with_gettextpo
827 with_gphoto
828 with_glu
829 with_gnutls
830 with_gsm
831 with_gstreamer
832 with_hal
833 with_jpeg
834 with_ldap
835 with_mpg123
836 with_openal
837 with_opencl
838 with_opengl
839 with_osmesa
840 with_oss
841 with_png
842 with_pthread
843 with_sane
844 with_tiff
845 with_v4l
846 with_xcomposite
847 with_xcursor
848 with_xinerama
849 with_xinput
850 with_xinput2
851 with_xml
852 with_xrandr
853 with_xrender
854 with_xshape
855 with_xshm
856 with_xslt
857 with_xxf86vm
858 with_zlib
859 with_wine_tools
860 with_wine64
861 enable_largefile
862 with_x
864 ac_precious_vars='build_alias
865 host_alias
866 target_alias
868 CFLAGS
869 LDFLAGS
870 LIBS
871 CPPFLAGS
873 CXXFLAGS
876 XMKMF
877 XML2_CFLAGS
878 XML2_LIBS
879 XSLT_CFLAGS
880 XSLT_LIBS
881 DBUS_CFLAGS
882 DBUS_LIBS
883 HAL_CFLAGS
884 HAL_LIBS
885 GNUTLS_CFLAGS
886 GNUTLS_LIBS
887 SANE_CFLAGS
888 SANE_LIBS
889 GPHOTO2_CFLAGS
890 GPHOTO2_LIBS
891 GPHOTO2_PORT_CFLAGS
892 GPHOTO2_PORT_LIBS
893 LCMS2_CFLAGS
894 LCMS2_LIBS
895 FREETYPE_CFLAGS
896 FREETYPE_LIBS
897 GSTREAMER_CFLAGS
898 GSTREAMER_LIBS
899 CAPI20_CFLAGS
900 CAPI20_LIBS
901 JPEG_CFLAGS
902 JPEG_LIBS
903 PNG_CFLAGS
904 PNG_LIBS
905 TIFF_CFLAGS
906 TIFF_LIBS
907 MPG123_CFLAGS
908 MPG123_LIBS'
911 # Initialize some variables set by options.
912 ac_init_help=
913 ac_init_version=false
914 ac_unrecognized_opts=
915 ac_unrecognized_sep=
916 # The variables have the same names as the options, with
917 # dashes changed to underlines.
918 cache_file=/dev/null
919 exec_prefix=NONE
920 no_create=
921 no_recursion=
922 prefix=NONE
923 program_prefix=NONE
924 program_suffix=NONE
925 program_transform_name=s,x,x,
926 silent=
927 site=
928 srcdir=
929 verbose=
930 x_includes=NONE
931 x_libraries=NONE
933 # Installation directory options.
934 # These are left unexpanded so users can "make install exec_prefix=/foo"
935 # and all the variables that are supposed to be based on exec_prefix
936 # by default will actually change.
937 # Use braces instead of parens because sh, perl, etc. also accept them.
938 # (The list follows the same order as the GNU Coding Standards.)
939 bindir='${exec_prefix}/bin'
940 sbindir='${exec_prefix}/sbin'
941 libexecdir='${exec_prefix}/libexec'
942 datarootdir='${prefix}/share'
943 datadir='${datarootdir}'
944 sysconfdir='${prefix}/etc'
945 sharedstatedir='${prefix}/com'
946 localstatedir='${prefix}/var'
947 includedir='${prefix}/include'
948 oldincludedir='/usr/include'
949 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
950 infodir='${datarootdir}/info'
951 htmldir='${docdir}'
952 dvidir='${docdir}'
953 pdfdir='${docdir}'
954 psdir='${docdir}'
955 libdir='${exec_prefix}/lib'
956 localedir='${datarootdir}/locale'
957 mandir='${datarootdir}/man'
959 ac_prev=
960 ac_dashdash=
961 for ac_option
963 # If the previous option needs an argument, assign it.
964 if test -n "$ac_prev"; then
965 eval $ac_prev=\$ac_option
966 ac_prev=
967 continue
970 case $ac_option in
971 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
972 *=) ac_optarg= ;;
973 *) ac_optarg=yes ;;
974 esac
976 # Accept the important Cygnus configure options, so we can diagnose typos.
978 case $ac_dashdash$ac_option in
980 ac_dashdash=yes ;;
982 -bindir | --bindir | --bindi | --bind | --bin | --bi)
983 ac_prev=bindir ;;
984 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
985 bindir=$ac_optarg ;;
987 -build | --build | --buil | --bui | --bu)
988 ac_prev=build_alias ;;
989 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
990 build_alias=$ac_optarg ;;
992 -cache-file | --cache-file | --cache-fil | --cache-fi \
993 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
994 ac_prev=cache_file ;;
995 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
996 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
997 cache_file=$ac_optarg ;;
999 --config-cache | -C)
1000 cache_file=config.cache ;;
1002 -datadir | --datadir | --datadi | --datad)
1003 ac_prev=datadir ;;
1004 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1005 datadir=$ac_optarg ;;
1007 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1008 | --dataroo | --dataro | --datar)
1009 ac_prev=datarootdir ;;
1010 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1011 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1012 datarootdir=$ac_optarg ;;
1014 -disable-* | --disable-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error $? "invalid feature name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_$ac_useropt"
1024 "*) ;;
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1027 esac
1028 eval enable_$ac_useropt=no ;;
1030 -docdir | --docdir | --docdi | --doc | --do)
1031 ac_prev=docdir ;;
1032 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1033 docdir=$ac_optarg ;;
1035 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1036 ac_prev=dvidir ;;
1037 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1038 dvidir=$ac_optarg ;;
1040 -enable-* | --enable-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 as_fn_error $? "invalid feature name: $ac_useropt"
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "enable_$ac_useropt"
1050 "*) ;;
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1053 esac
1054 eval enable_$ac_useropt=\$ac_optarg ;;
1056 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1057 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1058 | --exec | --exe | --ex)
1059 ac_prev=exec_prefix ;;
1060 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1061 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1062 | --exec=* | --exe=* | --ex=*)
1063 exec_prefix=$ac_optarg ;;
1065 -gas | --gas | --ga | --g)
1066 # Obsolete; use --with-gas.
1067 with_gas=yes ;;
1069 -help | --help | --hel | --he | -h)
1070 ac_init_help=long ;;
1071 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1072 ac_init_help=recursive ;;
1073 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1074 ac_init_help=short ;;
1076 -host | --host | --hos | --ho)
1077 ac_prev=host_alias ;;
1078 -host=* | --host=* | --hos=* | --ho=*)
1079 host_alias=$ac_optarg ;;
1081 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1082 ac_prev=htmldir ;;
1083 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1084 | --ht=*)
1085 htmldir=$ac_optarg ;;
1087 -includedir | --includedir | --includedi | --included | --include \
1088 | --includ | --inclu | --incl | --inc)
1089 ac_prev=includedir ;;
1090 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1091 | --includ=* | --inclu=* | --incl=* | --inc=*)
1092 includedir=$ac_optarg ;;
1094 -infodir | --infodir | --infodi | --infod | --info | --inf)
1095 ac_prev=infodir ;;
1096 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1097 infodir=$ac_optarg ;;
1099 -libdir | --libdir | --libdi | --libd)
1100 ac_prev=libdir ;;
1101 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1102 libdir=$ac_optarg ;;
1104 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1105 | --libexe | --libex | --libe)
1106 ac_prev=libexecdir ;;
1107 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1108 | --libexe=* | --libex=* | --libe=*)
1109 libexecdir=$ac_optarg ;;
1111 -localedir | --localedir | --localedi | --localed | --locale)
1112 ac_prev=localedir ;;
1113 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1114 localedir=$ac_optarg ;;
1116 -localstatedir | --localstatedir | --localstatedi | --localstated \
1117 | --localstate | --localstat | --localsta | --localst | --locals)
1118 ac_prev=localstatedir ;;
1119 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1120 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1121 localstatedir=$ac_optarg ;;
1123 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1124 ac_prev=mandir ;;
1125 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1126 mandir=$ac_optarg ;;
1128 -nfp | --nfp | --nf)
1129 # Obsolete; use --without-fp.
1130 with_fp=no ;;
1132 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1133 | --no-cr | --no-c | -n)
1134 no_create=yes ;;
1136 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1137 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1138 no_recursion=yes ;;
1140 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1141 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1142 | --oldin | --oldi | --old | --ol | --o)
1143 ac_prev=oldincludedir ;;
1144 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1145 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1146 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1147 oldincludedir=$ac_optarg ;;
1149 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1150 ac_prev=prefix ;;
1151 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1152 prefix=$ac_optarg ;;
1154 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1155 | --program-pre | --program-pr | --program-p)
1156 ac_prev=program_prefix ;;
1157 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1158 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1159 program_prefix=$ac_optarg ;;
1161 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1162 | --program-suf | --program-su | --program-s)
1163 ac_prev=program_suffix ;;
1164 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1165 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1166 program_suffix=$ac_optarg ;;
1168 -program-transform-name | --program-transform-name \
1169 | --program-transform-nam | --program-transform-na \
1170 | --program-transform-n | --program-transform- \
1171 | --program-transform | --program-transfor \
1172 | --program-transfo | --program-transf \
1173 | --program-trans | --program-tran \
1174 | --progr-tra | --program-tr | --program-t)
1175 ac_prev=program_transform_name ;;
1176 -program-transform-name=* | --program-transform-name=* \
1177 | --program-transform-nam=* | --program-transform-na=* \
1178 | --program-transform-n=* | --program-transform-=* \
1179 | --program-transform=* | --program-transfor=* \
1180 | --program-transfo=* | --program-transf=* \
1181 | --program-trans=* | --program-tran=* \
1182 | --progr-tra=* | --program-tr=* | --program-t=*)
1183 program_transform_name=$ac_optarg ;;
1185 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1186 ac_prev=pdfdir ;;
1187 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1188 pdfdir=$ac_optarg ;;
1190 -psdir | --psdir | --psdi | --psd | --ps)
1191 ac_prev=psdir ;;
1192 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1193 psdir=$ac_optarg ;;
1195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1196 | -silent | --silent | --silen | --sile | --sil)
1197 silent=yes ;;
1199 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1200 ac_prev=sbindir ;;
1201 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1202 | --sbi=* | --sb=*)
1203 sbindir=$ac_optarg ;;
1205 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1206 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1207 | --sharedst | --shareds | --shared | --share | --shar \
1208 | --sha | --sh)
1209 ac_prev=sharedstatedir ;;
1210 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1211 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1212 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1213 | --sha=* | --sh=*)
1214 sharedstatedir=$ac_optarg ;;
1216 -site | --site | --sit)
1217 ac_prev=site ;;
1218 -site=* | --site=* | --sit=*)
1219 site=$ac_optarg ;;
1221 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1222 ac_prev=srcdir ;;
1223 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1224 srcdir=$ac_optarg ;;
1226 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1227 | --syscon | --sysco | --sysc | --sys | --sy)
1228 ac_prev=sysconfdir ;;
1229 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1230 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1231 sysconfdir=$ac_optarg ;;
1233 -target | --target | --targe | --targ | --tar | --ta | --t)
1234 ac_prev=target_alias ;;
1235 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1236 target_alias=$ac_optarg ;;
1238 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1239 verbose=yes ;;
1241 -version | --version | --versio | --versi | --vers | -V)
1242 ac_init_version=: ;;
1244 -with-* | --with-*)
1245 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248 as_fn_error $? "invalid package name: $ac_useropt"
1249 ac_useropt_orig=$ac_useropt
1250 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1253 "with_$ac_useropt"
1254 "*) ;;
1255 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1256 ac_unrecognized_sep=', ';;
1257 esac
1258 eval with_$ac_useropt=\$ac_optarg ;;
1260 -without-* | --without-*)
1261 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1264 as_fn_error $? "invalid package name: $ac_useropt"
1265 ac_useropt_orig=$ac_useropt
1266 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1267 case $ac_user_opts in
1269 "with_$ac_useropt"
1270 "*) ;;
1271 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1272 ac_unrecognized_sep=', ';;
1273 esac
1274 eval with_$ac_useropt=no ;;
1276 --x)
1277 # Obsolete; use --with-x.
1278 with_x=yes ;;
1280 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1281 | --x-incl | --x-inc | --x-in | --x-i)
1282 ac_prev=x_includes ;;
1283 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1284 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1285 x_includes=$ac_optarg ;;
1287 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1288 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1289 ac_prev=x_libraries ;;
1290 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1291 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1292 x_libraries=$ac_optarg ;;
1294 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1295 Try \`$0 --help' for more information"
1298 *=*)
1299 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1300 # Reject names that are not valid shell variable names.
1301 case $ac_envvar in #(
1302 '' | [0-9]* | *[!_$as_cr_alnum]* )
1303 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1304 esac
1305 eval $ac_envvar=\$ac_optarg
1306 export $ac_envvar ;;
1309 # FIXME: should be removed in autoconf 3.0.
1310 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1311 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1312 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1313 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1316 esac
1317 done
1319 if test -n "$ac_prev"; then
1320 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1321 as_fn_error $? "missing argument to $ac_option"
1324 if test -n "$ac_unrecognized_opts"; then
1325 case $enable_option_checking in
1326 no) ;;
1327 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1328 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1329 esac
1332 # Check all directory arguments for consistency.
1333 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1334 datadir sysconfdir sharedstatedir localstatedir includedir \
1335 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1336 libdir localedir mandir
1338 eval ac_val=\$$ac_var
1339 # Remove trailing slashes.
1340 case $ac_val in
1341 */ )
1342 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1343 eval $ac_var=\$ac_val;;
1344 esac
1345 # Be sure to have absolute directory names.
1346 case $ac_val in
1347 [\\/$]* | ?:[\\/]* ) continue;;
1348 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1349 esac
1350 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1351 done
1353 # There might be people who depend on the old broken behavior: `$host'
1354 # used to hold the argument of --host etc.
1355 # FIXME: To remove some day.
1356 build=$build_alias
1357 host=$host_alias
1358 target=$target_alias
1360 # FIXME: To remove some day.
1361 if test "x$host_alias" != x; then
1362 if test "x$build_alias" = x; then
1363 cross_compiling=maybe
1364 elif test "x$build_alias" != "x$host_alias"; then
1365 cross_compiling=yes
1369 ac_tool_prefix=
1370 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1372 test "$silent" = yes && exec 6>/dev/null
1375 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1376 ac_ls_di=`ls -di .` &&
1377 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1378 as_fn_error $? "working directory cannot be determined"
1379 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1380 as_fn_error $? "pwd does not report name of working directory"
1383 # Find the source files, if location was not specified.
1384 if test -z "$srcdir"; then
1385 ac_srcdir_defaulted=yes
1386 # Try the directory containing this script, then the parent directory.
1387 ac_confdir=`$as_dirname -- "$as_myself" ||
1388 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1389 X"$as_myself" : 'X\(//\)[^/]' \| \
1390 X"$as_myself" : 'X\(//\)$' \| \
1391 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1392 $as_echo X"$as_myself" |
1393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1394 s//\1/
1397 /^X\(\/\/\)[^/].*/{
1398 s//\1/
1401 /^X\(\/\/\)$/{
1402 s//\1/
1405 /^X\(\/\).*/{
1406 s//\1/
1409 s/.*/./; q'`
1410 srcdir=$ac_confdir
1411 if test ! -r "$srcdir/$ac_unique_file"; then
1412 srcdir=..
1414 else
1415 ac_srcdir_defaulted=no
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1418 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1419 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1421 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1422 ac_abs_confdir=`(
1423 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1424 pwd)`
1425 # When building in place, set srcdir=.
1426 if test "$ac_abs_confdir" = "$ac_pwd"; then
1427 srcdir=.
1429 # Remove unnecessary trailing slashes from srcdir.
1430 # Double slashes in file names in object file debugging info
1431 # mess up M-x gdb in Emacs.
1432 case $srcdir in
1433 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1434 esac
1435 for ac_var in $ac_precious_vars; do
1436 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1437 eval ac_env_${ac_var}_value=\$${ac_var}
1438 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1439 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1440 done
1443 # Report the --help message.
1445 if test "$ac_init_help" = "long"; then
1446 # Omit some internal or obsolete options to make the list less imposing.
1447 # This message is too long to be a string in the A/UX 3.1 sh.
1448 cat <<_ACEOF
1449 \`configure' configures Wine 1.7.2 to adapt to many kinds of systems.
1451 Usage: $0 [OPTION]... [VAR=VALUE]...
1453 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1454 VAR=VALUE. See below for descriptions of some of the useful variables.
1456 Defaults for the options are specified in brackets.
1458 Configuration:
1459 -h, --help display this help and exit
1460 --help=short display options specific to this package
1461 --help=recursive display the short help of all the included packages
1462 -V, --version display version information and exit
1463 -q, --quiet, --silent do not print \`checking ...' messages
1464 --cache-file=FILE cache test results in FILE [disabled]
1465 -C, --config-cache alias for \`--cache-file=config.cache'
1466 -n, --no-create do not create output files
1467 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1469 Installation directories:
1470 --prefix=PREFIX install architecture-independent files in PREFIX
1471 [$ac_default_prefix]
1472 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1473 [PREFIX]
1475 By default, \`make install' will install all the files in
1476 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1477 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1478 for instance \`--prefix=\$HOME'.
1480 For better control, use the options below.
1482 Fine tuning of the installation directories:
1483 --bindir=DIR user executables [EPREFIX/bin]
1484 --sbindir=DIR system admin executables [EPREFIX/sbin]
1485 --libexecdir=DIR program executables [EPREFIX/libexec]
1486 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1487 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1488 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1489 --libdir=DIR object code libraries [EPREFIX/lib]
1490 --includedir=DIR C header files [PREFIX/include]
1491 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1492 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1493 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1494 --infodir=DIR info documentation [DATAROOTDIR/info]
1495 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1496 --mandir=DIR man documentation [DATAROOTDIR/man]
1497 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1498 --htmldir=DIR html documentation [DOCDIR]
1499 --dvidir=DIR dvi documentation [DOCDIR]
1500 --pdfdir=DIR pdf documentation [DOCDIR]
1501 --psdir=DIR ps documentation [DOCDIR]
1502 _ACEOF
1504 cat <<\_ACEOF
1506 X features:
1507 --x-includes=DIR X include files are in DIR
1508 --x-libraries=DIR X library files are in DIR
1510 System types:
1511 --build=BUILD configure for building on BUILD [guessed]
1512 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1513 _ACEOF
1516 if test -n "$ac_init_help"; then
1517 case $ac_init_help in
1518 short | recursive ) echo "Configuration of Wine 1.7.2:";;
1519 esac
1520 cat <<\_ACEOF
1522 Optional Features:
1523 --disable-option-checking ignore unrecognized --enable/--with options
1524 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1525 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1526 --disable-win16 do not include Win16 support
1527 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1528 binaries)
1529 --disable-tests do not build the regression tests
1530 --enable-maintainer-mode
1531 enable maintainer-specific build rules
1532 --disable-largefile omit support for large files
1534 Optional Packages:
1535 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1536 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1537 --without-alsa do not use the Alsa sound support
1538 --without-capi do not use CAPI (ISDN support)
1539 --without-cms do not use CMS (color management support)
1540 --without-coreaudio do not use the CoreAudio sound support
1541 --without-cups do not use CUPS
1542 --without-curses do not use (n)curses
1543 --without-dbus do not use DBus (dynamic device support)
1544 --without-fontconfig do not use fontconfig
1545 --without-freetype do not use the FreeType library
1546 --without-gettext do not use gettext
1547 --with-gettextpo use the GetTextPO library to rebuild po files
1548 --without-gphoto do not use gphoto (Digital Camera support)
1549 --without-glu do not use the GLU library
1550 --without-gnutls do not use GnuTLS (schannel support)
1551 --without-gsm do not use libgsm (GSM 06.10 codec support)
1552 --without-gstreamer do not use GStreamer (codecs support)
1553 --without-hal do not use HAL (dynamic device support)
1554 --without-jpeg do not use JPEG
1555 --without-ldap do not use LDAP
1556 --without-mpg123 do not use the mpg123 library
1557 --without-openal do not use OpenAL
1558 --without-opencl do not use OpenCL
1559 --without-opengl do not use OpenGL
1560 --without-osmesa do not use the OSMesa library
1561 --without-oss do not use the OSS sound support
1562 --without-png do not use PNG
1563 --without-pthread do not use the pthread library
1564 --without-sane do not use SANE (scanner support)
1565 --without-tiff do not use TIFF
1566 --without-v4l do not use v4l1 (v4l support)
1567 --without-xcomposite do not use the Xcomposite extension
1568 --without-xcursor do not use the Xcursor extension
1569 --without-xinerama do not use Xinerama (multi-monitor support)
1570 --without-xinput do not use the Xinput extension
1571 --without-xinput2 do not use the Xinput 2 extension
1572 --without-xml do not use XML
1573 --without-xrandr do not use Xrandr (resolution changes)
1574 --without-xrender do not use the Xrender extension
1575 --without-xshape do not use the Xshape extension
1576 --without-xshm do not use XShm (shared memory extension)
1577 --without-xslt do not use XSLT
1578 --without-xxf86vm do not use XFree video mode extension
1579 --without-zlib do not use Zlib (data compression)
1580 --with-wine-tools=DIR use Wine tools from directory DIR
1581 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1582 --with-x use the X Window System
1584 Some influential environment variables:
1585 CC C compiler command
1586 CFLAGS C compiler flags
1587 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1588 nonstandard directory <lib dir>
1589 LIBS libraries to pass to the linker, e.g. -l<library>
1590 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1591 you have headers in a nonstandard directory <include dir>
1592 CXX C++ compiler command
1593 CXXFLAGS C++ compiler flags
1594 CPP C preprocessor
1595 XMKMF Path to xmkmf, Makefile generator for X Window System
1596 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1597 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1598 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1599 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1600 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1601 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1602 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1603 HAL_LIBS Linker flags for hal, overriding pkg-config
1604 GNUTLS_CFLAGS
1605 C compiler flags for gnutls, overriding pkg-config
1606 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1607 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1608 SANE_LIBS Linker flags for libsane, overriding pkg-config
1609 GPHOTO2_CFLAGS
1610 C compiler flags for libgphoto2, overriding pkg-config
1611 GPHOTO2_LIBS
1612 Linker flags for libgphoto2, overriding pkg-config
1613 GPHOTO2_PORT_CFLAGS
1614 C compiler flags for libgphoto2_port, overriding pkg-config
1615 GPHOTO2_PORT_LIBS
1616 Linker flags for libgphoto2_port, overriding pkg-config
1617 LCMS2_CFLAGS
1618 C compiler flags for lcms2, overriding pkg-config
1619 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
1620 FREETYPE_CFLAGS
1621 C compiler flags for freetype2, overriding pkg-config
1622 FREETYPE_LIBS
1623 Linker flags for freetype2, overriding pkg-config
1624 GSTREAMER_CFLAGS
1625 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1626 GSTREAMER_LIBS
1627 Linker flags for gstreamer-app-0.10, overriding pkg-config
1628 CAPI20_CFLAGS
1629 C compiler flags for capi20, overriding pkg-config
1630 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
1631 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
1632 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
1633 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
1634 PNG_LIBS Linker flags for libpng, overriding pkg-config
1635 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
1636 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
1637 MPG123_CFLAGS
1638 C compiler flags for libmpg123, overriding pkg-config
1639 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
1641 Use these variables to override the choices made by `configure' or to help
1642 it to find libraries and programs with nonstandard names/locations.
1644 Report bugs to <wine-devel@winehq.org>.
1645 Wine home page: <http://www.winehq.org>.
1646 _ACEOF
1647 ac_status=$?
1650 if test "$ac_init_help" = "recursive"; then
1651 # If there are subdirs, report their specific --help.
1652 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1653 test -d "$ac_dir" ||
1654 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1655 continue
1656 ac_builddir=.
1658 case "$ac_dir" in
1659 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1661 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1662 # A ".." for each directory in $ac_dir_suffix.
1663 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1664 case $ac_top_builddir_sub in
1665 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1666 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1667 esac ;;
1668 esac
1669 ac_abs_top_builddir=$ac_pwd
1670 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1671 # for backward compatibility:
1672 ac_top_builddir=$ac_top_build_prefix
1674 case $srcdir in
1675 .) # We are building in place.
1676 ac_srcdir=.
1677 ac_top_srcdir=$ac_top_builddir_sub
1678 ac_abs_top_srcdir=$ac_pwd ;;
1679 [\\/]* | ?:[\\/]* ) # Absolute name.
1680 ac_srcdir=$srcdir$ac_dir_suffix;
1681 ac_top_srcdir=$srcdir
1682 ac_abs_top_srcdir=$srcdir ;;
1683 *) # Relative name.
1684 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1685 ac_top_srcdir=$ac_top_build_prefix$srcdir
1686 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1687 esac
1688 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1690 cd "$ac_dir" || { ac_status=$?; continue; }
1691 # Check for guested configure.
1692 if test -f "$ac_srcdir/configure.gnu"; then
1693 echo &&
1694 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1695 elif test -f "$ac_srcdir/configure"; then
1696 echo &&
1697 $SHELL "$ac_srcdir/configure" --help=recursive
1698 else
1699 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1700 fi || ac_status=$?
1701 cd "$ac_pwd" || { ac_status=$?; break; }
1702 done
1705 test -n "$ac_init_help" && exit $ac_status
1706 if $ac_init_version; then
1707 cat <<\_ACEOF
1708 Wine configure 1.7.2
1709 generated by GNU Autoconf 2.69
1711 Copyright (C) 2012 Free Software Foundation, Inc.
1712 This configure script is free software; the Free Software Foundation
1713 gives unlimited permission to copy, distribute and modify it.
1714 _ACEOF
1715 exit
1718 ## ------------------------ ##
1719 ## Autoconf initialization. ##
1720 ## ------------------------ ##
1722 # ac_fn_c_try_compile LINENO
1723 # --------------------------
1724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1725 ac_fn_c_try_compile ()
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 rm -f conftest.$ac_objext
1729 if { { ac_try="$ac_compile"
1730 case "(($ac_try" in
1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1733 esac
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_compile") 2>conftest.err
1737 ac_status=$?
1738 if test -s conftest.err; then
1739 grep -v '^ *+' conftest.err >conftest.er1
1740 cat conftest.er1 >&5
1741 mv -f conftest.er1 conftest.err
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && {
1745 test -z "$ac_c_werror_flag" ||
1746 test ! -s conftest.err
1747 } && test -s conftest.$ac_objext; then :
1748 ac_retval=0
1749 else
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1753 ac_retval=1
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756 as_fn_set_status $ac_retval
1758 } # ac_fn_c_try_compile
1760 # ac_fn_cxx_try_compile LINENO
1761 # ----------------------------
1762 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_cxx_try_compile ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 rm -f conftest.$ac_objext
1767 if { { ac_try="$ac_compile"
1768 case "(($ac_try" in
1769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1770 *) ac_try_echo=$ac_try;;
1771 esac
1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_compile") 2>conftest.err
1775 ac_status=$?
1776 if test -s conftest.err; then
1777 grep -v '^ *+' conftest.err >conftest.er1
1778 cat conftest.er1 >&5
1779 mv -f conftest.er1 conftest.err
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && {
1783 test -z "$ac_cxx_werror_flag" ||
1784 test ! -s conftest.err
1785 } && test -s conftest.$ac_objext; then :
1786 ac_retval=0
1787 else
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1791 ac_retval=1
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 as_fn_set_status $ac_retval
1796 } # ac_fn_cxx_try_compile
1798 # ac_fn_c_try_link LINENO
1799 # -----------------------
1800 # Try to link conftest.$ac_ext, and return whether this succeeded.
1801 ac_fn_c_try_link ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 rm -f conftest.$ac_objext conftest$ac_exeext
1805 if { { ac_try="$ac_link"
1806 case "(($ac_try" in
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1809 esac
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_link") 2>conftest.err
1813 ac_status=$?
1814 if test -s conftest.err; then
1815 grep -v '^ *+' conftest.err >conftest.er1
1816 cat conftest.er1 >&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && {
1821 test -z "$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1823 } && test -s conftest$ac_exeext && {
1824 test "$cross_compiling" = yes ||
1825 test -x conftest$ac_exeext
1826 }; then :
1827 ac_retval=0
1828 else
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1832 ac_retval=1
1834 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1835 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1836 # interfere with the next link command; also delete a directory that is
1837 # left behind by Apple's compiler. We do this before executing the actions.
1838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status $ac_retval
1842 } # ac_fn_c_try_link
1844 # ac_fn_c_try_cpp LINENO
1845 # ----------------------
1846 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1847 ac_fn_c_try_cpp ()
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 if { { ac_try="$ac_cpp conftest.$ac_ext"
1851 case "(($ac_try" in
1852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853 *) ac_try_echo=$ac_try;;
1854 esac
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1858 ac_status=$?
1859 if test -s conftest.err; then
1860 grep -v '^ *+' conftest.err >conftest.er1
1861 cat conftest.er1 >&5
1862 mv -f conftest.er1 conftest.err
1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865 test $ac_status = 0; } > conftest.i && {
1866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1867 test ! -s conftest.err
1868 }; then :
1869 ac_retval=0
1870 else
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1874 ac_retval=1
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 as_fn_set_status $ac_retval
1879 } # ac_fn_c_try_cpp
1881 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1882 # -------------------------------------------------------
1883 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1884 # the include files in INCLUDES and setting the cache variable VAR
1885 # accordingly.
1886 ac_fn_c_check_header_mongrel ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 if eval \${$3+:} false; then :
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891 $as_echo_n "checking for $2... " >&6; }
1892 if eval \${$3+:} false; then :
1893 $as_echo_n "(cached) " >&6
1895 eval ac_res=\$$3
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 else
1899 # Is the header compilable?
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1901 $as_echo_n "checking $2 usability... " >&6; }
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h. */
1905 #include <$2>
1906 _ACEOF
1907 if ac_fn_c_try_compile "$LINENO"; then :
1908 ac_header_compiler=yes
1909 else
1910 ac_header_compiler=no
1912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1914 $as_echo "$ac_header_compiler" >&6; }
1916 # Is the header present?
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1918 $as_echo_n "checking $2 presence... " >&6; }
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1921 #include <$2>
1922 _ACEOF
1923 if ac_fn_c_try_cpp "$LINENO"; then :
1924 ac_header_preproc=yes
1925 else
1926 ac_header_preproc=no
1928 rm -f conftest.err conftest.i conftest.$ac_ext
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1930 $as_echo "$ac_header_preproc" >&6; }
1932 # So? What about this header?
1933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1934 yes:no: )
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1936 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1938 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1940 no:yes:* )
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1942 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1944 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1946 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1948 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1950 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1951 ( $as_echo "## ------------------------------------ ##
1952 ## Report this to wine-devel@winehq.org ##
1953 ## ------------------------------------ ##"
1954 ) | sed "s/^/$as_me: WARNING: /" >&2
1956 esac
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958 $as_echo_n "checking for $2... " >&6; }
1959 if eval \${$3+:} false; then :
1960 $as_echo_n "(cached) " >&6
1961 else
1962 eval "$3=\$ac_header_compiler"
1964 eval ac_res=\$$3
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966 $as_echo "$ac_res" >&6; }
1968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 } # ac_fn_c_check_header_mongrel
1972 # ac_fn_c_try_run LINENO
1973 # ----------------------
1974 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1975 # that executables *can* be run.
1976 ac_fn_c_try_run ()
1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979 if { { ac_try="$ac_link"
1980 case "(($ac_try" in
1981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1982 *) ac_try_echo=$ac_try;;
1983 esac
1984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1985 $as_echo "$ac_try_echo"; } >&5
1986 (eval "$ac_link") 2>&5
1987 ac_status=$?
1988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1989 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1990 { { case "(($ac_try" in
1991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992 *) ac_try_echo=$ac_try;;
1993 esac
1994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_try") 2>&5
1997 ac_status=$?
1998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1999 test $ac_status = 0; }; }; then :
2000 ac_retval=0
2001 else
2002 $as_echo "$as_me: program exited with status $ac_status" >&5
2003 $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2006 ac_retval=$ac_status
2008 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010 as_fn_set_status $ac_retval
2012 } # ac_fn_c_try_run
2014 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2015 # -------------------------------------------------------
2016 # Tests whether HEADER exists and can be compiled using the include files in
2017 # INCLUDES, setting the cache variable VAR accordingly.
2018 ac_fn_c_check_header_compile ()
2020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2022 $as_echo_n "checking for $2... " >&6; }
2023 if eval \${$3+:} false; then :
2024 $as_echo_n "(cached) " >&6
2025 else
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2029 #include <$2>
2030 _ACEOF
2031 if ac_fn_c_try_compile "$LINENO"; then :
2032 eval "$3=yes"
2033 else
2034 eval "$3=no"
2036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2038 eval ac_res=\$$3
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040 $as_echo "$ac_res" >&6; }
2041 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043 } # ac_fn_c_check_header_compile
2045 # ac_fn_c_check_func LINENO FUNC VAR
2046 # ----------------------------------
2047 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2048 ac_fn_c_check_func ()
2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2052 $as_echo_n "checking for $2... " >&6; }
2053 if eval \${$3+:} false; then :
2054 $as_echo_n "(cached) " >&6
2055 else
2056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2058 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2060 #define $2 innocuous_$2
2062 /* System header to define __stub macros and hopefully few prototypes,
2063 which can conflict with char $2 (); below.
2064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2065 <limits.h> exists even on freestanding compilers. */
2067 #ifdef __STDC__
2068 # include <limits.h>
2069 #else
2070 # include <assert.h>
2071 #endif
2073 #undef $2
2075 /* Override any GCC internal prototype to avoid an error.
2076 Use char because int might match the return type of a GCC
2077 builtin and then its argument prototype would still apply. */
2078 #ifdef __cplusplus
2079 extern "C"
2080 #endif
2081 char $2 ();
2082 /* The GNU C library defines this for functions which it implements
2083 to always fail with ENOSYS. Some functions are actually named
2084 something starting with __ and the normal name is an alias. */
2085 #if defined __stub_$2 || defined __stub___$2
2086 choke me
2087 #endif
2090 main ()
2092 return $2 ();
2094 return 0;
2096 _ACEOF
2097 if ac_fn_c_try_link "$LINENO"; then :
2098 eval "$3=yes"
2099 else
2100 eval "$3=no"
2102 rm -f core conftest.err conftest.$ac_objext \
2103 conftest$ac_exeext conftest.$ac_ext
2105 eval ac_res=\$$3
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2107 $as_echo "$ac_res" >&6; }
2108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110 } # ac_fn_c_check_func
2112 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2113 # ----------------------------------------------------
2114 # Tries to find if the field MEMBER exists in type AGGR, after including
2115 # INCLUDES, setting cache variable VAR accordingly.
2116 ac_fn_c_check_member ()
2118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2120 $as_echo_n "checking for $2.$3... " >&6; }
2121 if eval \${$4+:} false; then :
2122 $as_echo_n "(cached) " >&6
2123 else
2124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2125 /* end confdefs.h. */
2128 main ()
2130 static $2 ac_aggr;
2131 if (ac_aggr.$3)
2132 return 0;
2134 return 0;
2136 _ACEOF
2137 if ac_fn_c_try_compile "$LINENO"; then :
2138 eval "$4=yes"
2139 else
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2144 main ()
2146 static $2 ac_aggr;
2147 if (sizeof ac_aggr.$3)
2148 return 0;
2150 return 0;
2152 _ACEOF
2153 if ac_fn_c_try_compile "$LINENO"; then :
2154 eval "$4=yes"
2155 else
2156 eval "$4=no"
2158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2162 eval ac_res=\$$4
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2167 } # ac_fn_c_check_member
2169 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2170 # -------------------------------------------
2171 # Tests whether TYPE exists after having included INCLUDES, setting cache
2172 # variable VAR accordingly.
2173 ac_fn_c_check_type ()
2175 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2177 $as_echo_n "checking for $2... " >&6; }
2178 if eval \${$3+:} false; then :
2179 $as_echo_n "(cached) " >&6
2180 else
2181 eval "$3=no"
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2186 main ()
2188 if (sizeof ($2))
2189 return 0;
2191 return 0;
2193 _ACEOF
2194 if ac_fn_c_try_compile "$LINENO"; then :
2195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2196 /* end confdefs.h. */
2199 main ()
2201 if (sizeof (($2)))
2202 return 0;
2204 return 0;
2206 _ACEOF
2207 if ac_fn_c_try_compile "$LINENO"; then :
2209 else
2210 eval "$3=yes"
2212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2216 eval ac_res=\$$3
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2218 $as_echo "$ac_res" >&6; }
2219 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2221 } # ac_fn_c_check_type
2222 cat >config.log <<_ACEOF
2223 This file contains any messages produced by compilers while
2224 running configure, to aid debugging if configure makes a mistake.
2226 It was created by Wine $as_me 1.7.2, which was
2227 generated by GNU Autoconf 2.69. Invocation command line was
2229 $ $0 $@
2231 _ACEOF
2232 exec 5>>config.log
2234 cat <<_ASUNAME
2235 ## --------- ##
2236 ## Platform. ##
2237 ## --------- ##
2239 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2240 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2241 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2242 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2243 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2245 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2246 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2248 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2249 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2250 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2251 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2252 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2253 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2254 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2256 _ASUNAME
2258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259 for as_dir in $PATH
2261 IFS=$as_save_IFS
2262 test -z "$as_dir" && as_dir=.
2263 $as_echo "PATH: $as_dir"
2264 done
2265 IFS=$as_save_IFS
2267 } >&5
2269 cat >&5 <<_ACEOF
2272 ## ----------- ##
2273 ## Core tests. ##
2274 ## ----------- ##
2276 _ACEOF
2279 # Keep a trace of the command line.
2280 # Strip out --no-create and --no-recursion so they do not pile up.
2281 # Strip out --silent because we don't want to record it for future runs.
2282 # Also quote any args containing shell meta-characters.
2283 # Make two passes to allow for proper duplicate-argument suppression.
2284 ac_configure_args=
2285 ac_configure_args0=
2286 ac_configure_args1=
2287 ac_must_keep_next=false
2288 for ac_pass in 1 2
2290 for ac_arg
2292 case $ac_arg in
2293 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2295 | -silent | --silent | --silen | --sile | --sil)
2296 continue ;;
2297 *\'*)
2298 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2299 esac
2300 case $ac_pass in
2301 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2303 as_fn_append ac_configure_args1 " '$ac_arg'"
2304 if test $ac_must_keep_next = true; then
2305 ac_must_keep_next=false # Got value, back to normal.
2306 else
2307 case $ac_arg in
2308 *=* | --config-cache | -C | -disable-* | --disable-* \
2309 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2310 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2311 | -with-* | --with-* | -without-* | --without-* | --x)
2312 case "$ac_configure_args0 " in
2313 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2314 esac
2316 -* ) ac_must_keep_next=true ;;
2317 esac
2319 as_fn_append ac_configure_args " '$ac_arg'"
2321 esac
2322 done
2323 done
2324 { ac_configure_args0=; unset ac_configure_args0;}
2325 { ac_configure_args1=; unset ac_configure_args1;}
2327 # When interrupted or exit'd, cleanup temporary files, and complete
2328 # config.log. We remove comments because anyway the quotes in there
2329 # would cause problems or look ugly.
2330 # WARNING: Use '\'' to represent an apostrophe within the trap.
2331 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2332 trap 'exit_status=$?
2333 # Save into config.log some information that might help in debugging.
2335 echo
2337 $as_echo "## ---------------- ##
2338 ## Cache variables. ##
2339 ## ---------------- ##"
2340 echo
2341 # The following way of writing the cache mishandles newlines in values,
2343 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2344 eval ac_val=\$$ac_var
2345 case $ac_val in #(
2346 *${as_nl}*)
2347 case $ac_var in #(
2348 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2349 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2350 esac
2351 case $ac_var in #(
2352 _ | IFS | as_nl) ;; #(
2353 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2354 *) { eval $ac_var=; unset $ac_var;} ;;
2355 esac ;;
2356 esac
2357 done
2358 (set) 2>&1 |
2359 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2360 *${as_nl}ac_space=\ *)
2361 sed -n \
2362 "s/'\''/'\''\\\\'\'''\''/g;
2363 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2364 ;; #(
2366 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2368 esac |
2369 sort
2371 echo
2373 $as_echo "## ----------------- ##
2374 ## Output variables. ##
2375 ## ----------------- ##"
2376 echo
2377 for ac_var in $ac_subst_vars
2379 eval ac_val=\$$ac_var
2380 case $ac_val in
2381 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2382 esac
2383 $as_echo "$ac_var='\''$ac_val'\''"
2384 done | sort
2385 echo
2387 if test -n "$ac_subst_files"; then
2388 $as_echo "## ------------------- ##
2389 ## File substitutions. ##
2390 ## ------------------- ##"
2391 echo
2392 for ac_var in $ac_subst_files
2394 eval ac_val=\$$ac_var
2395 case $ac_val in
2396 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2397 esac
2398 $as_echo "$ac_var='\''$ac_val'\''"
2399 done | sort
2400 echo
2403 if test -s confdefs.h; then
2404 $as_echo "## ----------- ##
2405 ## confdefs.h. ##
2406 ## ----------- ##"
2407 echo
2408 cat confdefs.h
2409 echo
2411 test "$ac_signal" != 0 &&
2412 $as_echo "$as_me: caught signal $ac_signal"
2413 $as_echo "$as_me: exit $exit_status"
2414 } >&5
2415 rm -f core *.core core.conftest.* &&
2416 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2417 exit $exit_status
2419 for ac_signal in 1 2 13 15; do
2420 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2421 done
2422 ac_signal=0
2424 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2425 rm -f -r conftest* confdefs.h
2427 $as_echo "/* confdefs.h */" > confdefs.h
2429 # Predefined preprocessor variables.
2431 cat >>confdefs.h <<_ACEOF
2432 #define PACKAGE_NAME "$PACKAGE_NAME"
2433 _ACEOF
2435 cat >>confdefs.h <<_ACEOF
2436 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2437 _ACEOF
2439 cat >>confdefs.h <<_ACEOF
2440 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2441 _ACEOF
2443 cat >>confdefs.h <<_ACEOF
2444 #define PACKAGE_STRING "$PACKAGE_STRING"
2445 _ACEOF
2447 cat >>confdefs.h <<_ACEOF
2448 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2449 _ACEOF
2451 cat >>confdefs.h <<_ACEOF
2452 #define PACKAGE_URL "$PACKAGE_URL"
2453 _ACEOF
2456 # Let the site file select an alternate cache file if it wants to.
2457 # Prefer an explicitly selected file to automatically selected ones.
2458 ac_site_file1=NONE
2459 ac_site_file2=NONE
2460 if test -n "$CONFIG_SITE"; then
2461 # We do not want a PATH search for config.site.
2462 case $CONFIG_SITE in #((
2463 -*) ac_site_file1=./$CONFIG_SITE;;
2464 */*) ac_site_file1=$CONFIG_SITE;;
2465 *) ac_site_file1=./$CONFIG_SITE;;
2466 esac
2467 elif test "x$prefix" != xNONE; then
2468 ac_site_file1=$prefix/share/config.site
2469 ac_site_file2=$prefix/etc/config.site
2470 else
2471 ac_site_file1=$ac_default_prefix/share/config.site
2472 ac_site_file2=$ac_default_prefix/etc/config.site
2474 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2476 test "x$ac_site_file" = xNONE && continue
2477 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2479 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2480 sed 's/^/| /' "$ac_site_file" >&5
2481 . "$ac_site_file" \
2482 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2484 as_fn_error $? "failed to load site script $ac_site_file
2485 See \`config.log' for more details" "$LINENO" 5; }
2487 done
2489 if test -r "$cache_file"; then
2490 # Some versions of bash will fail to source /dev/null (special files
2491 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2492 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2494 $as_echo "$as_me: loading cache $cache_file" >&6;}
2495 case $cache_file in
2496 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2497 *) . "./$cache_file";;
2498 esac
2500 else
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2502 $as_echo "$as_me: creating cache $cache_file" >&6;}
2503 >$cache_file
2506 # Check that the precious variables saved in the cache have kept the same
2507 # value.
2508 ac_cache_corrupted=false
2509 for ac_var in $ac_precious_vars; do
2510 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2511 eval ac_new_set=\$ac_env_${ac_var}_set
2512 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2513 eval ac_new_val=\$ac_env_${ac_var}_value
2514 case $ac_old_set,$ac_new_set in
2515 set,)
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2517 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2518 ac_cache_corrupted=: ;;
2519 ,set)
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2521 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2522 ac_cache_corrupted=: ;;
2523 ,);;
2525 if test "x$ac_old_val" != "x$ac_new_val"; then
2526 # differences in whitespace do not lead to failure.
2527 ac_old_val_w=`echo x $ac_old_val`
2528 ac_new_val_w=`echo x $ac_new_val`
2529 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2531 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2532 ac_cache_corrupted=:
2533 else
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2535 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2536 eval $ac_var=\$ac_old_val
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2539 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2541 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2542 fi;;
2543 esac
2544 # Pass precious variables to config.status.
2545 if test "$ac_new_set" = set; then
2546 case $ac_new_val in
2547 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2548 *) ac_arg=$ac_var=$ac_new_val ;;
2549 esac
2550 case " $ac_configure_args " in
2551 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2552 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2553 esac
2555 done
2556 if $ac_cache_corrupted; then
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2560 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2561 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2563 ## -------------------- ##
2564 ## Main body of script. ##
2565 ## -------------------- ##
2567 ac_ext=c
2568 ac_cpp='$CPP $CPPFLAGS'
2569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2575 ac_config_headers="$ac_config_headers include/config.h"
2577 ac_aux_dir=
2578 for ac_dir in tools "$srcdir"/tools; do
2579 if test -f "$ac_dir/install-sh"; then
2580 ac_aux_dir=$ac_dir
2581 ac_install_sh="$ac_aux_dir/install-sh -c"
2582 break
2583 elif test -f "$ac_dir/install.sh"; then
2584 ac_aux_dir=$ac_dir
2585 ac_install_sh="$ac_aux_dir/install.sh -c"
2586 break
2587 elif test -f "$ac_dir/shtool"; then
2588 ac_aux_dir=$ac_dir
2589 ac_install_sh="$ac_aux_dir/shtool install -c"
2590 break
2592 done
2593 if test -z "$ac_aux_dir"; then
2594 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2597 # These three variables are undocumented and unsupported,
2598 # and are intended to be withdrawn in a future Autoconf release.
2599 # They can cause serious problems if a builder's source tree is in a directory
2600 # whose full name contains unusual characters.
2601 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2602 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2603 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2609 # Check whether --enable-win16 was given.
2610 if test "${enable_win16+set}" = set; then :
2611 enableval=$enable_win16;
2614 # Check whether --enable-win64 was given.
2615 if test "${enable_win64+set}" = set; then :
2616 enableval=$enable_win64;
2619 # Check whether --enable-tests was given.
2620 if test "${enable_tests+set}" = set; then :
2621 enableval=$enable_tests;
2624 # Check whether --enable-maintainer-mode was given.
2625 if test "${enable_maintainer_mode+set}" = set; then :
2626 enableval=$enable_maintainer_mode;
2631 # Check whether --with-alsa was given.
2632 if test "${with_alsa+set}" = set; then :
2633 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2637 # Check whether --with-capi was given.
2638 if test "${with_capi+set}" = set; then :
2639 withval=$with_capi;
2643 # Check whether --with-cms was given.
2644 if test "${with_cms+set}" = set; then :
2645 withval=$with_cms;
2649 # Check whether --with-coreaudio was given.
2650 if test "${with_coreaudio+set}" = set; then :
2651 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2655 # Check whether --with-cups was given.
2656 if test "${with_cups+set}" = set; then :
2657 withval=$with_cups;
2661 # Check whether --with-curses was given.
2662 if test "${with_curses+set}" = set; then :
2663 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2667 # Check whether --with-dbus was given.
2668 if test "${with_dbus+set}" = set; then :
2669 withval=$with_dbus;
2673 # Check whether --with-fontconfig was given.
2674 if test "${with_fontconfig+set}" = set; then :
2675 withval=$with_fontconfig;
2679 # Check whether --with-freetype was given.
2680 if test "${with_freetype+set}" = set; then :
2681 withval=$with_freetype;
2685 # Check whether --with-gettext was given.
2686 if test "${with_gettext+set}" = set; then :
2687 withval=$with_gettext;
2691 # Check whether --with-gettextpo was given.
2692 if test "${with_gettextpo+set}" = set; then :
2693 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2697 # Check whether --with-gphoto was given.
2698 if test "${with_gphoto+set}" = set; then :
2699 withval=$with_gphoto;
2703 # Check whether --with-glu was given.
2704 if test "${with_glu+set}" = set; then :
2705 withval=$with_glu;
2709 # Check whether --with-gnutls was given.
2710 if test "${with_gnutls+set}" = set; then :
2711 withval=$with_gnutls;
2715 # Check whether --with-gsm was given.
2716 if test "${with_gsm+set}" = set; then :
2717 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2721 # Check whether --with-gstreamer was given.
2722 if test "${with_gstreamer+set}" = set; then :
2723 withval=$with_gstreamer;
2727 # Check whether --with-hal was given.
2728 if test "${with_hal+set}" = set; then :
2729 withval=$with_hal;
2733 # Check whether --with-jpeg was given.
2734 if test "${with_jpeg+set}" = set; then :
2735 withval=$with_jpeg;
2739 # Check whether --with-ldap was given.
2740 if test "${with_ldap+set}" = set; then :
2741 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2745 # Check whether --with-mpg123 was given.
2746 if test "${with_mpg123+set}" = set; then :
2747 withval=$with_mpg123;
2751 # Check whether --with-openal was given.
2752 if test "${with_openal+set}" = set; then :
2753 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2757 # Check whether --with-opencl was given.
2758 if test "${with_opencl+set}" = set; then :
2759 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2763 # Check whether --with-opengl was given.
2764 if test "${with_opengl+set}" = set; then :
2765 withval=$with_opengl;
2769 # Check whether --with-osmesa was given.
2770 if test "${with_osmesa+set}" = set; then :
2771 withval=$with_osmesa;
2775 # Check whether --with-oss was given.
2776 if test "${with_oss+set}" = set; then :
2777 withval=$with_oss;
2781 # Check whether --with-png was given.
2782 if test "${with_png+set}" = set; then :
2783 withval=$with_png;
2787 # Check whether --with-pthread was given.
2788 if test "${with_pthread+set}" = set; then :
2789 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2793 # Check whether --with-sane was given.
2794 if test "${with_sane+set}" = set; then :
2795 withval=$with_sane;
2799 # Check whether --with-tiff was given.
2800 if test "${with_tiff+set}" = set; then :
2801 withval=$with_tiff;
2805 # Check whether --with-v4l was given.
2806 if test "${with_v4l+set}" = set; then :
2807 withval=$with_v4l;
2811 # Check whether --with-xcomposite was given.
2812 if test "${with_xcomposite+set}" = set; then :
2813 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2817 # Check whether --with-xcursor was given.
2818 if test "${with_xcursor+set}" = set; then :
2819 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2823 # Check whether --with-xinerama was given.
2824 if test "${with_xinerama+set}" = set; then :
2825 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2829 # Check whether --with-xinput was given.
2830 if test "${with_xinput+set}" = set; then :
2831 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2835 # Check whether --with-xinput2 was given.
2836 if test "${with_xinput2+set}" = set; then :
2837 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2841 # Check whether --with-xml was given.
2842 if test "${with_xml+set}" = set; then :
2843 withval=$with_xml;
2847 # Check whether --with-xrandr was given.
2848 if test "${with_xrandr+set}" = set; then :
2849 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2853 # Check whether --with-xrender was given.
2854 if test "${with_xrender+set}" = set; then :
2855 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2859 # Check whether --with-xshape was given.
2860 if test "${with_xshape+set}" = set; then :
2861 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2865 # Check whether --with-xshm was given.
2866 if test "${with_xshm+set}" = set; then :
2867 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2871 # Check whether --with-xslt was given.
2872 if test "${with_xslt+set}" = set; then :
2873 withval=$with_xslt;
2877 # Check whether --with-xxf86vm was given.
2878 if test "${with_xxf86vm+set}" = set; then :
2879 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
2883 # Check whether --with-zlib was given.
2884 if test "${with_zlib+set}" = set; then :
2885 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2890 # Check whether --with-wine-tools was given.
2891 if test "${with_wine_tools+set}" = set; then :
2892 withval=$with_wine_tools;
2896 # Check whether --with-wine64 was given.
2897 if test "${with_wine64+set}" = set; then :
2898 withval=$with_wine64;
2902 # Make sure we can run config.sub.
2903 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2904 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2907 $as_echo_n "checking build system type... " >&6; }
2908 if ${ac_cv_build+:} false; then :
2909 $as_echo_n "(cached) " >&6
2910 else
2911 ac_build_alias=$build_alias
2912 test "x$ac_build_alias" = x &&
2913 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2914 test "x$ac_build_alias" = x &&
2915 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2916 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2917 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2921 $as_echo "$ac_cv_build" >&6; }
2922 case $ac_cv_build in
2923 *-*-*) ;;
2924 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2925 esac
2926 build=$ac_cv_build
2927 ac_save_IFS=$IFS; IFS='-'
2928 set x $ac_cv_build
2929 shift
2930 build_cpu=$1
2931 build_vendor=$2
2932 shift; shift
2933 # Remember, the first character of IFS is used to create $*,
2934 # except with old shells:
2935 build_os=$*
2936 IFS=$ac_save_IFS
2937 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2941 $as_echo_n "checking host system type... " >&6; }
2942 if ${ac_cv_host+:} false; then :
2943 $as_echo_n "(cached) " >&6
2944 else
2945 if test "x$host_alias" = x; then
2946 ac_cv_host=$ac_cv_build
2947 else
2948 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2949 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2954 $as_echo "$ac_cv_host" >&6; }
2955 case $ac_cv_host in
2956 *-*-*) ;;
2957 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2958 esac
2959 host=$ac_cv_host
2960 ac_save_IFS=$IFS; IFS='-'
2961 set x $ac_cv_host
2962 shift
2963 host_cpu=$1
2964 host_vendor=$2
2965 shift; shift
2966 # Remember, the first character of IFS is used to create $*,
2967 # except with old shells:
2968 host_os=$*
2969 IFS=$ac_save_IFS
2970 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2974 case "$srcdir" in
2975 .) ;;
2976 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2977 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2978 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2979 fi ;;
2980 esac
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2984 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2985 set x ${MAKE-make}
2986 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2987 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2988 $as_echo_n "(cached) " >&6
2989 else
2990 cat >conftest.make <<\_ACEOF
2991 SHELL = /bin/sh
2992 all:
2993 @echo '@@@%%%=$(MAKE)=@@@%%%'
2994 _ACEOF
2995 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2996 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2997 *@@@%%%=?*=@@@%%%*)
2998 eval ac_cv_prog_make_${ac_make}_set=yes;;
3000 eval ac_cv_prog_make_${ac_make}_set=no;;
3001 esac
3002 rm -f conftest.make
3004 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3006 $as_echo "yes" >&6; }
3007 SET_MAKE=
3008 else
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3011 SET_MAKE="MAKE=${MAKE-make}"
3014 ac_ext=c
3015 ac_cpp='$CPP $CPPFLAGS'
3016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3019 if test -n "$ac_tool_prefix"; then
3020 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3021 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023 $as_echo_n "checking for $ac_word... " >&6; }
3024 if ${ac_cv_prog_CC+:} false; then :
3025 $as_echo_n "(cached) " >&6
3026 else
3027 if test -n "$CC"; then
3028 ac_cv_prog_CC="$CC" # Let the user override the test.
3029 else
3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 for as_dir in $PATH
3033 IFS=$as_save_IFS
3034 test -z "$as_dir" && as_dir=.
3035 for ac_exec_ext in '' $ac_executable_extensions; do
3036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3037 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 break 2
3041 done
3042 done
3043 IFS=$as_save_IFS
3047 CC=$ac_cv_prog_CC
3048 if test -n "$CC"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3050 $as_echo "$CC" >&6; }
3051 else
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053 $as_echo "no" >&6; }
3058 if test -z "$ac_cv_prog_CC"; then
3059 ac_ct_CC=$CC
3060 # Extract the first word of "gcc", so it can be a program name with args.
3061 set dummy gcc; ac_word=$2
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; }
3064 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3065 $as_echo_n "(cached) " >&6
3066 else
3067 if test -n "$ac_ct_CC"; then
3068 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3069 else
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071 for as_dir in $PATH
3073 IFS=$as_save_IFS
3074 test -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_ac_ct_CC="gcc"
3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3079 break 2
3081 done
3082 done
3083 IFS=$as_save_IFS
3087 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3088 if test -n "$ac_ct_CC"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3090 $as_echo "$ac_ct_CC" >&6; }
3091 else
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3096 if test "x$ac_ct_CC" = x; then
3097 CC=""
3098 else
3099 case $cross_compiling:$ac_tool_warned in
3100 yes:)
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3103 ac_tool_warned=yes ;;
3104 esac
3105 CC=$ac_ct_CC
3107 else
3108 CC="$ac_cv_prog_CC"
3111 if test -z "$CC"; then
3112 if test -n "$ac_tool_prefix"; then
3113 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3114 set dummy ${ac_tool_prefix}cc; ac_word=$2
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116 $as_echo_n "checking for $ac_word... " >&6; }
3117 if ${ac_cv_prog_CC+:} false; then :
3118 $as_echo_n "(cached) " >&6
3119 else
3120 if test -n "$CC"; then
3121 ac_cv_prog_CC="$CC" # Let the user override the test.
3122 else
3123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124 for as_dir in $PATH
3126 IFS=$as_save_IFS
3127 test -z "$as_dir" && as_dir=.
3128 for ac_exec_ext in '' $ac_executable_extensions; do
3129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3130 ac_cv_prog_CC="${ac_tool_prefix}cc"
3131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3132 break 2
3134 done
3135 done
3136 IFS=$as_save_IFS
3140 CC=$ac_cv_prog_CC
3141 if test -n "$CC"; then
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3143 $as_echo "$CC" >&6; }
3144 else
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3146 $as_echo "no" >&6; }
3152 if test -z "$CC"; then
3153 # Extract the first word of "cc", so it can be a program name with args.
3154 set dummy cc; ac_word=$2
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if ${ac_cv_prog_CC+:} false; then :
3158 $as_echo_n "(cached) " >&6
3159 else
3160 if test -n "$CC"; then
3161 ac_cv_prog_CC="$CC" # Let the user override the test.
3162 else
3163 ac_prog_rejected=no
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 for as_dir in $PATH
3167 IFS=$as_save_IFS
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3171 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3172 ac_prog_rejected=yes
3173 continue
3175 ac_cv_prog_CC="cc"
3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3177 break 2
3179 done
3180 done
3181 IFS=$as_save_IFS
3183 if test $ac_prog_rejected = yes; then
3184 # We found a bogon in the path, so make sure we never use it.
3185 set dummy $ac_cv_prog_CC
3186 shift
3187 if test $# != 0; then
3188 # We chose a different compiler from the bogus one.
3189 # However, it has the same basename, so the bogon will be chosen
3190 # first if we set CC to just the basename; use the full file name.
3191 shift
3192 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3197 CC=$ac_cv_prog_CC
3198 if test -n "$CC"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3200 $as_echo "$CC" >&6; }
3201 else
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3208 if test -z "$CC"; then
3209 if test -n "$ac_tool_prefix"; then
3210 for ac_prog in cl.exe
3212 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3213 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3215 $as_echo_n "checking for $ac_word... " >&6; }
3216 if ${ac_cv_prog_CC+:} false; then :
3217 $as_echo_n "(cached) " >&6
3218 else
3219 if test -n "$CC"; then
3220 ac_cv_prog_CC="$CC" # Let the user override the test.
3221 else
3222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3223 for as_dir in $PATH
3225 IFS=$as_save_IFS
3226 test -z "$as_dir" && as_dir=.
3227 for ac_exec_ext in '' $ac_executable_extensions; do
3228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3229 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3231 break 2
3233 done
3234 done
3235 IFS=$as_save_IFS
3239 CC=$ac_cv_prog_CC
3240 if test -n "$CC"; then
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3242 $as_echo "$CC" >&6; }
3243 else
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245 $as_echo "no" >&6; }
3249 test -n "$CC" && break
3250 done
3252 if test -z "$CC"; then
3253 ac_ct_CC=$CC
3254 for ac_prog in cl.exe
3256 # Extract the first word of "$ac_prog", so it can be a program name with args.
3257 set dummy $ac_prog; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3261 $as_echo_n "(cached) " >&6
3262 else
3263 if test -n "$ac_ct_CC"; then
3264 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3265 else
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 for as_dir in $PATH
3269 IFS=$as_save_IFS
3270 test -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3273 ac_cv_prog_ac_ct_CC="$ac_prog"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 break 2
3277 done
3278 done
3279 IFS=$as_save_IFS
3283 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3284 if test -n "$ac_ct_CC"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3286 $as_echo "$ac_ct_CC" >&6; }
3287 else
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3293 test -n "$ac_ct_CC" && break
3294 done
3296 if test "x$ac_ct_CC" = x; then
3297 CC=""
3298 else
3299 case $cross_compiling:$ac_tool_warned in
3300 yes:)
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3303 ac_tool_warned=yes ;;
3304 esac
3305 CC=$ac_ct_CC
3312 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 as_fn_error $? "no acceptable C compiler found in \$PATH
3315 See \`config.log' for more details" "$LINENO" 5; }
3317 # Provide some information about the compiler.
3318 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3319 set X $ac_compile
3320 ac_compiler=$2
3321 for ac_option in --version -v -V -qversion; do
3322 { { ac_try="$ac_compiler $ac_option >&5"
3323 case "(($ac_try" in
3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3326 esac
3327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3328 $as_echo "$ac_try_echo"; } >&5
3329 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3330 ac_status=$?
3331 if test -s conftest.err; then
3332 sed '10a\
3333 ... rest of stderr output deleted ...
3334 10q' conftest.err >conftest.er1
3335 cat conftest.er1 >&5
3337 rm -f conftest.er1 conftest.err
3338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339 test $ac_status = 0; }
3340 done
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3346 main ()
3350 return 0;
3352 _ACEOF
3353 ac_clean_files_save=$ac_clean_files
3354 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3355 # Try to create an executable without -o first, disregard a.out.
3356 # It will help us diagnose broken compilers, and finding out an intuition
3357 # of exeext.
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3359 $as_echo_n "checking whether the C compiler works... " >&6; }
3360 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3362 # The possible output files:
3363 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3365 ac_rmfiles=
3366 for ac_file in $ac_files
3368 case $ac_file in
3369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3370 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3371 esac
3372 done
3373 rm -f $ac_rmfiles
3375 if { { ac_try="$ac_link_default"
3376 case "(($ac_try" in
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3379 esac
3380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381 $as_echo "$ac_try_echo"; } >&5
3382 (eval "$ac_link_default") 2>&5
3383 ac_status=$?
3384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385 test $ac_status = 0; }; then :
3386 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3387 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3388 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3389 # so that the user can short-circuit this test for compilers unknown to
3390 # Autoconf.
3391 for ac_file in $ac_files ''
3393 test -f "$ac_file" || continue
3394 case $ac_file in
3395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3397 [ab].out )
3398 # We found the default executable, but exeext='' is most
3399 # certainly right.
3400 break;;
3401 *.* )
3402 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3403 then :; else
3404 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3406 # We set ac_cv_exeext here because the later test for it is not
3407 # safe: cross compilers may not add the suffix if given an `-o'
3408 # argument, so we may need to know it at that point already.
3409 # Even if this section looks crufty: it has the advantage of
3410 # actually working.
3411 break;;
3413 break;;
3414 esac
3415 done
3416 test "$ac_cv_exeext" = no && ac_cv_exeext=
3418 else
3419 ac_file=''
3421 if test -z "$ac_file"; then :
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 $as_echo "no" >&6; }
3424 $as_echo "$as_me: failed program was:" >&5
3425 sed 's/^/| /' conftest.$ac_ext >&5
3427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429 as_fn_error 77 "C compiler cannot create executables
3430 See \`config.log' for more details" "$LINENO" 5; }
3431 else
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3433 $as_echo "yes" >&6; }
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3436 $as_echo_n "checking for C compiler default output file name... " >&6; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3438 $as_echo "$ac_file" >&6; }
3439 ac_exeext=$ac_cv_exeext
3441 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3442 ac_clean_files=$ac_clean_files_save
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3444 $as_echo_n "checking for suffix of executables... " >&6; }
3445 if { { ac_try="$ac_link"
3446 case "(($ac_try" in
3447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3449 esac
3450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3451 $as_echo "$ac_try_echo"; } >&5
3452 (eval "$ac_link") 2>&5
3453 ac_status=$?
3454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3455 test $ac_status = 0; }; then :
3456 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3457 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3458 # work properly (i.e., refer to `conftest.exe'), while it won't with
3459 # `rm'.
3460 for ac_file in conftest.exe conftest conftest.*; do
3461 test -f "$ac_file" || continue
3462 case $ac_file in
3463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3464 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3465 break;;
3466 * ) break;;
3467 esac
3468 done
3469 else
3470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3472 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3473 See \`config.log' for more details" "$LINENO" 5; }
3475 rm -f conftest conftest$ac_cv_exeext
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3477 $as_echo "$ac_cv_exeext" >&6; }
3479 rm -f conftest.$ac_ext
3480 EXEEXT=$ac_cv_exeext
3481 ac_exeext=$EXEEXT
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3484 #include <stdio.h>
3486 main ()
3488 FILE *f = fopen ("conftest.out", "w");
3489 return ferror (f) || fclose (f) != 0;
3492 return 0;
3494 _ACEOF
3495 ac_clean_files="$ac_clean_files conftest.out"
3496 # Check that the compiler produces executables we can run. If not, either
3497 # the compiler is broken, or we cross compile.
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3499 $as_echo_n "checking whether we are cross compiling... " >&6; }
3500 if test "$cross_compiling" != yes; then
3501 { { ac_try="$ac_link"
3502 case "(($ac_try" in
3503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3504 *) ac_try_echo=$ac_try;;
3505 esac
3506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3507 $as_echo "$ac_try_echo"; } >&5
3508 (eval "$ac_link") 2>&5
3509 ac_status=$?
3510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3511 test $ac_status = 0; }
3512 if { ac_try='./conftest$ac_cv_exeext'
3513 { { case "(($ac_try" in
3514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3515 *) ac_try_echo=$ac_try;;
3516 esac
3517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3518 $as_echo "$ac_try_echo"; } >&5
3519 (eval "$ac_try") 2>&5
3520 ac_status=$?
3521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3522 test $ac_status = 0; }; }; then
3523 cross_compiling=no
3524 else
3525 if test "$cross_compiling" = maybe; then
3526 cross_compiling=yes
3527 else
3528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3530 as_fn_error $? "cannot run C compiled programs.
3531 If you meant to cross compile, use \`--host'.
3532 See \`config.log' for more details" "$LINENO" 5; }
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3537 $as_echo "$cross_compiling" >&6; }
3539 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3540 ac_clean_files=$ac_clean_files_save
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3542 $as_echo_n "checking for suffix of object files... " >&6; }
3543 if ${ac_cv_objext+:} false; then :
3544 $as_echo_n "(cached) " >&6
3545 else
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3550 main ()
3554 return 0;
3556 _ACEOF
3557 rm -f conftest.o conftest.obj
3558 if { { ac_try="$ac_compile"
3559 case "(($ac_try" in
3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;;
3562 esac
3563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564 $as_echo "$ac_try_echo"; } >&5
3565 (eval "$ac_compile") 2>&5
3566 ac_status=$?
3567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568 test $ac_status = 0; }; then :
3569 for ac_file in conftest.o conftest.obj conftest.*; do
3570 test -f "$ac_file" || continue;
3571 case $ac_file in
3572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3573 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3574 break;;
3575 esac
3576 done
3577 else
3578 $as_echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.$ac_ext >&5
3581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3583 as_fn_error $? "cannot compute suffix of object files: cannot compile
3584 See \`config.log' for more details" "$LINENO" 5; }
3586 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3589 $as_echo "$ac_cv_objext" >&6; }
3590 OBJEXT=$ac_cv_objext
3591 ac_objext=$OBJEXT
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3593 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3594 if ${ac_cv_c_compiler_gnu+:} false; then :
3595 $as_echo_n "(cached) " >&6
3596 else
3597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598 /* end confdefs.h. */
3601 main ()
3603 #ifndef __GNUC__
3604 choke me
3605 #endif
3608 return 0;
3610 _ACEOF
3611 if ac_fn_c_try_compile "$LINENO"; then :
3612 ac_compiler_gnu=yes
3613 else
3614 ac_compiler_gnu=no
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3621 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3622 if test $ac_compiler_gnu = yes; then
3623 GCC=yes
3624 else
3625 GCC=
3627 ac_test_CFLAGS=${CFLAGS+set}
3628 ac_save_CFLAGS=$CFLAGS
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3630 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3631 if ${ac_cv_prog_cc_g+:} false; then :
3632 $as_echo_n "(cached) " >&6
3633 else
3634 ac_save_c_werror_flag=$ac_c_werror_flag
3635 ac_c_werror_flag=yes
3636 ac_cv_prog_cc_g=no
3637 CFLAGS="-g"
3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3642 main ()
3646 return 0;
3648 _ACEOF
3649 if ac_fn_c_try_compile "$LINENO"; then :
3650 ac_cv_prog_cc_g=yes
3651 else
3652 CFLAGS=""
3653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
3657 main ()
3661 return 0;
3663 _ACEOF
3664 if ac_fn_c_try_compile "$LINENO"; then :
3666 else
3667 ac_c_werror_flag=$ac_save_c_werror_flag
3668 CFLAGS="-g"
3669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3673 main ()
3677 return 0;
3679 _ACEOF
3680 if ac_fn_c_try_compile "$LINENO"; then :
3681 ac_cv_prog_cc_g=yes
3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688 ac_c_werror_flag=$ac_save_c_werror_flag
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3691 $as_echo "$ac_cv_prog_cc_g" >&6; }
3692 if test "$ac_test_CFLAGS" = set; then
3693 CFLAGS=$ac_save_CFLAGS
3694 elif test $ac_cv_prog_cc_g = yes; then
3695 if test "$GCC" = yes; then
3696 CFLAGS="-g -O2"
3697 else
3698 CFLAGS="-g"
3700 else
3701 if test "$GCC" = yes; then
3702 CFLAGS="-O2"
3703 else
3704 CFLAGS=
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3708 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3709 if ${ac_cv_prog_cc_c89+:} false; then :
3710 $as_echo_n "(cached) " >&6
3711 else
3712 ac_cv_prog_cc_c89=no
3713 ac_save_CC=$CC
3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715 /* end confdefs.h. */
3716 #include <stdarg.h>
3717 #include <stdio.h>
3718 struct stat;
3719 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3720 struct buf { int x; };
3721 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3722 static char *e (p, i)
3723 char **p;
3724 int i;
3726 return p[i];
3728 static char *f (char * (*g) (char **, int), char **p, ...)
3730 char *s;
3731 va_list v;
3732 va_start (v,p);
3733 s = g (p, va_arg (v,int));
3734 va_end (v);
3735 return s;
3738 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3739 function prototypes and stuff, but not '\xHH' hex character constants.
3740 These don't provoke an error unfortunately, instead are silently treated
3741 as 'x'. The following induces an error, until -std is added to get
3742 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3743 array size at least. It's necessary to write '\x00'==0 to get something
3744 that's true only with -std. */
3745 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3747 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3748 inside strings and character constants. */
3749 #define FOO(x) 'x'
3750 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3752 int test (int i, double x);
3753 struct s1 {int (*f) (int a);};
3754 struct s2 {int (*f) (double a);};
3755 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3756 int argc;
3757 char **argv;
3759 main ()
3761 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3763 return 0;
3765 _ACEOF
3766 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3767 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3769 CC="$ac_save_CC $ac_arg"
3770 if ac_fn_c_try_compile "$LINENO"; then :
3771 ac_cv_prog_cc_c89=$ac_arg
3773 rm -f core conftest.err conftest.$ac_objext
3774 test "x$ac_cv_prog_cc_c89" != "xno" && break
3775 done
3776 rm -f conftest.$ac_ext
3777 CC=$ac_save_CC
3780 # AC_CACHE_VAL
3781 case "x$ac_cv_prog_cc_c89" in
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3784 $as_echo "none needed" >&6; } ;;
3785 xno)
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3787 $as_echo "unsupported" >&6; } ;;
3789 CC="$CC $ac_cv_prog_cc_c89"
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3791 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3792 esac
3793 if test "x$ac_cv_prog_cc_c89" != xno; then :
3797 ac_ext=c
3798 ac_cpp='$CPP $CPPFLAGS'
3799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3803 ac_ext=cpp
3804 ac_cpp='$CXXCPP $CPPFLAGS'
3805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3808 if test -z "$CXX"; then
3809 if test -n "$CCC"; then
3810 CXX=$CCC
3811 else
3812 if test -n "$ac_tool_prefix"; then
3813 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3818 $as_echo_n "checking for $ac_word... " >&6; }
3819 if ${ac_cv_prog_CXX+:} false; then :
3820 $as_echo_n "(cached) " >&6
3821 else
3822 if test -n "$CXX"; then
3823 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3824 else
3825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3826 for as_dir in $PATH
3828 IFS=$as_save_IFS
3829 test -z "$as_dir" && as_dir=.
3830 for ac_exec_ext in '' $ac_executable_extensions; do
3831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3832 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3834 break 2
3836 done
3837 done
3838 IFS=$as_save_IFS
3842 CXX=$ac_cv_prog_CXX
3843 if test -n "$CXX"; then
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3845 $as_echo "$CXX" >&6; }
3846 else
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3848 $as_echo "no" >&6; }
3852 test -n "$CXX" && break
3853 done
3855 if test -z "$CXX"; then
3856 ac_ct_CXX=$CXX
3857 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3859 # Extract the first word of "$ac_prog", so it can be a program name with args.
3860 set dummy $ac_prog; ac_word=$2
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862 $as_echo_n "checking for $ac_word... " >&6; }
3863 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3864 $as_echo_n "(cached) " >&6
3865 else
3866 if test -n "$ac_ct_CXX"; then
3867 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3868 else
3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870 for as_dir in $PATH
3872 IFS=$as_save_IFS
3873 test -z "$as_dir" && as_dir=.
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876 ac_cv_prog_ac_ct_CXX="$ac_prog"
3877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3878 break 2
3880 done
3881 done
3882 IFS=$as_save_IFS
3886 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3887 if test -n "$ac_ct_CXX"; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3889 $as_echo "$ac_ct_CXX" >&6; }
3890 else
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892 $as_echo "no" >&6; }
3896 test -n "$ac_ct_CXX" && break
3897 done
3899 if test "x$ac_ct_CXX" = x; then
3900 CXX="g++"
3901 else
3902 case $cross_compiling:$ac_tool_warned in
3903 yes:)
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3906 ac_tool_warned=yes ;;
3907 esac
3908 CXX=$ac_ct_CXX
3914 # Provide some information about the compiler.
3915 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3916 set X $ac_compile
3917 ac_compiler=$2
3918 for ac_option in --version -v -V -qversion; do
3919 { { ac_try="$ac_compiler $ac_option >&5"
3920 case "(($ac_try" in
3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3923 esac
3924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 $as_echo "$ac_try_echo"; } >&5
3926 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3927 ac_status=$?
3928 if test -s conftest.err; then
3929 sed '10a\
3930 ... rest of stderr output deleted ...
3931 10q' conftest.err >conftest.er1
3932 cat conftest.er1 >&5
3934 rm -f conftest.er1 conftest.err
3935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; }
3937 done
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3940 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3941 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3942 $as_echo_n "(cached) " >&6
3943 else
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3948 main ()
3950 #ifndef __GNUC__
3951 choke me
3952 #endif
3955 return 0;
3957 _ACEOF
3958 if ac_fn_cxx_try_compile "$LINENO"; then :
3959 ac_compiler_gnu=yes
3960 else
3961 ac_compiler_gnu=no
3963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3964 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3968 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3969 if test $ac_compiler_gnu = yes; then
3970 GXX=yes
3971 else
3972 GXX=
3974 ac_test_CXXFLAGS=${CXXFLAGS+set}
3975 ac_save_CXXFLAGS=$CXXFLAGS
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3977 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3978 if ${ac_cv_prog_cxx_g+:} false; then :
3979 $as_echo_n "(cached) " >&6
3980 else
3981 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3982 ac_cxx_werror_flag=yes
3983 ac_cv_prog_cxx_g=no
3984 CXXFLAGS="-g"
3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3989 main ()
3993 return 0;
3995 _ACEOF
3996 if ac_fn_cxx_try_compile "$LINENO"; then :
3997 ac_cv_prog_cxx_g=yes
3998 else
3999 CXXFLAGS=""
4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4004 main ()
4008 return 0;
4010 _ACEOF
4011 if ac_fn_cxx_try_compile "$LINENO"; then :
4013 else
4014 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4015 CXXFLAGS="-g"
4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h. */
4020 main ()
4024 return 0;
4026 _ACEOF
4027 if ac_fn_cxx_try_compile "$LINENO"; then :
4028 ac_cv_prog_cxx_g=yes
4030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4038 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4039 if test "$ac_test_CXXFLAGS" = set; then
4040 CXXFLAGS=$ac_save_CXXFLAGS
4041 elif test $ac_cv_prog_cxx_g = yes; then
4042 if test "$GXX" = yes; then
4043 CXXFLAGS="-g -O2"
4044 else
4045 CXXFLAGS="-g"
4047 else
4048 if test "$GXX" = yes; then
4049 CXXFLAGS="-O2"
4050 else
4051 CXXFLAGS=
4054 ac_ext=c
4055 ac_cpp='$CPP $CPPFLAGS'
4056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4060 if test -n "$ac_tool_prefix"; then
4061 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4062 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4064 $as_echo_n "checking for $ac_word... " >&6; }
4065 if ${ac_cv_prog_CPPBIN+:} false; then :
4066 $as_echo_n "(cached) " >&6
4067 else
4068 if test -n "$CPPBIN"; then
4069 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4070 else
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 for as_dir in $PATH
4074 IFS=$as_save_IFS
4075 test -z "$as_dir" && as_dir=.
4076 for ac_exec_ext in '' $ac_executable_extensions; do
4077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 break 2
4082 done
4083 done
4084 IFS=$as_save_IFS
4088 CPPBIN=$ac_cv_prog_CPPBIN
4089 if test -n "$CPPBIN"; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4091 $as_echo "$CPPBIN" >&6; }
4092 else
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4099 if test -z "$ac_cv_prog_CPPBIN"; then
4100 ac_ct_CPPBIN=$CPPBIN
4101 # Extract the first word of "cpp", so it can be a program name with args.
4102 set dummy cpp; ac_word=$2
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4104 $as_echo_n "checking for $ac_word... " >&6; }
4105 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4106 $as_echo_n "(cached) " >&6
4107 else
4108 if test -n "$ac_ct_CPPBIN"; then
4109 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4110 else
4111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4112 for as_dir in $PATH
4114 IFS=$as_save_IFS
4115 test -z "$as_dir" && as_dir=.
4116 for ac_exec_ext in '' $ac_executable_extensions; do
4117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4118 ac_cv_prog_ac_ct_CPPBIN="cpp"
4119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4120 break 2
4122 done
4123 done
4124 IFS=$as_save_IFS
4128 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4129 if test -n "$ac_ct_CPPBIN"; then
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4131 $as_echo "$ac_ct_CPPBIN" >&6; }
4132 else
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134 $as_echo "no" >&6; }
4137 if test "x$ac_ct_CPPBIN" = x; then
4138 CPPBIN="cpp"
4139 else
4140 case $cross_compiling:$ac_tool_warned in
4141 yes:)
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4144 ac_tool_warned=yes ;;
4145 esac
4146 CPPBIN=$ac_ct_CPPBIN
4148 else
4149 CPPBIN="$ac_cv_prog_CPPBIN"
4153 cat >>confdefs.h <<_ACEOF
4154 #define EXEEXT "$ac_exeext"
4155 _ACEOF
4158 case $host in
4159 *-darwin*)
4160 if test "x$enable_win64" = "xyes"
4161 then
4162 CC="$CC -m64"
4163 CXX="$CXX -m64"
4164 host_cpu="x86_64"
4165 notice_platform="64-bit "
4166 TARGETFLAGS="-m64"
4168 else
4169 CC="$CC -m32"
4170 CXX="$CXX -m32"
4171 host_cpu="i386"
4172 notice_platform="32-bit "
4173 TARGETFLAGS="-m32"
4175 enable_win16=${enable_win16:-yes}
4177 with_fontconfig=${with_fontconfig:-no}
4179 x86_64*)
4180 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4181 then
4182 CC="$CC -m32"
4183 CXX="$CXX -m32"
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4185 $as_echo_n "checking whether $CC works... " >&6; }
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4191 main ()
4195 return 0;
4197 _ACEOF
4198 if ac_fn_c_try_link "$LINENO"; then :
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4200 $as_echo "yes" >&6; }
4201 else
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4204 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4206 rm -f core conftest.err conftest.$ac_objext \
4207 conftest$ac_exeext conftest.$ac_ext
4208 host_cpu="i386"
4209 notice_platform="32-bit "
4210 TARGETFLAGS="-m32"
4212 enable_win16=${enable_win16:-yes}
4213 else
4214 if test "x${GCC}" = "xyes"
4215 then
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4217 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4220 #include <stdarg.h>
4222 main ()
4224 void func(__builtin_ms_va_list *args);
4226 return 0;
4228 _ACEOF
4229 if ac_fn_c_try_compile "$LINENO"; then :
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4231 $as_echo "yes" >&6; }
4232 else
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
4235 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4239 TARGETFLAGS="-m64"
4243 arm*)
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4245 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4248 int ac_test(int i) { return i; }
4250 main ()
4252 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4254 return 0;
4256 _ACEOF
4257 if ac_fn_c_try_link "$LINENO"; then :
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4259 $as_echo "yes" >&6; }
4260 else
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4262 $as_echo "no" >&6; }
4263 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4265 rm -f core conftest.err conftest.$ac_objext \
4266 conftest$ac_exeext conftest.$ac_ext
4267 CFLAGS="$CFLAGS -marm"
4269 *-mingw32*|*-cygwin*)
4270 enable_win16=${enable_win16:-no}
4271 CFLAGS="$CFLAGS -D_WIN32"
4273 i[3456789]86*)
4274 enable_win16=${enable_win16:-yes}
4276 esac
4278 enable_win16=${enable_win16:-no}
4279 enable_win64=${enable_win64:-no}
4281 enable_winetest=${enable_winetest:-$enable_tests}
4283 if test -n "$with_wine64"
4284 then
4285 if test "x$enable_win64" = "xyes"
4286 then
4287 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4288 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4290 WOW64_DISABLE=\#
4292 enable_fonts=${enable_fonts:-no}
4293 enable_server=${enable_server:-no}
4294 enable_tools=${enable_tools:-no}
4295 elif test "x$enable_win64" = "xyes"
4296 then
4297 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4301 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4302 if ${wine_cv_toolsdir+:} false; then :
4303 $as_echo_n "(cached) " >&6
4304 else
4305 wine_cv_toolsdir="$with_wine_tools"
4306 if test -z "$with_wine_tools"; then
4307 if test "$cross_compiling" = "yes"; then
4308 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4309 elif test -n "$with_wine64"; then
4310 wine_cv_toolsdir="$with_wine64"
4313 if test -z "$wine_cv_toolsdir"; then
4314 wine_cv_toolsdir="\$(top_builddir)"
4315 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4316 case "$wine_cv_toolsdir" in
4317 /*) ;;
4318 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4319 esac
4320 else
4321 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4325 $as_echo "$wine_cv_toolsdir" >&6; }
4326 TOOLSDIR=$wine_cv_toolsdir
4328 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4329 then
4330 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4334 for ac_prog in flex
4336 # Extract the first word of "$ac_prog", so it can be a program name with args.
4337 set dummy $ac_prog; ac_word=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if ${ac_cv_prog_FLEX+:} false; then :
4341 $as_echo_n "(cached) " >&6
4342 else
4343 if test -n "$FLEX"; then
4344 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4345 else
4346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347 for as_dir in $PATH
4349 IFS=$as_save_IFS
4350 test -z "$as_dir" && as_dir=.
4351 for ac_exec_ext in '' $ac_executable_extensions; do
4352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4353 ac_cv_prog_FLEX="$ac_prog"
4354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4355 break 2
4357 done
4358 done
4359 IFS=$as_save_IFS
4363 FLEX=$ac_cv_prog_FLEX
4364 if test -n "$FLEX"; then
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4366 $as_echo "$FLEX" >&6; }
4367 else
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4369 $as_echo "no" >&6; }
4373 test -n "$FLEX" && break
4374 done
4375 test -n "$FLEX" || FLEX="none"
4377 if test "$FLEX" = "none"
4378 then
4379 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4382 $as_echo_n "checking whether flex is recent enough... " >&6; }
4383 cat >conftest.l <<EOF
4384 %top{
4385 #include "prediluvian.h"
4389 if $FLEX -t conftest.l >/dev/null 2>&5
4390 then
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4392 $as_echo "yes" >&6; }
4393 else
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4396 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4399 for ac_prog in bison
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_BISON+:} false; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$BISON"; then
4409 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4418 ac_cv_prog_BISON="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4422 done
4423 done
4424 IFS=$as_save_IFS
4428 BISON=$ac_cv_prog_BISON
4429 if test -n "$BISON"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4431 $as_echo "$BISON" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 test -n "$BISON" && break
4439 done
4440 test -n "$BISON" || BISON="none"
4442 if test "$BISON" = "none"
4443 then
4444 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4447 if test -n "$ac_tool_prefix"; then
4448 for ac_prog in ar gar
4450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4451 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if ${ac_cv_prog_AR+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 if test -n "$AR"; then
4458 ac_cv_prog_AR="$AR" # Let the user override the test.
4459 else
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 for as_dir in $PATH
4463 IFS=$as_save_IFS
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 break 2
4471 done
4472 done
4473 IFS=$as_save_IFS
4477 AR=$ac_cv_prog_AR
4478 if test -n "$AR"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4480 $as_echo "$AR" >&6; }
4481 else
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4487 test -n "$AR" && break
4488 done
4490 if test -z "$AR"; then
4491 ac_ct_AR=$AR
4492 for ac_prog in ar gar
4494 # Extract the first word of "$ac_prog", so it can be a program name with args.
4495 set dummy $ac_prog; ac_word=$2
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497 $as_echo_n "checking for $ac_word... " >&6; }
4498 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4499 $as_echo_n "(cached) " >&6
4500 else
4501 if test -n "$ac_ct_AR"; then
4502 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4503 else
4504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4505 for as_dir in $PATH
4507 IFS=$as_save_IFS
4508 test -z "$as_dir" && as_dir=.
4509 for ac_exec_ext in '' $ac_executable_extensions; do
4510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4511 ac_cv_prog_ac_ct_AR="$ac_prog"
4512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4513 break 2
4515 done
4516 done
4517 IFS=$as_save_IFS
4521 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4522 if test -n "$ac_ct_AR"; then
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4524 $as_echo "$ac_ct_AR" >&6; }
4525 else
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527 $as_echo "no" >&6; }
4531 test -n "$ac_ct_AR" && break
4532 done
4534 if test "x$ac_ct_AR" = x; then
4535 AR="ar"
4536 else
4537 case $cross_compiling:$ac_tool_warned in
4538 yes:)
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4541 ac_tool_warned=yes ;;
4542 esac
4543 AR=$ac_ct_AR
4547 ARFLAGS=rc
4549 if test -n "$ac_tool_prefix"; then
4550 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4551 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4553 $as_echo_n "checking for $ac_word... " >&6; }
4554 if ${ac_cv_prog_RANLIB+:} false; then :
4555 $as_echo_n "(cached) " >&6
4556 else
4557 if test -n "$RANLIB"; then
4558 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4559 else
4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 for as_dir in $PATH
4563 IFS=$as_save_IFS
4564 test -z "$as_dir" && as_dir=.
4565 for ac_exec_ext in '' $ac_executable_extensions; do
4566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4567 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4569 break 2
4571 done
4572 done
4573 IFS=$as_save_IFS
4577 RANLIB=$ac_cv_prog_RANLIB
4578 if test -n "$RANLIB"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4580 $as_echo "$RANLIB" >&6; }
4581 else
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4588 if test -z "$ac_cv_prog_RANLIB"; then
4589 ac_ct_RANLIB=$RANLIB
4590 # Extract the first word of "ranlib", so it can be a program name with args.
4591 set dummy ranlib; ac_word=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4595 $as_echo_n "(cached) " >&6
4596 else
4597 if test -n "$ac_ct_RANLIB"; then
4598 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4599 else
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH
4603 IFS=$as_save_IFS
4604 test -z "$as_dir" && as_dir=.
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_ac_ct_RANLIB="ranlib"
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 break 2
4611 done
4612 done
4613 IFS=$as_save_IFS
4617 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4618 if test -n "$ac_ct_RANLIB"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4620 $as_echo "$ac_ct_RANLIB" >&6; }
4621 else
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4626 if test "x$ac_ct_RANLIB" = x; then
4627 RANLIB=":"
4628 else
4629 case $cross_compiling:$ac_tool_warned in
4630 yes:)
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4633 ac_tool_warned=yes ;;
4634 esac
4635 RANLIB=$ac_ct_RANLIB
4637 else
4638 RANLIB="$ac_cv_prog_RANLIB"
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4642 $as_echo_n "checking whether ln -s works... " >&6; }
4643 LN_S=$as_ln_s
4644 if test "$LN_S" = "ln -s"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4646 $as_echo "yes" >&6; }
4647 else
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4649 $as_echo "no, using $LN_S" >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4653 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4654 if ${ac_cv_path_GREP+:} false; then :
4655 $as_echo_n "(cached) " >&6
4656 else
4657 if test -z "$GREP"; then
4658 ac_path_GREP_found=false
4659 # Loop through the user's path and test for each of PROGNAME-LIST
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_prog in grep ggrep; do
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4668 as_fn_executable_p "$ac_path_GREP" || continue
4669 # Check for GNU ac_path_GREP and select it if it is found.
4670 # Check for GNU $ac_path_GREP
4671 case `"$ac_path_GREP" --version 2>&1` in
4672 *GNU*)
4673 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4675 ac_count=0
4676 $as_echo_n 0123456789 >"conftest.in"
4677 while :
4679 cat "conftest.in" "conftest.in" >"conftest.tmp"
4680 mv "conftest.tmp" "conftest.in"
4681 cp "conftest.in" "conftest.nl"
4682 $as_echo 'GREP' >> "conftest.nl"
4683 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4684 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4685 as_fn_arith $ac_count + 1 && ac_count=$as_val
4686 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4687 # Best one so far, save it but keep looking for a better one
4688 ac_cv_path_GREP="$ac_path_GREP"
4689 ac_path_GREP_max=$ac_count
4691 # 10*(2^10) chars as input seems more than enough
4692 test $ac_count -gt 10 && break
4693 done
4694 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4695 esac
4697 $ac_path_GREP_found && break 3
4698 done
4699 done
4700 done
4701 IFS=$as_save_IFS
4702 if test -z "$ac_cv_path_GREP"; then
4703 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4705 else
4706 ac_cv_path_GREP=$GREP
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4711 $as_echo "$ac_cv_path_GREP" >&6; }
4712 GREP="$ac_cv_path_GREP"
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4716 $as_echo_n "checking for egrep... " >&6; }
4717 if ${ac_cv_path_EGREP+:} false; then :
4718 $as_echo_n "(cached) " >&6
4719 else
4720 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4721 then ac_cv_path_EGREP="$GREP -E"
4722 else
4723 if test -z "$EGREP"; then
4724 ac_path_EGREP_found=false
4725 # Loop through the user's path and test for each of PROGNAME-LIST
4726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4727 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4729 IFS=$as_save_IFS
4730 test -z "$as_dir" && as_dir=.
4731 for ac_prog in egrep; do
4732 for ac_exec_ext in '' $ac_executable_extensions; do
4733 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4734 as_fn_executable_p "$ac_path_EGREP" || continue
4735 # Check for GNU ac_path_EGREP and select it if it is found.
4736 # Check for GNU $ac_path_EGREP
4737 case `"$ac_path_EGREP" --version 2>&1` in
4738 *GNU*)
4739 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4741 ac_count=0
4742 $as_echo_n 0123456789 >"conftest.in"
4743 while :
4745 cat "conftest.in" "conftest.in" >"conftest.tmp"
4746 mv "conftest.tmp" "conftest.in"
4747 cp "conftest.in" "conftest.nl"
4748 $as_echo 'EGREP' >> "conftest.nl"
4749 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4750 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4751 as_fn_arith $ac_count + 1 && ac_count=$as_val
4752 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4753 # Best one so far, save it but keep looking for a better one
4754 ac_cv_path_EGREP="$ac_path_EGREP"
4755 ac_path_EGREP_max=$ac_count
4757 # 10*(2^10) chars as input seems more than enough
4758 test $ac_count -gt 10 && break
4759 done
4760 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4761 esac
4763 $ac_path_EGREP_found && break 3
4764 done
4765 done
4766 done
4767 IFS=$as_save_IFS
4768 if test -z "$ac_cv_path_EGREP"; then
4769 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4771 else
4772 ac_cv_path_EGREP=$EGREP
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4778 $as_echo "$ac_cv_path_EGREP" >&6; }
4779 EGREP="$ac_cv_path_EGREP"
4782 # Extract the first word of "ldconfig", so it can be a program name with args.
4783 set dummy ldconfig; ac_word=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if ${ac_cv_path_LDCONFIG+:} false; then :
4787 $as_echo_n "(cached) " >&6
4788 else
4789 case $LDCONFIG in
4790 [\\/]* | ?:[\\/]*)
4791 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795 for as_dir in /sbin /usr/sbin $PATH
4797 IFS=$as_save_IFS
4798 test -z "$as_dir" && as_dir=.
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4801 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 break 2
4805 done
4806 done
4807 IFS=$as_save_IFS
4809 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4811 esac
4813 LDCONFIG=$ac_cv_path_LDCONFIG
4814 if test -n "$LDCONFIG"; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4816 $as_echo "$LDCONFIG" >&6; }
4817 else
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4823 # Find a good install program. We prefer a C program (faster),
4824 # so one script is as good as another. But avoid the broken or
4825 # incompatible versions:
4826 # SysV /etc/install, /usr/sbin/install
4827 # SunOS /usr/etc/install
4828 # IRIX /sbin/install
4829 # AIX /bin/install
4830 # AmigaOS /C/install, which installs bootblocks on floppy discs
4831 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4832 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4833 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4834 # OS/2's system install, which has a completely different semantic
4835 # ./install, which can be erroneously created by make from ./install.sh.
4836 # Reject install programs that cannot install multiple files.
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4838 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4839 if test -z "$INSTALL"; then
4840 if ${ac_cv_path_install+:} false; then :
4841 $as_echo_n "(cached) " >&6
4842 else
4843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4844 for as_dir in $PATH
4846 IFS=$as_save_IFS
4847 test -z "$as_dir" && as_dir=.
4848 # Account for people who put trailing slashes in PATH elements.
4849 case $as_dir/ in #((
4850 ./ | .// | /[cC]/* | \
4851 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4852 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4853 /usr/ucb/* ) ;;
4855 # OSF1 and SCO ODT 3.0 have their own names for install.
4856 # Don't use installbsd from OSF since it installs stuff as root
4857 # by default.
4858 for ac_prog in ginstall scoinst install; do
4859 for ac_exec_ext in '' $ac_executable_extensions; do
4860 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4861 if test $ac_prog = install &&
4862 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4863 # AIX install. It has an incompatible calling convention.
4865 elif test $ac_prog = install &&
4866 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4867 # program-specific install script used by HP pwplus--don't use.
4869 else
4870 rm -rf conftest.one conftest.two conftest.dir
4871 echo one > conftest.one
4872 echo two > conftest.two
4873 mkdir conftest.dir
4874 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4875 test -s conftest.one && test -s conftest.two &&
4876 test -s conftest.dir/conftest.one &&
4877 test -s conftest.dir/conftest.two
4878 then
4879 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4880 break 3
4884 done
4885 done
4887 esac
4889 done
4890 IFS=$as_save_IFS
4892 rm -rf conftest.one conftest.two conftest.dir
4895 if test "${ac_cv_path_install+set}" = set; then
4896 INSTALL=$ac_cv_path_install
4897 else
4898 # As a last resort, use the slow shell script. Don't cache a
4899 # value for INSTALL within a source directory, because that will
4900 # break other packages using the cache if that directory is
4901 # removed, or if the value is a relative name.
4902 INSTALL=$ac_install_sh
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4906 $as_echo "$INSTALL" >&6; }
4908 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4909 # It thinks the first close brace ends the variable substitution.
4910 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4912 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4914 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4916 case "$INSTALL" in
4917 [\\/$]* | ?:[\\/]* ) ;;
4918 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4919 esac
4921 for ac_prog in lclint lint
4923 # Extract the first word of "$ac_prog", so it can be a program name with args.
4924 set dummy $ac_prog; ac_word=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_LINT+:} false; then :
4928 $as_echo_n "(cached) " >&6
4929 else
4930 if test -n "$LINT"; then
4931 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4932 else
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH
4936 IFS=$as_save_IFS
4937 test -z "$as_dir" && as_dir=.
4938 for ac_exec_ext in '' $ac_executable_extensions; do
4939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_LINT="$ac_prog"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 break 2
4944 done
4945 done
4946 IFS=$as_save_IFS
4950 LINT=$ac_cv_prog_LINT
4951 if test -n "$LINT"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4953 $as_echo "$LINT" >&6; }
4954 else
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4960 test -n "$LINT" && break
4961 done
4963 if test "$LINT" = "lint"
4964 then
4965 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4969 for ac_prog in fontforge
4971 # Extract the first word of "$ac_prog", so it can be a program name with args.
4972 set dummy $ac_prog; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_FONTFORGE+:} false; then :
4976 $as_echo_n "(cached) " >&6
4977 else
4978 if test -n "$FONTFORGE"; then
4979 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4984 IFS=$as_save_IFS
4985 test -z "$as_dir" && as_dir=.
4986 for ac_exec_ext in '' $ac_executable_extensions; do
4987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_FONTFORGE="$ac_prog"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 break 2
4992 done
4993 done
4994 IFS=$as_save_IFS
4998 FONTFORGE=$ac_cv_prog_FONTFORGE
4999 if test -n "$FONTFORGE"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5001 $as_echo "$FONTFORGE" >&6; }
5002 else
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5008 test -n "$FONTFORGE" && break
5009 done
5010 test -n "$FONTFORGE" || FONTFORGE="false"
5012 for ac_prog in rsvg
5014 # Extract the first word of "$ac_prog", so it can be a program name with args.
5015 set dummy $ac_prog; ac_word=$2
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017 $as_echo_n "checking for $ac_word... " >&6; }
5018 if ${ac_cv_prog_RSVG+:} false; then :
5019 $as_echo_n "(cached) " >&6
5020 else
5021 if test -n "$RSVG"; then
5022 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5023 else
5024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025 for as_dir in $PATH
5027 IFS=$as_save_IFS
5028 test -z "$as_dir" && as_dir=.
5029 for ac_exec_ext in '' $ac_executable_extensions; do
5030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5031 ac_cv_prog_RSVG="$ac_prog"
5032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 break 2
5035 done
5036 done
5037 IFS=$as_save_IFS
5041 RSVG=$ac_cv_prog_RSVG
5042 if test -n "$RSVG"; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5044 $as_echo "$RSVG" >&6; }
5045 else
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5051 test -n "$RSVG" && break
5052 done
5053 test -n "$RSVG" || RSVG="false"
5055 for ac_prog in convert
5057 # Extract the first word of "$ac_prog", so it can be a program name with args.
5058 set dummy $ac_prog; ac_word=$2
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060 $as_echo_n "checking for $ac_word... " >&6; }
5061 if ${ac_cv_prog_CONVERT+:} false; then :
5062 $as_echo_n "(cached) " >&6
5063 else
5064 if test -n "$CONVERT"; then
5065 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5066 else
5067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5068 for as_dir in $PATH
5070 IFS=$as_save_IFS
5071 test -z "$as_dir" && as_dir=.
5072 for ac_exec_ext in '' $ac_executable_extensions; do
5073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5074 ac_cv_prog_CONVERT="$ac_prog"
5075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 break 2
5078 done
5079 done
5080 IFS=$as_save_IFS
5084 CONVERT=$ac_cv_prog_CONVERT
5085 if test -n "$CONVERT"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5087 $as_echo "$CONVERT" >&6; }
5088 else
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 $as_echo "no" >&6; }
5094 test -n "$CONVERT" && break
5095 done
5096 test -n "$CONVERT" || CONVERT="false"
5098 for ac_prog in icotool
5100 # Extract the first word of "$ac_prog", so it can be a program name with args.
5101 set dummy $ac_prog; ac_word=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if ${ac_cv_prog_ICOTOOL+:} false; then :
5105 $as_echo_n "(cached) " >&6
5106 else
5107 if test -n "$ICOTOOL"; then
5108 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5109 else
5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111 for as_dir in $PATH
5113 IFS=$as_save_IFS
5114 test -z "$as_dir" && as_dir=.
5115 for ac_exec_ext in '' $ac_executable_extensions; do
5116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5117 ac_cv_prog_ICOTOOL="$ac_prog"
5118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 break 2
5121 done
5122 done
5123 IFS=$as_save_IFS
5127 ICOTOOL=$ac_cv_prog_ICOTOOL
5128 if test -n "$ICOTOOL"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5130 $as_echo "$ICOTOOL" >&6; }
5131 else
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5137 test -n "$ICOTOOL" && break
5138 done
5139 test -n "$ICOTOOL" || ICOTOOL="false"
5141 for ac_prog in msgfmt
5143 # Extract the first word of "$ac_prog", so it can be a program name with args.
5144 set dummy $ac_prog; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if ${ac_cv_prog_MSGFMT+:} false; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 if test -n "$MSGFMT"; then
5151 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_prog_MSGFMT="$ac_prog"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5164 done
5165 done
5166 IFS=$as_save_IFS
5170 MSGFMT=$ac_cv_prog_MSGFMT
5171 if test -n "$MSGFMT"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5173 $as_echo "$MSGFMT" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5180 test -n "$MSGFMT" && break
5181 done
5182 test -n "$MSGFMT" || MSGFMT="false"
5184 if test -n "$ac_tool_prefix"; then
5185 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5186 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5190 $as_echo_n "(cached) " >&6
5191 else
5192 if test -n "$PKG_CONFIG"; then
5193 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5194 else
5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 for as_dir in $PATH
5198 IFS=$as_save_IFS
5199 test -z "$as_dir" && as_dir=.
5200 for ac_exec_ext in '' $ac_executable_extensions; do
5201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5202 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5204 break 2
5206 done
5207 done
5208 IFS=$as_save_IFS
5212 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5213 if test -n "$PKG_CONFIG"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5215 $as_echo "$PKG_CONFIG" >&6; }
5216 else
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5223 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5224 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5225 elif test "$cross_compiling" != yes; then
5226 unset ac_cv_prog_PKG_CONFIG
5227 # Extract the first word of "pkg-config", so it can be a program name with args.
5228 set dummy pkg-config; ac_word=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5232 $as_echo_n "(cached) " >&6
5233 else
5234 if test -n "$PKG_CONFIG"; then
5235 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_PKG_CONFIG="pkg-config"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5248 done
5249 done
5250 IFS=$as_save_IFS
5254 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5255 if test -n "$PKG_CONFIG"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5257 $as_echo "$PKG_CONFIG" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5266 if test "x$enable_maintainer_mode" != "xyes"
5267 then
5268 MAINTAINER_MODE=\#
5270 else
5271 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5272 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5274 if test "$CONVERT" = false
5275 then
5276 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5277 else
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5279 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5280 convert_version=`convert --version | head -n1`
5281 if test "x$convert_version" != "x"
5282 then
5283 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5284 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5285 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5286 then
5287 CONVERT=false
5290 if test "$CONVERT" = false
5291 then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5293 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5294 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5295 else
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5297 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5301 if test "$ICOTOOL" = false
5302 then
5303 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5304 else
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5306 $as_echo_n "checking for recent enough icotool... " >&6; }
5307 icotool_version=`icotool --version | head -n1`
5308 if test "x$icotool_version" != "x"
5309 then
5310 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5311 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5312 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5313 then
5314 ICOTOOL=false
5315 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5318 if test "$ICOTOOL" = false
5319 then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5321 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5322 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5323 else
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5325 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5329 with_gettext=yes
5330 with_gettextpo=yes
5331 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5334 test "x$with_gettext" != xno || MSGFMT=false
5335 if test "$MSGFMT" != "false"
5336 then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5338 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5339 cat >conftest.po <<EOF
5340 # comment
5341 msgctxt "ctxt"
5342 msgid "id"
5343 msgstr "str"
5345 if $MSGFMT -o /dev/null conftest.po 2>&5
5346 then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5348 $as_echo "yes" >&6; }
5349 else
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5352 MSGFMT=false
5355 if test "$MSGFMT" = false; then :
5356 case "x$with_gettext" in
5357 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5358 xno) ;;
5359 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5360 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5361 esac
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5366 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5367 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5368 $as_echo_n "(cached) " >&6
5369 else
5370 ac_check_lib_save_LIBS=$LIBS
5371 LIBS="-li386 $LIBS"
5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5373 /* end confdefs.h. */
5375 /* Override any GCC internal prototype to avoid an error.
5376 Use char because int might match the return type of a GCC
5377 builtin and then its argument prototype would still apply. */
5378 #ifdef __cplusplus
5379 extern "C"
5380 #endif
5381 char i386_set_ldt ();
5383 main ()
5385 return i386_set_ldt ();
5387 return 0;
5389 _ACEOF
5390 if ac_fn_c_try_link "$LINENO"; then :
5391 ac_cv_lib_i386_i386_set_ldt=yes
5392 else
5393 ac_cv_lib_i386_i386_set_ldt=no
5395 rm -f core conftest.err conftest.$ac_objext \
5396 conftest$ac_exeext conftest.$ac_ext
5397 LIBS=$ac_check_lib_save_LIBS
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5400 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5401 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5402 cat >>confdefs.h <<_ACEOF
5403 #define HAVE_LIBI386 1
5404 _ACEOF
5406 LIBS="-li386 $LIBS"
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5411 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5412 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5413 $as_echo_n "(cached) " >&6
5414 else
5415 ac_check_lib_save_LIBS=$LIBS
5416 LIBS="-lossaudio $LIBS"
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5420 /* Override any GCC internal prototype to avoid an error.
5421 Use char because int might match the return type of a GCC
5422 builtin and then its argument prototype would still apply. */
5423 #ifdef __cplusplus
5424 extern "C"
5425 #endif
5426 char _oss_ioctl ();
5428 main ()
5430 return _oss_ioctl ();
5432 return 0;
5434 _ACEOF
5435 if ac_fn_c_try_link "$LINENO"; then :
5436 ac_cv_lib_ossaudio__oss_ioctl=yes
5437 else
5438 ac_cv_lib_ossaudio__oss_ioctl=no
5440 rm -f core conftest.err conftest.$ac_objext \
5441 conftest$ac_exeext conftest.$ac_ext
5442 LIBS=$ac_check_lib_save_LIBS
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5445 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5446 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5447 cat >>confdefs.h <<_ACEOF
5448 #define HAVE_LIBOSSAUDIO 1
5449 _ACEOF
5451 LIBS="-lossaudio $LIBS"
5456 XLIB=""
5458 OPENGL_LIBS=""
5462 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5464 # Check whether --enable-largefile was given.
5465 if test "${enable_largefile+set}" = set; then :
5466 enableval=$enable_largefile;
5469 if test "$enable_largefile" != no; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5472 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5473 if ${ac_cv_sys_largefile_CC+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 ac_cv_sys_largefile_CC=no
5477 if test "$GCC" != yes; then
5478 ac_save_CC=$CC
5479 while :; do
5480 # IRIX 6.2 and later do not support large files by default,
5481 # so use the C compiler's -n32 option if that helps.
5482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5483 /* end confdefs.h. */
5484 #include <sys/types.h>
5485 /* Check that off_t can represent 2**63 - 1 correctly.
5486 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5487 since some C++ compilers masquerading as C compilers
5488 incorrectly reject 9223372036854775807. */
5489 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5490 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5491 && LARGE_OFF_T % 2147483647 == 1)
5492 ? 1 : -1];
5494 main ()
5498 return 0;
5500 _ACEOF
5501 if ac_fn_c_try_compile "$LINENO"; then :
5502 break
5504 rm -f core conftest.err conftest.$ac_objext
5505 CC="$CC -n32"
5506 if ac_fn_c_try_compile "$LINENO"; then :
5507 ac_cv_sys_largefile_CC=' -n32'; break
5509 rm -f core conftest.err conftest.$ac_objext
5510 break
5511 done
5512 CC=$ac_save_CC
5513 rm -f conftest.$ac_ext
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5517 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5518 if test "$ac_cv_sys_largefile_CC" != no; then
5519 CC=$CC$ac_cv_sys_largefile_CC
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5523 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5524 if ${ac_cv_sys_file_offset_bits+:} false; then :
5525 $as_echo_n "(cached) " >&6
5526 else
5527 while :; do
5528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5529 /* end confdefs.h. */
5530 #include <sys/types.h>
5531 /* Check that off_t can represent 2**63 - 1 correctly.
5532 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5533 since some C++ compilers masquerading as C compilers
5534 incorrectly reject 9223372036854775807. */
5535 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5536 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5537 && LARGE_OFF_T % 2147483647 == 1)
5538 ? 1 : -1];
5540 main ()
5544 return 0;
5546 _ACEOF
5547 if ac_fn_c_try_compile "$LINENO"; then :
5548 ac_cv_sys_file_offset_bits=no; break
5550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5552 /* end confdefs.h. */
5553 #define _FILE_OFFSET_BITS 64
5554 #include <sys/types.h>
5555 /* Check that off_t can represent 2**63 - 1 correctly.
5556 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5557 since some C++ compilers masquerading as C compilers
5558 incorrectly reject 9223372036854775807. */
5559 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5560 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5561 && LARGE_OFF_T % 2147483647 == 1)
5562 ? 1 : -1];
5564 main ()
5568 return 0;
5570 _ACEOF
5571 if ac_fn_c_try_compile "$LINENO"; then :
5572 ac_cv_sys_file_offset_bits=64; break
5574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5575 ac_cv_sys_file_offset_bits=unknown
5576 break
5577 done
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5580 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5581 case $ac_cv_sys_file_offset_bits in #(
5582 no | unknown) ;;
5584 cat >>confdefs.h <<_ACEOF
5585 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5586 _ACEOF
5588 esac
5589 rm -rf conftest*
5590 if test $ac_cv_sys_file_offset_bits = unknown; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5592 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5593 if ${ac_cv_sys_large_files+:} false; then :
5594 $as_echo_n "(cached) " >&6
5595 else
5596 while :; do
5597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5598 /* end confdefs.h. */
5599 #include <sys/types.h>
5600 /* Check that off_t can represent 2**63 - 1 correctly.
5601 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5602 since some C++ compilers masquerading as C compilers
5603 incorrectly reject 9223372036854775807. */
5604 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5605 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5606 && LARGE_OFF_T % 2147483647 == 1)
5607 ? 1 : -1];
5609 main ()
5613 return 0;
5615 _ACEOF
5616 if ac_fn_c_try_compile "$LINENO"; then :
5617 ac_cv_sys_large_files=no; break
5619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5622 #define _LARGE_FILES 1
5623 #include <sys/types.h>
5624 /* Check that off_t can represent 2**63 - 1 correctly.
5625 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5626 since some C++ compilers masquerading as C compilers
5627 incorrectly reject 9223372036854775807. */
5628 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5629 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5630 && LARGE_OFF_T % 2147483647 == 1)
5631 ? 1 : -1];
5633 main ()
5637 return 0;
5639 _ACEOF
5640 if ac_fn_c_try_compile "$LINENO"; then :
5641 ac_cv_sys_large_files=1; break
5643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5644 ac_cv_sys_large_files=unknown
5645 break
5646 done
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5649 $as_echo "$ac_cv_sys_large_files" >&6; }
5650 case $ac_cv_sys_large_files in #(
5651 no | unknown) ;;
5653 cat >>confdefs.h <<_ACEOF
5654 #define _LARGE_FILES $ac_cv_sys_large_files
5655 _ACEOF
5657 esac
5658 rm -rf conftest*
5665 ac_ext=c
5666 ac_cpp='$CPP $CPPFLAGS'
5667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5671 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5672 # On Suns, sometimes $CPP names a directory.
5673 if test -n "$CPP" && test -d "$CPP"; then
5674 CPP=
5676 if test -z "$CPP"; then
5677 if ${ac_cv_prog_CPP+:} false; then :
5678 $as_echo_n "(cached) " >&6
5679 else
5680 # Double quotes because CPP needs to be expanded
5681 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5683 ac_preproc_ok=false
5684 for ac_c_preproc_warn_flag in '' yes
5686 # Use a header file that comes with gcc, so configuring glibc
5687 # with a fresh cross-compiler works.
5688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5689 # <limits.h> exists even on freestanding compilers.
5690 # On the NeXT, cc -E runs the code through the compiler's parser,
5691 # not just through cpp. "Syntax error" is here to catch this case.
5692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5694 #ifdef __STDC__
5695 # include <limits.h>
5696 #else
5697 # include <assert.h>
5698 #endif
5699 Syntax error
5700 _ACEOF
5701 if ac_fn_c_try_cpp "$LINENO"; then :
5703 else
5704 # Broken: fails on valid input.
5705 continue
5707 rm -f conftest.err conftest.i conftest.$ac_ext
5709 # OK, works on sane cases. Now check whether nonexistent headers
5710 # can be detected and how.
5711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5712 /* end confdefs.h. */
5713 #include <ac_nonexistent.h>
5714 _ACEOF
5715 if ac_fn_c_try_cpp "$LINENO"; then :
5716 # Broken: success on invalid input.
5717 continue
5718 else
5719 # Passes both tests.
5720 ac_preproc_ok=:
5721 break
5723 rm -f conftest.err conftest.i conftest.$ac_ext
5725 done
5726 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5727 rm -f conftest.i conftest.err conftest.$ac_ext
5728 if $ac_preproc_ok; then :
5729 break
5732 done
5733 ac_cv_prog_CPP=$CPP
5736 CPP=$ac_cv_prog_CPP
5737 else
5738 ac_cv_prog_CPP=$CPP
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5741 $as_echo "$CPP" >&6; }
5742 ac_preproc_ok=false
5743 for ac_c_preproc_warn_flag in '' yes
5745 # Use a header file that comes with gcc, so configuring glibc
5746 # with a fresh cross-compiler works.
5747 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5748 # <limits.h> exists even on freestanding compilers.
5749 # On the NeXT, cc -E runs the code through the compiler's parser,
5750 # not just through cpp. "Syntax error" is here to catch this case.
5751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5752 /* end confdefs.h. */
5753 #ifdef __STDC__
5754 # include <limits.h>
5755 #else
5756 # include <assert.h>
5757 #endif
5758 Syntax error
5759 _ACEOF
5760 if ac_fn_c_try_cpp "$LINENO"; then :
5762 else
5763 # Broken: fails on valid input.
5764 continue
5766 rm -f conftest.err conftest.i conftest.$ac_ext
5768 # OK, works on sane cases. Now check whether nonexistent headers
5769 # can be detected and how.
5770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5771 /* end confdefs.h. */
5772 #include <ac_nonexistent.h>
5773 _ACEOF
5774 if ac_fn_c_try_cpp "$LINENO"; then :
5775 # Broken: success on invalid input.
5776 continue
5777 else
5778 # Passes both tests.
5779 ac_preproc_ok=:
5780 break
5782 rm -f conftest.err conftest.i conftest.$ac_ext
5784 done
5785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5786 rm -f conftest.i conftest.err conftest.$ac_ext
5787 if $ac_preproc_ok; then :
5789 else
5790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5792 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5793 See \`config.log' for more details" "$LINENO" 5; }
5796 ac_ext=c
5797 ac_cpp='$CPP $CPPFLAGS'
5798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5804 $as_echo_n "checking for ANSI C header files... " >&6; }
5805 if ${ac_cv_header_stdc+:} false; then :
5806 $as_echo_n "(cached) " >&6
5807 else
5808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5809 /* end confdefs.h. */
5810 #include <stdlib.h>
5811 #include <stdarg.h>
5812 #include <string.h>
5813 #include <float.h>
5816 main ()
5820 return 0;
5822 _ACEOF
5823 if ac_fn_c_try_compile "$LINENO"; then :
5824 ac_cv_header_stdc=yes
5825 else
5826 ac_cv_header_stdc=no
5828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5830 if test $ac_cv_header_stdc = yes; then
5831 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5833 /* end confdefs.h. */
5834 #include <string.h>
5836 _ACEOF
5837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5838 $EGREP "memchr" >/dev/null 2>&1; then :
5840 else
5841 ac_cv_header_stdc=no
5843 rm -f conftest*
5847 if test $ac_cv_header_stdc = yes; then
5848 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5850 /* end confdefs.h. */
5851 #include <stdlib.h>
5853 _ACEOF
5854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5855 $EGREP "free" >/dev/null 2>&1; then :
5857 else
5858 ac_cv_header_stdc=no
5860 rm -f conftest*
5864 if test $ac_cv_header_stdc = yes; then
5865 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5866 if test "$cross_compiling" = yes; then :
5868 else
5869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5871 #include <ctype.h>
5872 #include <stdlib.h>
5873 #if ((' ' & 0x0FF) == 0x020)
5874 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5875 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5876 #else
5877 # define ISLOWER(c) \
5878 (('a' <= (c) && (c) <= 'i') \
5879 || ('j' <= (c) && (c) <= 'r') \
5880 || ('s' <= (c) && (c) <= 'z'))
5881 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5882 #endif
5884 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5886 main ()
5888 int i;
5889 for (i = 0; i < 256; i++)
5890 if (XOR (islower (i), ISLOWER (i))
5891 || toupper (i) != TOUPPER (i))
5892 return 2;
5893 return 0;
5895 _ACEOF
5896 if ac_fn_c_try_run "$LINENO"; then :
5898 else
5899 ac_cv_header_stdc=no
5901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5902 conftest.$ac_objext conftest.beam conftest.$ac_ext
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5908 $as_echo "$ac_cv_header_stdc" >&6; }
5909 if test $ac_cv_header_stdc = yes; then
5911 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5915 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5916 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5917 inttypes.h stdint.h unistd.h
5918 do :
5919 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5920 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5922 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5923 cat >>confdefs.h <<_ACEOF
5924 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5925 _ACEOF
5929 done
5932 for ac_header in \
5933 AL/al.h \
5934 ApplicationServices/ApplicationServices.h \
5935 AudioToolbox/AudioConverter.h \
5936 AudioUnit/AudioUnit.h \
5937 AudioUnit/AudioComponent.h \
5938 CL/cl.h \
5939 Carbon/Carbon.h \
5940 CoreAudio/CoreAudio.h \
5941 CoreServices/CoreServices.h \
5942 DiskArbitration/DiskArbitration.h \
5943 IOKit/IOKitLib.h \
5944 IOKit/hid/IOHIDLib.h \
5945 OpenAL/al.h \
5946 OpenCL/opencl.h \
5947 QuickTime/ImageCompression.h \
5948 Security/Security.h \
5949 alias.h \
5950 alsa/asoundlib.h \
5951 arpa/inet.h \
5952 arpa/nameser.h \
5953 asm/types.h \
5954 asm/user.h \
5955 curses.h \
5956 direct.h \
5957 dirent.h \
5958 dlfcn.h \
5959 elf.h \
5960 float.h \
5961 fnmatch.h \
5962 fontconfig/fontconfig.h \
5963 getopt.h \
5964 gettext-po.h \
5965 grp.h \
5966 gsm.h \
5967 gsm/gsm.h \
5968 ieeefp.h \
5969 inet/mib2.h \
5970 io.h \
5971 kstat.h \
5972 lber.h \
5973 ldap.h \
5974 libproc.h \
5975 link.h \
5976 linux/cdrom.h \
5977 linux/compiler.h \
5978 linux/filter.h \
5979 linux/hdreg.h \
5980 linux/input.h \
5981 linux/ioctl.h \
5982 linux/joystick.h \
5983 linux/major.h \
5984 linux/param.h \
5985 linux/serial.h \
5986 linux/types.h \
5987 linux/ucdrom.h \
5988 lwp.h \
5989 mach-o/nlist.h \
5990 mach-o/loader.h \
5991 mach/mach.h \
5992 mach/machine.h \
5993 machine/cpu.h \
5994 machine/limits.h \
5995 machine/sysarch.h \
5996 mntent.h \
5997 ncurses.h \
5998 netdb.h \
5999 netinet/in.h \
6000 netinet/in_systm.h \
6001 netinet/tcp.h \
6002 netinet/tcp_fsm.h \
6003 poll.h \
6004 port.h \
6005 process.h \
6006 pthread.h \
6007 pwd.h \
6008 sched.h \
6009 scsi/scsi.h \
6010 scsi/scsi_ioctl.h \
6011 scsi/sg.h \
6012 stdbool.h \
6013 stdint.h \
6014 stropts.h \
6015 sys/asoundlib.h \
6016 sys/attr.h \
6017 sys/cdio.h \
6018 sys/elf32.h \
6019 sys/epoll.h \
6020 sys/event.h \
6021 sys/exec_elf.h \
6022 sys/filio.h \
6023 sys/inotify.h \
6024 sys/ioctl.h \
6025 sys/ipc.h \
6026 sys/limits.h \
6027 sys/link.h \
6028 sys/mman.h \
6029 sys/modem.h \
6030 sys/msg.h \
6031 sys/mtio.h \
6032 sys/param.h \
6033 sys/poll.h \
6034 sys/prctl.h \
6035 sys/protosw.h \
6036 sys/ptrace.h \
6037 sys/queue.h \
6038 sys/resource.h \
6039 sys/scsiio.h \
6040 sys/shm.h \
6041 sys/signal.h \
6042 sys/socket.h \
6043 sys/socketvar.h \
6044 sys/sockio.h \
6045 sys/statvfs.h \
6046 sys/strtio.h \
6047 sys/syscall.h \
6048 sys/tihdr.h \
6049 sys/time.h \
6050 sys/timeout.h \
6051 sys/times.h \
6052 sys/uio.h \
6053 sys/user.h \
6054 sys/utsname.h \
6055 sys/vm86.h \
6056 sys/wait.h \
6057 syscall.h \
6058 termios.h \
6059 unistd.h \
6060 utime.h \
6061 valgrind/memcheck.h \
6062 valgrind/valgrind.h \
6063 zlib.h
6065 do :
6066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6067 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6068 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6069 cat >>confdefs.h <<_ACEOF
6070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6071 _ACEOF
6075 done
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6078 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6079 if ${ac_cv_header_stat_broken+:} false; then :
6080 $as_echo_n "(cached) " >&6
6081 else
6082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6083 /* end confdefs.h. */
6084 #include <sys/types.h>
6085 #include <sys/stat.h>
6087 #if defined S_ISBLK && defined S_IFDIR
6088 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6089 #endif
6091 #if defined S_ISBLK && defined S_IFCHR
6092 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6093 #endif
6095 #if defined S_ISLNK && defined S_IFREG
6096 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6097 #endif
6099 #if defined S_ISSOCK && defined S_IFREG
6100 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6101 #endif
6103 _ACEOF
6104 if ac_fn_c_try_compile "$LINENO"; then :
6105 ac_cv_header_stat_broken=no
6106 else
6107 ac_cv_header_stat_broken=yes
6109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6112 $as_echo "$ac_cv_header_stat_broken" >&6; }
6113 if test $ac_cv_header_stat_broken = yes; then
6115 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6121 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6122 do :
6123 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6124 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6125 #ifdef HAVE_SYS_PARAM_H
6126 # include <sys/param.h>
6127 #endif
6129 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6130 cat >>confdefs.h <<_ACEOF
6131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6132 _ACEOF
6136 done
6139 for ac_header in \
6140 netinet/ip.h \
6141 net/if.h \
6142 net/if_arp.h \
6143 net/if_dl.h \
6144 net/if_types.h \
6145 net/route.h \
6146 netinet/if_ether.h \
6147 netinet/if_inarp.h \
6148 netinet/in_pcb.h \
6149 netinet/ip_icmp.h \
6150 netinet/ip_var.h \
6151 netinet/udp.h \
6152 netipx/ipx.h \
6153 sys/un.h \
6155 do :
6156 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6157 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6158 #ifdef HAVE_SYS_SOCKET_H
6159 # include <sys/socket.h>
6160 #endif
6161 #ifdef HAVE_SYS_SOCKETVAR_H
6162 # include <sys/socketvar.h>
6163 #endif
6164 #ifdef HAVE_NET_ROUTE_H
6165 # include <net/route.h>
6166 #endif
6167 #ifdef HAVE_NETINET_IN_H
6168 # include <netinet/in.h>
6169 #endif
6170 #ifdef HAVE_NETINET_IN_SYSTM_H
6171 # include <netinet/in_systm.h>
6172 #endif
6173 #ifdef HAVE_NET_IF_H
6174 # include <net/if.h>
6175 #endif
6176 #ifdef HAVE_NETINET_IP_H
6177 # include <netinet/ip.h>
6178 #endif
6180 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6181 cat >>confdefs.h <<_ACEOF
6182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6183 _ACEOF
6187 done
6190 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6191 do :
6192 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6193 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6194 #ifdef HAVE_ALIAS_H
6195 # include <alias.h>
6196 #endif
6197 #ifdef HAVE_SYS_SOCKET_H
6198 # include <sys/socket.h>
6199 #endif
6200 #ifdef HAVE_SYS_SOCKETVAR_H
6201 # include <sys/socketvar.h>
6202 #endif
6203 #ifdef HAVE_SYS_TIMEOUT_H
6204 # include <sys/timeout.h>
6205 #endif
6206 #ifdef HAVE_NETINET_IN_H
6207 # include <netinet/in.h>
6208 #endif
6209 #ifdef HAVE_NETINET_IN_SYSTM_H
6210 # include <netinet/in_systm.h>
6211 #endif
6212 #ifdef HAVE_NETINET_IP_H
6213 # include <netinet/ip.h>
6214 #endif
6215 #ifdef HAVE_NETINET_IP_VAR_H
6216 # include <netinet/ip_var.h>
6217 #endif
6218 #ifdef HAVE_NETINET_IP_ICMP_H
6219 # include <netinet/ip_icmp.h>
6220 #endif
6221 #ifdef HAVE_NETINET_UDP_H
6222 # include <netinet/udp.h>
6223 #endif
6224 #ifdef HAVE_NETINET_TCP_H
6225 # include <netinet/tcp.h>
6226 #endif
6227 #ifdef HAVE_NETINET_TCP_TIMER_H
6228 #include <netinet/tcp_timer.h>
6229 #endif
6231 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6232 cat >>confdefs.h <<_ACEOF
6233 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6234 _ACEOF
6238 done
6241 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6242 do :
6243 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6244 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6245 #ifdef HAVE_ASM_TYPES_H
6246 # include <asm/types.h>
6247 #endif
6248 #ifdef HAVE_SYS_SOCKET_H
6249 # include <sys/socket.h>
6250 #endif
6251 #ifdef HAVE_LINUX_TYPES_H
6252 # include <linux/types.h>
6253 #endif
6255 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6256 cat >>confdefs.h <<_ACEOF
6257 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6258 _ACEOF
6262 done
6265 for ac_header in mach-o/dyld_images.h
6266 do :
6267 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6268 # include <stdbool.h>
6269 #endif
6270 #ifdef HAVE_STDINT_H
6271 # include <stdint.h>
6272 #endif
6274 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6275 cat >>confdefs.h <<_ACEOF
6276 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6277 _ACEOF
6281 done
6284 for ac_header in resolv.h
6285 do :
6286 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6287 #ifdef HAVE_SYS_SOCKET_H
6288 # include <sys/socket.h>
6289 #endif
6290 #ifdef HAVE_NETINET_IN_H
6291 # include <netinet/in.h>
6292 #endif
6293 #ifdef HAVE_ARPA_NAMESER_H
6294 # include <arpa/nameser.h>
6295 #endif
6297 if test "x$ac_cv_header_resolv_h" = xyes; then :
6298 cat >>confdefs.h <<_ACEOF
6299 #define HAVE_RESOLV_H 1
6300 _ACEOF
6304 done
6307 for ac_header in ifaddrs.h
6308 do :
6309 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6311 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6312 cat >>confdefs.h <<_ACEOF
6313 #define HAVE_IFADDRS_H 1
6314 _ACEOF
6318 done
6321 for ac_header in ucontext.h
6322 do :
6323 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6325 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6326 cat >>confdefs.h <<_ACEOF
6327 #define HAVE_UCONTEXT_H 1
6328 _ACEOF
6332 done
6335 for ac_header in sys/thr.h
6336 do :
6337 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6338 #ifdef HAVE_UCONTEXT_H
6339 #include <ucontext.h>
6340 #endif
6342 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6343 cat >>confdefs.h <<_ACEOF
6344 #define HAVE_SYS_THR_H 1
6345 _ACEOF
6349 done
6352 for ac_header in pthread_np.h
6353 do :
6354 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6355 #include <pthread.h>
6356 #endif
6358 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6359 cat >>confdefs.h <<_ACEOF
6360 #define HAVE_PTHREAD_NP_H 1
6361 _ACEOF
6365 done
6368 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6369 do :
6370 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6371 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6372 #include <sys/time.h>
6373 #endif
6374 #include <sys/types.h>
6375 #ifdef HAVE_ASM_TYPES_H
6376 #include <asm/types.h>
6377 #endif
6379 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6380 cat >>confdefs.h <<_ACEOF
6381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6382 _ACEOF
6386 done
6389 for ac_header in libprocstat.h
6390 do :
6391 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6392 #include <sys/param.h>
6393 #endif
6394 #ifdef HAVE_SYS_QUEUE_H
6395 #include <sys/queue.h>
6396 #endif
6397 #ifdef HAVE_SYS_SOCKET_H
6398 #include <sys/socket.h>
6399 #endif
6401 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6402 cat >>confdefs.h <<_ACEOF
6403 #define HAVE_LIBPROCSTAT_H 1
6404 _ACEOF
6408 done
6412 dlldir="\${libdir}/wine"
6414 DLLEXT=""
6416 DLLPREFIX=""
6418 DLLFLAGS="-D_REENTRANT"
6420 IMPLIBEXT="def"
6422 LDRPATH_INSTALL=""
6424 LDRPATH_LOCAL=""
6426 LIBEXT="so"
6427 STATIC_IMPLIBEXT="def.a"
6428 # Extract the first word of "ldd", so it can be a program name with args.
6429 set dummy ldd; ac_word=$2
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6431 $as_echo_n "checking for $ac_word... " >&6; }
6432 if ${ac_cv_path_LDD+:} false; then :
6433 $as_echo_n "(cached) " >&6
6434 else
6435 case $LDD in
6436 [\\/]* | ?:[\\/]*)
6437 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441 as_dummy="/sbin:/usr/sbin:$PATH"
6442 for as_dir in $as_dummy
6444 IFS=$as_save_IFS
6445 test -z "$as_dir" && as_dir=.
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6448 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 break 2
6452 done
6453 done
6454 IFS=$as_save_IFS
6456 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6458 esac
6460 LDD=$ac_cv_path_LDD
6461 if test -n "$LDD"; then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6463 $as_echo "$LDD" >&6; }
6464 else
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6466 $as_echo "no" >&6; }
6470 if test -n "$ac_tool_prefix"; then
6471 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6472 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_READELF+:} false; then :
6476 $as_echo_n "(cached) " >&6
6477 else
6478 if test -n "$READELF"; then
6479 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6480 else
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 for as_dir in $PATH
6484 IFS=$as_save_IFS
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 break 2
6492 done
6493 done
6494 IFS=$as_save_IFS
6498 READELF=$ac_cv_prog_READELF
6499 if test -n "$READELF"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6501 $as_echo "$READELF" >&6; }
6502 else
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6509 if test -z "$ac_cv_prog_READELF"; then
6510 ac_ct_READELF=$READELF
6511 # Extract the first word of "readelf", so it can be a program name with args.
6512 set dummy readelf; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6516 $as_echo_n "(cached) " >&6
6517 else
6518 if test -n "$ac_ct_READELF"; then
6519 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6524 IFS=$as_save_IFS
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6528 ac_cv_prog_ac_ct_READELF="readelf"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 break 2
6532 done
6533 done
6534 IFS=$as_save_IFS
6538 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
6539 if test -n "$ac_ct_READELF"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6541 $as_echo "$ac_ct_READELF" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6547 if test "x$ac_ct_READELF" = x; then
6548 READELF="true"
6549 else
6550 case $cross_compiling:$ac_tool_warned in
6551 yes:)
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6554 ac_tool_warned=yes ;;
6555 esac
6556 READELF=$ac_ct_READELF
6558 else
6559 READELF="$ac_cv_prog_READELF"
6563 case $host_os in
6564 cygwin*|mingw32*)
6565 if test -n "$ac_tool_prefix"; then
6566 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6567 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6569 $as_echo_n "checking for $ac_word... " >&6; }
6570 if ${ac_cv_prog_DLLTOOL+:} false; then :
6571 $as_echo_n "(cached) " >&6
6572 else
6573 if test -n "$DLLTOOL"; then
6574 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6575 else
6576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6577 for as_dir in $PATH
6579 IFS=$as_save_IFS
6580 test -z "$as_dir" && as_dir=.
6581 for ac_exec_ext in '' $ac_executable_extensions; do
6582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6583 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6585 break 2
6587 done
6588 done
6589 IFS=$as_save_IFS
6593 DLLTOOL=$ac_cv_prog_DLLTOOL
6594 if test -n "$DLLTOOL"; then
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6596 $as_echo "$DLLTOOL" >&6; }
6597 else
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6599 $as_echo "no" >&6; }
6604 if test -z "$ac_cv_prog_DLLTOOL"; then
6605 ac_ct_DLLTOOL=$DLLTOOL
6606 # Extract the first word of "dlltool", so it can be a program name with args.
6607 set dummy dlltool; ac_word=$2
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6609 $as_echo_n "checking for $ac_word... " >&6; }
6610 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 if test -n "$ac_ct_DLLTOOL"; then
6614 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6615 else
6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 for as_dir in $PATH
6619 IFS=$as_save_IFS
6620 test -z "$as_dir" && as_dir=.
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6623 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6625 break 2
6627 done
6628 done
6629 IFS=$as_save_IFS
6633 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6634 if test -n "$ac_ct_DLLTOOL"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6636 $as_echo "$ac_ct_DLLTOOL" >&6; }
6637 else
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 $as_echo "no" >&6; }
6642 if test "x$ac_ct_DLLTOOL" = x; then
6643 DLLTOOL="false"
6644 else
6645 case $cross_compiling:$ac_tool_warned in
6646 yes:)
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6649 ac_tool_warned=yes ;;
6650 esac
6651 DLLTOOL=$ac_ct_DLLTOOL
6653 else
6654 DLLTOOL="$ac_cv_prog_DLLTOOL"
6657 LIBEXT="dll"
6658 IMPLIBEXT="a"
6659 STATIC_IMPLIBEXT="a"
6660 enable_iphlpapi=${enable_iphlpapi:-no}
6661 enable_kernel32=${enable_kernel32:-no}
6662 enable_msvcrt=${enable_msvcrt:-no}
6663 enable_ntdll=${enable_ntdll:-no}
6664 enable_ws2_32=${enable_ws2_32:-no}
6665 enable_loader=${enable_loader:-no}
6666 enable_server=${enable_server:-no}
6667 with_x=${with_x:-no}
6668 with_pthread=${with_pthread:-no}
6670 crtlibs=""
6671 case $host_os in
6672 mingw32*)
6673 crtlibs="-lmsvcrt"
6674 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6676 esac
6678 LIBWINE_RULES="
6679 all: libwine.dll libwine.a
6681 libwine.a: wine.def
6682 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6684 libwine.dll: \$(OBJS) wine.def Makefile.in
6685 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6687 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6688 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6690 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6691 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6693 uninstall::
6694 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6696 clean::
6697 \$(RM) libwine.dll version.c
6702 darwin*|macosx*)
6703 DLLEXT=".so"
6704 LIBEXT="dylib"
6705 DLLFLAGS="$DLLFLAGS -fPIC"
6706 LIBWINE_LDFLAGS="-multiply_defined suppress"
6707 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6708 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6709 COREFOUNDATIONLIB="-framework CoreFoundation"
6711 IOKITLIB="-framework IOKit -framework CoreFoundation"
6713 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
6715 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6717 CORESERVICESLIB="-framework CoreServices"
6719 APPKITLIB="-framework AppKit"
6721 case $host_os in
6722 darwin11*)
6723 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6726 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6728 esac
6729 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6730 then
6731 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6734 if test "$ac_cv_header_Security_Security_h" = "yes"
6735 then
6736 SECURITYLIB="-framework Security -framework CoreFoundation"
6738 ac_save_LIBS="$LIBS"
6739 LIBS="$LIBS $SECURITYLIB"
6740 for ac_func in SSLCopyPeerCertificates
6741 do :
6742 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6743 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6744 cat >>confdefs.h <<_ACEOF
6745 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6746 _ACEOF
6749 done
6751 LIBS="$ac_save_LIBS"
6752 with_gnutls=${with_gnutls:-no}
6754 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6755 then
6756 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6757 then
6758 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6760 else
6761 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6764 ac_save_LIBS="$LIBS"
6765 LIBS="$LIBS $COREAUDIO"
6766 for ac_func in AUGraphAddNode
6767 do :
6768 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6769 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6770 cat >>confdefs.h <<_ACEOF
6771 #define HAVE_AUGRAPHADDNODE 1
6772 _ACEOF
6775 done
6777 LIBS="$ac_save_LIBS"
6779 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6780 then
6781 FRAMEWORK_OPENAL="-framework OpenAL"
6784 cat >>confdefs.h <<_ACEOF
6785 #define HAVE_OPENAL 1
6786 _ACEOF
6788 ac_cv_lib_openal=yes
6790 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6791 then
6792 LIBOPENCL="-framework OpenCL"
6794 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6796 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6797 then
6798 ac_save_LIBS="$LIBS"
6799 LIBS="$LIBS $IOKITLIB"
6800 for ac_func in IOHIDManagerCreate
6801 do :
6802 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6803 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6804 cat >>confdefs.h <<_ACEOF
6805 #define HAVE_IOHIDMANAGERCREATE 1
6806 _ACEOF
6809 done
6811 LIBS="$ac_save_LIBS"
6813 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6814 then
6815 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6817 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6818 else
6819 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6821 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6822 then
6823 CARBONLIB="-framework Carbon"
6827 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6828 then
6829 ac_save_LIBS="$LIBS"
6830 LIBS="$LIBS $APPLICATIONSERVICESLIB"
6831 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6832 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
6833 enable_winemac_drv=${enable_winemac_drv:-yes}
6836 LIBS="$ac_save_LIBS"
6839 if test "x$enable_win16" = "xyes"
6840 then
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6842 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6843 if test "$cross_compiling" = yes; then :
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6845 $as_echo "cross-compiling, assuming yes" >&6; }
6846 else
6847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6849 asm(".text\n"
6850 "bad:\tnop;nop\n"
6851 "good:\tnop;nop\n\t"
6852 ".globl _testfunc\n"
6853 "_testfunc:\tcallw good");
6854 extern void testfunc();
6856 main ()
6858 unsigned short *p = (unsigned short *)testfunc;
6859 return p[0] != 0xe866 || p[1] != 0xfffa
6861 return 0;
6863 _ACEOF
6864 if ac_fn_c_try_run "$LINENO"; then :
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6866 $as_echo "yes" >&6; }
6867 else
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 $as_echo "no" >&6; }
6870 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
6872 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6873 conftest.$ac_objext conftest.beam conftest.$ac_ext
6878 LIBWINE_RULES="
6879 all: libwine.dylib
6881 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6882 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6884 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6885 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6887 libwine.dylib: libwine.\$(SOVERSION).dylib
6888 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6890 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6891 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6892 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6894 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6895 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6897 uninstall::
6898 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6900 clean::
6901 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6906 linux-android*)
6907 DLLFLAGS="$DLLFLAGS -fPIC"
6908 DLLEXT=".so"
6909 DLLPREFIX="lib"
6910 dlldir="\${libdir}"
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6912 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6913 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6914 $as_echo_n "(cached) " >&6
6915 else
6916 ac_wine_try_cflags_saved=$CFLAGS
6917 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6919 /* end confdefs.h. */
6920 int main(int argc, char **argv) { return 0; }
6921 _ACEOF
6922 if ac_fn_c_try_link "$LINENO"; then :
6923 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6924 else
6925 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6927 rm -f core conftest.err conftest.$ac_objext \
6928 conftest$ac_exeext conftest.$ac_ext
6929 CFLAGS=$ac_wine_try_cflags_saved
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6932 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6933 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6934 LDEXECFLAGS="-Wl,--export-dynamic"
6937 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6939 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6940 if eval \${$as_ac_var+:} false; then :
6941 $as_echo_n "(cached) " >&6
6942 else
6943 ac_wine_try_cflags_saved=$CFLAGS
6944 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6946 /* end confdefs.h. */
6947 int main(int argc, char **argv) { return 0; }
6948 _ACEOF
6949 if ac_fn_c_try_link "$LINENO"; then :
6950 eval "$as_ac_var=yes"
6951 else
6952 eval "$as_ac_var=no"
6954 rm -f core conftest.err conftest.$ac_objext \
6955 conftest$ac_exeext conftest.$ac_ext
6956 CFLAGS=$ac_wine_try_cflags_saved
6958 eval ac_res=\$$as_ac_var
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6960 $as_echo "$ac_res" >&6; }
6961 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6962 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6963 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6964 else
6965 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6967 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6968 if eval \${$as_ac_var+:} false; then :
6969 $as_echo_n "(cached) " >&6
6970 else
6971 ac_wine_try_cflags_saved=$CFLAGS
6972 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6975 int main(int argc, char **argv) { return 0; }
6976 _ACEOF
6977 if ac_fn_c_try_link "$LINENO"; then :
6978 eval "$as_ac_var=yes"
6979 else
6980 eval "$as_ac_var=no"
6982 rm -f core conftest.err conftest.$ac_objext \
6983 conftest$ac_exeext conftest.$ac_ext
6984 CFLAGS=$ac_wine_try_cflags_saved
6986 eval ac_res=\$$as_ac_var
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6988 $as_echo "$ac_res" >&6; }
6989 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6990 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6991 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6996 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6997 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
6998 $as_echo_n "(cached) " >&6
6999 else
7000 ac_wine_try_cflags_saved=$CFLAGS
7001 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7003 /* end confdefs.h. */
7004 int main(int argc, char **argv) { return 0; }
7005 _ACEOF
7006 if ac_fn_c_try_link "$LINENO"; then :
7007 ac_cv_cflags__Wl___enable_new_dtags=yes
7008 else
7009 ac_cv_cflags__Wl___enable_new_dtags=no
7011 rm -f core conftest.err conftest.$ac_objext \
7012 conftest$ac_exeext conftest.$ac_ext
7013 CFLAGS=$ac_wine_try_cflags_saved
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7016 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7017 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7018 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7021 case $host_cpu in
7022 *i[3456789]86* | x86_64)
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7024 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7025 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7026 $as_echo_n "(cached) " >&6
7027 else
7028 ac_wine_try_cflags_saved=$CFLAGS
7029 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7031 /* end confdefs.h. */
7032 int main(int argc, char **argv) { return 0; }
7033 _ACEOF
7034 if ac_fn_c_try_link "$LINENO"; then :
7035 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7036 else
7037 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7039 rm -f core conftest.err conftest.$ac_objext \
7040 conftest$ac_exeext conftest.$ac_ext
7041 CFLAGS=$ac_wine_try_cflags_saved
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7044 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7045 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7046 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7049 esac
7051 LIBWINE_RULES="
7052 all: libwine.so
7054 libwine.so: \$(OBJS) Makefile.in
7055 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7057 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7058 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7060 uninstall::
7061 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7063 clean::
7064 \$(RM) libwine.so version.c
7070 DLLFLAGS="$DLLFLAGS -fPIC"
7071 DLLEXT=".so"
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7073 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7074 if ${ac_cv_c_dll_gnuelf+:} false; then :
7075 $as_echo_n "(cached) " >&6
7076 else
7077 ac_wine_try_cflags_saved=$CFLAGS
7078 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7080 /* end confdefs.h. */
7081 void myfunc() {}
7082 _ACEOF
7083 if ac_fn_c_try_link "$LINENO"; then :
7084 ac_cv_c_dll_gnuelf="yes"
7085 else
7086 ac_cv_c_dll_gnuelf="no"
7088 rm -f core conftest.err conftest.$ac_objext \
7089 conftest$ac_exeext conftest.$ac_ext
7090 CFLAGS=$ac_wine_try_cflags_saved
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7093 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7094 if test "$ac_cv_c_dll_gnuelf" = "yes"
7095 then
7096 LDSHARED="\$(CC) -shared"
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7098 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7099 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
7100 $as_echo_n "(cached) " >&6
7101 else
7102 ac_wine_try_cflags_saved=$CFLAGS
7103 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7105 /* end confdefs.h. */
7106 int main(int argc, char **argv) { return 0; }
7107 _ACEOF
7108 if ac_fn_c_try_link "$LINENO"; then :
7109 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
7110 else
7111 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7113 rm -f core conftest.err conftest.$ac_objext \
7114 conftest$ac_exeext conftest.$ac_ext
7115 CFLAGS=$ac_wine_try_cflags_saved
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7118 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7119 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7120 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7121 else
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7123 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7124 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
7125 $as_echo_n "(cached) " >&6
7126 else
7127 ac_wine_try_cflags_saved=$CFLAGS
7128 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7130 /* end confdefs.h. */
7131 int main(int argc, char **argv) { return 0; }
7132 _ACEOF
7133 if ac_fn_c_try_link "$LINENO"; then :
7134 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
7135 else
7136 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
7138 rm -f core conftest.err conftest.$ac_objext \
7139 conftest$ac_exeext conftest.$ac_ext
7140 CFLAGS=$ac_wine_try_cflags_saved
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7143 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7144 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7145 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7149 echo '{ global: *; };' >conftest.map
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7151 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7152 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
7153 $as_echo_n "(cached) " >&6
7154 else
7155 ac_wine_try_cflags_saved=$CFLAGS
7156 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7159 int main(int argc, char **argv) { return 0; }
7160 _ACEOF
7161 if ac_fn_c_try_link "$LINENO"; then :
7162 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
7163 else
7164 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
7166 rm -f core conftest.err conftest.$ac_objext \
7167 conftest$ac_exeext conftest.$ac_ext
7168 CFLAGS=$ac_wine_try_cflags_saved
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7171 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7172 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7173 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7175 rm -f conftest.map
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7178 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7179 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7180 $as_echo_n "(cached) " >&6
7181 else
7182 ac_wine_try_cflags_saved=$CFLAGS
7183 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7185 /* end confdefs.h. */
7186 int main(int argc, char **argv) { return 0; }
7187 _ACEOF
7188 if ac_fn_c_try_link "$LINENO"; then :
7189 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7190 else
7191 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7193 rm -f core conftest.err conftest.$ac_objext \
7194 conftest$ac_exeext conftest.$ac_ext
7195 CFLAGS=$ac_wine_try_cflags_saved
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7198 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7199 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7200 LDEXECFLAGS="-Wl,--export-dynamic"
7204 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7206 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7207 if eval \${$as_ac_var+:} false; then :
7208 $as_echo_n "(cached) " >&6
7209 else
7210 ac_wine_try_cflags_saved=$CFLAGS
7211 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7213 /* end confdefs.h. */
7214 int main(int argc, char **argv) { return 0; }
7215 _ACEOF
7216 if ac_fn_c_try_link "$LINENO"; then :
7217 eval "$as_ac_var=yes"
7218 else
7219 eval "$as_ac_var=no"
7221 rm -f core conftest.err conftest.$ac_objext \
7222 conftest$ac_exeext conftest.$ac_ext
7223 CFLAGS=$ac_wine_try_cflags_saved
7225 eval ac_res=\$$as_ac_var
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7227 $as_echo "$ac_res" >&6; }
7228 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7229 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7230 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7231 else
7232 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7234 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7235 if eval \${$as_ac_var+:} false; then :
7236 $as_echo_n "(cached) " >&6
7237 else
7238 ac_wine_try_cflags_saved=$CFLAGS
7239 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7242 int main(int argc, char **argv) { return 0; }
7243 _ACEOF
7244 if ac_fn_c_try_link "$LINENO"; then :
7245 eval "$as_ac_var=yes"
7246 else
7247 eval "$as_ac_var=no"
7249 rm -f core conftest.err conftest.$ac_objext \
7250 conftest$ac_exeext conftest.$ac_ext
7251 CFLAGS=$ac_wine_try_cflags_saved
7253 eval ac_res=\$$as_ac_var
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7255 $as_echo "$ac_res" >&6; }
7256 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7257 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7258 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7263 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7264 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7265 $as_echo_n "(cached) " >&6
7266 else
7267 ac_wine_try_cflags_saved=$CFLAGS
7268 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7271 int main(int argc, char **argv) { return 0; }
7272 _ACEOF
7273 if ac_fn_c_try_link "$LINENO"; then :
7274 ac_cv_cflags__Wl___enable_new_dtags=yes
7275 else
7276 ac_cv_cflags__Wl___enable_new_dtags=no
7278 rm -f core conftest.err conftest.$ac_objext \
7279 conftest$ac_exeext conftest.$ac_ext
7280 CFLAGS=$ac_wine_try_cflags_saved
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7283 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7284 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7285 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7288 case $host_cpu in
7289 *i[3456789]86* | x86_64)
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7291 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7292 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7293 $as_echo_n "(cached) " >&6
7294 else
7295 ac_wine_try_cflags_saved=$CFLAGS
7296 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7299 int main(int argc, char **argv) { return 0; }
7300 _ACEOF
7301 if ac_fn_c_try_link "$LINENO"; then :
7302 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7303 else
7304 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7306 rm -f core conftest.err conftest.$ac_objext \
7307 conftest$ac_exeext conftest.$ac_ext
7308 CFLAGS=$ac_wine_try_cflags_saved
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7311 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7312 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7313 case $host_os in
7314 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7315 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7316 esac
7319 # Extract the first word of "prelink", so it can be a program name with args.
7320 set dummy prelink; ac_word=$2
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7322 $as_echo_n "checking for $ac_word... " >&6; }
7323 if ${ac_cv_path_PRELINK+:} false; then :
7324 $as_echo_n "(cached) " >&6
7325 else
7326 case $PRELINK in
7327 [\\/]* | ?:[\\/]*)
7328 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in /sbin /usr/sbin $PATH
7334 IFS=$as_save_IFS
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 break 2
7342 done
7343 done
7344 IFS=$as_save_IFS
7346 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7348 esac
7350 PRELINK=$ac_cv_path_PRELINK
7351 if test -n "$PRELINK"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7353 $as_echo "$PRELINK" >&6; }
7354 else
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7360 if test "x$PRELINK" = xfalse
7361 then
7362 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7365 esac
7367 else
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7369 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7370 if ${ac_cv_c_dll_unixware+:} false; then :
7371 $as_echo_n "(cached) " >&6
7372 else
7373 ac_wine_try_cflags_saved=$CFLAGS
7374 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7376 /* end confdefs.h. */
7377 void myfunc() {}
7378 _ACEOF
7379 if ac_fn_c_try_link "$LINENO"; then :
7380 ac_cv_c_dll_unixware="yes"
7381 else
7382 ac_cv_c_dll_unixware="no"
7384 rm -f core conftest.err conftest.$ac_objext \
7385 conftest$ac_exeext conftest.$ac_ext
7386 CFLAGS=$ac_wine_try_cflags_saved
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7389 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7390 if test "$ac_cv_c_dll_unixware" = "yes"
7391 then
7392 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7395 LIBWINE_RULES="
7396 all: libwine.so
7398 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7399 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7401 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7402 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7404 libwine.so: libwine.so.\$(SOVERSION)
7405 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7407 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7408 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7409 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7411 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7412 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7414 uninstall::
7415 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7417 clean::
7418 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7422 esac
7424 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7425 enable_winemac_drv=${enable_winemac_drv:-no}
7427 CROSSTEST_DISABLE=\#
7429 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7430 then
7431 case "$host_cpu" in
7432 i[3456789]86*)
7433 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
7434 mingw32-gcc" ;;
7435 x86_64)
7436 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 " ;;
7438 ac_prefix_list="" ;;
7439 esac
7440 for ac_prog in $ac_prefix_list
7442 # Extract the first word of "$ac_prog", so it can be a program name with args.
7443 set dummy $ac_prog; ac_word=$2
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7445 $as_echo_n "checking for $ac_word... " >&6; }
7446 if ${ac_cv_prog_CROSSCC+:} false; then :
7447 $as_echo_n "(cached) " >&6
7448 else
7449 if test -n "$CROSSCC"; then
7450 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7451 else
7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453 for as_dir in $PATH
7455 IFS=$as_save_IFS
7456 test -z "$as_dir" && as_dir=.
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7459 ac_cv_prog_CROSSCC="$ac_prog"
7460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461 break 2
7463 done
7464 done
7465 IFS=$as_save_IFS
7469 CROSSCC=$ac_cv_prog_CROSSCC
7470 if test -n "$CROSSCC"; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7472 $as_echo "$CROSSCC" >&6; }
7473 else
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 $as_echo "no" >&6; }
7479 test -n "$CROSSCC" && break
7480 done
7481 test -n "$CROSSCC" || CROSSCC="false"
7483 if test "$CROSSCC" != "false"
7484 then
7485 ac_save_CC="$CC"
7486 CC="$CROSSCC"
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7488 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7490 /* end confdefs.h. */
7493 main ()
7497 return 0;
7499 _ACEOF
7500 if ac_fn_c_try_compile "$LINENO"; then :
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7502 $as_echo "yes" >&6; }
7503 set x $CROSSCC
7504 shift
7505 target=""
7506 while test $# -ge 1
7508 case "$1" in
7509 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7510 esac
7511 shift
7512 done
7513 if test -n "$target"
7514 then
7515 CROSSTEST_DISABLE=""
7516 CROSSTARGET="$target"
7519 else
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521 $as_echo "no" >&6; }
7523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7524 CC="$ac_save_CC"
7529 if test "$ac_cv_header_pthread_h" = "yes"
7530 then
7531 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7532 if test "x$ac_cv_func_pthread_create" = xyes; then :
7534 else
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7536 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7537 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7538 $as_echo_n "(cached) " >&6
7539 else
7540 ac_check_lib_save_LIBS=$LIBS
7541 LIBS="-lpthread $LIBS"
7542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7543 /* end confdefs.h. */
7545 /* Override any GCC internal prototype to avoid an error.
7546 Use char because int might match the return type of a GCC
7547 builtin and then its argument prototype would still apply. */
7548 #ifdef __cplusplus
7549 extern "C"
7550 #endif
7551 char pthread_create ();
7553 main ()
7555 return pthread_create ();
7557 return 0;
7559 _ACEOF
7560 if ac_fn_c_try_link "$LINENO"; then :
7561 ac_cv_lib_pthread_pthread_create=yes
7562 else
7563 ac_cv_lib_pthread_pthread_create=no
7565 rm -f core conftest.err conftest.$ac_objext \
7566 conftest$ac_exeext conftest.$ac_ext
7567 LIBS=$ac_check_lib_save_LIBS
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7570 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7571 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7572 LIBPTHREAD="-lpthread"
7579 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
7580 case "x$with_pthread" in
7581 xno) ;;
7582 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7583 Wine cannot support threads without libpthread.
7584 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7585 esac
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7590 $as_echo_n "checking for X... " >&6; }
7593 # Check whether --with-x was given.
7594 if test "${with_x+set}" = set; then :
7595 withval=$with_x;
7598 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7599 if test "x$with_x" = xno; then
7600 # The user explicitly disabled X.
7601 have_x=disabled
7602 else
7603 case $x_includes,$x_libraries in #(
7604 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7605 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7606 $as_echo_n "(cached) " >&6
7607 else
7608 # One or both of the vars are not set, and there is no cached value.
7609 ac_x_includes=no ac_x_libraries=no
7610 rm -f -r conftest.dir
7611 if mkdir conftest.dir; then
7612 cd conftest.dir
7613 cat >Imakefile <<'_ACEOF'
7614 incroot:
7615 @echo incroot='${INCROOT}'
7616 usrlibdir:
7617 @echo usrlibdir='${USRLIBDIR}'
7618 libdir:
7619 @echo libdir='${LIBDIR}'
7620 _ACEOF
7621 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7622 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7623 for ac_var in incroot usrlibdir libdir; do
7624 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7625 done
7626 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7627 for ac_extension in a so sl dylib la dll; do
7628 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7629 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7630 ac_im_usrlibdir=$ac_im_libdir; break
7632 done
7633 # Screen out bogus values from the imake configuration. They are
7634 # bogus both because they are the default anyway, and because
7635 # using them would break gcc on systems where it needs fixed includes.
7636 case $ac_im_incroot in
7637 /usr/include) ac_x_includes= ;;
7638 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7639 esac
7640 case $ac_im_usrlibdir in
7641 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7642 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7643 esac
7645 cd ..
7646 rm -f -r conftest.dir
7649 # Standard set of common directories for X headers.
7650 # Check X11 before X11Rn because it is often a symlink to the current release.
7651 ac_x_header_dirs='
7652 /usr/X11/include
7653 /usr/X11R7/include
7654 /usr/X11R6/include
7655 /usr/X11R5/include
7656 /usr/X11R4/include
7658 /usr/include/X11
7659 /usr/include/X11R7
7660 /usr/include/X11R6
7661 /usr/include/X11R5
7662 /usr/include/X11R4
7664 /usr/local/X11/include
7665 /usr/local/X11R7/include
7666 /usr/local/X11R6/include
7667 /usr/local/X11R5/include
7668 /usr/local/X11R4/include
7670 /usr/local/include/X11
7671 /usr/local/include/X11R7
7672 /usr/local/include/X11R6
7673 /usr/local/include/X11R5
7674 /usr/local/include/X11R4
7676 /usr/X386/include
7677 /usr/x386/include
7678 /usr/XFree86/include/X11
7680 /usr/include
7681 /usr/local/include
7682 /usr/unsupported/include
7683 /usr/athena/include
7684 /usr/local/x11r5/include
7685 /usr/lpp/Xamples/include
7687 /usr/openwin/include
7688 /usr/openwin/share/include'
7690 if test "$ac_x_includes" = no; then
7691 # Guess where to find include files, by looking for Xlib.h.
7692 # First, try using that file with no special directory specified.
7693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7694 /* end confdefs.h. */
7695 #include <X11/Xlib.h>
7696 _ACEOF
7697 if ac_fn_c_try_cpp "$LINENO"; then :
7698 # We can compile using X headers with no special include directory.
7699 ac_x_includes=
7700 else
7701 for ac_dir in $ac_x_header_dirs; do
7702 if test -r "$ac_dir/X11/Xlib.h"; then
7703 ac_x_includes=$ac_dir
7704 break
7706 done
7708 rm -f conftest.err conftest.i conftest.$ac_ext
7709 fi # $ac_x_includes = no
7711 if test "$ac_x_libraries" = no; then
7712 # Check for the libraries.
7713 # See if we find them without any special options.
7714 # Don't add to $LIBS permanently.
7715 ac_save_LIBS=$LIBS
7716 LIBS="-lX11 $LIBS"
7717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7719 #include <X11/Xlib.h>
7721 main ()
7723 XrmInitialize ()
7725 return 0;
7727 _ACEOF
7728 if ac_fn_c_try_link "$LINENO"; then :
7729 LIBS=$ac_save_LIBS
7730 # We can link X programs with no special library path.
7731 ac_x_libraries=
7732 else
7733 LIBS=$ac_save_LIBS
7734 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7736 # Don't even attempt the hair of trying to link an X program!
7737 for ac_extension in a so sl dylib la dll; do
7738 if test -r "$ac_dir/libX11.$ac_extension"; then
7739 ac_x_libraries=$ac_dir
7740 break 2
7742 done
7743 done
7745 rm -f core conftest.err conftest.$ac_objext \
7746 conftest$ac_exeext conftest.$ac_ext
7747 fi # $ac_x_libraries = no
7749 case $ac_x_includes,$ac_x_libraries in #(
7750 no,* | *,no | *\'*)
7751 # Didn't find X, or a directory has "'" in its name.
7752 ac_cv_have_x="have_x=no";; #(
7754 # Record where we found X for the cache.
7755 ac_cv_have_x="have_x=yes\
7756 ac_x_includes='$ac_x_includes'\
7757 ac_x_libraries='$ac_x_libraries'"
7758 esac
7760 ;; #(
7761 *) have_x=yes;;
7762 esac
7763 eval "$ac_cv_have_x"
7764 fi # $with_x != no
7766 if test "$have_x" != yes; then
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7768 $as_echo "$have_x" >&6; }
7769 no_x=yes
7770 else
7771 # If each of the values was on the command line, it overrides each guess.
7772 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7773 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7774 # Update the cache value to reflect the command line values.
7775 ac_cv_have_x="have_x=yes\
7776 ac_x_includes='$x_includes'\
7777 ac_x_libraries='$x_libraries'"
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7779 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7782 if test "$no_x" = yes; then
7783 # Not all programs may use this symbol, but it does not hurt to define it.
7785 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7787 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7788 else
7789 if test -n "$x_includes"; then
7790 X_CFLAGS="$X_CFLAGS -I$x_includes"
7793 # It would also be nice to do this for all -L options, not just this one.
7794 if test -n "$x_libraries"; then
7795 X_LIBS="$X_LIBS -L$x_libraries"
7796 # For Solaris; some versions of Sun CC require a space after -R and
7797 # others require no space. Words are not sufficient . . . .
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7799 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7800 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7801 ac_xsave_c_werror_flag=$ac_c_werror_flag
7802 ac_c_werror_flag=yes
7803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7804 /* end confdefs.h. */
7807 main ()
7811 return 0;
7813 _ACEOF
7814 if ac_fn_c_try_link "$LINENO"; then :
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7816 $as_echo "no" >&6; }
7817 X_LIBS="$X_LIBS -R$x_libraries"
7818 else
7819 LIBS="$ac_xsave_LIBS -R $x_libraries"
7820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h. */
7824 main ()
7828 return 0;
7830 _ACEOF
7831 if ac_fn_c_try_link "$LINENO"; then :
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7833 $as_echo "yes" >&6; }
7834 X_LIBS="$X_LIBS -R $x_libraries"
7835 else
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7837 $as_echo "neither works" >&6; }
7839 rm -f core conftest.err conftest.$ac_objext \
7840 conftest$ac_exeext conftest.$ac_ext
7842 rm -f core conftest.err conftest.$ac_objext \
7843 conftest$ac_exeext conftest.$ac_ext
7844 ac_c_werror_flag=$ac_xsave_c_werror_flag
7845 LIBS=$ac_xsave_LIBS
7848 # Check for system-dependent libraries X programs must link with.
7849 # Do this before checking for the system-independent R6 libraries
7850 # (-lICE), since we may need -lsocket or whatever for X linking.
7852 if test "$ISC" = yes; then
7853 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7854 else
7855 # Martyn Johnson says this is needed for Ultrix, if the X
7856 # libraries were built with DECnet support. And Karl Berry says
7857 # the Alpha needs dnet_stub (dnet does not exist).
7858 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7862 /* Override any GCC internal prototype to avoid an error.
7863 Use char because int might match the return type of a GCC
7864 builtin and then its argument prototype would still apply. */
7865 #ifdef __cplusplus
7866 extern "C"
7867 #endif
7868 char XOpenDisplay ();
7870 main ()
7872 return XOpenDisplay ();
7874 return 0;
7876 _ACEOF
7877 if ac_fn_c_try_link "$LINENO"; then :
7879 else
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7881 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7882 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7883 $as_echo_n "(cached) " >&6
7884 else
7885 ac_check_lib_save_LIBS=$LIBS
7886 LIBS="-ldnet $LIBS"
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7890 /* Override any GCC internal prototype to avoid an error.
7891 Use char because int might match the return type of a GCC
7892 builtin and then its argument prototype would still apply. */
7893 #ifdef __cplusplus
7894 extern "C"
7895 #endif
7896 char dnet_ntoa ();
7898 main ()
7900 return dnet_ntoa ();
7902 return 0;
7904 _ACEOF
7905 if ac_fn_c_try_link "$LINENO"; then :
7906 ac_cv_lib_dnet_dnet_ntoa=yes
7907 else
7908 ac_cv_lib_dnet_dnet_ntoa=no
7910 rm -f core conftest.err conftest.$ac_objext \
7911 conftest$ac_exeext conftest.$ac_ext
7912 LIBS=$ac_check_lib_save_LIBS
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7915 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7916 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7917 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7920 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7922 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7923 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7924 $as_echo_n "(cached) " >&6
7925 else
7926 ac_check_lib_save_LIBS=$LIBS
7927 LIBS="-ldnet_stub $LIBS"
7928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7931 /* Override any GCC internal prototype to avoid an error.
7932 Use char because int might match the return type of a GCC
7933 builtin and then its argument prototype would still apply. */
7934 #ifdef __cplusplus
7935 extern "C"
7936 #endif
7937 char dnet_ntoa ();
7939 main ()
7941 return dnet_ntoa ();
7943 return 0;
7945 _ACEOF
7946 if ac_fn_c_try_link "$LINENO"; then :
7947 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7948 else
7949 ac_cv_lib_dnet_stub_dnet_ntoa=no
7951 rm -f core conftest.err conftest.$ac_objext \
7952 conftest$ac_exeext conftest.$ac_ext
7953 LIBS=$ac_check_lib_save_LIBS
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7956 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7957 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7958 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7963 rm -f core conftest.err conftest.$ac_objext \
7964 conftest$ac_exeext conftest.$ac_ext
7965 LIBS="$ac_xsave_LIBS"
7967 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7968 # to get the SysV transport functions.
7969 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7970 # needs -lnsl.
7971 # The nsl library prevents programs from opening the X display
7972 # on Irix 5.2, according to T.E. Dickey.
7973 # The functions gethostbyname, getservbyname, and inet_addr are
7974 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7975 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7976 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7980 if test $ac_cv_func_gethostbyname = no; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7982 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7983 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7984 $as_echo_n "(cached) " >&6
7985 else
7986 ac_check_lib_save_LIBS=$LIBS
7987 LIBS="-lnsl $LIBS"
7988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989 /* end confdefs.h. */
7991 /* Override any GCC internal prototype to avoid an error.
7992 Use char because int might match the return type of a GCC
7993 builtin and then its argument prototype would still apply. */
7994 #ifdef __cplusplus
7995 extern "C"
7996 #endif
7997 char gethostbyname ();
7999 main ()
8001 return gethostbyname ();
8003 return 0;
8005 _ACEOF
8006 if ac_fn_c_try_link "$LINENO"; then :
8007 ac_cv_lib_nsl_gethostbyname=yes
8008 else
8009 ac_cv_lib_nsl_gethostbyname=no
8011 rm -f core conftest.err conftest.$ac_objext \
8012 conftest$ac_exeext conftest.$ac_ext
8013 LIBS=$ac_check_lib_save_LIBS
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8016 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8017 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8018 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8021 if test $ac_cv_lib_nsl_gethostbyname = no; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8023 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8024 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8025 $as_echo_n "(cached) " >&6
8026 else
8027 ac_check_lib_save_LIBS=$LIBS
8028 LIBS="-lbsd $LIBS"
8029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8032 /* Override any GCC internal prototype to avoid an error.
8033 Use char because int might match the return type of a GCC
8034 builtin and then its argument prototype would still apply. */
8035 #ifdef __cplusplus
8036 extern "C"
8037 #endif
8038 char gethostbyname ();
8040 main ()
8042 return gethostbyname ();
8044 return 0;
8046 _ACEOF
8047 if ac_fn_c_try_link "$LINENO"; then :
8048 ac_cv_lib_bsd_gethostbyname=yes
8049 else
8050 ac_cv_lib_bsd_gethostbyname=no
8052 rm -f core conftest.err conftest.$ac_objext \
8053 conftest$ac_exeext conftest.$ac_ext
8054 LIBS=$ac_check_lib_save_LIBS
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8057 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8058 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
8059 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8065 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8066 # socket/setsockopt and other routines are undefined under SCO ODT
8067 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8068 # on later versions), says Simon Leinen: it contains gethostby*
8069 # variants that don't use the name server (or something). -lsocket
8070 # must be given before -lnsl if both are needed. We assume that
8071 # if connect needs -lnsl, so does gethostbyname.
8072 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
8073 if test "x$ac_cv_func_connect" = xyes; then :
8077 if test $ac_cv_func_connect = no; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8079 $as_echo_n "checking for connect in -lsocket... " >&6; }
8080 if ${ac_cv_lib_socket_connect+:} false; then :
8081 $as_echo_n "(cached) " >&6
8082 else
8083 ac_check_lib_save_LIBS=$LIBS
8084 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8086 /* end confdefs.h. */
8088 /* Override any GCC internal prototype to avoid an error.
8089 Use char because int might match the return type of a GCC
8090 builtin and then its argument prototype would still apply. */
8091 #ifdef __cplusplus
8092 extern "C"
8093 #endif
8094 char connect ();
8096 main ()
8098 return connect ();
8100 return 0;
8102 _ACEOF
8103 if ac_fn_c_try_link "$LINENO"; then :
8104 ac_cv_lib_socket_connect=yes
8105 else
8106 ac_cv_lib_socket_connect=no
8108 rm -f core conftest.err conftest.$ac_objext \
8109 conftest$ac_exeext conftest.$ac_ext
8110 LIBS=$ac_check_lib_save_LIBS
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8113 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8114 if test "x$ac_cv_lib_socket_connect" = xyes; then :
8115 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8120 # Guillermo Gomez says -lposix is necessary on A/UX.
8121 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
8122 if test "x$ac_cv_func_remove" = xyes; then :
8126 if test $ac_cv_func_remove = no; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8128 $as_echo_n "checking for remove in -lposix... " >&6; }
8129 if ${ac_cv_lib_posix_remove+:} false; then :
8130 $as_echo_n "(cached) " >&6
8131 else
8132 ac_check_lib_save_LIBS=$LIBS
8133 LIBS="-lposix $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 remove ();
8145 main ()
8147 return remove ();
8149 return 0;
8151 _ACEOF
8152 if ac_fn_c_try_link "$LINENO"; then :
8153 ac_cv_lib_posix_remove=yes
8154 else
8155 ac_cv_lib_posix_remove=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_posix_remove" >&5
8162 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8163 if test "x$ac_cv_lib_posix_remove" = xyes; then :
8164 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8169 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8170 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8171 if test "x$ac_cv_func_shmat" = xyes; then :
8175 if test $ac_cv_func_shmat = no; then
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8177 $as_echo_n "checking for shmat in -lipc... " >&6; }
8178 if ${ac_cv_lib_ipc_shmat+:} false; then :
8179 $as_echo_n "(cached) " >&6
8180 else
8181 ac_check_lib_save_LIBS=$LIBS
8182 LIBS="-lipc $LIBS"
8183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8184 /* end confdefs.h. */
8186 /* Override any GCC internal prototype to avoid an error.
8187 Use char because int might match the return type of a GCC
8188 builtin and then its argument prototype would still apply. */
8189 #ifdef __cplusplus
8190 extern "C"
8191 #endif
8192 char shmat ();
8194 main ()
8196 return shmat ();
8198 return 0;
8200 _ACEOF
8201 if ac_fn_c_try_link "$LINENO"; then :
8202 ac_cv_lib_ipc_shmat=yes
8203 else
8204 ac_cv_lib_ipc_shmat=no
8206 rm -f core conftest.err conftest.$ac_objext \
8207 conftest$ac_exeext conftest.$ac_ext
8208 LIBS=$ac_check_lib_save_LIBS
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8211 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8212 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8213 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8219 # Check for libraries that X11R6 Xt/Xaw programs need.
8220 ac_save_LDFLAGS=$LDFLAGS
8221 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8222 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8223 # check for ICE first), but we must link in the order -lSM -lICE or
8224 # we get undefined symbols. So assume we have SM if we have ICE.
8225 # These have to be linked with before -lX11, unlike the other
8226 # libraries we check for below, so use a different variable.
8227 # John Interrante, Karl Berry
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8229 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8230 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8231 $as_echo_n "(cached) " >&6
8232 else
8233 ac_check_lib_save_LIBS=$LIBS
8234 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8236 /* end confdefs.h. */
8238 /* Override any GCC internal prototype to avoid an error.
8239 Use char because int might match the return type of a GCC
8240 builtin and then its argument prototype would still apply. */
8241 #ifdef __cplusplus
8242 extern "C"
8243 #endif
8244 char IceConnectionNumber ();
8246 main ()
8248 return IceConnectionNumber ();
8250 return 0;
8252 _ACEOF
8253 if ac_fn_c_try_link "$LINENO"; then :
8254 ac_cv_lib_ICE_IceConnectionNumber=yes
8255 else
8256 ac_cv_lib_ICE_IceConnectionNumber=no
8258 rm -f core conftest.err conftest.$ac_objext \
8259 conftest$ac_exeext conftest.$ac_ext
8260 LIBS=$ac_check_lib_save_LIBS
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8263 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8264 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8265 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8268 LDFLAGS=$ac_save_LDFLAGS
8273 if test "$have_x" = "yes"
8274 then
8275 XLIB="-lX11"
8276 ac_save_CPPFLAGS="$CPPFLAGS"
8277 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8280 $as_echo_n "checking for -lX11... " >&6; }
8281 if ${ac_cv_lib_soname_X11+:} false; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 ac_check_soname_save_LIBS=$LIBS
8285 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8289 /* Override any GCC internal prototype to avoid an error.
8290 Use char because int might match the return type of a GCC
8291 builtin and then its argument prototype would still apply. */
8292 #ifdef __cplusplus
8293 extern "C"
8294 #endif
8295 char XCreateWindow ();
8297 main ()
8299 return XCreateWindow ();
8301 return 0;
8303 _ACEOF
8304 if ac_fn_c_try_link "$LINENO"; then :
8305 case "$LIBEXT" in
8306 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8307 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'` ;;
8308 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8309 if test "x$ac_cv_lib_soname_X11" = x; then :
8310 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8311 fi ;;
8312 esac
8314 rm -f core conftest.err conftest.$ac_objext \
8315 conftest$ac_exeext conftest.$ac_ext
8316 LIBS=$ac_check_soname_save_LIBS
8318 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8320 $as_echo "not found" >&6; }
8322 else
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8324 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8326 cat >>confdefs.h <<_ACEOF
8327 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8328 _ACEOF
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8333 $as_echo_n "checking for -lXext... " >&6; }
8334 if ${ac_cv_lib_soname_Xext+:} false; then :
8335 $as_echo_n "(cached) " >&6
8336 else
8337 ac_check_soname_save_LIBS=$LIBS
8338 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8342 /* Override any GCC internal prototype to avoid an error.
8343 Use char because int might match the return type of a GCC
8344 builtin and then its argument prototype would still apply. */
8345 #ifdef __cplusplus
8346 extern "C"
8347 #endif
8348 char XextCreateExtension ();
8350 main ()
8352 return XextCreateExtension ();
8354 return 0;
8356 _ACEOF
8357 if ac_fn_c_try_link "$LINENO"; then :
8358 case "$LIBEXT" in
8359 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8360 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'` ;;
8361 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8362 if test "x$ac_cv_lib_soname_Xext" = x; then :
8363 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8364 fi ;;
8365 esac
8367 rm -f core conftest.err conftest.$ac_objext \
8368 conftest$ac_exeext conftest.$ac_ext
8369 LIBS=$ac_check_soname_save_LIBS
8371 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8373 $as_echo "not found" >&6; }
8375 else
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8377 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8379 cat >>confdefs.h <<_ACEOF
8380 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8381 _ACEOF
8383 XLIB="-lXext $XLIB"
8386 for ac_header in X11/Xlib.h \
8387 X11/XKBlib.h \
8388 X11/Xutil.h \
8389 X11/Xcursor/Xcursor.h \
8390 X11/extensions/shape.h \
8391 X11/extensions/XInput.h \
8392 X11/extensions/XInput2.h \
8393 X11/extensions/XShm.h \
8394 X11/extensions/Xcomposite.h \
8395 X11/extensions/Xinerama.h \
8396 X11/extensions/Xrandr.h \
8397 X11/extensions/Xrender.h \
8398 X11/extensions/xf86vmode.h \
8399 X11/extensions/xf86vmproto.h
8400 do :
8401 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8402 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8403 # include <X11/Xlib.h>
8404 #endif
8405 #ifdef HAVE_X11_XUTIL_H
8406 # include <X11/Xutil.h>
8407 #endif
8409 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8410 cat >>confdefs.h <<_ACEOF
8411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8412 _ACEOF
8416 done
8419 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8420 then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8422 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8423 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8424 $as_echo_n "(cached) " >&6
8425 else
8426 ac_check_lib_save_LIBS=$LIBS
8427 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8431 /* Override any GCC internal prototype to avoid an error.
8432 Use char because int might match the return type of a GCC
8433 builtin and then its argument prototype would still apply. */
8434 #ifdef __cplusplus
8435 extern "C"
8436 #endif
8437 char XkbQueryExtension ();
8439 main ()
8441 return XkbQueryExtension ();
8443 return 0;
8445 _ACEOF
8446 if ac_fn_c_try_link "$LINENO"; then :
8447 ac_cv_lib_X11_XkbQueryExtension=yes
8448 else
8449 ac_cv_lib_X11_XkbQueryExtension=no
8451 rm -f core conftest.err conftest.$ac_objext \
8452 conftest$ac_exeext conftest.$ac_ext
8453 LIBS=$ac_check_lib_save_LIBS
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8456 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8457 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8459 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8465 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8466 then
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8468 $as_echo_n "checking for -lXcursor... " >&6; }
8469 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8470 $as_echo_n "(cached) " >&6
8471 else
8472 ac_check_soname_save_LIBS=$LIBS
8473 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8477 /* Override any GCC internal prototype to avoid an error.
8478 Use char because int might match the return type of a GCC
8479 builtin and then its argument prototype would still apply. */
8480 #ifdef __cplusplus
8481 extern "C"
8482 #endif
8483 char XcursorImageLoadCursor ();
8485 main ()
8487 return XcursorImageLoadCursor ();
8489 return 0;
8491 _ACEOF
8492 if ac_fn_c_try_link "$LINENO"; then :
8493 case "$LIBEXT" in
8494 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8495 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'` ;;
8496 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8497 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
8498 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8499 fi ;;
8500 esac
8502 rm -f core conftest.err conftest.$ac_objext \
8503 conftest$ac_exeext conftest.$ac_ext
8504 LIBS=$ac_check_soname_save_LIBS
8506 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8508 $as_echo "not found" >&6; }
8510 else
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8512 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8514 cat >>confdefs.h <<_ACEOF
8515 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8516 _ACEOF
8521 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8522 case "x$with_xcursor" in
8523 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8524 xno) ;;
8525 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8526 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8527 esac
8530 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8531 then
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8533 $as_echo_n "checking for -lXi... " >&6; }
8534 if ${ac_cv_lib_soname_Xi+:} false; then :
8535 $as_echo_n "(cached) " >&6
8536 else
8537 ac_check_soname_save_LIBS=$LIBS
8538 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8542 /* Override any GCC internal prototype to avoid an error.
8543 Use char because int might match the return type of a GCC
8544 builtin and then its argument prototype would still apply. */
8545 #ifdef __cplusplus
8546 extern "C"
8547 #endif
8548 char XOpenDevice ();
8550 main ()
8552 return XOpenDevice ();
8554 return 0;
8556 _ACEOF
8557 if ac_fn_c_try_link "$LINENO"; then :
8558 case "$LIBEXT" in
8559 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8560 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'` ;;
8561 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8562 if test "x$ac_cv_lib_soname_Xi" = x; then :
8563 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8564 fi ;;
8565 esac
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 LIBS=$ac_check_soname_save_LIBS
8571 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8573 $as_echo "not found" >&6; }
8575 else
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8577 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8579 cat >>confdefs.h <<_ACEOF
8580 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8581 _ACEOF
8586 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8587 case "x$with_xinput" in
8588 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8589 xno) ;;
8590 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8591 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8592 esac
8595 if test "x$ac_cv_lib_soname_Xi" != x
8596 then
8597 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8598 case "x$with_xinput2" in
8599 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8600 xno) ;;
8601 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8602 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8603 esac
8607 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8608 then
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8610 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8611 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8612 $as_echo_n "(cached) " >&6
8613 else
8614 ac_check_lib_save_LIBS=$LIBS
8615 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617 /* end confdefs.h. */
8619 /* Override any GCC internal prototype to avoid an error.
8620 Use char because int might match the return type of a GCC
8621 builtin and then its argument prototype would still apply. */
8622 #ifdef __cplusplus
8623 extern "C"
8624 #endif
8625 char XShmQueryExtension ();
8627 main ()
8629 return XShmQueryExtension ();
8631 return 0;
8633 _ACEOF
8634 if ac_fn_c_try_link "$LINENO"; then :
8635 ac_cv_lib_Xext_XShmQueryExtension=yes
8636 else
8637 ac_cv_lib_Xext_XShmQueryExtension=no
8639 rm -f core conftest.err conftest.$ac_objext \
8640 conftest$ac_exeext conftest.$ac_ext
8641 LIBS=$ac_check_lib_save_LIBS
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8644 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8645 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8647 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8652 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8653 case "x$with_xshm" in
8654 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8655 xno) ;;
8656 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8657 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8658 esac
8661 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8662 then
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8664 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8665 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 ac_check_lib_save_LIBS=$LIBS
8669 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8673 /* Override any GCC internal prototype to avoid an error.
8674 Use char because int might match the return type of a GCC
8675 builtin and then its argument prototype would still apply. */
8676 #ifdef __cplusplus
8677 extern "C"
8678 #endif
8679 char XShapeQueryExtension ();
8681 main ()
8683 return XShapeQueryExtension ();
8685 return 0;
8687 _ACEOF
8688 if ac_fn_c_try_link "$LINENO"; then :
8689 ac_cv_lib_Xext_XShapeQueryExtension=yes
8690 else
8691 ac_cv_lib_Xext_XShapeQueryExtension=no
8693 rm -f core conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8695 LIBS=$ac_check_lib_save_LIBS
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8698 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8699 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8701 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8706 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8707 case "x$with_xshape" in
8708 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8709 xno) ;;
8710 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8711 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8712 esac
8715 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8716 then
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8718 $as_echo_n "checking for -lXxf86vm... " >&6; }
8719 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8720 $as_echo_n "(cached) " >&6
8721 else
8722 ac_check_soname_save_LIBS=$LIBS
8723 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8725 /* end confdefs.h. */
8727 /* Override any GCC internal prototype to avoid an error.
8728 Use char because int might match the return type of a GCC
8729 builtin and then its argument prototype would still apply. */
8730 #ifdef __cplusplus
8731 extern "C"
8732 #endif
8733 char XF86VidModeQueryExtension ();
8735 main ()
8737 return XF86VidModeQueryExtension ();
8739 return 0;
8741 _ACEOF
8742 if ac_fn_c_try_link "$LINENO"; then :
8743 case "$LIBEXT" in
8744 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8745 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'` ;;
8746 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8747 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
8748 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8749 fi ;;
8750 esac
8752 rm -f core conftest.err conftest.$ac_objext \
8753 conftest$ac_exeext conftest.$ac_ext
8754 LIBS=$ac_check_soname_save_LIBS
8756 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8758 $as_echo "not found" >&6; }
8760 else
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8762 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8764 cat >>confdefs.h <<_ACEOF
8765 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8766 _ACEOF
8771 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8772 case "x$with_xxf86vm" in
8773 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8774 xno) ;;
8775 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8776 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8777 esac
8780 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"
8781 then
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8783 $as_echo_n "checking for -lXrender... " >&6; }
8784 if ${ac_cv_lib_soname_Xrender+:} false; then :
8785 $as_echo_n "(cached) " >&6
8786 else
8787 ac_check_soname_save_LIBS=$LIBS
8788 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8790 /* end confdefs.h. */
8792 /* Override any GCC internal prototype to avoid an error.
8793 Use char because int might match the return type of a GCC
8794 builtin and then its argument prototype would still apply. */
8795 #ifdef __cplusplus
8796 extern "C"
8797 #endif
8798 char XRenderQueryExtension ();
8800 main ()
8802 return XRenderQueryExtension ();
8804 return 0;
8806 _ACEOF
8807 if ac_fn_c_try_link "$LINENO"; then :
8808 case "$LIBEXT" in
8809 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8810 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'` ;;
8811 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8812 if test "x$ac_cv_lib_soname_Xrender" = x; then :
8813 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8814 fi ;;
8815 esac
8817 rm -f core conftest.err conftest.$ac_objext \
8818 conftest$ac_exeext conftest.$ac_ext
8819 LIBS=$ac_check_soname_save_LIBS
8821 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8823 $as_echo "not found" >&6; }
8825 else
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8827 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8829 cat >>confdefs.h <<_ACEOF
8830 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8831 _ACEOF
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8834 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8835 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8836 $as_echo_n "(cached) " >&6
8837 else
8838 ac_check_lib_save_LIBS=$LIBS
8839 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8843 /* Override any GCC internal prototype to avoid an error.
8844 Use char because int might match the return type of a GCC
8845 builtin and then its argument prototype would still apply. */
8846 #ifdef __cplusplus
8847 extern "C"
8848 #endif
8849 char XRenderSetPictureTransform ();
8851 main ()
8853 return XRenderSetPictureTransform ();
8855 return 0;
8857 _ACEOF
8858 if ac_fn_c_try_link "$LINENO"; then :
8859 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8860 else
8861 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8863 rm -f core conftest.err conftest.$ac_objext \
8864 conftest$ac_exeext conftest.$ac_ext
8865 LIBS=$ac_check_lib_save_LIBS
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8868 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8869 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8871 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8876 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8877 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8878 $as_echo_n "(cached) " >&6
8879 else
8880 ac_check_lib_save_LIBS=$LIBS
8881 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8883 /* end confdefs.h. */
8885 /* Override any GCC internal prototype to avoid an error.
8886 Use char because int might match the return type of a GCC
8887 builtin and then its argument prototype would still apply. */
8888 #ifdef __cplusplus
8889 extern "C"
8890 #endif
8891 char XRenderCreateLinearGradient ();
8893 main ()
8895 return XRenderCreateLinearGradient ();
8897 return 0;
8899 _ACEOF
8900 if ac_fn_c_try_link "$LINENO"; then :
8901 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8902 else
8903 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8905 rm -f core conftest.err conftest.$ac_objext \
8906 conftest$ac_exeext conftest.$ac_ext
8907 LIBS=$ac_check_lib_save_LIBS
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8910 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8911 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8913 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8920 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8921 case "x$with_xrender" in
8922 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8923 xno) ;;
8924 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8925 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8926 esac
8929 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8930 then
8931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8932 /* end confdefs.h. */
8933 #include <X11/Xlib.h>
8934 #include <X11/extensions/Xrandr.h>
8936 main ()
8938 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8940 return 0;
8942 _ACEOF
8943 if ac_fn_c_try_compile "$LINENO"; then :
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8945 $as_echo_n "checking for -lXrandr... " >&6; }
8946 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8947 $as_echo_n "(cached) " >&6
8948 else
8949 ac_check_soname_save_LIBS=$LIBS
8950 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8952 /* end confdefs.h. */
8954 /* Override any GCC internal prototype to avoid an error.
8955 Use char because int might match the return type of a GCC
8956 builtin and then its argument prototype would still apply. */
8957 #ifdef __cplusplus
8958 extern "C"
8959 #endif
8960 char XRRQueryExtension ();
8962 main ()
8964 return XRRQueryExtension ();
8966 return 0;
8968 _ACEOF
8969 if ac_fn_c_try_link "$LINENO"; then :
8970 case "$LIBEXT" in
8971 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8972 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'` ;;
8973 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8974 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
8975 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8976 fi ;;
8977 esac
8979 rm -f core conftest.err conftest.$ac_objext \
8980 conftest$ac_exeext conftest.$ac_ext
8981 LIBS=$ac_check_soname_save_LIBS
8983 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8985 $as_echo "not found" >&6; }
8987 else
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8989 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8991 cat >>confdefs.h <<_ACEOF
8992 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8993 _ACEOF
8995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8996 /* end confdefs.h. */
8997 #include <X11/Xlib.h>
8998 #include <X11/extensions/Xrandr.h>
9000 main ()
9002 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9004 return 0;
9006 _ACEOF
9007 if ac_fn_c_try_compile "$LINENO"; then :
9009 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9017 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9018 case "x$with_xrandr" in
9019 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9020 xno) ;;
9021 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9022 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9023 esac
9026 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9027 then
9028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9029 /* end confdefs.h. */
9030 #include <X11/Xlib.h>
9031 #include <X11/extensions/Xinerama.h>
9033 main ()
9035 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9037 return 0;
9039 _ACEOF
9040 if ac_fn_c_try_compile "$LINENO"; then :
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9042 $as_echo_n "checking for -lXinerama... " >&6; }
9043 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9044 $as_echo_n "(cached) " >&6
9045 else
9046 ac_check_soname_save_LIBS=$LIBS
9047 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9051 /* Override any GCC internal prototype to avoid an error.
9052 Use char because int might match the return type of a GCC
9053 builtin and then its argument prototype would still apply. */
9054 #ifdef __cplusplus
9055 extern "C"
9056 #endif
9057 char XineramaQueryScreens ();
9059 main ()
9061 return XineramaQueryScreens ();
9063 return 0;
9065 _ACEOF
9066 if ac_fn_c_try_link "$LINENO"; then :
9067 case "$LIBEXT" in
9068 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9069 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'` ;;
9070 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9071 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
9072 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9073 fi ;;
9074 esac
9076 rm -f core conftest.err conftest.$ac_objext \
9077 conftest$ac_exeext conftest.$ac_ext
9078 LIBS=$ac_check_soname_save_LIBS
9080 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9082 $as_echo "not found" >&6; }
9084 else
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9086 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9088 cat >>confdefs.h <<_ACEOF
9089 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9090 _ACEOF
9095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9097 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9098 case "x$with_xinerama" in
9099 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9100 xno) ;;
9101 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9102 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9103 esac
9106 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9107 then
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9109 $as_echo_n "checking for -lXcomposite... " >&6; }
9110 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
9111 $as_echo_n "(cached) " >&6
9112 else
9113 ac_check_soname_save_LIBS=$LIBS
9114 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9118 /* Override any GCC internal prototype to avoid an error.
9119 Use char because int might match the return type of a GCC
9120 builtin and then its argument prototype would still apply. */
9121 #ifdef __cplusplus
9122 extern "C"
9123 #endif
9124 char XCompositeRedirectWindow ();
9126 main ()
9128 return XCompositeRedirectWindow ();
9130 return 0;
9132 _ACEOF
9133 if ac_fn_c_try_link "$LINENO"; then :
9134 case "$LIBEXT" in
9135 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9136 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'` ;;
9137 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9138 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
9139 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9140 fi ;;
9141 esac
9143 rm -f core conftest.err conftest.$ac_objext \
9144 conftest$ac_exeext conftest.$ac_ext
9145 LIBS=$ac_check_soname_save_LIBS
9147 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9149 $as_echo "not found" >&6; }
9151 else
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9153 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9155 cat >>confdefs.h <<_ACEOF
9156 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9157 _ACEOF
9162 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9163 case "x$with_xcomposite" in
9164 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9165 xno) ;;
9166 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9167 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9168 esac
9171 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9172 #include <X11/Xlib.h>
9173 #endif
9175 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9177 cat >>confdefs.h <<_ACEOF
9178 #define HAVE_XICCALLBACK_CALLBACK 1
9179 _ACEOF
9183 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9184 #include <X11/Xlib.h>
9185 #endif
9187 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9189 cat >>confdefs.h <<_ACEOF
9190 #define HAVE_XEVENT_XCOOKIE 1
9191 _ACEOF
9198 opengl_msg=""
9199 if test "x$with_opengl" != "xno"
9200 then
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9202 $as_echo_n "checking for -lGL... " >&6; }
9203 if ${ac_cv_lib_soname_GL+:} false; then :
9204 $as_echo_n "(cached) " >&6
9205 else
9206 ac_check_soname_save_LIBS=$LIBS
9207 LIBS="-lGL $X_LIBS $XLIB -lm $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 glXCreateContext ();
9219 main ()
9221 return glXCreateContext ();
9223 return 0;
9225 _ACEOF
9226 if ac_fn_c_try_link "$LINENO"; then :
9227 case "$LIBEXT" in
9228 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9229 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'` ;;
9230 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9231 if test "x$ac_cv_lib_soname_GL" = x; then :
9232 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9233 fi ;;
9234 esac
9236 rm -f core conftest.err conftest.$ac_objext \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_soname_save_LIBS
9240 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9242 $as_echo "not found" >&6; }
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9244 $as_echo_n "checking for -lGL... " >&6; }
9245 if ${ac_cv_lib_soname_GL+:} false; then :
9246 $as_echo_n "(cached) " >&6
9247 else
9248 ac_check_soname_save_LIBS=$LIBS
9249 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"
9250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9251 /* end confdefs.h. */
9253 /* Override any GCC internal prototype to avoid an error.
9254 Use char because int might match the return type of a GCC
9255 builtin and then its argument prototype would still apply. */
9256 #ifdef __cplusplus
9257 extern "C"
9258 #endif
9259 char glXCreateContext ();
9261 main ()
9263 return glXCreateContext ();
9265 return 0;
9267 _ACEOF
9268 if ac_fn_c_try_link "$LINENO"; then :
9269 case "$LIBEXT" in
9270 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9271 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'` ;;
9272 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9273 if test "x$ac_cv_lib_soname_GL" = x; then :
9274 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9275 fi ;;
9276 esac
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 LIBS=$ac_check_soname_save_LIBS
9282 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9284 $as_echo "not found" >&6; }
9285 if test -f /usr/X11R6/lib/libGL.a
9286 then
9287 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9288 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9289 else
9290 opengl_msg="No OpenGL library found on this system."
9292 else
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9294 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9296 cat >>confdefs.h <<_ACEOF
9297 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9298 _ACEOF
9300 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"
9302 else
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9304 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9306 cat >>confdefs.h <<_ACEOF
9307 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9308 _ACEOF
9310 OPENGL_LIBS="-lGL"
9312 if test "x$with_glu" != "xno"
9313 then
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9315 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9316 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9317 $as_echo_n "(cached) " >&6
9318 else
9319 ac_check_lib_save_LIBS=$LIBS
9320 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9324 /* Override any GCC internal prototype to avoid an error.
9325 Use char because int might match the return type of a GCC
9326 builtin and then its argument prototype would still apply. */
9327 #ifdef __cplusplus
9328 extern "C"
9329 #endif
9330 char gluLookAt ();
9332 main ()
9334 return gluLookAt ();
9336 return 0;
9338 _ACEOF
9339 if ac_fn_c_try_link "$LINENO"; then :
9340 ac_cv_lib_GLU_gluLookAt=yes
9341 else
9342 ac_cv_lib_GLU_gluLookAt=no
9344 rm -f core conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 LIBS=$ac_check_lib_save_LIBS
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9349 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9350 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9354 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9355 case "x$with_glu" in
9356 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9357 xno) ;;
9358 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9359 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9360 esac
9364 if test "x$with_osmesa" != "xno"
9365 then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9367 $as_echo_n "checking for -lOSMesa... " >&6; }
9368 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9369 $as_echo_n "(cached) " >&6
9370 else
9371 ac_check_soname_save_LIBS=$LIBS
9372 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9376 /* Override any GCC internal prototype to avoid an error.
9377 Use char because int might match the return type of a GCC
9378 builtin and then its argument prototype would still apply. */
9379 #ifdef __cplusplus
9380 extern "C"
9381 #endif
9382 char glAccum ();
9384 main ()
9386 return glAccum ();
9388 return 0;
9390 _ACEOF
9391 if ac_fn_c_try_link "$LINENO"; then :
9392 case "$LIBEXT" in
9393 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9394 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'` ;;
9395 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9396 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9397 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9398 fi ;;
9399 esac
9401 rm -f core conftest.err conftest.$ac_objext \
9402 conftest$ac_exeext conftest.$ac_ext
9403 LIBS=$ac_check_soname_save_LIBS
9405 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9407 $as_echo "not found" >&6; }
9409 else
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9411 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9413 cat >>confdefs.h <<_ACEOF
9414 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9415 _ACEOF
9419 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9420 case "x$with_osmesa" in
9421 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9422 xno) ;;
9423 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9424 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9425 esac
9429 if test -n "$opengl_msg"; then :
9430 case "x$with_opengl" in
9431 x) as_fn_append wine_warnings "|$opengl_msg
9432 OpenGL and Direct3D won't be supported." ;;
9433 xno) ;;
9434 *) as_fn_error $? "$opengl_msg
9435 OpenGL and Direct3D won't be supported.
9436 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9437 esac
9440 CPPFLAGS="$ac_save_CPPFLAGS"
9441 else
9442 XLIB=""
9443 X_CFLAGS=""
9444 X_LIBS=""
9445 enable_winex11_drv=${enable_winex11_drv:-no}
9447 if test "x$XLIB" = "x"; then :
9448 case "x$with_x" in
9449 xno) ;;
9450 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9451 without X support, which probably isn't what you want. You will need
9452 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9453 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9454 esac
9457 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
9459 if test "$ac_cv_header_CL_cl_h" = "yes"
9460 then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9462 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9463 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_check_lib_save_LIBS=$LIBS
9467 LIBS="-lOpenCL $LIBS"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9474 #ifdef __cplusplus
9475 extern "C"
9476 #endif
9477 char clGetPlatformInfo ();
9479 main ()
9481 return clGetPlatformInfo ();
9483 return 0;
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9488 else
9489 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 LIBS=$ac_check_lib_save_LIBS
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9496 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9497 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9498 LIBOPENCL="-lOpenCL"
9503 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9504 case "x$with_opencl" in
9505 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9506 xno) ;;
9507 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9508 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9509 esac
9511 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9514 if test "x$with_xml" != "xno"
9515 then
9516 if test -n "$XML2_CFLAGS"; then :
9518 elif test -n "$PKG_CONFIG"; then :
9519 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9521 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9522 if test -n "$XML2_LIBS"; then :
9524 elif test -n "$PKG_CONFIG"; then :
9525 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9527 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9528 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
9529 ac_save_CPPFLAGS=$CPPFLAGS
9530 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
9531 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9532 do :
9533 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9534 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9535 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9536 cat >>confdefs.h <<_ACEOF
9537 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9538 _ACEOF
9542 done
9544 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"
9545 then
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9547 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9548 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9549 $as_echo_n "(cached) " >&6
9550 else
9551 ac_check_lib_save_LIBS=$LIBS
9552 LIBS="-lxml2 $XML2_LIBS $LIBS"
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9556 /* Override any GCC internal prototype to avoid an error.
9557 Use char because int might match the return type of a GCC
9558 builtin and then its argument prototype would still apply. */
9559 #ifdef __cplusplus
9560 extern "C"
9561 #endif
9562 char xmlParseMemory ();
9564 main ()
9566 return xmlParseMemory ();
9568 return 0;
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 ac_cv_lib_xml2_xmlParseMemory=yes
9573 else
9574 ac_cv_lib_xml2_xmlParseMemory=no
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 LIBS=$ac_check_lib_save_LIBS
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9581 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9582 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9584 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9586 else
9587 XML2_LIBS=""
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9591 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9592 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 ac_check_lib_save_LIBS=$LIBS
9596 LIBS="-lxml2 $XML2_LIBS $LIBS"
9597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9603 #ifdef __cplusplus
9604 extern "C"
9605 #endif
9606 char xmlReadMemory ();
9608 main ()
9610 return xmlReadMemory ();
9612 return 0;
9614 _ACEOF
9615 if ac_fn_c_try_link "$LINENO"; then :
9616 ac_cv_lib_xml2_xmlReadMemory=yes
9617 else
9618 ac_cv_lib_xml2_xmlReadMemory=no
9620 rm -f core conftest.err conftest.$ac_objext \
9621 conftest$ac_exeext conftest.$ac_ext
9622 LIBS=$ac_check_lib_save_LIBS
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9625 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9626 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9628 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9633 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9634 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9635 $as_echo_n "(cached) " >&6
9636 else
9637 ac_check_lib_save_LIBS=$LIBS
9638 LIBS="-lxml2 $XML2_LIBS $LIBS"
9639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9642 /* Override any GCC internal prototype to avoid an error.
9643 Use char because int might match the return type of a GCC
9644 builtin and then its argument prototype would still apply. */
9645 #ifdef __cplusplus
9646 extern "C"
9647 #endif
9648 char xmlNewDocPI ();
9650 main ()
9652 return xmlNewDocPI ();
9654 return 0;
9656 _ACEOF
9657 if ac_fn_c_try_link "$LINENO"; then :
9658 ac_cv_lib_xml2_xmlNewDocPI=yes
9659 else
9660 ac_cv_lib_xml2_xmlNewDocPI=no
9662 rm -f core conftest.err conftest.$ac_objext \
9663 conftest$ac_exeext conftest.$ac_ext
9664 LIBS=$ac_check_lib_save_LIBS
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9667 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9668 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9670 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9675 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9676 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9677 $as_echo_n "(cached) " >&6
9678 else
9679 ac_check_lib_save_LIBS=$LIBS
9680 LIBS="-lxml2 $XML2_LIBS $LIBS"
9681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9682 /* end confdefs.h. */
9684 /* Override any GCC internal prototype to avoid an error.
9685 Use char because int might match the return type of a GCC
9686 builtin and then its argument prototype would still apply. */
9687 #ifdef __cplusplus
9688 extern "C"
9689 #endif
9690 char xmlSchemaSetParserStructuredErrors ();
9692 main ()
9694 return xmlSchemaSetParserStructuredErrors ();
9696 return 0;
9698 _ACEOF
9699 if ac_fn_c_try_link "$LINENO"; then :
9700 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9701 else
9702 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9704 rm -f core conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9706 LIBS=$ac_check_lib_save_LIBS
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9709 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9710 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9712 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9717 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9718 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9719 $as_echo_n "(cached) " >&6
9720 else
9721 ac_check_lib_save_LIBS=$LIBS
9722 LIBS="-lxml2 $XML2_LIBS $LIBS"
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9726 /* Override any GCC internal prototype to avoid an error.
9727 Use char because int might match the return type of a GCC
9728 builtin and then its argument prototype would still apply. */
9729 #ifdef __cplusplus
9730 extern "C"
9731 #endif
9732 char xmlSchemaSetValidStructuredErrors ();
9734 main ()
9736 return xmlSchemaSetValidStructuredErrors ();
9738 return 0;
9740 _ACEOF
9741 if ac_fn_c_try_link "$LINENO"; then :
9742 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9743 else
9744 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9746 rm -f core conftest.err conftest.$ac_objext \
9747 conftest$ac_exeext conftest.$ac_ext
9748 LIBS=$ac_check_lib_save_LIBS
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9751 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9752 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9754 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9759 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9760 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9761 $as_echo_n "(cached) " >&6
9762 else
9763 ac_check_lib_save_LIBS=$LIBS
9764 LIBS="-lxml2 $XML2_LIBS $LIBS"
9765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9766 /* end confdefs.h. */
9768 /* Override any GCC internal prototype to avoid an error.
9769 Use char because int might match the return type of a GCC
9770 builtin and then its argument prototype would still apply. */
9771 #ifdef __cplusplus
9772 extern "C"
9773 #endif
9774 char xmlFirstElementChild ();
9776 main ()
9778 return xmlFirstElementChild ();
9780 return 0;
9782 _ACEOF
9783 if ac_fn_c_try_link "$LINENO"; then :
9784 ac_cv_lib_xml2_xmlFirstElementChild=yes
9785 else
9786 ac_cv_lib_xml2_xmlFirstElementChild=no
9788 rm -f core conftest.err conftest.$ac_objext \
9789 conftest$ac_exeext conftest.$ac_ext
9790 LIBS=$ac_check_lib_save_LIBS
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9793 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9794 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9796 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9800 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9802 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9804 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9808 else
9809 XML2_CFLAGS=""
9810 XML2_LIBS=""
9812 CPPFLAGS=$ac_save_CPPFLAGS
9813 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
9814 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
9817 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9818 case "x$with_xml" in
9819 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9820 xno) ;;
9821 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9822 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9823 esac
9826 if test "x$with_xslt" != "xno"
9827 then
9828 if test -n "$XSLT_CFLAGS"; then :
9830 elif test -n "$PKG_CONFIG"; then :
9831 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9833 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9834 if test -n "$XSLT_LIBS"; then :
9836 elif test -n "$PKG_CONFIG"; then :
9837 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
9839 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
9840 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
9841 ac_save_CPPFLAGS=$CPPFLAGS
9842 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
9843 for ac_header in libxslt/pattern.h libxslt/transform.h
9844 do :
9845 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9846 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9847 # include <libxslt/pattern.h>
9848 #endif
9850 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9851 cat >>confdefs.h <<_ACEOF
9852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9853 _ACEOF
9857 done
9859 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9860 then
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9862 $as_echo_n "checking for -lxslt... " >&6; }
9863 if ${ac_cv_lib_soname_xslt+:} false; then :
9864 $as_echo_n "(cached) " >&6
9865 else
9866 ac_check_soname_save_LIBS=$LIBS
9867 LIBS="-lxslt $XSLT_LIBS $LIBS"
9868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9871 /* Override any GCC internal prototype to avoid an error.
9872 Use char because int might match the return type of a GCC
9873 builtin and then its argument prototype would still apply. */
9874 #ifdef __cplusplus
9875 extern "C"
9876 #endif
9877 char xsltCompilePattern ();
9879 main ()
9881 return xsltCompilePattern ();
9883 return 0;
9885 _ACEOF
9886 if ac_fn_c_try_link "$LINENO"; then :
9887 case "$LIBEXT" in
9888 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9889 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'` ;;
9890 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9891 if test "x$ac_cv_lib_soname_xslt" = x; then :
9892 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9893 fi ;;
9894 esac
9896 rm -f core conftest.err conftest.$ac_objext \
9897 conftest$ac_exeext conftest.$ac_ext
9898 LIBS=$ac_check_soname_save_LIBS
9900 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9902 $as_echo "not found" >&6; }
9904 else
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9906 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9908 cat >>confdefs.h <<_ACEOF
9909 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9910 _ACEOF
9914 else
9915 XSLT_CFLAGS=""
9917 CPPFLAGS=$ac_save_CPPFLAGS
9918 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
9919 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
9922 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9923 case "x$with_xslt" in
9924 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9925 xno) ;;
9926 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9927 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9928 esac
9931 if test "x$with_dbus" != "xno"
9932 then
9933 if test -n "$DBUS_CFLAGS"; then :
9935 elif test -n "$PKG_CONFIG"; then :
9936 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
9939 if test -n "$DBUS_LIBS"; then :
9941 elif test -n "$PKG_CONFIG"; then :
9942 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
9946 ac_save_CPPFLAGS=$CPPFLAGS
9947 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
9948 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9949 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9951 $as_echo_n "checking for -ldbus-1... " >&6; }
9952 if ${ac_cv_lib_soname_dbus_1+:} false; then :
9953 $as_echo_n "(cached) " >&6
9954 else
9955 ac_check_soname_save_LIBS=$LIBS
9956 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
9957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9960 /* Override any GCC internal prototype to avoid an error.
9961 Use char because int might match the return type of a GCC
9962 builtin and then its argument prototype would still apply. */
9963 #ifdef __cplusplus
9964 extern "C"
9965 #endif
9966 char dbus_connection_close ();
9968 main ()
9970 return dbus_connection_close ();
9972 return 0;
9974 _ACEOF
9975 if ac_fn_c_try_link "$LINENO"; then :
9976 case "$LIBEXT" in
9977 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9978 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'` ;;
9979 *) 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'`
9980 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
9981 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9982 fi ;;
9983 esac
9985 rm -f core conftest.err conftest.$ac_objext \
9986 conftest$ac_exeext conftest.$ac_ext
9987 LIBS=$ac_check_soname_save_LIBS
9989 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9991 $as_echo "not found" >&6; }
9992 DBUS_CFLAGS=""
9993 else
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9995 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9997 cat >>confdefs.h <<_ACEOF
9998 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9999 _ACEOF
10003 else
10004 DBUS_CFLAGS=""
10008 CPPFLAGS=$ac_save_CPPFLAGS
10009 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10010 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10013 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10014 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10015 case "x$with_dbus" in
10016 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10017 xno) ;;
10018 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10019 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10020 esac
10023 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10024 then
10025 if test -n "$HAL_CFLAGS"; then :
10027 elif test -n "$PKG_CONFIG"; then :
10028 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10031 if test -n "$HAL_LIBS"; then :
10033 elif test -n "$PKG_CONFIG"; then :
10034 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10037 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10038 ac_save_CPPFLAGS=$CPPFLAGS
10039 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10040 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10041 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10043 $as_echo_n "checking for -lhal... " >&6; }
10044 if ${ac_cv_lib_soname_hal+:} false; then :
10045 $as_echo_n "(cached) " >&6
10046 else
10047 ac_check_soname_save_LIBS=$LIBS
10048 LIBS="-lhal $HAL_LIBS $LIBS"
10049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10052 /* Override any GCC internal prototype to avoid an error.
10053 Use char because int might match the return type of a GCC
10054 builtin and then its argument prototype would still apply. */
10055 #ifdef __cplusplus
10056 extern "C"
10057 #endif
10058 char libhal_ctx_new ();
10060 main ()
10062 return libhal_ctx_new ();
10064 return 0;
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 case "$LIBEXT" in
10069 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10070 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'` ;;
10071 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10072 if test "x$ac_cv_lib_soname_hal" = x; then :
10073 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10074 fi ;;
10075 esac
10077 rm -f core conftest.err conftest.$ac_objext \
10078 conftest$ac_exeext conftest.$ac_ext
10079 LIBS=$ac_check_soname_save_LIBS
10081 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10083 $as_echo "not found" >&6; }
10084 HAL_CFLAGS=""
10085 else
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10087 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10089 cat >>confdefs.h <<_ACEOF
10090 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10091 _ACEOF
10095 else
10096 HAL_CFLAGS=""
10100 CPPFLAGS=$ac_save_CPPFLAGS
10101 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10102 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10104 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10105 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10106 case "x$with_hal" in
10107 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10108 xno) ;;
10109 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
10110 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10111 esac
10115 if test "x$with_gnutls" != "xno"
10116 then
10117 if test -n "$GNUTLS_CFLAGS"; then :
10119 elif test -n "$PKG_CONFIG"; then :
10120 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10123 if test -n "$GNUTLS_LIBS"; then :
10125 elif test -n "$PKG_CONFIG"; then :
10126 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10130 ac_save_CPPFLAGS=$CPPFLAGS
10131 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
10132 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10133 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
10134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10135 /* end confdefs.h. */
10136 #include <gnutls/gnutls.h>
10137 #include <gnutls/crypto.h>
10139 main ()
10141 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10143 return 0;
10145 _ACEOF
10146 if ac_fn_c_try_compile "$LINENO"; then :
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10148 $as_echo_n "checking for -lgnutls... " >&6; }
10149 if ${ac_cv_lib_soname_gnutls+:} false; then :
10150 $as_echo_n "(cached) " >&6
10151 else
10152 ac_check_soname_save_LIBS=$LIBS
10153 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10157 /* Override any GCC internal prototype to avoid an error.
10158 Use char because int might match the return type of a GCC
10159 builtin and then its argument prototype would still apply. */
10160 #ifdef __cplusplus
10161 extern "C"
10162 #endif
10163 char gnutls_global_init ();
10165 main ()
10167 return gnutls_global_init ();
10169 return 0;
10171 _ACEOF
10172 if ac_fn_c_try_link "$LINENO"; then :
10173 case "$LIBEXT" in
10174 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10175 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'` ;;
10176 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10177 if test "x$ac_cv_lib_soname_gnutls" = x; then :
10178 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10179 fi ;;
10180 esac
10182 rm -f core conftest.err conftest.$ac_objext \
10183 conftest$ac_exeext conftest.$ac_ext
10184 LIBS=$ac_check_soname_save_LIBS
10186 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10188 $as_echo "not found" >&6; }
10189 GNUTLS_CFLAGS=""
10190 else
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10192 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10194 cat >>confdefs.h <<_ACEOF
10195 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10196 _ACEOF
10201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10202 else
10203 GNUTLS_CFLAGS=""
10207 CPPFLAGS=$ac_save_CPPFLAGS
10208 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10209 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10212 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10213 case "x$with_gnutls" in
10214 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10215 xno) ;;
10216 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
10217 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10218 esac
10221 CURSESLIBS=""
10222 if test "$ac_cv_header_ncurses_h" = "yes"
10223 then
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10225 $as_echo_n "checking for -lncurses... " >&6; }
10226 if ${ac_cv_lib_soname_ncurses+:} false; then :
10227 $as_echo_n "(cached) " >&6
10228 else
10229 ac_check_soname_save_LIBS=$LIBS
10230 LIBS="-lncurses $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 waddch ();
10242 main ()
10244 return waddch ();
10246 return 0;
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 case "$LIBEXT" in
10251 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10252 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'` ;;
10253 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10254 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10255 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10256 fi ;;
10257 esac
10259 rm -f core conftest.err conftest.$ac_objext \
10260 conftest$ac_exeext conftest.$ac_ext
10261 LIBS=$ac_check_soname_save_LIBS
10263 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10265 $as_echo "not found" >&6; }
10267 else
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10269 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10271 cat >>confdefs.h <<_ACEOF
10272 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10273 _ACEOF
10275 CURSESLIBS="-lncurses"
10277 elif test "$ac_cv_header_curses_h" = "yes"
10278 then
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10280 $as_echo_n "checking for -lcurses... " >&6; }
10281 if ${ac_cv_lib_soname_curses+:} false; then :
10282 $as_echo_n "(cached) " >&6
10283 else
10284 ac_check_soname_save_LIBS=$LIBS
10285 LIBS="-lcurses $LIBS"
10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10289 /* Override any GCC internal prototype to avoid an error.
10290 Use char because int might match the return type of a GCC
10291 builtin and then its argument prototype would still apply. */
10292 #ifdef __cplusplus
10293 extern "C"
10294 #endif
10295 char waddch ();
10297 main ()
10299 return waddch ();
10301 return 0;
10303 _ACEOF
10304 if ac_fn_c_try_link "$LINENO"; then :
10305 case "$LIBEXT" in
10306 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10307 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'` ;;
10308 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10309 if test "x$ac_cv_lib_soname_curses" = x; then :
10310 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10311 fi ;;
10312 esac
10314 rm -f core conftest.err conftest.$ac_objext \
10315 conftest$ac_exeext conftest.$ac_ext
10316 LIBS=$ac_check_soname_save_LIBS
10318 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10320 $as_echo "not found" >&6; }
10322 else
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10324 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10326 cat >>confdefs.h <<_ACEOF
10327 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10328 _ACEOF
10330 CURSESLIBS="-lcurses"
10333 ac_save_LIBS="$LIBS"
10334 LIBS="$LIBS $CURSESLIBS"
10335 for ac_func in mousemask
10336 do :
10337 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10338 if test "x$ac_cv_func_mousemask" = xyes; then :
10339 cat >>confdefs.h <<_ACEOF
10340 #define HAVE_MOUSEMASK 1
10341 _ACEOF
10344 done
10346 LIBS="$ac_save_LIBS"
10347 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10348 case "x$with_curses" in
10349 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10350 xno) ;;
10351 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10352 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10353 esac
10356 if test "x$with_sane" != "xno"
10357 then
10358 if test -n "$SANE_CFLAGS"; then :
10360 elif test -n "$PKG_CONFIG"; then :
10361 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10363 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10364 if test -n "$SANE_LIBS"; then :
10366 elif test -n "$PKG_CONFIG"; then :
10367 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
10369 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10371 ac_save_CPPFLAGS=$CPPFLAGS
10372 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
10373 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10374 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10376 $as_echo_n "checking for -lsane... " >&6; }
10377 if ${ac_cv_lib_soname_sane+:} false; then :
10378 $as_echo_n "(cached) " >&6
10379 else
10380 ac_check_soname_save_LIBS=$LIBS
10381 LIBS="-lsane $SANE_LIBS $LIBS"
10382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10385 /* Override any GCC internal prototype to avoid an error.
10386 Use char because int might match the return type of a GCC
10387 builtin and then its argument prototype would still apply. */
10388 #ifdef __cplusplus
10389 extern "C"
10390 #endif
10391 char sane_init ();
10393 main ()
10395 return sane_init ();
10397 return 0;
10399 _ACEOF
10400 if ac_fn_c_try_link "$LINENO"; then :
10401 case "$LIBEXT" in
10402 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10403 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'` ;;
10404 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10405 if test "x$ac_cv_lib_soname_sane" = x; then :
10406 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10407 fi ;;
10408 esac
10410 rm -f core conftest.err conftest.$ac_objext \
10411 conftest$ac_exeext conftest.$ac_ext
10412 LIBS=$ac_check_soname_save_LIBS
10414 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10416 $as_echo "not found" >&6; }
10417 SANE_CFLAGS=""
10418 else
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10420 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10422 cat >>confdefs.h <<_ACEOF
10423 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10424 _ACEOF
10428 else
10429 SANE_CFLAGS=""
10433 CPPFLAGS=$ac_save_CPPFLAGS
10434 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10435 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10438 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10439 case "x$with_sane" in
10440 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10441 xno) ;;
10442 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
10443 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10444 esac
10447 if test "x$with_v4l" != "xno"
10448 then
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10450 $as_echo_n "checking for -lv4l1... " >&6; }
10451 if ${ac_cv_lib_soname_v4l1+:} false; then :
10452 $as_echo_n "(cached) " >&6
10453 else
10454 ac_check_soname_save_LIBS=$LIBS
10455 LIBS="-lv4l1 $LIBS"
10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10462 #ifdef __cplusplus
10463 extern "C"
10464 #endif
10465 char v4l1_open ();
10467 main ()
10469 return v4l1_open ();
10471 return 0;
10473 _ACEOF
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 case "$LIBEXT" in
10476 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10477 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'` ;;
10478 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10479 if test "x$ac_cv_lib_soname_v4l1" = x; then :
10480 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10481 fi ;;
10482 esac
10484 rm -f core conftest.err conftest.$ac_objext \
10485 conftest$ac_exeext conftest.$ac_ext
10486 LIBS=$ac_check_soname_save_LIBS
10488 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10490 $as_echo "not found" >&6; }
10492 else
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10494 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10496 cat >>confdefs.h <<_ACEOF
10497 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10498 _ACEOF
10503 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10504 case "x$with_v4l" in
10505 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10506 xno) ;;
10507 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10508 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10509 esac
10512 if test "x$with_gphoto" != "xno"
10513 then
10514 if test -n "$GPHOTO2_CFLAGS"; then :
10516 elif test -n "$PKG_CONFIG"; then :
10517 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10519 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
10520 if test -n "$GPHOTO2_LIBS"; then :
10522 elif test -n "$PKG_CONFIG"; then :
10523 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10525 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
10526 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
10527 ac_save_CPPFLAGS=$CPPFLAGS
10528 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
10529 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10530 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10532 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10533 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10534 $as_echo_n "(cached) " >&6
10535 else
10536 ac_check_lib_save_LIBS=$LIBS
10537 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10541 /* Override any GCC internal prototype to avoid an error.
10542 Use char because int might match the return type of a GCC
10543 builtin and then its argument prototype would still apply. */
10544 #ifdef __cplusplus
10545 extern "C"
10546 #endif
10547 char gp_camera_new ();
10549 main ()
10551 return gp_camera_new ();
10553 return 0;
10555 _ACEOF
10556 if ac_fn_c_try_link "$LINENO"; then :
10557 ac_cv_lib_gphoto2_gp_camera_new=yes
10558 else
10559 ac_cv_lib_gphoto2_gp_camera_new=no
10561 rm -f core conftest.err conftest.$ac_objext \
10562 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_lib_save_LIBS
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10566 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10567 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10569 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10571 else
10572 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
10575 else
10576 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
10580 CPPFLAGS=$ac_save_CPPFLAGS
10581 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10582 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10584 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
10586 elif test -n "$PKG_CONFIG"; then :
10587 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
10589 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
10590 if test -n "$GPHOTO2_PORT_LIBS"; then :
10592 elif test -n "$PKG_CONFIG"; then :
10593 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
10595 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
10596 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
10597 ac_save_CPPFLAGS=$CPPFLAGS
10598 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
10599 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
10600 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
10602 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
10603 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
10604 $as_echo_n "(cached) " >&6
10605 else
10606 ac_check_lib_save_LIBS=$LIBS
10607 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
10608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10609 /* end confdefs.h. */
10611 /* Override any GCC internal prototype to avoid an error.
10612 Use char because int might match the return type of a GCC
10613 builtin and then its argument prototype would still apply. */
10614 #ifdef __cplusplus
10615 extern "C"
10616 #endif
10617 char gp_port_info_list_new ();
10619 main ()
10621 return gp_port_info_list_new ();
10623 return 0;
10625 _ACEOF
10626 if ac_fn_c_try_link "$LINENO"; then :
10627 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
10628 else
10629 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
10631 rm -f core conftest.err conftest.$ac_objext \
10632 conftest$ac_exeext conftest.$ac_ext
10633 LIBS=$ac_check_lib_save_LIBS
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
10636 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
10637 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
10639 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
10641 else
10642 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
10645 else
10646 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
10650 CPPFLAGS=$ac_save_CPPFLAGS
10651 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10652 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10655 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10656 case "x$with_gphoto" in
10657 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10658 xno) ;;
10659 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10660 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10661 esac
10663 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
10664 case "x$with_gphoto" in
10665 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
10666 xno) ;;
10667 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
10668 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10669 esac
10673 if test "$ac_cv_header_resolv_h" = "yes"
10674 then
10675 ac_save_LIBS="$LIBS"
10676 for lib in '' -lresolv
10678 LIBS="$lib $ac_save_LIBS"
10679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10680 /* end confdefs.h. */
10681 #ifdef HAVE_NETINET_IN_H
10682 #include <netinet/in.h>
10683 #endif
10684 #include <resolv.h>
10686 main ()
10688 res_query("foo",ns_c_in,0,0,0);
10690 return 0;
10692 _ACEOF
10693 if ac_fn_c_try_link "$LINENO"; then :
10695 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10697 RESOLVLIBS="$lib"
10700 rm -f core conftest.err conftest.$ac_objext \
10701 conftest$ac_exeext conftest.$ac_ext
10702 if test "${RESOLVLIBS+set}" = set; then
10703 break
10705 done
10706 LIBS="$ac_save_LIBS"
10709 if test "x$with_lcms2" != "xno"
10710 then
10711 if test -n "$LCMS2_CFLAGS"; then :
10713 elif test -n "$PKG_CONFIG"; then :
10714 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
10717 if test -n "$LCMS2_LIBS"; then :
10719 elif test -n "$PKG_CONFIG"; then :
10720 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
10723 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
10724 ac_save_CPPFLAGS=$CPPFLAGS
10725 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
10726 for ac_header in lcms2.h
10727 do :
10728 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
10729 if test "x$ac_cv_header_lcms2_h" = xyes; then :
10730 cat >>confdefs.h <<_ACEOF
10731 #define HAVE_LCMS2_H 1
10732 _ACEOF
10736 done
10738 if test "$ac_cv_header_lcms2_h" = "yes"
10739 then
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
10741 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
10742 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
10743 $as_echo_n "(cached) " >&6
10744 else
10745 ac_check_lib_save_LIBS=$LIBS
10746 LIBS="-llcms2 $LIBS"
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10753 #ifdef __cplusplus
10754 extern "C"
10755 #endif
10756 char cmsOpenProfileFromFile ();
10758 main ()
10760 return cmsOpenProfileFromFile ();
10762 return 0;
10764 _ACEOF
10765 if ac_fn_c_try_link "$LINENO"; then :
10766 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
10767 else
10768 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
10770 rm -f core conftest.err conftest.$ac_objext \
10771 conftest$ac_exeext conftest.$ac_ext
10772 LIBS=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
10775 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
10776 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
10778 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
10780 else
10781 LCMS2_LIBS=""
10784 else
10785 LCMS2_CFLAGS=""
10786 LCMS2_LIBS=""
10788 CPPFLAGS=$ac_save_CPPFLAGS
10789 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10790 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10793 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
10794 case "x$with_cms" in
10795 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
10796 xno) ;;
10797 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
10798 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10799 esac
10802 if test "x$with_freetype" != "xno"
10803 then
10804 if test -n "$FREETYPE_CFLAGS"; then :
10806 elif test -n "$PKG_CONFIG"; then :
10807 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10809 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10810 if test -n "$FREETYPE_LIBS"; then :
10812 elif test -n "$PKG_CONFIG"; then :
10813 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10815 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10816 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
10817 ac_save_CPPFLAGS=$CPPFLAGS
10818 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10820 $as_echo_n "checking for -lfreetype... " >&6; }
10821 if ${ac_cv_lib_soname_freetype+:} false; then :
10822 $as_echo_n "(cached) " >&6
10823 else
10824 ac_check_soname_save_LIBS=$LIBS
10825 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10829 /* Override any GCC internal prototype to avoid an error.
10830 Use char because int might match the return type of a GCC
10831 builtin and then its argument prototype would still apply. */
10832 #ifdef __cplusplus
10833 extern "C"
10834 #endif
10835 char FT_Init_FreeType ();
10837 main ()
10839 return FT_Init_FreeType ();
10841 return 0;
10843 _ACEOF
10844 if ac_fn_c_try_link "$LINENO"; then :
10845 case "$LIBEXT" in
10846 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10847 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'` ;;
10848 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10849 if test "x$ac_cv_lib_soname_freetype" = x; then :
10850 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10851 fi ;;
10852 esac
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_soname_save_LIBS
10858 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10860 $as_echo "not found" >&6; }
10861 ft_lib=no
10862 else
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10864 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10866 cat >>confdefs.h <<_ACEOF
10867 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10868 _ACEOF
10870 ft_lib=yes
10872 if test "$ft_lib" = "yes"
10873 then
10874 for ac_header in ft2build.h \
10875 freetype/freetype.h \
10876 freetype/ftglyph.h \
10877 freetype/fttypes.h \
10878 freetype/tttables.h \
10879 freetype/ftsnames.h \
10880 freetype/ttnameid.h \
10881 freetype/ftoutln.h \
10882 freetype/ftwinfnt.h \
10883 freetype/ftmodapi.h \
10884 freetype/ftlcdfil.h
10885 do :
10886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10888 # include <ft2build.h>
10889 #endif
10891 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10892 cat >>confdefs.h <<_ACEOF
10893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10894 _ACEOF
10898 done
10900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10901 /* end confdefs.h. */
10902 #include <ft2build.h>
10903 #include <freetype/fttrigon.h>
10904 _ACEOF
10905 if ac_fn_c_try_cpp "$LINENO"; then :
10907 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10909 wine_cv_fttrigon=yes
10910 else
10911 wine_cv_fttrigon=no
10913 rm -f conftest.err conftest.i conftest.$ac_ext
10914 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10916 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10918 cat >>confdefs.h <<_ACEOF
10919 #define HAVE_FT_TRUETYPEENGINETYPE 1
10920 _ACEOF
10925 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10926 then
10928 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10930 else
10931 FREETYPE_LIBS=""
10933 else
10934 FREETYPE_LIBS=""
10936 CPPFLAGS=$ac_save_CPPFLAGS
10937 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10938 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10941 if test "x$ac_cv_header_freetype_freetype_h" != xyes -o "x$wine_cv_fttrigon" != xyes; then :
10942 case "x$with_freetype" in
10943 xno) ;;
10944 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10945 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10946 esac
10948 test "x$ac_cv_header_freetype_freetype_h" = xyes -a "x$wine_cv_fttrigon" = xyes || enable_fonts=${enable_fonts:-no}
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10951 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10952 if ${ac_cv_c_ppdev+:} false; then :
10953 $as_echo_n "(cached) " >&6
10954 else
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10957 #ifdef HAVE_SYS_IOCTL_H
10958 # include <sys/ioctl.h>
10959 #endif
10960 #include <linux/ppdev.h>
10962 main ()
10964 ioctl (1,PPCLAIM,0)
10966 return 0;
10968 _ACEOF
10969 if ac_fn_c_try_compile "$LINENO"; then :
10970 ac_cv_c_ppdev="yes"
10971 else
10972 ac_cv_c_ppdev="no"
10974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10977 $as_echo "$ac_cv_c_ppdev" >&6; }
10978 if test "$ac_cv_c_ppdev" = "yes"
10979 then
10981 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10985 ac_wine_check_funcs_save_LIBS="$LIBS"
10986 LIBS="$LIBS $LIBPTHREAD"
10987 for ac_func in \
10988 pthread_attr_get_np \
10989 pthread_getattr_np \
10990 pthread_getthreadid_np \
10991 pthread_get_stackaddr_np \
10992 pthread_get_stacksize_np
10993 do :
10994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10996 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10997 cat >>confdefs.h <<_ACEOF
10998 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10999 _ACEOF
11002 done
11004 LIBS="$ac_wine_check_funcs_save_LIBS"
11006 if test "$ac_cv_header_zlib_h" = "yes"
11007 then
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11009 $as_echo_n "checking for inflate in -lz... " >&6; }
11010 if ${ac_cv_lib_z_inflate+:} false; then :
11011 $as_echo_n "(cached) " >&6
11012 else
11013 ac_check_lib_save_LIBS=$LIBS
11014 LIBS="-lz $LIBS"
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11021 #ifdef __cplusplus
11022 extern "C"
11023 #endif
11024 char inflate ();
11026 main ()
11028 return inflate ();
11030 return 0;
11032 _ACEOF
11033 if ac_fn_c_try_link "$LINENO"; then :
11034 ac_cv_lib_z_inflate=yes
11035 else
11036 ac_cv_lib_z_inflate=no
11038 rm -f core conftest.err conftest.$ac_objext \
11039 conftest$ac_exeext conftest.$ac_ext
11040 LIBS=$ac_check_lib_save_LIBS
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11043 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11044 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11046 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11048 ZLIB="-lz"
11053 if test "x$ZLIB" = "x"; then :
11054 case "x$with_zlib" in
11055 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11056 xno) ;;
11057 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11058 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11059 esac
11062 if test "x$enable_tools" != xno
11063 then
11064 if test "$ac_cv_header_gettext_po_h" = "yes"
11065 then
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11067 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11068 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
11069 $as_echo_n "(cached) " >&6
11070 else
11071 ac_check_lib_save_LIBS=$LIBS
11072 LIBS="-lgettextpo $LIBS"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 char po_message_msgctxt ();
11084 main ()
11086 return po_message_msgctxt ();
11088 return 0;
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 ac_cv_lib_gettextpo_po_message_msgctxt=yes
11093 else
11094 ac_cv_lib_gettextpo_po_message_msgctxt=no
11096 rm -f core conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11098 LIBS=$ac_check_lib_save_LIBS
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11101 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11102 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
11104 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11106 LIBGETTEXTPO="-lgettextpo"
11111 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
11112 case "x$with_gettextpo" in
11113 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11114 xno) ;;
11115 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11116 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11117 esac
11121 if test "x$with_gstreamer" != "xno"
11122 then
11123 if test -n "$GSTREAMER_CFLAGS"; then :
11125 elif test -n "$PKG_CONFIG"; then :
11126 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11129 if test -n "$GSTREAMER_LIBS"; then :
11131 elif test -n "$PKG_CONFIG"; then :
11132 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11136 ac_save_CPPFLAGS=$CPPFLAGS
11137 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
11138 ac_gst_incl=""
11139 for i in $GSTREAMER_CFLAGS
11141 case "$i" in
11142 -I*) ac_gst_incl="$ac_gst_incl $i";;
11143 esac
11144 done
11145 GSTREAMER_CFLAGS=$ac_gst_incl
11146 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11147 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11148 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
11149 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11150 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11152 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11155 #include <gst/app/gstappsink.h>
11157 main ()
11159 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11161 return 0;
11163 _ACEOF
11164 if ac_fn_c_try_compile "$LINENO"; then :
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11166 $as_echo "yes" >&6; }
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11168 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11169 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
11170 $as_echo_n "(cached) " >&6
11171 else
11172 ac_check_lib_save_LIBS=$LIBS
11173 LIBS="-lgstreamer-0.10 $LIBS"
11174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11180 #ifdef __cplusplus
11181 extern "C"
11182 #endif
11183 char gst_pad_get_caps_reffed ();
11185 main ()
11187 return gst_pad_get_caps_reffed ();
11189 return 0;
11191 _ACEOF
11192 if ac_fn_c_try_link "$LINENO"; then :
11193 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
11194 else
11195 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
11197 rm -f core conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11202 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11203 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11205 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11206 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
11207 $as_echo_n "(cached) " >&6
11208 else
11209 ac_check_lib_save_LIBS=$LIBS
11210 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11217 #ifdef __cplusplus
11218 extern "C"
11219 #endif
11220 char gst_app_buffer_new ();
11222 main ()
11224 return gst_app_buffer_new ();
11226 return 0;
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"; then :
11230 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11231 else
11232 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11234 rm -f core conftest.err conftest.$ac_objext \
11235 conftest$ac_exeext conftest.$ac_ext
11236 LIBS=$ac_check_lib_save_LIBS
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11239 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11240 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11246 else
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11248 $as_echo "no" >&6; }
11250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11254 else
11255 GSTREAMER_CFLAGS=""
11259 CPPFLAGS=$ac_save_CPPFLAGS
11260 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11261 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11264 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11265 case "x$with_gstreamer" in
11266 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11267 xno) ;;
11268 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11269 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11270 esac
11272 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11274 ALSALIBS=""
11276 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11277 then
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11279 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11280 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11281 $as_echo_n "(cached) " >&6
11282 else
11283 ac_check_lib_save_LIBS=$LIBS
11284 LIBS="-lasound $LIBS"
11285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h. */
11288 /* Override any GCC internal prototype to avoid an error.
11289 Use char because int might match the return type of a GCC
11290 builtin and then its argument prototype would still apply. */
11291 #ifdef __cplusplus
11292 extern "C"
11293 #endif
11294 char snd_pcm_hw_params_get_access_mask ();
11296 main ()
11298 return snd_pcm_hw_params_get_access_mask ();
11300 return 0;
11302 _ACEOF
11303 if ac_fn_c_try_link "$LINENO"; then :
11304 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11305 else
11306 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11308 rm -f core conftest.err conftest.$ac_objext \
11309 conftest$ac_exeext conftest.$ac_ext
11310 LIBS=$ac_check_lib_save_LIBS
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11313 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11314 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11317 #ifdef HAVE_ALSA_ASOUNDLIB_H
11318 #include <alsa/asoundlib.h>
11319 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11320 #include <sys/asoundlib.h>
11321 #endif
11323 main ()
11325 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11327 return 0;
11329 _ACEOF
11330 if ac_fn_c_try_compile "$LINENO"; then :
11331 ALSALIBS="-lasound"
11333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11338 if test "x$with_oss" != xno
11339 then
11340 ac_save_CPPFLAGS="$CPPFLAGS"
11341 if test -f /etc/oss.conf
11342 then
11343 . /etc/oss.conf
11345 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11346 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11347 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11348 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11349 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11351 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11353 cat >>confdefs.h <<_ACEOF
11354 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11355 _ACEOF
11357 OSS4INCL="$ac_oss_incl"
11364 CPPFLAGS="$ac_save_CPPFLAGS"
11365 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11366 then
11367 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11371 if test "x$with_capi" != "xno"
11372 then
11373 if test -n "$CAPI20_CFLAGS"; then :
11375 elif test -n "$PKG_CONFIG"; then :
11376 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11379 if test -n "$CAPI20_LIBS"; then :
11381 elif test -n "$PKG_CONFIG"; then :
11382 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
11386 ac_save_CPPFLAGS=$CPPFLAGS
11387 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
11388 for ac_header in capi20.h linux/capi.h
11389 do :
11390 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11391 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11393 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11394 cat >>confdefs.h <<_ACEOF
11395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11396 _ACEOF
11400 done
11402 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11403 then
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11405 $as_echo_n "checking for -lcapi20... " >&6; }
11406 if ${ac_cv_lib_soname_capi20+:} false; then :
11407 $as_echo_n "(cached) " >&6
11408 else
11409 ac_check_soname_save_LIBS=$LIBS
11410 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11417 #ifdef __cplusplus
11418 extern "C"
11419 #endif
11420 char capi20_register ();
11422 main ()
11424 return capi20_register ();
11426 return 0;
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"; then :
11430 case "$LIBEXT" in
11431 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11432 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'` ;;
11433 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11434 if test "x$ac_cv_lib_soname_capi20" = x; then :
11435 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11436 fi ;;
11437 esac
11439 rm -f core conftest.err conftest.$ac_objext \
11440 conftest$ac_exeext conftest.$ac_ext
11441 LIBS=$ac_check_soname_save_LIBS
11443 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11445 $as_echo "not found" >&6; }
11447 else
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11449 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11451 cat >>confdefs.h <<_ACEOF
11452 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11453 _ACEOF
11458 CPPFLAGS=$ac_save_CPPFLAGS
11459 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11460 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11463 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11464 case "x$with_capi" in
11465 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11466 xno) ;;
11467 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11468 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11469 esac
11472 CUPSINCL=""
11474 if test "x$with_cups" != "xno"
11475 then
11476 ac_save_CPPFLAGS="$CPPFLAGS"
11477 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11478 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11479 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11480 for ac_header in cups/cups.h
11481 do :
11482 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11483 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11484 cat >>confdefs.h <<_ACEOF
11485 #define HAVE_CUPS_CUPS_H 1
11486 _ACEOF
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11488 $as_echo_n "checking for -lcups... " >&6; }
11489 if ${ac_cv_lib_soname_cups+:} false; then :
11490 $as_echo_n "(cached) " >&6
11491 else
11492 ac_check_soname_save_LIBS=$LIBS
11493 LIBS="-lcups $ac_cups_libs $LIBS"
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11500 #ifdef __cplusplus
11501 extern "C"
11502 #endif
11503 char cupsGetDefault ();
11505 main ()
11507 return cupsGetDefault ();
11509 return 0;
11511 _ACEOF
11512 if ac_fn_c_try_link "$LINENO"; then :
11513 case "$LIBEXT" in
11514 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11515 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'` ;;
11516 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11517 if test "x$ac_cv_lib_soname_cups" = x; then :
11518 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11519 fi ;;
11520 esac
11522 rm -f core conftest.err conftest.$ac_objext \
11523 conftest$ac_exeext conftest.$ac_ext
11524 LIBS=$ac_check_soname_save_LIBS
11526 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11528 $as_echo "not found" >&6; }
11530 else
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11532 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11534 cat >>confdefs.h <<_ACEOF
11535 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11536 _ACEOF
11538 CUPSINCL="$ac_cups_cflags"
11542 done
11544 CPPFLAGS="$ac_save_CPPFLAGS"
11546 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11547 case "x$with_cups" in
11548 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11549 xno) ;;
11550 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11551 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11552 esac
11555 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11556 then
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11558 $as_echo_n "checking for -lfontconfig... " >&6; }
11559 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11560 $as_echo_n "(cached) " >&6
11561 else
11562 ac_check_soname_save_LIBS=$LIBS
11563 LIBS="-lfontconfig $LIBS"
11564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11567 /* Override any GCC internal prototype to avoid an error.
11568 Use char because int might match the return type of a GCC
11569 builtin and then its argument prototype would still apply. */
11570 #ifdef __cplusplus
11571 extern "C"
11572 #endif
11573 char FcInit ();
11575 main ()
11577 return FcInit ();
11579 return 0;
11581 _ACEOF
11582 if ac_fn_c_try_link "$LINENO"; then :
11583 case "$LIBEXT" in
11584 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11585 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'` ;;
11586 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11587 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11588 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11589 fi ;;
11590 esac
11592 rm -f core conftest.err conftest.$ac_objext \
11593 conftest$ac_exeext conftest.$ac_ext
11594 LIBS=$ac_check_soname_save_LIBS
11596 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11598 $as_echo "not found" >&6; }
11600 else
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11602 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11604 cat >>confdefs.h <<_ACEOF
11605 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11606 _ACEOF
11610 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11611 then
11612 ac_save_CPPFLAGS="$CPPFLAGS"
11613 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11614 $as_unset ac_cv_header_fontconfig_fontconfig_h
11615 for ac_header in fontconfig/fontconfig.h
11616 do :
11617 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11618 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11619 cat >>confdefs.h <<_ACEOF
11620 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11621 _ACEOF
11625 done
11627 CPPFLAGS="$ac_save_CPPFLAGS"
11628 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11629 then
11630 FONTCONFIGINCL="$X_CFLAGS"
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11633 $as_echo_n "checking for -lfontconfig... " >&6; }
11634 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11635 $as_echo_n "(cached) " >&6
11636 else
11637 ac_check_soname_save_LIBS=$LIBS
11638 LIBS="-lfontconfig $X_LIBS $LIBS"
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11645 #ifdef __cplusplus
11646 extern "C"
11647 #endif
11648 char FcInit ();
11650 main ()
11652 return FcInit ();
11654 return 0;
11656 _ACEOF
11657 if ac_fn_c_try_link "$LINENO"; then :
11658 case "$LIBEXT" in
11659 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11660 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'` ;;
11661 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11662 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11663 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11664 fi ;;
11665 esac
11667 rm -f core conftest.err conftest.$ac_objext \
11668 conftest$ac_exeext conftest.$ac_ext
11669 LIBS=$ac_check_soname_save_LIBS
11671 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11673 $as_echo "not found" >&6; }
11675 else
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11677 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11679 cat >>confdefs.h <<_ACEOF
11680 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11681 _ACEOF
11687 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11688 case "x$with_fontconfig" in
11689 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11690 xno) ;;
11691 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11692 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11693 esac
11696 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11697 then
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11699 $as_echo_n "checking for -lgsm... " >&6; }
11700 if ${ac_cv_lib_soname_gsm+:} false; then :
11701 $as_echo_n "(cached) " >&6
11702 else
11703 ac_check_soname_save_LIBS=$LIBS
11704 LIBS="-lgsm $LIBS"
11705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h. */
11708 /* Override any GCC internal prototype to avoid an error.
11709 Use char because int might match the return type of a GCC
11710 builtin and then its argument prototype would still apply. */
11711 #ifdef __cplusplus
11712 extern "C"
11713 #endif
11714 char gsm_create ();
11716 main ()
11718 return gsm_create ();
11720 return 0;
11722 _ACEOF
11723 if ac_fn_c_try_link "$LINENO"; then :
11724 case "$LIBEXT" in
11725 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11726 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'` ;;
11727 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11728 if test "x$ac_cv_lib_soname_gsm" = x; then :
11729 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11730 fi ;;
11731 esac
11733 rm -f core conftest.err conftest.$ac_objext \
11734 conftest$ac_exeext conftest.$ac_ext
11735 LIBS=$ac_check_soname_save_LIBS
11737 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11739 $as_echo "not found" >&6; }
11741 else
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11743 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11745 cat >>confdefs.h <<_ACEOF
11746 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11747 _ACEOF
11752 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11753 case "x$with_gsm" in
11754 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11755 xno) ;;
11756 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11757 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11758 esac
11761 if test "x$with_jpeg" != "xno"
11762 then
11763 if test -n "$JPEG_CFLAGS"; then :
11765 elif test -n "$PKG_CONFIG"; then :
11766 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
11769 if test -n "$JPEG_LIBS"; then :
11771 elif test -n "$PKG_CONFIG"; then :
11772 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
11776 ac_save_CPPFLAGS=$CPPFLAGS
11777 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
11778 for ac_header in jpeglib.h
11779 do :
11780 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
11781 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
11782 cat >>confdefs.h <<_ACEOF
11783 #define HAVE_JPEGLIB_H 1
11784 _ACEOF
11788 done
11790 if test "$ac_cv_header_jpeglib_h" = "yes"
11791 then
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11793 $as_echo_n "checking for -ljpeg... " >&6; }
11794 if ${ac_cv_lib_soname_jpeg+:} false; then :
11795 $as_echo_n "(cached) " >&6
11796 else
11797 ac_check_soname_save_LIBS=$LIBS
11798 LIBS="-ljpeg $JPEG_LIBS $LIBS"
11799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11805 #ifdef __cplusplus
11806 extern "C"
11807 #endif
11808 char jpeg_start_decompress ();
11810 main ()
11812 return jpeg_start_decompress ();
11814 return 0;
11816 _ACEOF
11817 if ac_fn_c_try_link "$LINENO"; then :
11818 case "$LIBEXT" in
11819 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11820 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'` ;;
11821 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11822 if test "x$ac_cv_lib_soname_jpeg" = x; then :
11823 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11824 fi ;;
11825 esac
11827 rm -f core conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext
11829 LIBS=$ac_check_soname_save_LIBS
11831 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11833 $as_echo "not found" >&6; }
11834 JPEG_CFLAGS=""
11835 else
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11837 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11839 cat >>confdefs.h <<_ACEOF
11840 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11841 _ACEOF
11845 else
11846 JPEG_CFLAGS=""
11848 CPPFLAGS=$ac_save_CPPFLAGS
11849 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11850 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11853 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11854 case "x$with_jpeg" in
11855 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11856 xno) ;;
11857 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11858 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11859 esac
11862 if test "x$with_png" != "xno"
11863 then
11864 if test -n "$PNG_CFLAGS"; then :
11866 elif test -n "$PKG_CONFIG"; then :
11867 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
11869 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
11870 if test -n "$PNG_LIBS"; then :
11872 elif test -n "$PKG_CONFIG"; then :
11873 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
11875 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
11877 ac_save_CPPFLAGS=$CPPFLAGS
11878 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
11879 for ac_header in png.h
11880 do :
11881 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11882 if test "x$ac_cv_header_png_h" = xyes; then :
11883 cat >>confdefs.h <<_ACEOF
11884 #define HAVE_PNG_H 1
11885 _ACEOF
11889 done
11891 if test "$ac_cv_header_png_h" = "yes"
11892 then
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11894 $as_echo_n "checking for -lpng... " >&6; }
11895 if ${ac_cv_lib_soname_png+:} false; then :
11896 $as_echo_n "(cached) " >&6
11897 else
11898 ac_check_soname_save_LIBS=$LIBS
11899 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11903 /* Override any GCC internal prototype to avoid an error.
11904 Use char because int might match the return type of a GCC
11905 builtin and then its argument prototype would still apply. */
11906 #ifdef __cplusplus
11907 extern "C"
11908 #endif
11909 char png_create_read_struct ();
11911 main ()
11913 return png_create_read_struct ();
11915 return 0;
11917 _ACEOF
11918 if ac_fn_c_try_link "$LINENO"; then :
11919 case "$LIBEXT" in
11920 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11921 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'` ;;
11922 *) 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'`
11923 if test "x$ac_cv_lib_soname_png" = x; then :
11924 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11925 fi ;;
11926 esac
11928 rm -f core conftest.err conftest.$ac_objext \
11929 conftest$ac_exeext conftest.$ac_ext
11930 LIBS=$ac_check_soname_save_LIBS
11932 if test "x$ac_cv_lib_soname_png" = "x"; then :
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11934 $as_echo "not found" >&6; }
11935 PNG_CFLAGS=""
11936 else
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11938 $as_echo "$ac_cv_lib_soname_png" >&6; }
11940 cat >>confdefs.h <<_ACEOF
11941 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11942 _ACEOF
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11946 #include <png.h>
11948 main ()
11950 typeof(png_set_expand_gray_1_2_4_to_8) *p
11952 return 0;
11954 _ACEOF
11955 if ac_fn_c_try_compile "$LINENO"; then :
11957 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11962 else
11963 PNG_CFLAGS=""
11965 CPPFLAGS=$ac_save_CPPFLAGS
11966 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11967 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11970 if test "x$ac_cv_lib_soname_png" = "x"; then :
11971 case "x$with_png" in
11972 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11973 xno) ;;
11974 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11975 This is an error since --with-png was requested." "$LINENO" 5 ;;
11976 esac
11979 if test "x$with_tiff" != "xno"
11980 then
11981 if test -n "$TIFF_CFLAGS"; then :
11983 elif test -n "$PKG_CONFIG"; then :
11984 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
11987 if test -n "$TIFF_LIBS"; then :
11989 elif test -n "$PKG_CONFIG"; then :
11990 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
11994 ac_save_CPPFLAGS=$CPPFLAGS
11995 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
11996 for ac_header in tiffio.h
11997 do :
11998 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
11999 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12000 cat >>confdefs.h <<_ACEOF
12001 #define HAVE_TIFFIO_H 1
12002 _ACEOF
12006 done
12008 if test "$ac_cv_header_tiffio_h" = "yes"
12009 then
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12011 $as_echo_n "checking for -ltiff... " >&6; }
12012 if ${ac_cv_lib_soname_tiff+:} false; then :
12013 $as_echo_n "(cached) " >&6
12014 else
12015 ac_check_soname_save_LIBS=$LIBS
12016 LIBS="-ltiff $TIFF_LIBS $LIBS"
12017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12018 /* end confdefs.h. */
12020 /* Override any GCC internal prototype to avoid an error.
12021 Use char because int might match the return type of a GCC
12022 builtin and then its argument prototype would still apply. */
12023 #ifdef __cplusplus
12024 extern "C"
12025 #endif
12026 char TIFFClientOpen ();
12028 main ()
12030 return TIFFClientOpen ();
12032 return 0;
12034 _ACEOF
12035 if ac_fn_c_try_link "$LINENO"; then :
12036 case "$LIBEXT" in
12037 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12038 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'` ;;
12039 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12040 if test "x$ac_cv_lib_soname_tiff" = x; then :
12041 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12042 fi ;;
12043 esac
12045 rm -f core conftest.err conftest.$ac_objext \
12046 conftest$ac_exeext conftest.$ac_ext
12047 LIBS=$ac_check_soname_save_LIBS
12049 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12051 $as_echo "not found" >&6; }
12053 else
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12055 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12057 cat >>confdefs.h <<_ACEOF
12058 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12059 _ACEOF
12064 CPPFLAGS=$ac_save_CPPFLAGS
12065 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12066 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12069 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12070 case "x$with_tiff" in
12071 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12072 xno) ;;
12073 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12074 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12075 esac
12078 if test "x$with_mpg123" != "xno"
12079 then
12080 if test -n "$MPG123_CFLAGS"; then :
12082 elif test -n "$PKG_CONFIG"; then :
12083 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12086 if test -n "$MPG123_LIBS"; then :
12088 elif test -n "$PKG_CONFIG"; then :
12089 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12092 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
12093 ac_save_CPPFLAGS=$CPPFLAGS
12094 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
12095 for ac_header in mpg123.h
12096 do :
12097 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12098 if test "x$ac_cv_header_mpg123_h" = xyes; then :
12099 cat >>confdefs.h <<_ACEOF
12100 #define HAVE_MPG123_H 1
12101 _ACEOF
12105 done
12107 if test "$ac_cv_header_mpg123_h" = "yes"
12108 then
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12110 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12111 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
12112 $as_echo_n "(cached) " >&6
12113 else
12114 ac_check_lib_save_LIBS=$LIBS
12115 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
12116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12122 #ifdef __cplusplus
12123 extern "C"
12124 #endif
12125 char mpg123_feed ();
12127 main ()
12129 return mpg123_feed ();
12131 return 0;
12133 _ACEOF
12134 if ac_fn_c_try_link "$LINENO"; then :
12135 ac_cv_lib_mpg123_mpg123_feed=yes
12136 else
12137 ac_cv_lib_mpg123_mpg123_feed=no
12139 rm -f core conftest.err conftest.$ac_objext \
12140 conftest$ac_exeext conftest.$ac_ext
12141 LIBS=$ac_check_lib_save_LIBS
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12144 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12145 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12147 else
12148 MPG123_LIBS=""
12151 else
12152 MPG123_CFLAGS=""
12153 MPG123_LIBS=""
12155 CPPFLAGS=$ac_save_CPPFLAGS
12156 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12157 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12160 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12161 case "x$with_mpg123" in
12162 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12163 xno) ;;
12164 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12165 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12166 esac
12168 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}
12170 if test "$ac_cv_header_AL_al_h" = "yes"
12171 then
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12173 $as_echo_n "checking for -lopenal... " >&6; }
12174 if ${ac_cv_lib_soname_openal+:} false; then :
12175 $as_echo_n "(cached) " >&6
12176 else
12177 ac_check_soname_save_LIBS=$LIBS
12178 LIBS="-lopenal $LIBS"
12179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h. */
12182 /* Override any GCC internal prototype to avoid an error.
12183 Use char because int might match the return type of a GCC
12184 builtin and then its argument prototype would still apply. */
12185 #ifdef __cplusplus
12186 extern "C"
12187 #endif
12188 char alGetSource3i ();
12190 main ()
12192 return alGetSource3i ();
12194 return 0;
12196 _ACEOF
12197 if ac_fn_c_try_link "$LINENO"; then :
12198 case "$LIBEXT" in
12199 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12200 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'` ;;
12201 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12202 if test "x$ac_cv_lib_soname_openal" = x; then :
12203 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12204 fi ;;
12205 esac
12207 rm -f core conftest.err conftest.$ac_objext \
12208 conftest$ac_exeext conftest.$ac_ext
12209 LIBS=$ac_check_soname_save_LIBS
12211 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12213 $as_echo "not found" >&6; }
12215 else
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12217 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12219 cat >>confdefs.h <<_ACEOF
12220 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12221 _ACEOF
12223 LIBOPENAL="-lopenal"
12225 ac_cv_lib_openal=yes
12227 cat >>confdefs.h <<_ACEOF
12228 #define HAVE_OPENAL 1
12229 _ACEOF
12233 if test "x$ac_cv_lib_openal" != xyes; then :
12234 case "x$with_openal" in
12235 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12236 xno) ;;
12237 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12238 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12239 esac
12241 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12243 if test "$ac_cv_header_kstat_h" = "yes"
12244 then
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12246 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12247 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12248 $as_echo_n "(cached) " >&6
12249 else
12250 ac_check_lib_save_LIBS=$LIBS
12251 LIBS="-lkstat $LIBS"
12252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12253 /* end confdefs.h. */
12255 /* Override any GCC internal prototype to avoid an error.
12256 Use char because int might match the return type of a GCC
12257 builtin and then its argument prototype would still apply. */
12258 #ifdef __cplusplus
12259 extern "C"
12260 #endif
12261 char kstat_open ();
12263 main ()
12265 return kstat_open ();
12267 return 0;
12269 _ACEOF
12270 if ac_fn_c_try_link "$LINENO"; then :
12271 ac_cv_lib_kstat_kstat_open=yes
12272 else
12273 ac_cv_lib_kstat_kstat_open=no
12275 rm -f core conftest.err conftest.$ac_objext \
12276 conftest$ac_exeext conftest.$ac_ext
12277 LIBS=$ac_check_lib_save_LIBS
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12280 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12281 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12283 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12285 LIBKSTAT="-lkstat"
12291 if test "$ac_cv_header_libprocstat_h" = "yes"
12292 then
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12294 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12295 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
12296 $as_echo_n "(cached) " >&6
12297 else
12298 ac_check_lib_save_LIBS=$LIBS
12299 LIBS="-lprocstat $LIBS"
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12303 /* Override any GCC internal prototype to avoid an error.
12304 Use char because int might match the return type of a GCC
12305 builtin and then its argument prototype would still apply. */
12306 #ifdef __cplusplus
12307 extern "C"
12308 #endif
12309 char procstat_open_sysctl ();
12311 main ()
12313 return procstat_open_sysctl ();
12315 return 0;
12317 _ACEOF
12318 if ac_fn_c_try_link "$LINENO"; then :
12319 ac_cv_lib_procstat_procstat_open_sysctl=yes
12320 else
12321 ac_cv_lib_procstat_procstat_open_sysctl=no
12323 rm -f core conftest.err conftest.$ac_objext \
12324 conftest$ac_exeext conftest.$ac_ext
12325 LIBS=$ac_check_lib_save_LIBS
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12328 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12329 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
12331 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12333 LIBPROCSTAT="-lprocstat"
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12340 $as_echo_n "checking for -lodbc... " >&6; }
12341 if ${ac_cv_lib_soname_odbc+:} false; then :
12342 $as_echo_n "(cached) " >&6
12343 else
12344 ac_check_soname_save_LIBS=$LIBS
12345 LIBS="-lodbc $LIBS"
12346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12347 /* end confdefs.h. */
12349 /* Override any GCC internal prototype to avoid an error.
12350 Use char because int might match the return type of a GCC
12351 builtin and then its argument prototype would still apply. */
12352 #ifdef __cplusplus
12353 extern "C"
12354 #endif
12355 char SQLConnect ();
12357 main ()
12359 return SQLConnect ();
12361 return 0;
12363 _ACEOF
12364 if ac_fn_c_try_link "$LINENO"; then :
12365 case "$LIBEXT" in
12366 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12367 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'` ;;
12368 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12369 if test "x$ac_cv_lib_soname_odbc" = x; then :
12370 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12371 fi ;;
12372 esac
12374 rm -f core conftest.err conftest.$ac_objext \
12375 conftest$ac_exeext conftest.$ac_ext
12376 LIBS=$ac_check_soname_save_LIBS
12378 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12380 $as_echo "not found" >&6; }
12381 cat >>confdefs.h <<_ACEOF
12382 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12383 _ACEOF
12385 else
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12387 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12389 cat >>confdefs.h <<_ACEOF
12390 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12391 _ACEOF
12396 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12397 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12398 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12399 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12401 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12402 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12403 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12404 then
12405 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12409 EXTRACFLAGS=""
12411 if test "x${GCC}" = "xyes"
12412 then
12413 EXTRACFLAGS="-Wall -pipe"
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12416 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12417 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12418 $as_echo_n "(cached) " >&6
12419 else
12420 if test "$cross_compiling" = yes; then :
12421 ac_cv_c_gcc_strength_bug="yes"
12422 else
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12425 int L[4] = {0,1,2,3};
12427 main ()
12429 static int Array[3];
12430 unsigned int B = 3;
12431 int i;
12432 for(i=0; i<B; i++) Array[i] = i - 3;
12433 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12434 L[i] = 4;
12435 return (Array[1] != -2 || L[2] != 3)
12437 return 0;
12439 _ACEOF
12440 if ac_fn_c_try_run "$LINENO"; then :
12441 ac_cv_c_gcc_strength_bug="no"
12442 else
12443 ac_cv_c_gcc_strength_bug="yes"
12445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12446 conftest.$ac_objext conftest.beam conftest.$ac_ext
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12451 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12452 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12453 then
12454 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12458 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12459 if ${ac_cv_cflags__fno_builtin+:} false; then :
12460 $as_echo_n "(cached) " >&6
12461 else
12462 ac_wine_try_cflags_saved=$CFLAGS
12463 CFLAGS="$CFLAGS -fno-builtin"
12464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12466 int main(int argc, char **argv) { return 0; }
12467 _ACEOF
12468 if ac_fn_c_try_link "$LINENO"; then :
12469 ac_cv_cflags__fno_builtin=yes
12470 else
12471 ac_cv_cflags__fno_builtin=no
12473 rm -f core conftest.err conftest.$ac_objext \
12474 conftest$ac_exeext conftest.$ac_ext
12475 CFLAGS=$ac_wine_try_cflags_saved
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12478 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12479 if test $ac_cv_cflags__fno_builtin = yes; then :
12480 BUILTINFLAG="-fno-builtin"
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12484 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12485 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12486 $as_echo_n "(cached) " >&6
12487 else
12488 ac_wine_try_cflags_saved=$CFLAGS
12489 CFLAGS="$CFLAGS -fno-strict-aliasing"
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12492 int main(int argc, char **argv) { return 0; }
12493 _ACEOF
12494 if ac_fn_c_try_link "$LINENO"; then :
12495 ac_cv_cflags__fno_strict_aliasing=yes
12496 else
12497 ac_cv_cflags__fno_strict_aliasing=no
12499 rm -f core conftest.err conftest.$ac_objext \
12500 conftest$ac_exeext conftest.$ac_ext
12501 CFLAGS=$ac_wine_try_cflags_saved
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12504 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12505 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12506 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12508 saved_CFLAGS=$CFLAGS
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
12510 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
12511 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
12512 $as_echo_n "(cached) " >&6
12513 else
12514 ac_wine_try_cflags_saved=$CFLAGS
12515 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12518 int main(int argc, char **argv) { return 0; }
12519 _ACEOF
12520 if ac_fn_c_try_link "$LINENO"; then :
12521 ac_cv_cflags__Werror_unknown_warning_option=yes
12522 else
12523 ac_cv_cflags__Werror_unknown_warning_option=no
12525 rm -f core conftest.err conftest.$ac_objext \
12526 conftest$ac_exeext conftest.$ac_ext
12527 CFLAGS=$ac_wine_try_cflags_saved
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
12530 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
12531 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
12532 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12535 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12536 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12537 $as_echo_n "(cached) " >&6
12538 else
12539 ac_wine_try_cflags_saved=$CFLAGS
12540 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12543 int main(int argc, char **argv) { return 0; }
12544 _ACEOF
12545 if ac_fn_c_try_link "$LINENO"; then :
12546 ac_cv_cflags__Wdeclaration_after_statement=yes
12547 else
12548 ac_cv_cflags__Wdeclaration_after_statement=no
12550 rm -f core conftest.err conftest.$ac_objext \
12551 conftest$ac_exeext conftest.$ac_ext
12552 CFLAGS=$ac_wine_try_cflags_saved
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12555 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12556 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12557 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12560 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12561 if ${ac_cv_cflags__Wempty_body+:} false; then :
12562 $as_echo_n "(cached) " >&6
12563 else
12564 ac_wine_try_cflags_saved=$CFLAGS
12565 CFLAGS="$CFLAGS -Wempty-body"
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12568 int main(int argc, char **argv) { return 0; }
12569 _ACEOF
12570 if ac_fn_c_try_link "$LINENO"; then :
12571 ac_cv_cflags__Wempty_body=yes
12572 else
12573 ac_cv_cflags__Wempty_body=no
12575 rm -f core conftest.err conftest.$ac_objext \
12576 conftest$ac_exeext conftest.$ac_ext
12577 CFLAGS=$ac_wine_try_cflags_saved
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12580 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12581 if test $ac_cv_cflags__Wempty_body = yes; then :
12582 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12585 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12586 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12587 $as_echo_n "(cached) " >&6
12588 else
12589 ac_wine_try_cflags_saved=$CFLAGS
12590 CFLAGS="$CFLAGS -Wignored-qualifiers"
12591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12593 int main(int argc, char **argv) { return 0; }
12594 _ACEOF
12595 if ac_fn_c_try_link "$LINENO"; then :
12596 ac_cv_cflags__Wignored_qualifiers=yes
12597 else
12598 ac_cv_cflags__Wignored_qualifiers=no
12600 rm -f core conftest.err conftest.$ac_objext \
12601 conftest$ac_exeext conftest.$ac_ext
12602 CFLAGS=$ac_wine_try_cflags_saved
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12605 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12606 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12607 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12610 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12611 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12612 $as_echo_n "(cached) " >&6
12613 else
12614 ac_wine_try_cflags_saved=$CFLAGS
12615 CFLAGS="$CFLAGS -Wstrict-prototypes"
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12618 int main(int argc, char **argv) { return 0; }
12619 _ACEOF
12620 if ac_fn_c_try_link "$LINENO"; then :
12621 ac_cv_cflags__Wstrict_prototypes=yes
12622 else
12623 ac_cv_cflags__Wstrict_prototypes=no
12625 rm -f core conftest.err conftest.$ac_objext \
12626 conftest$ac_exeext conftest.$ac_ext
12627 CFLAGS=$ac_wine_try_cflags_saved
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12630 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12631 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12632 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12635 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12636 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12637 $as_echo_n "(cached) " >&6
12638 else
12639 ac_wine_try_cflags_saved=$CFLAGS
12640 CFLAGS="$CFLAGS -Wtype-limits"
12641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12643 int main(int argc, char **argv) { return 0; }
12644 _ACEOF
12645 if ac_fn_c_try_link "$LINENO"; then :
12646 ac_cv_cflags__Wtype_limits=yes
12647 else
12648 ac_cv_cflags__Wtype_limits=no
12650 rm -f core conftest.err conftest.$ac_objext \
12651 conftest$ac_exeext conftest.$ac_ext
12652 CFLAGS=$ac_wine_try_cflags_saved
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12655 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12656 if test $ac_cv_cflags__Wtype_limits = yes; then :
12657 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12660 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12661 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12662 $as_echo_n "(cached) " >&6
12663 else
12664 ac_wine_try_cflags_saved=$CFLAGS
12665 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12668 int main(int argc, char **argv) { return 0; }
12669 _ACEOF
12670 if ac_fn_c_try_link "$LINENO"; then :
12671 ac_cv_cflags__Wunused_but_set_parameter=yes
12672 else
12673 ac_cv_cflags__Wunused_but_set_parameter=no
12675 rm -f core conftest.err conftest.$ac_objext \
12676 conftest$ac_exeext conftest.$ac_ext
12677 CFLAGS=$ac_wine_try_cflags_saved
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12680 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12681 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12682 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12685 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12686 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12687 $as_echo_n "(cached) " >&6
12688 else
12689 ac_wine_try_cflags_saved=$CFLAGS
12690 CFLAGS="$CFLAGS -Wwrite-strings"
12691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12693 int main(int argc, char **argv) { return 0; }
12694 _ACEOF
12695 if ac_fn_c_try_link "$LINENO"; then :
12696 ac_cv_cflags__Wwrite_strings=yes
12697 else
12698 ac_cv_cflags__Wwrite_strings=no
12700 rm -f core conftest.err conftest.$ac_objext \
12701 conftest$ac_exeext conftest.$ac_ext
12702 CFLAGS=$ac_wine_try_cflags_saved
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12705 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12706 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12707 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
12711 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
12712 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
12713 $as_echo_n "(cached) " >&6
12714 else
12715 ac_wine_try_cflags_saved=$CFLAGS
12716 CFLAGS="$CFLAGS -Wpointer-arith"
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12719 int main(int argc, char **argv) { return 0; }
12720 _ACEOF
12721 if ac_fn_c_try_link "$LINENO"; then :
12722 ac_cv_cflags__Wpointer_arith=yes
12723 else
12724 ac_cv_cflags__Wpointer_arith=no
12726 rm -f core conftest.err conftest.$ac_objext \
12727 conftest$ac_exeext conftest.$ac_ext
12728 CFLAGS=$ac_wine_try_cflags_saved
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
12731 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
12732 if test $ac_cv_cflags__Wpointer_arith = yes; then :
12733 saved_string_h_CFLAGS=$CFLAGS
12734 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12736 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12737 if ${ac_cv_c_string_h_warnings+:} false; then :
12738 $as_echo_n "(cached) " >&6
12739 else
12740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12742 #include <string.h>
12744 main ()
12748 return 0;
12750 _ACEOF
12751 if ac_fn_c_try_compile "$LINENO"; then :
12752 ac_cv_c_string_h_warnings=no
12753 else
12754 ac_cv_c_string_h_warnings=yes
12756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12759 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12760 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12761 CFLAGS=$saved_string_h_CFLAGS
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
12765 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
12766 if ${ac_cv_cflags__Wlogical_op+:} false; then :
12767 $as_echo_n "(cached) " >&6
12768 else
12769 ac_wine_try_cflags_saved=$CFLAGS
12770 CFLAGS="$CFLAGS -Wlogical-op"
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12773 int main(int argc, char **argv) { return 0; }
12774 _ACEOF
12775 if ac_fn_c_try_link "$LINENO"; then :
12776 ac_cv_cflags__Wlogical_op=yes
12777 else
12778 ac_cv_cflags__Wlogical_op=no
12780 rm -f core conftest.err conftest.$ac_objext \
12781 conftest$ac_exeext conftest.$ac_ext
12782 CFLAGS=$ac_wine_try_cflags_saved
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
12785 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
12786 if test $ac_cv_cflags__Wlogical_op = yes; then :
12787 saved_string_h_CFLAGS=$CFLAGS
12788 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12790 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12791 if ${ac_cv_c_logicalop_noisy+:} false; then :
12792 $as_echo_n "(cached) " >&6
12793 else
12794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12796 #include <string.h>
12797 char*f(const char *h,char n) {return strchr(h,n);}
12799 main ()
12803 return 0;
12805 _ACEOF
12806 if ac_fn_c_try_compile "$LINENO"; then :
12807 ac_cv_c_logicalop_noisy=no
12808 else
12809 ac_cv_c_logicalop_noisy=yes
12811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12814 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12815 CFLAGS=$saved_string_h_CFLAGS
12816 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12819 CFLAGS=$saved_CFLAGS
12821 for ac_flag in $CFLAGS; do
12822 case $ac_flag in
12823 -g) case $host_os in
12824 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12825 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12826 if ${ac_cv_cflags__gstabsp+:} false; then :
12827 $as_echo_n "(cached) " >&6
12828 else
12829 ac_wine_try_cflags_saved=$CFLAGS
12830 CFLAGS="$CFLAGS -gstabs+"
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12833 int main(int argc, char **argv) { return 0; }
12834 _ACEOF
12835 if ac_fn_c_try_link "$LINENO"; then :
12836 ac_cv_cflags__gstabsp=yes
12837 else
12838 ac_cv_cflags__gstabsp=no
12840 rm -f core conftest.err conftest.$ac_objext \
12841 conftest$ac_exeext conftest.$ac_ext
12842 CFLAGS=$ac_wine_try_cflags_saved
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12845 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12846 if test $ac_cv_cflags__gstabsp = yes; then :
12847 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12848 fi ;;
12849 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12850 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12851 if ${ac_cv_cflags__gdwarf_2+:} false; then :
12852 $as_echo_n "(cached) " >&6
12853 else
12854 ac_wine_try_cflags_saved=$CFLAGS
12855 CFLAGS="$CFLAGS -gdwarf-2"
12856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12858 int main(int argc, char **argv) { return 0; }
12859 _ACEOF
12860 if ac_fn_c_try_link "$LINENO"; then :
12861 ac_cv_cflags__gdwarf_2=yes
12862 else
12863 ac_cv_cflags__gdwarf_2=no
12865 rm -f core conftest.err conftest.$ac_objext \
12866 conftest$ac_exeext conftest.$ac_ext
12867 CFLAGS=$ac_wine_try_cflags_saved
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12870 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12871 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12872 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12875 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12876 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
12877 $as_echo_n "(cached) " >&6
12878 else
12879 ac_wine_try_cflags_saved=$CFLAGS
12880 CFLAGS="$CFLAGS -gstrict-dwarf"
12881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12883 int main(int argc, char **argv) { return 0; }
12884 _ACEOF
12885 if ac_fn_c_try_link "$LINENO"; then :
12886 ac_cv_cflags__gstrict_dwarf=yes
12887 else
12888 ac_cv_cflags__gstrict_dwarf=no
12890 rm -f core conftest.err conftest.$ac_objext \
12891 conftest$ac_exeext conftest.$ac_ext
12892 CFLAGS=$ac_wine_try_cflags_saved
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12895 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12896 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12897 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
12898 fi ;;
12899 esac ;;
12900 esac
12901 done
12903 case $host_cpu in
12904 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12905 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12906 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12907 $as_echo_n "(cached) " >&6
12908 else
12909 ac_wine_try_cflags_saved=$CFLAGS
12910 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12913 int main(int argc, char **argv) { return 0; }
12914 _ACEOF
12915 if ac_fn_c_try_link "$LINENO"; then :
12916 ac_cv_cflags__fno_omit_frame_pointer=yes
12917 else
12918 ac_cv_cflags__fno_omit_frame_pointer=no
12920 rm -f core conftest.err conftest.$ac_objext \
12921 conftest$ac_exeext conftest.$ac_ext
12922 CFLAGS=$ac_wine_try_cflags_saved
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12925 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12926 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12927 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12928 fi ;;
12929 esac
12931 case $host in
12932 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12933 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12934 if ${ac_cv_cflags__Wno_format+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_wine_try_cflags_saved=$CFLAGS
12938 CFLAGS="$CFLAGS -Wno-format"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12941 int main(int argc, char **argv) { return 0; }
12942 _ACEOF
12943 if ac_fn_c_try_link "$LINENO"; then :
12944 ac_cv_cflags__Wno_format=yes
12945 else
12946 ac_cv_cflags__Wno_format=no
12948 rm -f core conftest.err conftest.$ac_objext \
12949 conftest$ac_exeext conftest.$ac_ext
12950 CFLAGS=$ac_wine_try_cflags_saved
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12953 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12954 if test $ac_cv_cflags__Wno_format = yes; then :
12955 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12956 fi ;;
12957 esac
12959 if test "x$enable_maintainer_mode" = "xyes"
12960 then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12962 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12963 if ${ac_cv_cflags__Werror+:} false; then :
12964 $as_echo_n "(cached) " >&6
12965 else
12966 ac_wine_try_cflags_saved=$CFLAGS
12967 CFLAGS="$CFLAGS -Werror"
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12970 int main(int argc, char **argv) { return 0; }
12971 _ACEOF
12972 if ac_fn_c_try_link "$LINENO"; then :
12973 ac_cv_cflags__Werror=yes
12974 else
12975 ac_cv_cflags__Werror=no
12977 rm -f core conftest.err conftest.$ac_objext \
12978 conftest$ac_exeext conftest.$ac_ext
12979 CFLAGS=$ac_wine_try_cflags_saved
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12982 $as_echo "$ac_cv_cflags__Werror" >&6; }
12983 if test $ac_cv_cflags__Werror = yes; then :
12984 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12988 saved_CFLAGS="$CFLAGS"
12989 CFLAGS="$CFLAGS -Werror"
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12991 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12992 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12993 $as_echo_n "(cached) " >&6
12994 else
12995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12997 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12999 main ()
13003 return 0;
13005 _ACEOF
13006 if ac_fn_c_try_compile "$LINENO"; then :
13007 ac_cv_have_ms_hook_prologue="yes"
13008 else
13009 ac_cv_have_ms_hook_prologue="no"
13011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13014 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13015 CFLAGS="$saved_CFLAGS"
13016 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13017 then
13019 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13021 else
13022 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13029 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13030 if ${ac_cv_c_fortify_enabled+:} false; then :
13031 $as_echo_n "(cached) " >&6
13032 else
13033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13034 /* end confdefs.h. */
13035 #include <string.h>
13037 main ()
13039 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13040 #error Fortify enabled
13041 #endif
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_compile "$LINENO"; then :
13047 ac_cv_c_fortify_enabled=no
13048 else
13049 ac_cv_c_fortify_enabled=yes
13051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13054 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13055 if test "$ac_cv_c_fortify_enabled" = yes
13056 then
13057 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13062 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13063 if ${ac_cv_c_extern_prefix+:} false; then :
13064 $as_echo_n "(cached) " >&6
13065 else
13066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13067 /* end confdefs.h. */
13068 extern int ac_test;
13070 main ()
13072 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13074 return 0;
13076 _ACEOF
13077 if ac_fn_c_try_link "$LINENO"; then :
13078 ac_cv_c_extern_prefix="yes"
13079 else
13080 ac_cv_c_extern_prefix="no"
13082 rm -f core conftest.err conftest.$ac_objext \
13083 conftest$ac_exeext conftest.$ac_ext
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13086 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13088 case $host_cpu in
13089 *i[3456789]86*)
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13091 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13092 if ${ac_cv_c_stdcall_suffix+:} false; then :
13093 $as_echo_n "(cached) " >&6
13094 else
13095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13096 /* end confdefs.h. */
13097 #ifndef _MSC_VER
13098 #define __stdcall __attribute__((__stdcall__))
13099 #endif
13100 int __stdcall ac_test(int i) { return i; }
13102 main ()
13104 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13106 return 0;
13108 _ACEOF
13109 if ac_fn_c_try_link "$LINENO"; then :
13110 ac_cv_c_stdcall_suffix="yes"
13111 else
13112 ac_cv_c_stdcall_suffix="no"
13114 rm -f core conftest.err conftest.$ac_objext \
13115 conftest$ac_exeext conftest.$ac_ext
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13118 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13119 *) ac_cv_c_stdcall_suffix="no" ;;
13120 esac
13123 if test "$ac_cv_c_extern_prefix" = "yes"
13124 then
13125 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13127 asm_name_prefix="_"
13128 else
13129 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13131 asm_name_prefix=""
13135 if test "$ac_cv_c_stdcall_suffix" = "yes"
13136 then
13137 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13139 else
13140 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13146 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13147 if ${ac_cv_asm_func_def+:} false; then :
13148 $as_echo_n "(cached) " >&6
13149 else
13150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13154 main ()
13156 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13158 return 0;
13160 _ACEOF
13161 if ac_fn_c_try_link "$LINENO"; then :
13162 ac_cv_asm_func_def=".def"
13163 else
13164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13165 /* end confdefs.h. */
13168 main ()
13170 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13172 return 0;
13174 _ACEOF
13175 if ac_fn_c_try_link "$LINENO"; then :
13176 ac_cv_asm_func_def=".type @function"
13177 else
13178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13182 main ()
13184 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13186 return 0;
13188 _ACEOF
13189 if ac_fn_c_try_link "$LINENO"; then :
13190 ac_cv_asm_func_def=".type 2"
13191 else
13192 ac_cv_asm_func_def="unknown"
13194 rm -f core conftest.err conftest.$ac_objext \
13195 conftest$ac_exeext conftest.$ac_ext
13197 rm -f core conftest.err conftest.$ac_objext \
13198 conftest$ac_exeext conftest.$ac_ext
13200 rm -f core conftest.err conftest.$ac_objext \
13201 conftest$ac_exeext conftest.$ac_ext
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13204 $as_echo "$ac_cv_asm_func_def" >&6; }
13207 case "$ac_cv_asm_func_def" in
13208 ".def")
13209 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13211 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13212 ".type @function")
13213 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13215 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
13216 ".type 2")
13217 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13219 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
13221 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13223 asm_func_header="" ;;
13224 esac
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13227 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13228 if ${ac_cv_c_asm_outside_funcs+:} false; then :
13229 $as_echo_n "(cached) " >&6
13230 else
13231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13232 /* end confdefs.h. */
13233 asm(".text\n\t.long 0");
13235 main ()
13239 return 0;
13241 _ACEOF
13242 if ac_fn_c_try_compile "$LINENO"; then :
13243 ac_cv_c_asm_outside_funcs="yes"
13244 else
13245 ac_cv_c_asm_outside_funcs="no"
13247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13250 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13253 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13254 if ${ac_cv_c_dot_previous+:} false; then :
13255 $as_echo_n "(cached) " >&6
13256 else
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13261 main ()
13263 asm(".text\nac_test:\t.long 0\n\t.previous");
13265 return 0;
13267 _ACEOF
13268 if ac_fn_c_try_link "$LINENO"; then :
13269 ac_cv_c_dot_previous="yes"
13270 else
13271 ac_cv_c_dot_previous="no"
13273 rm -f core conftest.err conftest.$ac_objext \
13274 conftest$ac_exeext conftest.$ac_ext
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13277 $as_echo "$ac_cv_c_dot_previous" >&6; }
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13280 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13281 if ${ac_cv_c_cfi_support+:} false; then :
13282 $as_echo_n "(cached) " >&6
13283 else
13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13286 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13288 main ()
13292 return 0;
13294 _ACEOF
13295 if ac_fn_c_try_compile "$LINENO"; then :
13296 ac_cv_c_cfi_support="yes"
13297 else
13298 ac_cv_c_cfi_support="no"
13300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13303 $as_echo "$ac_cv_c_cfi_support" >&6; }
13305 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13306 asm_func_trailer=""
13307 if test "$ac_cv_c_dot_previous" = "yes"
13308 then
13309 asm_func_trailer="\\n\\t.previous"
13311 if test "$ac_cv_c_cfi_support" = "yes"
13312 then
13313 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13314 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13316 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13318 UNWINDFLAGS=-fasynchronous-unwind-tables
13320 else
13321 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13325 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13328 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13329 then
13330 cat >>confdefs.h <<_ACEOF
13331 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13332 _ACEOF
13334 else
13335 cat >>confdefs.h <<_ACEOF
13336 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13337 _ACEOF
13341 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13344 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13348 LDPATH=""
13350 case $build_os in
13351 cygwin*|mingw32*)
13352 TOOLSEXT=".exe"
13354 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13356 darwin*|macosx*)
13359 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13361 esac
13363 MAIN_BINARY="wine"
13365 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
13367 case $host_os in
13368 linux*)
13369 case $host_cpu in
13370 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
13372 x86_64*) EXTRA_BINARIES="wine64-preloader"
13374 esac
13376 esac
13379 ac_save_CFLAGS="$CFLAGS"
13380 CFLAGS="$CFLAGS $BUILTINFLAG"
13381 for ac_func in \
13382 __res_get_state \
13383 __res_getservers \
13384 _finite \
13385 _isnan \
13386 _pclose \
13387 _popen \
13388 _snprintf \
13389 _spawnvp \
13390 _strdup \
13391 _stricmp \
13392 _strnicmp \
13393 _strtoi64 \
13394 _strtoui64 \
13395 _vsnprintf \
13396 asctime_r \
13397 chsize \
13398 dlopen \
13399 epoll_create \
13400 ffs \
13401 finite \
13402 fnmatch \
13403 fork \
13404 fpclass \
13405 fstatfs \
13406 fstatvfs \
13407 ftruncate \
13408 futimens \
13409 futimes \
13410 futimesat \
13411 getattrlist \
13412 getdirentries \
13413 getopt_long_only \
13414 getpwuid \
13415 gettimeofday \
13416 getuid \
13417 if_nameindex \
13418 kqueue \
13419 lstat \
13420 memmove \
13421 mmap \
13422 pclose \
13423 pipe2 \
13424 poll \
13425 popen \
13426 port_create \
13427 prctl \
13428 pread \
13429 proc_pidinfo \
13430 pwrite \
13431 readdir \
13432 readlink \
13433 sched_yield \
13434 select \
13435 setproctitle \
13436 setrlimit \
13437 settimeofday \
13438 sigaltstack \
13439 sigprocmask \
13440 snprintf \
13441 statfs \
13442 statvfs \
13443 strcasecmp \
13444 strdup \
13445 strerror \
13446 strncasecmp \
13447 strtold \
13448 strtoll \
13449 strtoull \
13450 symlink \
13451 tcdrain \
13452 thr_kill2 \
13453 timegm \
13454 usleep \
13455 vsnprintf
13457 do :
13458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13460 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13461 cat >>confdefs.h <<_ACEOF
13462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13463 _ACEOF
13466 done
13468 CFLAGS="$ac_save_CFLAGS"
13470 if test "$ac_cv_func_dlopen" = no
13471 then
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13473 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13474 if ${ac_cv_lib_dl_dlopen+:} false; then :
13475 $as_echo_n "(cached) " >&6
13476 else
13477 ac_check_lib_save_LIBS=$LIBS
13478 LIBS="-ldl $LIBS"
13479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13482 /* Override any GCC internal prototype to avoid an error.
13483 Use char because int might match the return type of a GCC
13484 builtin and then its argument prototype would still apply. */
13485 #ifdef __cplusplus
13486 extern "C"
13487 #endif
13488 char dlopen ();
13490 main ()
13492 return dlopen ();
13494 return 0;
13496 _ACEOF
13497 if ac_fn_c_try_link "$LINENO"; then :
13498 ac_cv_lib_dl_dlopen=yes
13499 else
13500 ac_cv_lib_dl_dlopen=no
13502 rm -f core conftest.err conftest.$ac_objext \
13503 conftest$ac_exeext conftest.$ac_ext
13504 LIBS=$ac_check_lib_save_LIBS
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13507 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13508 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13509 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13510 LIBDL="-ldl"
13515 ac_wine_check_funcs_save_LIBS="$LIBS"
13516 LIBS="$LIBS $LIBDL"
13517 for ac_func in dladdr
13518 do :
13519 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13520 if test "x$ac_cv_func_dladdr" = xyes; then :
13521 cat >>confdefs.h <<_ACEOF
13522 #define HAVE_DLADDR 1
13523 _ACEOF
13526 done
13528 LIBS="$ac_wine_check_funcs_save_LIBS"
13530 if test "$ac_cv_func_poll" = no
13531 then
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13533 $as_echo_n "checking for poll in -lpoll... " >&6; }
13534 if ${ac_cv_lib_poll_poll+:} false; then :
13535 $as_echo_n "(cached) " >&6
13536 else
13537 ac_check_lib_save_LIBS=$LIBS
13538 LIBS="-lpoll $LIBS"
13539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h. */
13542 /* Override any GCC internal prototype to avoid an error.
13543 Use char because int might match the return type of a GCC
13544 builtin and then its argument prototype would still apply. */
13545 #ifdef __cplusplus
13546 extern "C"
13547 #endif
13548 char poll ();
13550 main ()
13552 return poll ();
13554 return 0;
13556 _ACEOF
13557 if ac_fn_c_try_link "$LINENO"; then :
13558 ac_cv_lib_poll_poll=yes
13559 else
13560 ac_cv_lib_poll_poll=no
13562 rm -f core conftest.err conftest.$ac_objext \
13563 conftest$ac_exeext conftest.$ac_ext
13564 LIBS=$ac_check_lib_save_LIBS
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13567 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13568 if test "x$ac_cv_lib_poll_poll" = xyes; then :
13569 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13570 LIBPOLL="-lpoll"
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13577 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13578 if ${ac_cv_search_gethostbyname+:} false; then :
13579 $as_echo_n "(cached) " >&6
13580 else
13581 ac_func_search_save_LIBS=$LIBS
13582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13583 /* end confdefs.h. */
13585 /* Override any GCC internal prototype to avoid an error.
13586 Use char because int might match the return type of a GCC
13587 builtin and then its argument prototype would still apply. */
13588 #ifdef __cplusplus
13589 extern "C"
13590 #endif
13591 char gethostbyname ();
13593 main ()
13595 return gethostbyname ();
13597 return 0;
13599 _ACEOF
13600 for ac_lib in '' nsl; do
13601 if test -z "$ac_lib"; then
13602 ac_res="none required"
13603 else
13604 ac_res=-l$ac_lib
13605 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13607 if ac_fn_c_try_link "$LINENO"; then :
13608 ac_cv_search_gethostbyname=$ac_res
13610 rm -f core conftest.err conftest.$ac_objext \
13611 conftest$ac_exeext
13612 if ${ac_cv_search_gethostbyname+:} false; then :
13613 break
13615 done
13616 if ${ac_cv_search_gethostbyname+:} false; then :
13618 else
13619 ac_cv_search_gethostbyname=no
13621 rm conftest.$ac_ext
13622 LIBS=$ac_func_search_save_LIBS
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13625 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13626 ac_res=$ac_cv_search_gethostbyname
13627 if test "$ac_res" != no; then :
13628 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13634 $as_echo_n "checking for library containing connect... " >&6; }
13635 if ${ac_cv_search_connect+:} false; then :
13636 $as_echo_n "(cached) " >&6
13637 else
13638 ac_func_search_save_LIBS=$LIBS
13639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13642 /* Override any GCC internal prototype to avoid an error.
13643 Use char because int might match the return type of a GCC
13644 builtin and then its argument prototype would still apply. */
13645 #ifdef __cplusplus
13646 extern "C"
13647 #endif
13648 char connect ();
13650 main ()
13652 return connect ();
13654 return 0;
13656 _ACEOF
13657 for ac_lib in '' socket; do
13658 if test -z "$ac_lib"; then
13659 ac_res="none required"
13660 else
13661 ac_res=-l$ac_lib
13662 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13664 if ac_fn_c_try_link "$LINENO"; then :
13665 ac_cv_search_connect=$ac_res
13667 rm -f core conftest.err conftest.$ac_objext \
13668 conftest$ac_exeext
13669 if ${ac_cv_search_connect+:} false; then :
13670 break
13672 done
13673 if ${ac_cv_search_connect+:} false; then :
13675 else
13676 ac_cv_search_connect=no
13678 rm conftest.$ac_ext
13679 LIBS=$ac_func_search_save_LIBS
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13682 $as_echo "$ac_cv_search_connect" >&6; }
13683 ac_res=$ac_cv_search_connect
13684 if test "$ac_res" != no; then :
13685 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13691 $as_echo_n "checking for library containing inet_aton... " >&6; }
13692 if ${ac_cv_search_inet_aton+:} false; then :
13693 $as_echo_n "(cached) " >&6
13694 else
13695 ac_func_search_save_LIBS=$LIBS
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13699 /* Override any GCC internal prototype to avoid an error.
13700 Use char because int might match the return type of a GCC
13701 builtin and then its argument prototype would still apply. */
13702 #ifdef __cplusplus
13703 extern "C"
13704 #endif
13705 char inet_aton ();
13707 main ()
13709 return inet_aton ();
13711 return 0;
13713 _ACEOF
13714 for ac_lib in '' resolv; do
13715 if test -z "$ac_lib"; then
13716 ac_res="none required"
13717 else
13718 ac_res=-l$ac_lib
13719 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13721 if ac_fn_c_try_link "$LINENO"; then :
13722 ac_cv_search_inet_aton=$ac_res
13724 rm -f core conftest.err conftest.$ac_objext \
13725 conftest$ac_exeext
13726 if ${ac_cv_search_inet_aton+:} false; then :
13727 break
13729 done
13730 if ${ac_cv_search_inet_aton+:} false; then :
13732 else
13733 ac_cv_search_inet_aton=no
13735 rm conftest.$ac_ext
13736 LIBS=$ac_func_search_save_LIBS
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13739 $as_echo "$ac_cv_search_inet_aton" >&6; }
13740 ac_res=$ac_cv_search_inet_aton
13741 if test "$ac_res" != no; then :
13742 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13747 for ac_func in \
13748 getaddrinfo \
13749 getnameinfo \
13750 getnetbyname \
13751 getprotobyname \
13752 getprotobynumber \
13753 getservbyport \
13754 inet_network \
13755 inet_ntop \
13756 inet_pton \
13757 sendmsg \
13758 socketpair \
13760 do :
13761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13763 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13764 cat >>confdefs.h <<_ACEOF
13765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13766 _ACEOF
13769 done
13772 ac_save_LIBS=$LIBS
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13774 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13775 if ${ac_cv_search_clock_gettime+:} false; then :
13776 $as_echo_n "(cached) " >&6
13777 else
13778 ac_func_search_save_LIBS=$LIBS
13779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13782 /* Override any GCC internal prototype to avoid an error.
13783 Use char because int might match the return type of a GCC
13784 builtin and then its argument prototype would still apply. */
13785 #ifdef __cplusplus
13786 extern "C"
13787 #endif
13788 char clock_gettime ();
13790 main ()
13792 return clock_gettime ();
13794 return 0;
13796 _ACEOF
13797 for ac_lib in '' rt; do
13798 if test -z "$ac_lib"; then
13799 ac_res="none required"
13800 else
13801 ac_res=-l$ac_lib
13802 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13804 if ac_fn_c_try_link "$LINENO"; then :
13805 ac_cv_search_clock_gettime=$ac_res
13807 rm -f core conftest.err conftest.$ac_objext \
13808 conftest$ac_exeext
13809 if ${ac_cv_search_clock_gettime+:} false; then :
13810 break
13812 done
13813 if ${ac_cv_search_clock_gettime+:} false; then :
13815 else
13816 ac_cv_search_clock_gettime=no
13818 rm conftest.$ac_ext
13819 LIBS=$ac_func_search_save_LIBS
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13822 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13823 ac_res=$ac_cv_search_clock_gettime
13824 if test "$ac_res" != no; then :
13825 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13827 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13829 test "$ac_res" = "none required" || LIBRT="$ac_res"
13833 LIBS=$ac_save_LIBS
13835 LDAPLIBS=""
13837 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13838 then
13839 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13841 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13843 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13844 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13845 $as_echo_n "(cached) " >&6
13846 else
13847 ac_check_lib_save_LIBS=$LIBS
13848 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13852 /* Override any GCC internal prototype to avoid an error.
13853 Use char because int might match the return type of a GCC
13854 builtin and then its argument prototype would still apply. */
13855 #ifdef __cplusplus
13856 extern "C"
13857 #endif
13858 char ldap_initialize ();
13860 main ()
13862 return ldap_initialize ();
13864 return 0;
13866 _ACEOF
13867 if ac_fn_c_try_link "$LINENO"; then :
13868 ac_cv_lib_ldap_r_ldap_initialize=yes
13869 else
13870 ac_cv_lib_ldap_r_ldap_initialize=no
13872 rm -f core conftest.err conftest.$ac_objext \
13873 conftest$ac_exeext conftest.$ac_ext
13874 LIBS=$ac_check_lib_save_LIBS
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13877 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13878 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13880 $as_echo_n "checking for ber_init in -llber... " >&6; }
13881 if ${ac_cv_lib_lber_ber_init+:} false; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 ac_check_lib_save_LIBS=$LIBS
13885 LIBS="-llber $LIBPTHREAD $LIBS"
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13889 /* Override any GCC internal prototype to avoid an error.
13890 Use char because int might match the return type of a GCC
13891 builtin and then its argument prototype would still apply. */
13892 #ifdef __cplusplus
13893 extern "C"
13894 #endif
13895 char ber_init ();
13897 main ()
13899 return ber_init ();
13901 return 0;
13903 _ACEOF
13904 if ac_fn_c_try_link "$LINENO"; then :
13905 ac_cv_lib_lber_ber_init=yes
13906 else
13907 ac_cv_lib_lber_ber_init=no
13909 rm -f core conftest.err conftest.$ac_objext \
13910 conftest$ac_exeext conftest.$ac_ext
13911 LIBS=$ac_check_lib_save_LIBS
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13914 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13915 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13917 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13919 LDAPLIBS="-lldap_r -llber"
13926 ac_wine_check_funcs_save_LIBS="$LIBS"
13927 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13928 for ac_func in \
13929 ldap_count_references \
13930 ldap_first_reference \
13931 ldap_next_reference \
13932 ldap_parse_reference \
13933 ldap_parse_sort_control \
13934 ldap_parse_sortresponse_control \
13935 ldap_parse_vlv_control \
13936 ldap_parse_vlvresponse_control
13937 do :
13938 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13939 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13940 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13941 cat >>confdefs.h <<_ACEOF
13942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13943 _ACEOF
13946 done
13948 LIBS="$ac_wine_check_funcs_save_LIBS"
13950 if test "x$LDAPLIBS" = "x"; then :
13951 case "x$with_ldap" in
13952 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13953 xno) ;;
13954 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13955 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13956 esac
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13960 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13961 if ${wine_cv_one_arg_mkdir+:} false; then :
13962 $as_echo_n "(cached) " >&6
13963 else
13964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13966 #include <sys/stat.h>
13968 main ()
13970 mkdir("foo");
13972 return 0;
13974 _ACEOF
13975 if ac_fn_c_try_compile "$LINENO"; then :
13976 wine_cv_one_arg_mkdir=yes
13977 else
13978 wine_cv_one_arg_mkdir=no
13980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13983 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13984 if test "$wine_cv_one_arg_mkdir" = "yes"
13985 then
13987 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13992 $as_echo_n "checking for sched_setaffinity... " >&6; }
13993 if ${wine_cv_have_sched_setaffinity+:} false; then :
13994 $as_echo_n "(cached) " >&6
13995 else
13996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13998 #define _GNU_SOURCE
13999 #include <sched.h>
14001 main ()
14003 sched_setaffinity(0, 0, 0);
14005 return 0;
14007 _ACEOF
14008 if ac_fn_c_try_link "$LINENO"; then :
14009 wine_cv_have_sched_setaffinity=yes
14010 else
14011 wine_cv_have_sched_setaffinity=no
14013 rm -f core conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14017 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14018 if test "$wine_cv_have_sched_setaffinity" = "yes"
14019 then
14021 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14026 $as_echo_n "checking for fallocate... " >&6; }
14027 if ${wine_cv_have_fallocate+:} false; then :
14028 $as_echo_n "(cached) " >&6
14029 else
14030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14032 #define _GNU_SOURCE
14033 #include <fcntl.h>
14035 main ()
14037 fallocate(-1, 0, 0, 0);
14039 return 0;
14041 _ACEOF
14042 if ac_fn_c_try_link "$LINENO"; then :
14043 wine_cv_have_fallocate=yes
14044 else
14045 wine_cv_have_fallocate=no
14047 rm -f core conftest.err conftest.$ac_objext \
14048 conftest$ac_exeext conftest.$ac_ext
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14051 $as_echo "$wine_cv_have_fallocate" >&6; }
14052 if test "$wine_cv_have_fallocate" = "yes"
14053 then
14055 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14061 $as_echo_n "checking for inline... " >&6; }
14062 if ${ac_cv_c_inline+:} false; then :
14063 $as_echo_n "(cached) " >&6
14064 else
14065 ac_cv_c_inline=no
14066 for ac_kw in inline __inline__ __inline; do
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14069 #ifndef __cplusplus
14070 typedef int foo_t;
14071 static $ac_kw foo_t static_foo () {return 0; }
14072 $ac_kw foo_t foo () {return 0; }
14073 #endif
14075 _ACEOF
14076 if ac_fn_c_try_compile "$LINENO"; then :
14077 ac_cv_c_inline=$ac_kw
14079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14080 test "$ac_cv_c_inline" != no && break
14081 done
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14085 $as_echo "$ac_cv_c_inline" >&6; }
14087 case $ac_cv_c_inline in
14088 inline | yes) ;;
14090 case $ac_cv_c_inline in
14091 no) ac_val=;;
14092 *) ac_val=$ac_cv_c_inline;;
14093 esac
14094 cat >>confdefs.h <<_ACEOF
14095 #ifndef __cplusplus
14096 #define inline $ac_val
14097 #endif
14098 _ACEOF
14100 esac
14102 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14103 if test "x$ac_cv_type_mode_t" = xyes; then :
14105 cat >>confdefs.h <<_ACEOF
14106 #define HAVE_MODE_T 1
14107 _ACEOF
14111 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14112 if test "x$ac_cv_type_off_t" = xyes; then :
14114 cat >>confdefs.h <<_ACEOF
14115 #define HAVE_OFF_T 1
14116 _ACEOF
14120 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14121 if test "x$ac_cv_type_pid_t" = xyes; then :
14123 cat >>confdefs.h <<_ACEOF
14124 #define HAVE_PID_T 1
14125 _ACEOF
14129 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14130 if test "x$ac_cv_type_size_t" = xyes; then :
14132 cat >>confdefs.h <<_ACEOF
14133 #define HAVE_SIZE_T 1
14134 _ACEOF
14138 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14139 if test "x$ac_cv_type_ssize_t" = xyes; then :
14141 cat >>confdefs.h <<_ACEOF
14142 #define HAVE_SSIZE_T 1
14143 _ACEOF
14147 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14148 if test "x$ac_cv_type_long_long" = xyes; then :
14150 cat >>confdefs.h <<_ACEOF
14151 #define HAVE_LONG_LONG 1
14152 _ACEOF
14156 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14157 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
14159 cat >>confdefs.h <<_ACEOF
14160 #define HAVE_FSBLKCNT_T 1
14161 _ACEOF
14165 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14166 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
14168 cat >>confdefs.h <<_ACEOF
14169 #define HAVE_FSFILCNT_T 1
14170 _ACEOF
14175 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14176 #include <signal.h>
14178 if test "x$ac_cv_type_sigset_t" = xyes; then :
14180 cat >>confdefs.h <<_ACEOF
14181 #define HAVE_SIGSET_T 1
14182 _ACEOF
14187 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14189 if test "x$ac_cv_type_request_sense" = xyes; then :
14191 cat >>confdefs.h <<_ACEOF
14192 #define HAVE_REQUEST_SENSE 1
14193 _ACEOF
14199 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14200 #ifdef HAVE_SYS_SOCKET_H
14201 #include <sys/socket.h>
14202 #endif
14203 #ifdef HAVE_SYS_SOCKETVAR_H
14204 #include <sys/socketvar.h>
14205 #endif
14206 #ifdef HAVE_NET_ROUTE_H
14207 #include <net/route.h>
14208 #endif
14209 #ifdef HAVE_NETINET_IN_H
14210 #include <netinet/in.h>
14211 #endif
14212 #ifdef HAVE_NETINET_IN_SYSTM_H
14213 #include <netinet/in_systm.h>
14214 #endif
14215 #ifdef HAVE_NETINET_IP_H
14216 #include <netinet/ip.h>
14217 #endif
14218 #ifdef HAVE_NETINET_IN_PCB_H
14219 #include <netinet/in_pcb.h>
14220 #endif
14222 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
14224 cat >>confdefs.h <<_ACEOF
14225 #define HAVE_STRUCT_XINPGEN 1
14226 _ACEOF
14232 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14233 #include <link.h>
14234 #endif
14235 #ifdef HAVE_SYS_LINK_H
14236 #include <sys/link.h>
14237 #endif
14239 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
14241 cat >>confdefs.h <<_ACEOF
14242 #define HAVE_STRUCT_R_DEBUG 1
14243 _ACEOF
14247 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14248 #include <link.h>
14249 #endif
14250 #ifdef HAVE_SYS_LINK_H
14251 #include <sys/link.h>
14252 #endif
14254 if test "x$ac_cv_type_struct_link_map" = xyes; then :
14256 cat >>confdefs.h <<_ACEOF
14257 #define HAVE_STRUCT_LINK_MAP 1
14258 _ACEOF
14264 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14265 #include <linux/input.h>
14266 #endif
14268 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
14270 cat >>confdefs.h <<_ACEOF
14271 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14272 _ACEOF
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14279 $as_echo_n "checking for sigaddset... " >&6; }
14280 if ${wine_cv_have_sigaddset+:} false; then :
14281 $as_echo_n "(cached) " >&6
14282 else
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 #include <signal.h>
14287 main ()
14289 sigset_t set; sigaddset(&set,SIGTERM);
14291 return 0;
14293 _ACEOF
14294 if ac_fn_c_try_link "$LINENO"; then :
14295 wine_cv_have_sigaddset=yes
14296 else
14297 wine_cv_have_sigaddset=no
14299 rm -f core conftest.err conftest.$ac_objext \
14300 conftest$ac_exeext conftest.$ac_ext
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14303 $as_echo "$wine_cv_have_sigaddset" >&6; }
14304 if test "$wine_cv_have_sigaddset" = "yes"
14305 then
14307 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14313 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14314 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14315 $as_echo_n "(cached) " >&6
14316 else
14317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14319 #include <netdb.h>
14321 main ()
14324 char *name=0;
14325 struct hostent he;
14326 struct hostent *result;
14327 char *buf=0;
14328 int bufsize=0;
14329 int errnr;
14330 char *addr=0;
14331 int addrlen=0;
14332 int addrtype=0;
14333 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14334 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14337 return 0;
14339 _ACEOF
14340 if ac_fn_c_try_link "$LINENO"; then :
14341 wine_cv_linux_gethostbyname_r_6=yes
14342 else
14343 wine_cv_linux_gethostbyname_r_6=no
14346 rm -f core conftest.err conftest.$ac_objext \
14347 conftest$ac_exeext conftest.$ac_ext
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14351 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14352 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14353 then
14355 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14359 if test "$ac_cv_header_linux_joystick_h" = "yes"
14360 then
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14362 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14363 if ${wine_cv_linux_joystick_22_api+:} false; then :
14364 $as_echo_n "(cached) " >&6
14365 else
14366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14369 #include <sys/ioctl.h>
14370 #include <sys/types.h>
14371 #include <linux/joystick.h>
14373 struct js_event blub;
14374 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14375 #error "no 2.2 header"
14376 #endif
14379 main ()
14381 /*empty*/
14383 return 0;
14385 _ACEOF
14386 if ac_fn_c_try_compile "$LINENO"; then :
14387 wine_cv_linux_joystick_22_api=yes
14388 else
14389 wine_cv_linux_joystick_22_api=no
14391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14395 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14396 if test "$wine_cv_linux_joystick_22_api" = "yes"
14397 then
14399 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14405 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14406 #ifdef HAVE_SYS_PARAM_H
14407 # include <sys/param.h>
14408 #endif
14409 #ifdef HAVE_SYS_MOUNT_H
14410 # include <sys/mount.h>
14411 #endif
14412 #ifdef HAVE_SYS_VFS_H
14413 # include <sys/vfs.h>
14414 #endif
14415 #ifdef HAVE_SYS_STATFS_H
14416 # include <sys/statfs.h>
14417 #endif
14419 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
14421 cat >>confdefs.h <<_ACEOF
14422 #define HAVE_STRUCT_STATFS_F_BFREE 1
14423 _ACEOF
14427 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14428 #ifdef HAVE_SYS_PARAM_H
14429 # include <sys/param.h>
14430 #endif
14431 #ifdef HAVE_SYS_MOUNT_H
14432 # include <sys/mount.h>
14433 #endif
14434 #ifdef HAVE_SYS_VFS_H
14435 # include <sys/vfs.h>
14436 #endif
14437 #ifdef HAVE_SYS_STATFS_H
14438 # include <sys/statfs.h>
14439 #endif
14441 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
14443 cat >>confdefs.h <<_ACEOF
14444 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14445 _ACEOF
14449 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14450 #ifdef HAVE_SYS_PARAM_H
14451 # include <sys/param.h>
14452 #endif
14453 #ifdef HAVE_SYS_MOUNT_H
14454 # include <sys/mount.h>
14455 #endif
14456 #ifdef HAVE_SYS_VFS_H
14457 # include <sys/vfs.h>
14458 #endif
14459 #ifdef HAVE_SYS_STATFS_H
14460 # include <sys/statfs.h>
14461 #endif
14463 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
14465 cat >>confdefs.h <<_ACEOF
14466 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14467 _ACEOF
14471 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14472 #ifdef HAVE_SYS_PARAM_H
14473 # include <sys/param.h>
14474 #endif
14475 #ifdef HAVE_SYS_MOUNT_H
14476 # include <sys/mount.h>
14477 #endif
14478 #ifdef HAVE_SYS_VFS_H
14479 # include <sys/vfs.h>
14480 #endif
14481 #ifdef HAVE_SYS_STATFS_H
14482 # include <sys/statfs.h>
14483 #endif
14485 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
14487 cat >>confdefs.h <<_ACEOF
14488 #define HAVE_STRUCT_STATFS_F_FFREE 1
14489 _ACEOF
14493 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14494 #ifdef HAVE_SYS_PARAM_H
14495 # include <sys/param.h>
14496 #endif
14497 #ifdef HAVE_SYS_MOUNT_H
14498 # include <sys/mount.h>
14499 #endif
14500 #ifdef HAVE_SYS_VFS_H
14501 # include <sys/vfs.h>
14502 #endif
14503 #ifdef HAVE_SYS_STATFS_H
14504 # include <sys/statfs.h>
14505 #endif
14507 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
14509 cat >>confdefs.h <<_ACEOF
14510 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14511 _ACEOF
14515 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14516 #ifdef HAVE_SYS_PARAM_H
14517 # include <sys/param.h>
14518 #endif
14519 #ifdef HAVE_SYS_MOUNT_H
14520 # include <sys/mount.h>
14521 #endif
14522 #ifdef HAVE_SYS_VFS_H
14523 # include <sys/vfs.h>
14524 #endif
14525 #ifdef HAVE_SYS_STATFS_H
14526 # include <sys/statfs.h>
14527 #endif
14529 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
14531 cat >>confdefs.h <<_ACEOF
14532 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14533 _ACEOF
14539 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14540 #include <sys/statvfs.h>
14541 #endif
14543 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
14545 cat >>confdefs.h <<_ACEOF
14546 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14547 _ACEOF
14553 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14554 #include <dirent.h>
14555 #endif
14557 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
14559 cat >>confdefs.h <<_ACEOF
14560 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14561 _ACEOF
14567 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14568 #ifdef HAVE_SYS_SOCKET_H
14569 # include <sys/socket.h>
14570 #endif
14571 #ifdef HAVE_SYS_UN_H
14572 # include <sys/un.h>
14573 #endif
14575 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
14577 cat >>confdefs.h <<_ACEOF
14578 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14579 _ACEOF
14583 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14584 #ifdef HAVE_SYS_SOCKET_H
14585 # include <sys/socket.h>
14586 #endif
14587 #ifdef HAVE_SYS_UN_H
14588 # include <sys/un.h>
14589 #endif
14591 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14593 cat >>confdefs.h <<_ACEOF
14594 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14595 _ACEOF
14599 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14600 #ifdef HAVE_SYS_SOCKET_H
14601 # include <sys/socket.h>
14602 #endif
14603 #ifdef HAVE_SYS_UN_H
14604 # include <sys/un.h>
14605 #endif
14607 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14609 cat >>confdefs.h <<_ACEOF
14610 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14611 _ACEOF
14617 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14618 #ifdef HAVE_SCSI_SG_H
14619 #include <scsi/sg.h>
14620 #endif
14622 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14624 cat >>confdefs.h <<_ACEOF
14625 #define HAVE_SCSIREQ_T_CMD 1
14626 _ACEOF
14630 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>
14631 #ifdef HAVE_SCSI_SG_H
14632 #include <scsi/sg.h>
14633 #endif
14635 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14637 cat >>confdefs.h <<_ACEOF
14638 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14639 _ACEOF
14645 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14647 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14649 cat >>confdefs.h <<_ACEOF
14650 #define HAVE_SIGINFO_T_SI_FD 1
14651 _ACEOF
14657 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14658 #ifdef HAVE_SYS_MTIO_H
14659 #include <sys/mtio.h>
14660 #endif
14662 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14664 cat >>confdefs.h <<_ACEOF
14665 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14666 _ACEOF
14670 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14671 #ifdef HAVE_SYS_MTIO_H
14672 #include <sys/mtio.h>
14673 #endif
14675 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14677 cat >>confdefs.h <<_ACEOF
14678 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14679 _ACEOF
14683 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14684 #ifdef HAVE_SYS_MTIO_H
14685 #include <sys/mtio.h>
14686 #endif
14688 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14690 cat >>confdefs.h <<_ACEOF
14691 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14692 _ACEOF
14698 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14699 #include <getopt.h>
14700 #endif
14702 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14704 cat >>confdefs.h <<_ACEOF
14705 #define HAVE_STRUCT_OPTION_NAME 1
14706 _ACEOF
14712 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14713 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14715 cat >>confdefs.h <<_ACEOF
14716 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14717 _ACEOF
14721 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14722 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14724 cat >>confdefs.h <<_ACEOF
14725 #define HAVE_STRUCT_STAT_ST_MTIM 1
14726 _ACEOF
14730 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14731 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
14733 cat >>confdefs.h <<_ACEOF
14734 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14735 _ACEOF
14739 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14740 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14742 cat >>confdefs.h <<_ACEOF
14743 #define HAVE_STRUCT_STAT_ST_CTIM 1
14744 _ACEOF
14748 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14749 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
14751 cat >>confdefs.h <<_ACEOF
14752 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14753 _ACEOF
14757 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14758 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14760 cat >>confdefs.h <<_ACEOF
14761 #define HAVE_STRUCT_STAT_ST_ATIM 1
14762 _ACEOF
14766 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14767 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
14769 cat >>confdefs.h <<_ACEOF
14770 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14771 _ACEOF
14775 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14776 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
14778 cat >>confdefs.h <<_ACEOF
14779 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14780 _ACEOF
14784 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14785 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
14787 cat >>confdefs.h <<_ACEOF
14788 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14789 _ACEOF
14793 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14794 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
14796 cat >>confdefs.h <<_ACEOF
14797 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14798 _ACEOF
14802 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14803 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
14805 cat >>confdefs.h <<_ACEOF
14806 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14807 _ACEOF
14811 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14812 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
14814 cat >>confdefs.h <<_ACEOF
14815 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14816 _ACEOF
14822 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
14823 #include <sys/types.h>
14824 #endif
14825 #ifdef HAVE_NETINET_IN_H
14826 #include <netinet/in.h>
14827 #endif
14829 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14831 cat >>confdefs.h <<_ACEOF
14832 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14833 _ACEOF
14839 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
14840 #include <resolv.h>
14841 #endif
14843 if test "x$ac_cv_type_struct___res_state" = xyes; then :
14845 cat >>confdefs.h <<_ACEOF
14846 #define HAVE_STRUCT___RES_STATE 1
14847 _ACEOF
14853 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
14854 #include <resolv.h>
14855 #endif
14857 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
14859 cat >>confdefs.h <<_ACEOF
14860 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
14861 _ACEOF
14867 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14868 #include <sys/types.h>
14869 #endif
14870 #ifdef HAVE_NETINET_IN_H
14871 # include <netinet/in.h>
14872 #endif
14873 #ifdef HAVE_ARPA_NAMESER_H
14874 # include <arpa/nameser.h>
14875 #endif
14877 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14879 cat >>confdefs.h <<_ACEOF
14880 #define HAVE_NS_MSG__MSG_PTR 1
14881 _ACEOF
14887 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14888 #include <sys/types.h>
14889 #endif
14890 #ifdef HAVE_NETINET_IP_H
14891 #include <netinet/ip.h>
14892 #endif
14893 #ifdef HAVE_NETINET_IP_ICMP_H
14894 #include <netinet/ip_icmp.h>
14895 #endif
14896 #ifdef HAVE_NETINET_ICMP_VAR_H
14897 #include <netinet/icmp_var.h>
14898 #endif
14900 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
14902 cat >>confdefs.h <<_ACEOF
14903 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14904 _ACEOF
14910 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14911 #include <sys/types.h>
14912 #endif
14913 #ifdef HAVE_ALIAS_H
14914 #include <alias.h>
14915 #endif
14916 #ifdef HAVE_SYS_SOCKET_H
14917 #include <sys/socket.h>
14918 #endif
14919 #ifdef HAVE_SYS_SOCKETVAR_H
14920 #include <sys/socketvar.h>
14921 #endif
14922 #ifdef HAVE_SYS_TIMEOUT_H
14923 #include <sys/timeout.h>
14924 #endif
14925 #ifdef HAVE_NETINET_IN_H
14926 #include <netinet/in.h>
14927 #endif
14928 #ifdef HAVE_NETINET_IN_SYSTM_H
14929 #include <netinet/in_systm.h>
14930 #endif
14931 #ifdef HAVE_NETINET_IP_H
14932 #include <netinet/ip.h>
14933 #endif
14934 #ifdef HAVE_NETINET_IP_VAR_H
14935 #include <netinet/ip_var.h>
14936 #endif
14937 #ifdef HAVE_NETINET_IP_ICMP_H
14938 #include <netinet/ip_icmp.h>
14939 #endif
14940 #ifdef HAVE_NETINET_ICMP_VAR_H
14941 #include <netinet/icmp_var.h>
14942 #endif
14944 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14946 cat >>confdefs.h <<_ACEOF
14947 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14948 _ACEOF
14954 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14955 #include <sys/types.h>
14956 #endif
14957 #ifdef HAVE_SYS_SOCKETVAR_H
14958 #include <sys/socketvar.h>
14959 #endif
14960 #ifdef HAVE_NETINET_IN_H
14961 #include <netinet/in.h>
14962 #endif
14963 #ifdef HAVE_NETINET_IP_VAR_H
14964 #include <netinet/ip_var.h>
14965 #endif
14967 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
14969 cat >>confdefs.h <<_ACEOF
14970 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14971 _ACEOF
14977 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
14978 #include <netinet/ip_var.h>
14979 #endif
14981 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
14983 cat >>confdefs.h <<_ACEOF
14984 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14985 _ACEOF
14991 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14992 #include <sys/types.h>
14993 #endif
14994 #ifdef HAVE_SYS_SOCKETVAR_H
14995 #include <sys/socketvar.h>
14996 #endif
14997 #ifdef HAVE_NETINET_IN_H
14998 #include <netinet/in.h>
14999 #endif
15000 #ifdef HAVE_NETINET_TCP_H
15001 #include <netinet/tcp.h>
15002 #endif
15003 #ifdef HAVE_NETINET_TCP_VAR_H
15004 #include <netinet/tcp_var.h>
15005 #endif
15007 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
15009 cat >>confdefs.h <<_ACEOF
15010 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15011 _ACEOF
15017 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
15018 #include <netinet/tcp_var.h>
15019 #endif
15021 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
15023 cat >>confdefs.h <<_ACEOF
15024 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15025 _ACEOF
15031 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15032 #include <sys/types.h>
15033 #endif
15034 #ifdef HAVE_NETINET_IN_H
15035 #include <netinet/in.h>
15036 #endif
15037 #ifdef HAVE_NETINET_IP_VAR_H
15038 #include <netinet/ip_var.h>
15039 #endif
15040 #ifdef HAVE_NETINET_UDP_H
15041 #include <netinet/udp.h>
15042 #endif
15043 #ifdef HAVE_NETINET_UDP_VAR_H
15044 #include <netinet/udp_var.h>
15045 #endif
15047 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
15049 cat >>confdefs.h <<_ACEOF
15050 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15051 _ACEOF
15057 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15058 #include <sys/types.h>
15059 #endif
15060 #ifdef HAVE_NET_IF_H
15061 # include <net/if.h>
15062 #endif
15064 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
15066 cat >>confdefs.h <<_ACEOF
15067 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15068 _ACEOF
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15075 $as_echo_n "checking for timezone variable... " >&6; }
15076 if ${ac_cv_have_timezone+:} false; then :
15077 $as_echo_n "(cached) " >&6
15078 else
15079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15081 #include <time.h>
15083 main ()
15085 timezone = 1
15087 return 0;
15089 _ACEOF
15090 if ac_fn_c_try_link "$LINENO"; then :
15091 ac_cv_have_timezone="yes"
15092 else
15093 ac_cv_have_timezone="no"
15095 rm -f core conftest.err conftest.$ac_objext \
15096 conftest$ac_exeext conftest.$ac_ext
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15099 $as_echo "$ac_cv_have_timezone" >&6; }
15100 if test "$ac_cv_have_timezone" = "yes"
15101 then
15103 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15107 $as_echo_n "checking for daylight variable... " >&6; }
15108 if ${ac_cv_have_daylight+:} false; then :
15109 $as_echo_n "(cached) " >&6
15110 else
15111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15112 /* end confdefs.h. */
15113 #include <time.h>
15115 main ()
15117 daylight = 1
15119 return 0;
15121 _ACEOF
15122 if ac_fn_c_try_link "$LINENO"; then :
15123 ac_cv_have_daylight="yes"
15124 else
15125 ac_cv_have_daylight="no"
15127 rm -f core conftest.err conftest.$ac_objext \
15128 conftest$ac_exeext conftest.$ac_ext
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15131 $as_echo "$ac_cv_have_daylight" >&6; }
15132 if test "$ac_cv_have_daylight" = "yes"
15133 then
15135 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15139 ac_save_LIBS="$LIBS"
15140 LIBS="$LIBS -lm"
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15142 $as_echo_n "checking for isinf... " >&6; }
15143 if ${ac_cv_have_isinf+:} false; then :
15144 $as_echo_n "(cached) " >&6
15145 else
15146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15147 /* end confdefs.h. */
15148 #include <math.h>
15150 main ()
15152 float f = 0.0; return isinf(f)
15154 return 0;
15156 _ACEOF
15157 if ac_fn_c_try_link "$LINENO"; then :
15158 ac_cv_have_isinf="yes"
15159 else
15160 ac_cv_have_isinf="no"
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15166 $as_echo "$ac_cv_have_isinf" >&6; }
15167 if test "$ac_cv_have_isinf" = "yes"
15168 then
15170 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15175 $as_echo_n "checking for isnan... " >&6; }
15176 if ${ac_cv_have_isnan+:} false; then :
15177 $as_echo_n "(cached) " >&6
15178 else
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15181 #include <math.h>
15183 main ()
15185 float f = 0.0; return isnan(f)
15187 return 0;
15189 _ACEOF
15190 if ac_fn_c_try_link "$LINENO"; then :
15191 ac_cv_have_isnan="yes"
15192 else
15193 ac_cv_have_isnan="no"
15195 rm -f core conftest.err conftest.$ac_objext \
15196 conftest$ac_exeext conftest.$ac_ext
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15199 $as_echo "$ac_cv_have_isnan" >&6; }
15200 if test "$ac_cv_have_isnan" = "yes"
15201 then
15203 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15206 LIBS="$ac_save_LIBS"
15209 case $host_cpu in
15210 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15211 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15212 if ${ac_cv_cpp_def___i386__+:} false; then :
15213 $as_echo_n "(cached) " >&6
15214 else
15215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15216 /* end confdefs.h. */
15217 #ifndef __i386__
15219 #endif
15220 _ACEOF
15221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15222 $EGREP "yes" >/dev/null 2>&1; then :
15223 ac_cv_cpp_def___i386__=yes
15224 else
15225 ac_cv_cpp_def___i386__=no
15227 rm -f conftest*
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15231 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15232 if test $ac_cv_cpp_def___i386__ = yes; then :
15233 CFLAGS="$CFLAGS -D__i386__"
15234 LINTFLAGS="$LINTFLAGS -D__i386__"
15235 fi ;;
15236 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15237 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15238 if ${ac_cv_cpp_def___x86_64__+:} false; then :
15239 $as_echo_n "(cached) " >&6
15240 else
15241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15242 /* end confdefs.h. */
15243 #ifndef __x86_64__
15245 #endif
15246 _ACEOF
15247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15248 $EGREP "yes" >/dev/null 2>&1; then :
15249 ac_cv_cpp_def___x86_64__=yes
15250 else
15251 ac_cv_cpp_def___x86_64__=no
15253 rm -f conftest*
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15257 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15258 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15259 CFLAGS="$CFLAGS -D__x86_64__"
15260 LINTFLAGS="$LINTFLAGS -D__x86_64__"
15261 fi ;;
15262 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15263 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15264 if ${ac_cv_cpp_def___sparc64__+:} false; then :
15265 $as_echo_n "(cached) " >&6
15266 else
15267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15268 /* end confdefs.h. */
15269 #ifndef __sparc64__
15271 #endif
15272 _ACEOF
15273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15274 $EGREP "yes" >/dev/null 2>&1; then :
15275 ac_cv_cpp_def___sparc64__=yes
15276 else
15277 ac_cv_cpp_def___sparc64__=no
15279 rm -f conftest*
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15283 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15284 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15285 CFLAGS="$CFLAGS -D__sparc64__"
15286 LINTFLAGS="$LINTFLAGS -D__sparc64__"
15287 fi ;;
15288 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15289 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15290 if ${ac_cv_cpp_def___sparc__+:} false; then :
15291 $as_echo_n "(cached) " >&6
15292 else
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15295 #ifndef __sparc__
15297 #endif
15298 _ACEOF
15299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15300 $EGREP "yes" >/dev/null 2>&1; then :
15301 ac_cv_cpp_def___sparc__=yes
15302 else
15303 ac_cv_cpp_def___sparc__=no
15305 rm -f conftest*
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15309 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15310 if test $ac_cv_cpp_def___sparc__ = yes; then :
15311 CFLAGS="$CFLAGS -D__sparc__"
15312 LINTFLAGS="$LINTFLAGS -D__sparc__"
15313 fi ;;
15314 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15315 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15316 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15317 $as_echo_n "(cached) " >&6
15318 else
15319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15321 #ifndef __powerpc64__
15323 #endif
15324 _ACEOF
15325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15326 $EGREP "yes" >/dev/null 2>&1; then :
15327 ac_cv_cpp_def___powerpc64__=yes
15328 else
15329 ac_cv_cpp_def___powerpc64__=no
15331 rm -f conftest*
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15335 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15336 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15337 CFLAGS="$CFLAGS -D__powerpc64__"
15338 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15339 fi ;;
15340 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15341 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15342 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15343 $as_echo_n "(cached) " >&6
15344 else
15345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15346 /* end confdefs.h. */
15347 #ifndef __powerpc__
15349 #endif
15350 _ACEOF
15351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15352 $EGREP "yes" >/dev/null 2>&1; then :
15353 ac_cv_cpp_def___powerpc__=yes
15354 else
15355 ac_cv_cpp_def___powerpc__=no
15357 rm -f conftest*
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15361 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15362 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15363 CFLAGS="$CFLAGS -D__powerpc__"
15364 LINTFLAGS="$LINTFLAGS -D__powerpc__"
15365 fi ;;
15366 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15367 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15368 if ${ac_cv_cpp_def___aarch64__+:} false; then :
15369 $as_echo_n "(cached) " >&6
15370 else
15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15373 #ifndef __aarch64__
15375 #endif
15376 _ACEOF
15377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15378 $EGREP "yes" >/dev/null 2>&1; then :
15379 ac_cv_cpp_def___aarch64__=yes
15380 else
15381 ac_cv_cpp_def___aarch64__=no
15383 rm -f conftest*
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15387 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15388 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15389 CFLAGS="$CFLAGS -D__aarch64__"
15390 LINTFLAGS="$LINTFLAGS -D__aarch64__"
15391 fi ;;
15392 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15393 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15394 if ${ac_cv_cpp_def___arm__+:} false; then :
15395 $as_echo_n "(cached) " >&6
15396 else
15397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15399 #ifndef __arm__
15401 #endif
15402 _ACEOF
15403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15404 $EGREP "yes" >/dev/null 2>&1; then :
15405 ac_cv_cpp_def___arm__=yes
15406 else
15407 ac_cv_cpp_def___arm__=no
15409 rm -f conftest*
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15413 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15414 if test $ac_cv_cpp_def___arm__ = yes; then :
15415 CFLAGS="$CFLAGS -D__arm__"
15416 LINTFLAGS="$LINTFLAGS -D__arm__"
15417 fi ;;
15418 esac
15420 case $host_vendor in
15421 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15422 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15423 if ${ac_cv_cpp_def___sun__+:} false; then :
15424 $as_echo_n "(cached) " >&6
15425 else
15426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15427 /* end confdefs.h. */
15428 #ifndef __sun__
15430 #endif
15431 _ACEOF
15432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15433 $EGREP "yes" >/dev/null 2>&1; then :
15434 ac_cv_cpp_def___sun__=yes
15435 else
15436 ac_cv_cpp_def___sun__=no
15438 rm -f conftest*
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15442 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15443 if test $ac_cv_cpp_def___sun__ = yes; then :
15444 CFLAGS="$CFLAGS -D__sun__"
15445 LINTFLAGS="$LINTFLAGS -D__sun__"
15446 fi ;;
15447 esac
15453 ac_config_commands="$ac_config_commands include/stamp-h"
15456 wine_rules_file=conf$$rules.make
15457 rm -f $wine_rules_file
15458 ALL_POT_FILES=""
15459 ALL_TEST_RESOURCES=""
15462 wine_fn_append_file ()
15464 as_fn_append $1 " \\$as_nl $2"
15467 wine_fn_append_rule ()
15469 $as_echo "$1" >>$wine_rules_file
15472 wine_fn_has_flag ()
15474 expr ",$2," : ".*,$1,.*" >/dev/null
15477 wine_fn_all_dir_rules ()
15479 ac_dir=$1
15480 ac_alldeps=$2
15481 ac_makedep="\$(MAKEDEP)"
15482 ac_input=Make.vars.in:$ac_dir/Makefile.in
15483 if test $ac_dir != tools
15484 then
15485 ac_alldeps="$2 $ac_makedep"
15486 else
15487 ac_alldeps="$2 include/config.h"
15489 case $2 in
15490 *.in) ac_input=$ac_input:$2 ;;
15491 *) ac_makedep="$2 $ac_makedep" ;;
15492 esac
15494 wine_fn_append_rule \
15495 "__clean__: $ac_dir/__clean__
15496 .PHONY: $ac_dir/__clean__
15497 $ac_dir/__clean__: $ac_dir/Makefile
15498 @cd $ac_dir && \$(MAKE) clean
15499 \$(RM) $ac_dir/Makefile
15500 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15501 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15502 depend: $ac_dir/__depend__
15503 .PHONY: $ac_dir/__depend__
15504 $ac_dir/__depend__: $ac_makedep dummy
15505 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15508 wine_fn_pot_rules ()
15510 ac_dir=$1
15511 ac_flags=$2
15513 test "x$with_gettextpo" = xyes || return
15515 if wine_fn_has_flag mc $ac_flags
15516 then
15517 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
15518 wine_fn_append_rule \
15519 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15520 @cd $ac_dir && \$(MAKE) msg.pot
15521 $ac_dir/msg.pot: tools/wmc include"
15523 if wine_fn_has_flag po $ac_flags
15524 then
15525 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
15526 wine_fn_append_rule \
15527 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15528 @cd $ac_dir && \$(MAKE) rsrc.pot
15529 $ac_dir/rsrc.pot: tools/wrc include"
15533 wine_fn_config_makefile ()
15535 ac_dir=$1
15536 ac_enable=$2
15537 ac_flags=$3
15538 ac_rules=$4
15539 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15540 return 0
15543 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
15544 wine_fn_append_rule \
15545 "all: $ac_dir
15546 .PHONY: $ac_dir
15547 $ac_dir: $ac_dir/Makefile dummy
15548 @cd $ac_dir && \$(MAKE)"
15550 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
15552 wine_fn_append_rule \
15553 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15554 $ac_dir/__install__:: $ac_dir
15555 @cd $ac_dir && \$(MAKE) install
15556 $ac_dir/__uninstall__:: $ac_dir/Makefile
15557 @cd $ac_dir && \$(MAKE) uninstall
15558 install:: $ac_dir/__install__
15559 __uninstall__: $ac_dir/__uninstall__"
15561 if wine_fn_has_flag install-lib $ac_flags
15562 then
15563 wine_fn_append_rule \
15564 ".PHONY: $ac_dir/__install-lib__
15565 $ac_dir/__install-lib__:: $ac_dir
15566 @cd $ac_dir && \$(MAKE) install-lib
15567 install-lib:: $ac_dir/__install-lib__"
15570 if wine_fn_has_flag install-dev $ac_flags
15571 then
15572 wine_fn_append_rule \
15573 ".PHONY: $ac_dir/__install-dev
15574 $ac_dir/__install-dev__:: $ac_dir
15575 @cd $ac_dir && \$(MAKE) install-dev
15576 install-dev:: $ac_dir/__install-dev__"
15580 wine_fn_config_lib ()
15582 ac_name=$1
15583 ac_flags=$2
15584 ac_dir=dlls/$ac_name
15585 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
15587 if wine_fn_has_flag install-dev $ac_flags
15588 then :
15589 else
15590 wine_fn_append_rule \
15591 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15592 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15593 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15594 $ac_dir/__uninstall__::
15595 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15596 install install-dev:: $ac_dir/__install__
15597 __uninstall__: $ac_dir/__uninstall__"
15600 wine_fn_append_rule \
15601 "__builddeps__: $ac_dir
15602 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
15605 wine_fn_config_dll ()
15607 ac_name=$1
15608 ac_dir=dlls/$ac_name
15609 ac_enable=$2
15610 ac_flags=$3
15611 ac_implib=${4:-$ac_name}
15612 ac_file=$ac_dir/lib$ac_implib
15613 ac_dll=$ac_name
15614 ac_deps="tools/widl tools/winebuild tools/winegcc include"
15615 ac_implibflags=""
15617 case $ac_name in
15618 *16) ac_implibflags=" -m16" ;;
15619 *.*) ;;
15620 *) ac_dll=$ac_dll.dll ;;
15621 esac
15623 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
15625 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15626 test "$ac_enable" != enable_win16 || return 0
15627 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
15628 else
15629 wine_fn_append_rule \
15630 "$ac_dir: __builddeps__
15631 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15632 @cd $ac_dir && \$(MAKE) \$@"
15634 if wine_fn_has_flag install-lib $ac_flags
15635 then :
15636 else
15637 wine_fn_append_rule \
15638 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15639 install install-lib:: $ac_dir/__install-lib__
15640 __uninstall__: $ac_dir/__uninstall__"
15641 if test -n "$DLLEXT"
15642 then
15643 wine_fn_append_rule \
15644 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15645 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
15646 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15647 $ac_dir/__uninstall__::
15648 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15649 else
15650 wine_fn_append_rule \
15651 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15652 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15653 $ac_dir/__uninstall__::
15654 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15658 wine_fn_pot_rules $ac_dir $ac_flags
15661 if wine_fn_has_flag staticimplib $ac_flags
15662 then
15663 wine_fn_append_rule \
15664 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15665 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15666 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15667 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15668 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15669 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15670 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15671 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15672 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15673 $ac_dir/__uninstall__::
15674 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15675 install install-dev:: $ac_dir/__install-dev__
15676 __uninstall__: $ac_dir/__uninstall__"
15678 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15679 then
15680 wine_fn_append_rule \
15681 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15682 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15683 $ac_dir/__uninstall__::
15684 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15687 if test "x$CROSSTEST_DISABLE" = x
15688 then
15689 wine_fn_append_rule \
15690 "__builddeps__: $ac_file.cross.a
15691 $ac_file.cross.a: $ac_dir/Makefile dummy
15692 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15695 elif wine_fn_has_flag implib $ac_flags
15696 then
15697 wine_fn_append_rule \
15698 "__builddeps__: $ac_file.$IMPLIBEXT
15699 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15700 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15701 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15702 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15703 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15704 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15705 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15706 $ac_dir/__uninstall__::
15707 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15708 install install-dev:: $ac_dir/__install-dev__
15709 __uninstall__: $ac_dir/__uninstall__"
15710 if test "x$CROSSTEST_DISABLE" = x
15711 then
15712 wine_fn_append_rule \
15713 "__builddeps__: $ac_file.cross.a
15714 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15715 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15718 if test "$ac_name" != "$ac_implib"
15719 then
15720 wine_fn_append_rule \
15721 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15722 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15723 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15724 clean::
15725 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15726 if test "x$CROSSTEST_DISABLE" = x
15727 then
15728 wine_fn_append_rule \
15729 "__builddeps__: dlls/lib$ac_implib.cross.a
15730 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15731 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15737 wine_fn_config_program ()
15739 ac_name=$1
15740 ac_dir=programs/$ac_name
15741 ac_enable=$2
15742 ac_flags=$3
15743 ac_program=$ac_name
15745 case $ac_name in
15746 *.*) ;;
15747 *) ac_program=$ac_program.exe ;;
15748 esac
15750 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
15752 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15754 else
15755 wine_fn_append_rule "$ac_dir: __builddeps__"
15757 wine_fn_pot_rules $ac_dir $ac_flags
15759 wine_fn_has_flag install $ac_flags || return
15760 wine_fn_append_rule \
15761 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15762 install install-lib:: $ac_dir/__install__
15763 __uninstall__: $ac_dir/__uninstall__"
15765 if test -n "$DLLEXT"
15766 then
15767 wine_fn_append_rule \
15768 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15769 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
15770 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15771 $ac_dir/__uninstall__::
15772 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15774 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
15775 then
15776 wine_fn_append_rule \
15777 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15778 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15779 $ac_dir/__uninstall__::
15780 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15782 else
15783 wine_fn_append_rule \
15784 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15785 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15786 $ac_dir/__uninstall__::
15787 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15790 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
15791 then
15792 wine_fn_append_rule \
15793 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15794 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15795 $ac_dir/__uninstall__::
15796 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15801 wine_fn_config_test ()
15803 ac_dir=$1
15804 ac_name=$2
15805 ac_flags=$3
15806 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
15807 wine_fn_all_dir_rules $ac_dir Maketest.rules
15809 if test "x$enable_tests" = xno; then :
15811 else
15812 wine_fn_append_rule \
15813 "all: $ac_dir
15814 .PHONY: $ac_dir
15815 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15816 @cd $ac_dir && \$(MAKE)
15817 programs/winetest: $ac_dir
15818 check test: $ac_dir/__test__
15819 .PHONY: $ac_dir/__test__
15820 $ac_dir/__test__: dummy
15821 @cd $ac_dir && \$(MAKE) test
15822 testclean::
15823 \$(RM) $ac_dir/*.ok"
15825 if test "x$CROSSTEST_DISABLE" = x
15826 then
15827 wine_fn_append_rule \
15828 "crosstest: $ac_dir/__crosstest__
15829 .PHONY: $ac_dir/__crosstest__
15830 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15831 @cd $ac_dir && \$(MAKE) crosstest"
15836 wine_fn_config_tool ()
15838 ac_dir=$1
15839 ac_flags=$2
15840 if test "x$enable_tools" = xno; then :
15841 return 0
15844 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
15846 wine_fn_append_rule "__tooldeps__: $ac_dir"
15847 wine_fn_append_rule "$ac_dir: libs/port"
15848 case $ac_dir in
15849 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
15850 esac
15853 wine_fn_config_makerules ()
15855 ac_rules=$1
15856 ac_deps=$2
15857 wine_fn_append_rule \
15858 "$ac_rules: $ac_rules.in $ac_deps config.status
15859 @./config.status $ac_rules
15860 distclean::
15861 \$(RM) $ac_rules"
15864 wine_fn_config_symlink ()
15866 ac_linkdir=
15867 if test "x$1" = "x-d"
15868 then
15869 ac_linkdir=$2
15870 shift; shift
15872 ac_links=$@
15873 wine_fn_append_rule \
15874 "$ac_links:
15875 @./config.status \$@
15876 distclean::
15877 \$(RM) $ac_links"
15878 test -n "$ac_linkdir" || return
15879 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/__depend__: $ac_links"
15882 if test "x$CROSSTEST_DISABLE" != x
15883 then
15884 wine_fn_append_rule \
15885 "crosstest:
15886 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15888 wine_fn_append_rule "
15889 # Rules automatically generated by configure
15891 .INIT: Makefile
15892 .MAKEFILEDEPS:
15893 all: Makefile
15894 Makefile: Makefile.in Make.vars.in Make.rules config.status
15895 @./config.status Make.tmp Makefile"
15897 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15898 wine_fn_config_symlink -d dlls/shell32 dlls/shell32/AUTHORS
15899 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15900 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
15901 if test "x$enable_fonts" != xno; then
15902 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15903 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15904 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15905 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15906 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
15908 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
15909 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
15910 if test "x$enable_tools" != xno; then
15911 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15912 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
15914 ac_config_links="$ac_config_links wine:tools/winewrapper"
15915 wine_fn_config_symlink wine
15916 if test "x$enable_win64" != xno; then
15917 ac_config_links="$ac_config_links wine64:tools/winewrapper"
15918 wine_fn_config_symlink wine64
15921 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
15923 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
15925 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
15927 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
15929 ac_config_commands="$ac_config_commands dlls/user32/resources"
15931 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
15933 ac_config_commands="$ac_config_commands include/wine"
15936 wine_fn_config_makerules Make.rules
15937 MAKE_RULES=Make.rules
15938 ac_config_files="$ac_config_files Make.rules"
15940 wine_fn_config_makerules Maketest.rules Make.rules
15941 MAKE_TEST_RULES=Maketest.rules
15942 ac_config_files="$ac_config_files Maketest.rules"
15944 wine_fn_config_makerules dlls/Makedll.rules Make.rules
15945 MAKE_DLL_RULES=dlls/Makedll.rules
15946 ac_config_files="$ac_config_files dlls/Makedll.rules"
15948 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
15949 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
15950 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
15952 wine_fn_config_makerules programs/Makeprog.rules Make.rules
15953 MAKE_PROG_RULES=programs/Makeprog.rules
15954 ac_config_files="$ac_config_files programs/Makeprog.rules"
15957 wine_fn_config_dll acledit enable_acledit
15958 wine_fn_config_dll aclui enable_aclui implib
15959 wine_fn_config_dll activeds enable_activeds implib
15960 wine_fn_config_dll actxprxy enable_actxprxy
15961 wine_fn_config_lib adsiid
15962 wine_fn_config_dll advapi32 enable_advapi32 implib
15963 wine_fn_config_test dlls/advapi32/tests advapi32_test
15964 wine_fn_config_dll advpack enable_advpack implib
15965 wine_fn_config_test dlls/advpack/tests advpack_test
15966 wine_fn_config_dll amstream enable_amstream
15967 wine_fn_config_test dlls/amstream/tests amstream_test
15968 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
15969 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
15970 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15971 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15972 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15973 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15974 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15975 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15976 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15977 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15978 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15979 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15980 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15981 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15982 wine_fn_config_dll apphelp enable_apphelp
15983 wine_fn_config_test dlls/apphelp/tests apphelp_test
15984 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15985 wine_fn_config_dll atl enable_atl implib
15986 wine_fn_config_test dlls/atl/tests atl_test
15987 wine_fn_config_dll atl100 enable_atl100 implib
15988 wine_fn_config_test dlls/atl100/tests atl100_test
15989 wine_fn_config_dll atl110 enable_atl110
15990 wine_fn_config_dll atl80 enable_atl80 implib
15991 wine_fn_config_test dlls/atl80/tests atl80_test
15992 wine_fn_config_dll authz enable_authz
15993 wine_fn_config_dll avicap32 enable_avicap32 implib
15994 wine_fn_config_dll avifil32 enable_avifil32 implib,po
15995 wine_fn_config_test dlls/avifil32/tests avifil32_test
15996 wine_fn_config_dll avifile.dll16 enable_win16
15997 wine_fn_config_dll avrt enable_avrt implib
15998 wine_fn_config_dll bcrypt enable_bcrypt
15999 wine_fn_config_dll browseui enable_browseui po
16000 wine_fn_config_test dlls/browseui/tests browseui_test
16001 wine_fn_config_dll cabinet enable_cabinet implib
16002 wine_fn_config_test dlls/cabinet/tests cabinet_test
16003 wine_fn_config_dll capi2032 enable_capi2032 implib
16004 wine_fn_config_dll cards enable_cards implib
16005 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16006 wine_fn_config_dll clusapi enable_clusapi implib
16007 wine_fn_config_dll comcat enable_comcat
16008 wine_fn_config_test dlls/comcat/tests comcat_test
16009 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16010 wine_fn_config_test dlls/comctl32/tests comctl32_test
16011 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
16012 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16013 wine_fn_config_dll comm.drv16 enable_win16
16014 wine_fn_config_dll commdlg.dll16 enable_win16
16015 wine_fn_config_dll compobj.dll16 enable_win16
16016 wine_fn_config_dll compstui enable_compstui implib
16017 wine_fn_config_dll comsvcs enable_comsvcs implib
16018 wine_fn_config_dll credui enable_credui implib,po
16019 wine_fn_config_test dlls/credui/tests credui_test
16020 wine_fn_config_dll crtdll enable_crtdll implib
16021 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16022 wine_fn_config_test dlls/crypt32/tests crypt32_test
16023 wine_fn_config_dll cryptdlg enable_cryptdlg po
16024 wine_fn_config_dll cryptdll enable_cryptdll implib
16025 wine_fn_config_dll cryptnet enable_cryptnet implib
16026 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16027 wine_fn_config_dll cryptui enable_cryptui implib,po
16028 wine_fn_config_test dlls/cryptui/tests cryptui_test
16029 wine_fn_config_dll ctapi32 enable_ctapi32
16030 wine_fn_config_dll ctl3d.dll16 enable_win16
16031 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16032 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16033 wine_fn_config_dll d3d10 enable_d3d10 implib
16034 wine_fn_config_test dlls/d3d10/tests d3d10_test
16035 wine_fn_config_dll d3d10core enable_d3d10core implib
16036 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16037 wine_fn_config_dll d3d11 enable_d3d11
16038 wine_fn_config_dll d3d8 enable_d3d8 implib
16039 wine_fn_config_test dlls/d3d8/tests d3d8_test
16040 wine_fn_config_dll d3d9 enable_d3d9 implib
16041 wine_fn_config_test dlls/d3d9/tests d3d9_test
16042 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16043 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16044 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16045 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16046 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16047 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16048 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16049 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16050 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16051 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16052 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16053 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16054 wine_fn_config_dll d3dim enable_d3dim implib
16055 wine_fn_config_dll d3drm enable_d3drm implib
16056 wine_fn_config_test dlls/d3drm/tests d3drm_test
16057 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16058 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16059 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16060 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16061 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16062 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16063 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16064 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16065 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16066 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16067 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16068 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16069 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16070 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16071 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16072 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16073 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16074 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16075 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16076 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16077 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16078 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16079 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16080 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16081 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16082 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16083 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16084 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16085 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16086 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16087 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16088 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16089 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16090 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16091 wine_fn_config_dll d3dxof enable_d3dxof implib
16092 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16093 wine_fn_config_dll dbgeng enable_dbgeng implib
16094 wine_fn_config_dll dbghelp enable_dbghelp implib
16095 wine_fn_config_dll dciman32 enable_dciman32 implib
16096 wine_fn_config_dll ddeml.dll16 enable_win16
16097 wine_fn_config_dll ddraw enable_ddraw implib
16098 wine_fn_config_test dlls/ddraw/tests ddraw_test
16099 wine_fn_config_dll ddrawex enable_ddrawex
16100 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16101 wine_fn_config_dll devenum enable_devenum po
16102 wine_fn_config_test dlls/devenum/tests devenum_test
16103 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16104 wine_fn_config_dll difxapi enable_difxapi
16105 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
16106 wine_fn_config_test dlls/dinput/tests dinput_test
16107 wine_fn_config_dll dinput8 enable_dinput8 implib
16108 wine_fn_config_test dlls/dinput8/tests dinput8_test
16109 wine_fn_config_dll dispdib.dll16 enable_win16
16110 wine_fn_config_dll dispex enable_dispex
16111 wine_fn_config_test dlls/dispex/tests dispex_test
16112 wine_fn_config_dll display.drv16 enable_win16
16113 wine_fn_config_dll dmband enable_dmband
16114 wine_fn_config_test dlls/dmband/tests dmband_test
16115 wine_fn_config_dll dmcompos enable_dmcompos
16116 wine_fn_config_dll dmime enable_dmime
16117 wine_fn_config_test dlls/dmime/tests dmime_test
16118 wine_fn_config_dll dmloader enable_dmloader
16119 wine_fn_config_test dlls/dmloader/tests dmloader_test
16120 wine_fn_config_dll dmscript enable_dmscript
16121 wine_fn_config_dll dmstyle enable_dmstyle
16122 wine_fn_config_dll dmsynth enable_dmsynth
16123 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16124 wine_fn_config_dll dmusic enable_dmusic
16125 wine_fn_config_test dlls/dmusic/tests dmusic_test
16126 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16127 wine_fn_config_dll dnsapi enable_dnsapi implib
16128 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16129 wine_fn_config_dll dplay enable_dplay implib
16130 wine_fn_config_dll dplayx enable_dplayx implib
16131 wine_fn_config_test dlls/dplayx/tests dplayx_test
16132 wine_fn_config_dll dpnaddr enable_dpnaddr
16133 wine_fn_config_dll dpnet enable_dpnet implib
16134 wine_fn_config_test dlls/dpnet/tests dpnet_test
16135 wine_fn_config_dll dpnhpast enable_dpnhpast
16136 wine_fn_config_dll dpnlobby enable_dpnlobby
16137 wine_fn_config_dll dpwsockx enable_dpwsockx
16138 wine_fn_config_dll drmclien enable_drmclien
16139 wine_fn_config_dll dsound enable_dsound implib
16140 wine_fn_config_test dlls/dsound/tests dsound_test
16141 wine_fn_config_dll dssenh enable_dssenh
16142 wine_fn_config_test dlls/dssenh/tests dssenh_test
16143 wine_fn_config_dll dswave enable_dswave
16144 wine_fn_config_dll dwmapi enable_dwmapi implib
16145 wine_fn_config_dll dwrite enable_dwrite implib
16146 wine_fn_config_test dlls/dwrite/tests dwrite_test
16147 wine_fn_config_dll dxdiagn enable_dxdiagn po
16148 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16149 wine_fn_config_lib dxerr8
16150 wine_fn_config_lib dxerr9
16151 wine_fn_config_dll dxgi enable_dxgi implib
16152 wine_fn_config_test dlls/dxgi/tests dxgi_test
16153 wine_fn_config_lib dxguid
16154 wine_fn_config_dll explorerframe enable_explorerframe
16155 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16156 wine_fn_config_dll faultrep enable_faultrep implib
16157 wine_fn_config_test dlls/faultrep/tests faultrep_test
16158 wine_fn_config_dll fltlib enable_fltlib
16159 wine_fn_config_dll fusion enable_fusion
16160 wine_fn_config_test dlls/fusion/tests fusion_test
16161 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16162 wine_fn_config_dll gameux enable_gameux
16163 wine_fn_config_test dlls/gameux/tests gameux_test
16164 wine_fn_config_dll gdi.exe16 enable_win16
16165 wine_fn_config_dll gdi32 enable_gdi32 implib,po
16166 wine_fn_config_test dlls/gdi32/tests gdi32_test
16167 wine_fn_config_dll gdiplus enable_gdiplus implib
16168 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16169 wine_fn_config_dll glu32 enable_glu32 implib
16170 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16171 wine_fn_config_dll gpkcsp enable_gpkcsp
16172 wine_fn_config_dll hal enable_hal
16173 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib,po htmlhelp
16174 wine_fn_config_dll hid enable_hid implib
16175 wine_fn_config_dll hlink enable_hlink implib
16176 wine_fn_config_test dlls/hlink/tests hlink_test
16177 wine_fn_config_dll hnetcfg enable_hnetcfg
16178 wine_fn_config_dll httpapi enable_httpapi
16179 wine_fn_config_dll iccvid enable_iccvid po
16180 wine_fn_config_dll icmp enable_icmp
16181 wine_fn_config_dll ieframe enable_ieframe implib,po
16182 wine_fn_config_test dlls/ieframe/tests ieframe_test
16183 wine_fn_config_dll ifsmgr.vxd enable_win16
16184 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16185 wine_fn_config_dll imagehlp enable_imagehlp implib
16186 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16187 wine_fn_config_dll imm.dll16 enable_win16
16188 wine_fn_config_dll imm32 enable_imm32 implib
16189 wine_fn_config_test dlls/imm32/tests imm32_test
16190 wine_fn_config_dll inetcomm enable_inetcomm implib
16191 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16192 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16193 wine_fn_config_dll inetmib1 enable_inetmib1
16194 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16195 wine_fn_config_dll infosoft enable_infosoft
16196 wine_fn_config_test dlls/infosoft/tests infosoft_test
16197 wine_fn_config_dll initpki enable_initpki
16198 wine_fn_config_dll inkobj enable_inkobj
16199 wine_fn_config_dll inseng enable_inseng
16200 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16201 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16202 wine_fn_config_dll itircl enable_itircl
16203 wine_fn_config_dll itss enable_itss
16204 wine_fn_config_test dlls/itss/tests itss_test
16205 wine_fn_config_dll joy.cpl enable_joy_cpl po
16206 wine_fn_config_dll jscript enable_jscript po
16207 wine_fn_config_test dlls/jscript/tests jscript_test
16208 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
16209 wine_fn_config_test dlls/kernel32/tests kernel32_test
16210 wine_fn_config_dll keyboard.drv16 enable_win16
16211 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16212 wine_fn_config_dll ktmw32 enable_ktmw32
16213 wine_fn_config_dll loadperf enable_loadperf implib
16214 wine_fn_config_dll localspl enable_localspl po
16215 wine_fn_config_test dlls/localspl/tests localspl_test
16216 wine_fn_config_dll localui enable_localui po
16217 wine_fn_config_test dlls/localui/tests localui_test
16218 wine_fn_config_dll lz32 enable_lz32 implib
16219 wine_fn_config_test dlls/lz32/tests lz32_test
16220 wine_fn_config_dll lzexpand.dll16 enable_win16
16221 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16222 wine_fn_config_test dlls/mapi32/tests mapi32_test
16223 wine_fn_config_dll mapistub enable_mapistub
16224 wine_fn_config_dll mciavi32 enable_mciavi32
16225 wine_fn_config_dll mcicda enable_mcicda
16226 wine_fn_config_dll mciqtz32 enable_mciqtz32
16227 wine_fn_config_dll mciseq enable_mciseq
16228 wine_fn_config_dll mciwave enable_mciwave
16229 wine_fn_config_dll mgmtapi enable_mgmtapi
16230 wine_fn_config_dll midimap enable_midimap
16231 wine_fn_config_dll mlang enable_mlang implib
16232 wine_fn_config_test dlls/mlang/tests mlang_test
16233 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16234 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16235 wine_fn_config_dll mmdevapi enable_mmdevapi
16236 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16237 wine_fn_config_dll mmdevldr.vxd enable_win16
16238 wine_fn_config_dll mmsystem.dll16 enable_win16
16239 wine_fn_config_dll monodebg.vxd enable_win16
16240 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16241 wine_fn_config_dll mouse.drv16 enable_win16
16242 wine_fn_config_dll mpr enable_mpr implib,po
16243 wine_fn_config_test dlls/mpr/tests mpr_test
16244 wine_fn_config_dll mprapi enable_mprapi implib
16245 wine_fn_config_dll msacm.dll16 enable_win16
16246 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16247 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16248 wine_fn_config_test dlls/msacm32/tests msacm32_test
16249 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16250 wine_fn_config_dll mscat32 enable_mscat32
16251 wine_fn_config_dll mscms enable_mscms implib
16252 wine_fn_config_test dlls/mscms/tests mscms_test
16253 wine_fn_config_dll mscoree enable_mscoree
16254 wine_fn_config_test dlls/mscoree/tests mscoree_test
16255 wine_fn_config_dll msctf enable_msctf
16256 wine_fn_config_test dlls/msctf/tests msctf_test
16257 wine_fn_config_dll msdaps enable_msdaps
16258 wine_fn_config_dll msdmo enable_msdmo implib
16259 wine_fn_config_dll msftedit enable_msftedit
16260 wine_fn_config_dll msg711.acm enable_msg711_acm
16261 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16262 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16263 wine_fn_config_dll mshtml enable_mshtml implib,po
16264 wine_fn_config_test dlls/mshtml/tests mshtml_test
16265 wine_fn_config_dll msi enable_msi implib,po
16266 wine_fn_config_test dlls/msi/tests msi_test
16267 wine_fn_config_dll msident enable_msident
16268 wine_fn_config_dll msimg32 enable_msimg32 implib
16269 wine_fn_config_dll msimsg enable_msimsg
16270 wine_fn_config_dll msimtf enable_msimtf
16271 wine_fn_config_dll msisip enable_msisip
16272 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16273 wine_fn_config_dll msls31 enable_msls31
16274 wine_fn_config_dll msnet32 enable_msnet32
16275 wine_fn_config_dll mspatcha enable_mspatcha
16276 wine_fn_config_dll msrle32 enable_msrle32 po
16277 wine_fn_config_dll mssign32 enable_mssign32
16278 wine_fn_config_dll mssip32 enable_mssip32
16279 wine_fn_config_dll mstask enable_mstask
16280 wine_fn_config_test dlls/mstask/tests mstask_test
16281 wine_fn_config_dll msvcirt enable_msvcirt
16282 wine_fn_config_dll msvcm80 enable_msvcm80
16283 wine_fn_config_dll msvcm90 enable_msvcm90
16284 wine_fn_config_dll msvcp100 enable_msvcp100
16285 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16286 wine_fn_config_dll msvcp110 enable_msvcp110
16287 wine_fn_config_dll msvcp60 enable_msvcp60
16288 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16289 wine_fn_config_dll msvcp70 enable_msvcp70
16290 wine_fn_config_dll msvcp71 enable_msvcp71
16291 wine_fn_config_dll msvcp80 enable_msvcp80
16292 wine_fn_config_dll msvcp90 enable_msvcp90
16293 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16294 wine_fn_config_dll msvcr100 enable_msvcr100
16295 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16296 wine_fn_config_dll msvcr110 enable_msvcr110
16297 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16298 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16299 wine_fn_config_dll msvcr80 enable_msvcr80
16300 wine_fn_config_dll msvcr90 enable_msvcr90
16301 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16302 wine_fn_config_dll msvcrt enable_msvcrt implib
16303 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16304 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16305 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16306 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16307 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16308 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16309 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16310 wine_fn_config_dll msvidc32 enable_msvidc32 po
16311 wine_fn_config_dll msvideo.dll16 enable_win16
16312 wine_fn_config_dll mswsock enable_mswsock implib
16313 wine_fn_config_dll msxml enable_msxml
16314 wine_fn_config_dll msxml2 enable_msxml2
16315 wine_fn_config_dll msxml3 enable_msxml3
16316 wine_fn_config_test dlls/msxml3/tests msxml3_test
16317 wine_fn_config_dll msxml4 enable_msxml4
16318 wine_fn_config_dll msxml6 enable_msxml6
16319 wine_fn_config_dll nddeapi enable_nddeapi implib
16320 wine_fn_config_dll netapi32 enable_netapi32 implib
16321 wine_fn_config_test dlls/netapi32/tests netapi32_test
16322 wine_fn_config_dll netcfgx enable_netcfgx
16323 wine_fn_config_dll newdev enable_newdev implib
16324 wine_fn_config_dll normaliz enable_normaliz implib
16325 wine_fn_config_dll npmshtml enable_npmshtml
16326 wine_fn_config_dll ntdll enable_ntdll implib
16327 wine_fn_config_test dlls/ntdll/tests ntdll_test
16328 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16329 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
16330 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16331 wine_fn_config_dll ntprint enable_ntprint
16332 wine_fn_config_test dlls/ntprint/tests ntprint_test
16333 wine_fn_config_dll objsel enable_objsel
16334 wine_fn_config_dll odbc32 enable_odbc32 implib
16335 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16336 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
16337 wine_fn_config_dll odbccu32 enable_odbccu32
16338 wine_fn_config_dll ole2.dll16 enable_win16
16339 wine_fn_config_dll ole2conv.dll16 enable_win16
16340 wine_fn_config_dll ole2disp.dll16 enable_win16
16341 wine_fn_config_dll ole2nls.dll16 enable_win16
16342 wine_fn_config_dll ole2prox.dll16 enable_win16
16343 wine_fn_config_dll ole2thk.dll16 enable_win16
16344 wine_fn_config_dll ole32 enable_ole32 implib
16345 wine_fn_config_test dlls/ole32/tests ole32_test
16346 wine_fn_config_dll oleacc enable_oleacc implib,po
16347 wine_fn_config_test dlls/oleacc/tests oleacc_test
16348 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
16349 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
16350 wine_fn_config_dll olecli.dll16 enable_win16
16351 wine_fn_config_dll olecli32 enable_olecli32 implib
16352 wine_fn_config_dll oledb32 enable_oledb32
16353 wine_fn_config_test dlls/oledb32/tests oledb32_test
16354 wine_fn_config_dll oledlg enable_oledlg implib,po
16355 wine_fn_config_dll olepro32 enable_olepro32 implib
16356 wine_fn_config_dll olesvr.dll16 enable_win16
16357 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16358 wine_fn_config_dll olethk32 enable_olethk32
16359 wine_fn_config_dll openal32 enable_openal32
16360 wine_fn_config_dll opencl enable_opencl
16361 wine_fn_config_dll opengl32 enable_opengl32 implib
16362 wine_fn_config_test dlls/opengl32/tests opengl32_test
16363 wine_fn_config_dll pdh enable_pdh implib
16364 wine_fn_config_test dlls/pdh/tests pdh_test
16365 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16366 wine_fn_config_dll pidgen enable_pidgen
16367 wine_fn_config_dll powrprof enable_powrprof implib
16368 wine_fn_config_dll printui enable_printui
16369 wine_fn_config_dll propsys enable_propsys implib
16370 wine_fn_config_test dlls/propsys/tests propsys_test
16371 wine_fn_config_dll psapi enable_psapi implib
16372 wine_fn_config_test dlls/psapi/tests psapi_test
16373 wine_fn_config_dll pstorec enable_pstorec
16374 wine_fn_config_dll qcap enable_qcap
16375 wine_fn_config_test dlls/qcap/tests qcap_test
16376 wine_fn_config_dll qedit enable_qedit
16377 wine_fn_config_test dlls/qedit/tests qedit_test
16378 wine_fn_config_dll qmgr enable_qmgr
16379 wine_fn_config_test dlls/qmgr/tests qmgr_test
16380 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16381 wine_fn_config_dll quartz enable_quartz implib
16382 wine_fn_config_test dlls/quartz/tests quartz_test
16383 wine_fn_config_dll query enable_query
16384 wine_fn_config_dll rasapi16.dll16 enable_win16
16385 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16386 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
16387 wine_fn_config_dll rasdlg enable_rasdlg implib
16388 wine_fn_config_dll regapi enable_regapi
16389 wine_fn_config_dll resutils enable_resutils implib
16390 wine_fn_config_dll riched20 enable_riched20 implib
16391 wine_fn_config_test dlls/riched20/tests riched20_test
16392 wine_fn_config_dll riched32 enable_riched32
16393 wine_fn_config_test dlls/riched32/tests riched32_test
16394 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16395 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
16396 wine_fn_config_dll rsabase enable_rsabase
16397 wine_fn_config_dll rsaenh enable_rsaenh implib
16398 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
16399 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16400 wine_fn_config_dll rtutils enable_rtutils implib
16401 wine_fn_config_dll samlib enable_samlib
16402 wine_fn_config_dll sane.ds enable_sane_ds po
16403 wine_fn_config_dll scarddlg enable_scarddlg
16404 wine_fn_config_dll sccbase enable_sccbase
16405 wine_fn_config_dll schannel enable_schannel
16406 wine_fn_config_test dlls/schannel/tests schannel_test
16407 wine_fn_config_dll scrrun enable_scrrun
16408 wine_fn_config_test dlls/scrrun/tests scrrun_test
16409 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16410 wine_fn_config_dll secur32 enable_secur32 implib
16411 wine_fn_config_test dlls/secur32/tests secur32_test
16412 wine_fn_config_dll security enable_security
16413 wine_fn_config_dll sensapi enable_sensapi implib
16414 wine_fn_config_dll serialui enable_serialui implib,po
16415 wine_fn_config_test dlls/serialui/tests serialui_test
16416 wine_fn_config_dll setupapi enable_setupapi implib,po
16417 wine_fn_config_test dlls/setupapi/tests setupapi_test
16418 wine_fn_config_dll setupx.dll16 enable_win16
16419 wine_fn_config_dll sfc enable_sfc implib
16420 wine_fn_config_dll sfc_os enable_sfc_os implib
16421 wine_fn_config_dll shdoclc enable_shdoclc po
16422 wine_fn_config_dll shdocvw enable_shdocvw implib
16423 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
16424 wine_fn_config_dll shell.dll16 enable_win16
16425 wine_fn_config_dll shell32 enable_shell32 implib,po
16426 wine_fn_config_test dlls/shell32/tests shell32_test
16427 wine_fn_config_dll shfolder enable_shfolder implib
16428 wine_fn_config_dll shlwapi enable_shlwapi implib,po
16429 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
16430 wine_fn_config_dll slbcsp enable_slbcsp
16431 wine_fn_config_dll slc enable_slc implib
16432 wine_fn_config_dll snmpapi enable_snmpapi implib
16433 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
16434 wine_fn_config_dll softpub enable_softpub
16435 wine_fn_config_dll sound.drv16 enable_win16
16436 wine_fn_config_dll spoolss enable_spoolss implib
16437 wine_fn_config_test dlls/spoolss/tests spoolss_test
16438 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16439 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16440 wine_fn_config_dll sti enable_sti implib
16441 wine_fn_config_test dlls/sti/tests sti_test
16442 wine_fn_config_dll storage.dll16 enable_win16
16443 wine_fn_config_dll stress.dll16 enable_win16
16444 wine_fn_config_lib strmbase
16445 wine_fn_config_lib strmiids
16446 wine_fn_config_dll svrapi enable_svrapi
16447 wine_fn_config_dll sxs enable_sxs implib
16448 wine_fn_config_test dlls/sxs/tests sxs_test
16449 wine_fn_config_dll system.drv16 enable_win16
16450 wine_fn_config_dll t2embed enable_t2embed
16451 wine_fn_config_dll tapi32 enable_tapi32 implib
16452 wine_fn_config_dll toolhelp.dll16 enable_win16
16453 wine_fn_config_dll traffic enable_traffic
16454 wine_fn_config_dll twain.dll16 enable_win16
16455 wine_fn_config_dll twain_32 enable_twain_32
16456 wine_fn_config_test dlls/twain_32/tests twain_32_test
16457 wine_fn_config_dll typelib.dll16 enable_win16
16458 wine_fn_config_dll unicows enable_unicows implib
16459 wine_fn_config_dll updspapi enable_updspapi
16460 wine_fn_config_dll url enable_url implib
16461 wine_fn_config_dll urlmon enable_urlmon implib,po
16462 wine_fn_config_test dlls/urlmon/tests urlmon_test
16463 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16464 wine_fn_config_dll user.exe16 enable_win16
16465 wine_fn_config_dll user32 enable_user32 implib,po
16466 wine_fn_config_test dlls/user32/tests user32_test
16467 wine_fn_config_dll userenv enable_userenv implib
16468 wine_fn_config_test dlls/userenv/tests userenv_test
16469 wine_fn_config_dll usp10 enable_usp10 implib
16470 wine_fn_config_test dlls/usp10/tests usp10_test
16471 wine_fn_config_lib uuid
16472 wine_fn_config_dll uxtheme enable_uxtheme implib
16473 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
16474 wine_fn_config_dll vbscript enable_vbscript
16475 wine_fn_config_test dlls/vbscript/tests vbscript_test
16476 wine_fn_config_dll vcomp enable_vcomp
16477 wine_fn_config_dll vcomp100 enable_vcomp100
16478 wine_fn_config_dll vcomp90 enable_vcomp90
16479 wine_fn_config_dll vdhcp.vxd enable_win16
16480 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16481 wine_fn_config_dll ver.dll16 enable_win16
16482 wine_fn_config_dll version enable_version implib
16483 wine_fn_config_test dlls/version/tests version_test
16484 wine_fn_config_dll vmm.vxd enable_win16
16485 wine_fn_config_dll vnbt.vxd enable_win16
16486 wine_fn_config_dll vnetbios.vxd enable_win16
16487 wine_fn_config_dll vtdapi.vxd enable_win16
16488 wine_fn_config_dll vwin32.vxd enable_win16
16489 wine_fn_config_dll w32skrnl enable_win16
16490 wine_fn_config_dll w32sys.dll16 enable_win16
16491 wine_fn_config_dll wbemdisp enable_wbemdisp
16492 wine_fn_config_dll wbemprox enable_wbemprox
16493 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
16494 wine_fn_config_dll webservices enable_webservices implib
16495 wine_fn_config_dll wer enable_wer implib
16496 wine_fn_config_test dlls/wer/tests wer_test
16497 wine_fn_config_dll wevtapi enable_wevtapi
16498 wine_fn_config_dll wiaservc enable_wiaservc
16499 wine_fn_config_dll win32s16.dll16 enable_win16
16500 wine_fn_config_dll win87em.dll16 enable_win16
16501 wine_fn_config_dll winaspi.dll16 enable_win16
16502 wine_fn_config_dll windebug.dll16 enable_win16
16503 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16504 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
16505 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16506 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
16507 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16508 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16509 wine_fn_config_lib winecrt0
16510 wine_fn_config_dll wined3d enable_wined3d implib
16511 wine_fn_config_dll winegstreamer enable_winegstreamer
16512 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16513 wine_fn_config_dll winemac.drv enable_winemac_drv
16514 wine_fn_config_dll winemapi enable_winemapi
16515 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16516 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16517 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
16518 wine_fn_config_dll wineps16.drv16 enable_win16
16519 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16520 wine_fn_config_dll winex11.drv enable_winex11_drv
16521 wine_fn_config_dll wing.dll16 enable_win16
16522 wine_fn_config_dll wing32 enable_wing32
16523 wine_fn_config_dll winhttp enable_winhttp implib
16524 wine_fn_config_test dlls/winhttp/tests winhttp_test
16525 wine_fn_config_dll wininet enable_wininet implib,po
16526 wine_fn_config_test dlls/wininet/tests wininet_test
16527 wine_fn_config_dll winmm enable_winmm implib,po
16528 wine_fn_config_test dlls/winmm/tests winmm_test
16529 wine_fn_config_dll winnls.dll16 enable_win16
16530 wine_fn_config_dll winnls32 enable_winnls32 implib
16531 wine_fn_config_dll winscard enable_winscard implib
16532 wine_fn_config_dll winsock.dll16 enable_win16
16533 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
16534 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
16535 wine_fn_config_dll winsta enable_winsta
16536 wine_fn_config_dll wintab.dll16 enable_win16
16537 wine_fn_config_dll wintab32 enable_wintab32 implib
16538 wine_fn_config_test dlls/wintab32/tests wintab32_test
16539 wine_fn_config_dll wintrust enable_wintrust implib
16540 wine_fn_config_test dlls/wintrust/tests wintrust_test
16541 wine_fn_config_dll wlanapi enable_wlanapi
16542 wine_fn_config_dll wldap32 enable_wldap32 implib,po
16543 wine_fn_config_test dlls/wldap32/tests wldap32_test
16544 wine_fn_config_dll wmi enable_wmi
16545 wine_fn_config_dll wmiutils enable_wmiutils
16546 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
16547 wine_fn_config_dll wmvcore enable_wmvcore
16548 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16549 wine_fn_config_dll wow32 enable_win16 implib
16550 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16551 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
16552 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16553 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
16554 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
16555 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
16556 wine_fn_config_dll wsock32 enable_wsock32 implib
16557 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16558 wine_fn_config_dll wuapi enable_wuapi
16559 wine_fn_config_dll wuaueng enable_wuaueng
16560 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16561 wine_fn_config_dll xinput1_1 enable_xinput1_1
16562 wine_fn_config_dll xinput1_2 enable_xinput1_2
16563 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16564 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
16565 wine_fn_config_dll xinput1_4 enable_xinput1_4
16566 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16567 wine_fn_config_dll xmllite enable_xmllite
16568 wine_fn_config_test dlls/xmllite/tests xmllite_test
16569 wine_fn_config_dll xolehlp enable_xolehlp
16570 wine_fn_config_dll xpsprint enable_xpsprint
16571 wine_fn_config_dll xpssvcs enable_xpssvcs
16572 wine_fn_config_makefile documentation enable_documentation
16573 wine_fn_config_makefile fonts enable_fonts install-lib
16574 wine_fn_config_makefile include enable_include install-dev
16575 wine_fn_config_makefile libs/port enable_libs_port
16576 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
16577 wine_fn_config_makefile libs/wpp enable_libs_wpp
16578 wine_fn_config_makefile loader enable_loader install-lib,manpage
16579 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
16580 wine_fn_config_program attrib enable_attrib install,po
16581 wine_fn_config_program cabarc enable_cabarc install
16582 wine_fn_config_program cacls enable_cacls install
16583 wine_fn_config_program clock enable_clock install,po
16584 wine_fn_config_program cmd enable_cmd install,po
16585 wine_fn_config_test programs/cmd/tests cmd.exe_test
16586 wine_fn_config_program conhost enable_conhost install
16587 wine_fn_config_program control enable_control install
16588 wine_fn_config_program cscript enable_cscript install
16589 wine_fn_config_program dxdiag enable_dxdiag install,po
16590 wine_fn_config_program eject enable_eject install
16591 wine_fn_config_program expand enable_expand install
16592 wine_fn_config_program explorer enable_explorer install,po
16593 wine_fn_config_program extrac32 enable_extrac32 install
16594 wine_fn_config_program findstr enable_findstr install
16595 wine_fn_config_program hh enable_hh install
16596 wine_fn_config_program hostname enable_hostname install,po
16597 wine_fn_config_program icinfo enable_icinfo install
16598 wine_fn_config_program iexplore enable_iexplore install
16599 wine_fn_config_program ipconfig enable_ipconfig install,po
16600 wine_fn_config_program lodctr enable_lodctr install
16601 wine_fn_config_program mofcomp enable_mofcomp install
16602 wine_fn_config_program mshta enable_mshta install
16603 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
16604 wine_fn_config_program net enable_net install,po
16605 wine_fn_config_program netsh enable_netsh install
16606 wine_fn_config_program netstat enable_netstat install,po
16607 wine_fn_config_program ngen enable_ngen install
16608 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
16609 wine_fn_config_program oleview enable_oleview install,po
16610 wine_fn_config_program ping enable_ping install
16611 wine_fn_config_program plugplay enable_plugplay install
16612 wine_fn_config_program presentationfontcache enable_presentationfontcache install
16613 wine_fn_config_program progman enable_progman install,po
16614 wine_fn_config_program reg enable_reg install,po
16615 wine_fn_config_program regasm enable_regasm install
16616 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
16617 wine_fn_config_test programs/regedit/tests regedit.exe_test
16618 wine_fn_config_program regsvcs enable_regsvcs install
16619 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
16620 wine_fn_config_program rpcss enable_rpcss install
16621 wine_fn_config_program rundll.exe16 enable_win16 install
16622 wine_fn_config_program rundll32 enable_rundll32 install
16623 wine_fn_config_program sc enable_sc install
16624 wine_fn_config_program schtasks enable_schtasks install
16625 wine_fn_config_program secedit enable_secedit install
16626 wine_fn_config_program servicemodelreg enable_servicemodelreg install
16627 wine_fn_config_program services enable_services install
16628 wine_fn_config_test programs/services/tests services.exe_test
16629 wine_fn_config_program spoolsv enable_spoolsv install
16630 wine_fn_config_program start enable_start install,po
16631 wine_fn_config_program svchost enable_svchost install
16632 wine_fn_config_program taskkill enable_taskkill install,po
16633 wine_fn_config_program tasklist enable_tasklist install
16634 wine_fn_config_program taskmgr enable_taskmgr install,po
16635 wine_fn_config_program termsv enable_termsv install
16636 wine_fn_config_program uninstaller enable_uninstaller install,po
16637 wine_fn_config_program unlodctr enable_unlodctr install
16638 wine_fn_config_program view enable_view install,po
16639 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
16640 wine_fn_config_program winebrowser enable_winebrowser install
16641 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
16642 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
16643 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
16644 wine_fn_config_program winedevice enable_winedevice install
16645 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
16646 wine_fn_config_program winemenubuilder enable_winemenubuilder install
16647 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
16648 wine_fn_config_program winemsibuilder enable_winemsibuilder install
16649 wine_fn_config_program winepath enable_winepath install,installbin,manpage
16650 wine_fn_config_program winetest enable_winetest
16651 wine_fn_config_program winevdm enable_win16 install
16652 wine_fn_config_program winhelp.exe16 enable_win16 install
16653 wine_fn_config_program winhlp32 enable_winhlp32 install,po
16654 wine_fn_config_program winoldap.mod16 enable_win16 install
16655 wine_fn_config_program winver enable_winver install
16656 wine_fn_config_program wmic enable_wmic install,po
16657 wine_fn_config_program wordpad enable_wordpad install,po
16658 wine_fn_config_program write enable_write install,po
16659 wine_fn_config_program wscript enable_wscript install
16660 wine_fn_config_test programs/wscript/tests wscript.exe_test
16661 wine_fn_config_program wusa enable_wusa install
16662 wine_fn_config_program xcopy enable_xcopy install,po
16663 wine_fn_config_makefile server enable_server install-lib,manpage
16664 wine_fn_config_tool tools install-dev,install-lib,manpage
16665 wine_fn_config_tool tools/widl install-dev,manpage
16666 wine_fn_config_tool tools/winebuild install-dev,manpage
16667 wine_fn_config_tool tools/winedump install-dev,manpage
16668 wine_fn_config_tool tools/winegcc install-dev,manpage
16669 wine_fn_config_tool tools/wmc install-dev,manpage
16670 wine_fn_config_tool tools/wrc install-dev,manpage
16672 LINGUAS="\
16673 ar \
16674 bg \
16675 ca \
16676 cs \
16677 da \
16678 de \
16679 el \
16680 en \
16681 en_US \
16682 eo \
16683 es \
16684 fa \
16685 fi \
16686 fr \
16687 he \
16688 hi \
16689 hr \
16690 hu \
16691 it \
16692 ja \
16693 ko \
16694 lt \
16695 ml \
16696 nb_NO \
16697 nl \
16698 or \
16699 pa \
16700 pl \
16701 pt_BR \
16702 pt_PT \
16703 rm \
16704 ro \
16705 ru \
16706 sk \
16707 sl \
16708 sr_RS@cyrillic \
16709 sr_RS@latin \
16710 sv \
16711 te \
16712 th \
16713 tr \
16714 uk \
16715 wa \
16716 zh_CN \
16717 zh_TW"
16721 ac_config_commands="$ac_config_commands Makefile"
16724 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16728 if test "x$enable_maintainer_mode" = xyes
16729 then
16730 wine_fn_append_rule "\$(srcdir)/configure: configure.ac aclocal.m4
16731 cd \$(srcdir) && autoconf --warnings=all
16732 \$(srcdir)/include/config.h.in: include/stamp-h.in
16733 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16734 cd \$(srcdir) && autoheader --warnings=all
16735 @echo timestamp > \$@"
16738 if test "x$with_gettextpo" = xyes
16739 then
16740 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16741 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
16742 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16743 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16744 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16745 msgcat -o \$@ \$(ALL_POT_FILES)"
16748 if test "$MSGFMT" != false
16749 then
16750 PORCFLAGS="--po-dir=\$(top_builddir)/po"
16752 wine_fn_append_rule "__builddeps__: \$(ALL_MO_FILES)"
16753 else
16754 LINGUAS=
16757 if test "x$enable_tools" != xno
16758 then
16759 wine_fn_append_rule "\$(MAKEDEP): tools/Makefile
16760 clean:: __clean__
16761 \$(RM) tools/makedep\$(EXEEXT)"
16764 if test -n "$with_wine64"
16765 then
16766 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16767 fonts server tools:
16768 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16769 $with_wine64/loader/wine:
16770 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16771 $with_wine64/loader/wine-preloader:
16772 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16773 clean::
16774 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16777 cat >confcache <<\_ACEOF
16778 # This file is a shell script that caches the results of configure
16779 # tests run on this system so they can be shared between configure
16780 # scripts and configure runs, see configure's option --config-cache.
16781 # It is not useful on other systems. If it contains results you don't
16782 # want to keep, you may remove or edit it.
16784 # config.status only pays attention to the cache file if you give it
16785 # the --recheck option to rerun configure.
16787 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16788 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16789 # following values.
16791 _ACEOF
16793 # The following way of writing the cache mishandles newlines in values,
16794 # but we know of no workaround that is simple, portable, and efficient.
16795 # So, we kill variables containing newlines.
16796 # Ultrix sh set writes to stderr and can't be redirected directly,
16797 # and sets the high bit in the cache file unless we assign to the vars.
16799 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16800 eval ac_val=\$$ac_var
16801 case $ac_val in #(
16802 *${as_nl}*)
16803 case $ac_var in #(
16804 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16805 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16806 esac
16807 case $ac_var in #(
16808 _ | IFS | as_nl) ;; #(
16809 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16810 *) { eval $ac_var=; unset $ac_var;} ;;
16811 esac ;;
16812 esac
16813 done
16815 (set) 2>&1 |
16816 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16817 *${as_nl}ac_space=\ *)
16818 # `set' does not quote correctly, so add quotes: double-quote
16819 # substitution turns \\\\ into \\, and sed turns \\ into \.
16820 sed -n \
16821 "s/'/'\\\\''/g;
16822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16823 ;; #(
16825 # `set' quotes correctly as required by POSIX, so do not add quotes.
16826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16828 esac |
16829 sort
16831 sed '
16832 /^ac_cv_env_/b end
16833 t clear
16834 :clear
16835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16836 t end
16837 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16838 :end' >>confcache
16839 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16840 if test -w "$cache_file"; then
16841 if test "x$cache_file" != "x/dev/null"; then
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16843 $as_echo "$as_me: updating cache $cache_file" >&6;}
16844 if test ! -f "$cache_file" || test -h "$cache_file"; then
16845 cat confcache >"$cache_file"
16846 else
16847 case $cache_file in #(
16848 */* | ?:*)
16849 mv -f confcache "$cache_file"$$ &&
16850 mv -f "$cache_file"$$ "$cache_file" ;; #(
16852 mv -f confcache "$cache_file" ;;
16853 esac
16856 else
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16858 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16861 rm -f confcache
16863 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16864 # Let make expand exec_prefix.
16865 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16867 DEFS=-DHAVE_CONFIG_H
16869 ac_libobjs=
16870 ac_ltlibobjs=
16872 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16873 # 1. Remove the extension, and $U if already installed.
16874 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16875 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16876 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16877 # will be set to the directory where LIBOBJS objects are built.
16878 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16879 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16880 done
16881 LIBOBJS=$ac_libobjs
16883 LTLIBOBJS=$ac_ltlibobjs
16887 : "${CONFIG_STATUS=./config.status}"
16888 ac_write_fail=0
16889 ac_clean_files_save=$ac_clean_files
16890 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16892 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16893 as_write_fail=0
16894 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16895 #! $SHELL
16896 # Generated by $as_me.
16897 # Run this file to recreate the current configuration.
16898 # Compiler output produced by configure, useful for debugging
16899 # configure, is in config.log if it exists.
16901 debug=false
16902 ac_cs_recheck=false
16903 ac_cs_silent=false
16905 SHELL=\${CONFIG_SHELL-$SHELL}
16906 export SHELL
16907 _ASEOF
16908 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16909 ## -------------------- ##
16910 ## M4sh Initialization. ##
16911 ## -------------------- ##
16913 # Be more Bourne compatible
16914 DUALCASE=1; export DUALCASE # for MKS sh
16915 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16916 emulate sh
16917 NULLCMD=:
16918 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16919 # is contrary to our usage. Disable this feature.
16920 alias -g '${1+"$@"}'='"$@"'
16921 setopt NO_GLOB_SUBST
16922 else
16923 case `(set -o) 2>/dev/null` in #(
16924 *posix*) :
16925 set -o posix ;; #(
16926 *) :
16928 esac
16932 as_nl='
16934 export as_nl
16935 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16936 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16937 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16938 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16939 # Prefer a ksh shell builtin over an external printf program on Solaris,
16940 # but without wasting forks for bash or zsh.
16941 if test -z "$BASH_VERSION$ZSH_VERSION" \
16942 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16943 as_echo='print -r --'
16944 as_echo_n='print -rn --'
16945 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16946 as_echo='printf %s\n'
16947 as_echo_n='printf %s'
16948 else
16949 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16950 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16951 as_echo_n='/usr/ucb/echo -n'
16952 else
16953 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16954 as_echo_n_body='eval
16955 arg=$1;
16956 case $arg in #(
16957 *"$as_nl"*)
16958 expr "X$arg" : "X\\(.*\\)$as_nl";
16959 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16960 esac;
16961 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16963 export as_echo_n_body
16964 as_echo_n='sh -c $as_echo_n_body as_echo'
16966 export as_echo_body
16967 as_echo='sh -c $as_echo_body as_echo'
16970 # The user is always right.
16971 if test "${PATH_SEPARATOR+set}" != set; then
16972 PATH_SEPARATOR=:
16973 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16974 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16975 PATH_SEPARATOR=';'
16980 # IFS
16981 # We need space, tab and new line, in precisely that order. Quoting is
16982 # there to prevent editors from complaining about space-tab.
16983 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16984 # splitting by setting IFS to empty value.)
16985 IFS=" "" $as_nl"
16987 # Find who we are. Look in the path if we contain no directory separator.
16988 as_myself=
16989 case $0 in #((
16990 *[\\/]* ) as_myself=$0 ;;
16991 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16992 for as_dir in $PATH
16994 IFS=$as_save_IFS
16995 test -z "$as_dir" && as_dir=.
16996 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16997 done
16998 IFS=$as_save_IFS
17001 esac
17002 # We did not find ourselves, most probably we were run as `sh COMMAND'
17003 # in which case we are not to be found in the path.
17004 if test "x$as_myself" = x; then
17005 as_myself=$0
17007 if test ! -f "$as_myself"; then
17008 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17009 exit 1
17012 # Unset variables that we do not need and which cause bugs (e.g. in
17013 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17014 # suppresses any "Segmentation fault" message there. '((' could
17015 # trigger a bug in pdksh 5.2.14.
17016 for as_var in BASH_ENV ENV MAIL MAILPATH
17017 do eval test x\${$as_var+set} = xset \
17018 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17019 done
17020 PS1='$ '
17021 PS2='> '
17022 PS4='+ '
17024 # NLS nuisances.
17025 LC_ALL=C
17026 export LC_ALL
17027 LANGUAGE=C
17028 export LANGUAGE
17030 # CDPATH.
17031 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17034 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17035 # ----------------------------------------
17036 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17037 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17038 # script with STATUS, using 1 if that was 0.
17039 as_fn_error ()
17041 as_status=$1; test $as_status -eq 0 && as_status=1
17042 if test "$4"; then
17043 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17044 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17046 $as_echo "$as_me: error: $2" >&2
17047 as_fn_exit $as_status
17048 } # as_fn_error
17051 # as_fn_set_status STATUS
17052 # -----------------------
17053 # Set $? to STATUS, without forking.
17054 as_fn_set_status ()
17056 return $1
17057 } # as_fn_set_status
17059 # as_fn_exit STATUS
17060 # -----------------
17061 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17062 as_fn_exit ()
17064 set +e
17065 as_fn_set_status $1
17066 exit $1
17067 } # as_fn_exit
17069 # as_fn_unset VAR
17070 # ---------------
17071 # Portably unset VAR.
17072 as_fn_unset ()
17074 { eval $1=; unset $1;}
17076 as_unset=as_fn_unset
17077 # as_fn_append VAR VALUE
17078 # ----------------------
17079 # Append the text in VALUE to the end of the definition contained in VAR. Take
17080 # advantage of any shell optimizations that allow amortized linear growth over
17081 # repeated appends, instead of the typical quadratic growth present in naive
17082 # implementations.
17083 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17084 eval 'as_fn_append ()
17086 eval $1+=\$2
17088 else
17089 as_fn_append ()
17091 eval $1=\$$1\$2
17093 fi # as_fn_append
17095 # as_fn_arith ARG...
17096 # ------------------
17097 # Perform arithmetic evaluation on the ARGs, and store the result in the
17098 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17099 # must be portable across $(()) and expr.
17100 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17101 eval 'as_fn_arith ()
17103 as_val=$(( $* ))
17105 else
17106 as_fn_arith ()
17108 as_val=`expr "$@" || test $? -eq 1`
17110 fi # as_fn_arith
17113 if expr a : '\(a\)' >/dev/null 2>&1 &&
17114 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17115 as_expr=expr
17116 else
17117 as_expr=false
17120 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17121 as_basename=basename
17122 else
17123 as_basename=false
17126 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17127 as_dirname=dirname
17128 else
17129 as_dirname=false
17132 as_me=`$as_basename -- "$0" ||
17133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17134 X"$0" : 'X\(//\)$' \| \
17135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17136 $as_echo X/"$0" |
17137 sed '/^.*\/\([^/][^/]*\)\/*$/{
17138 s//\1/
17141 /^X\/\(\/\/\)$/{
17142 s//\1/
17145 /^X\/\(\/\).*/{
17146 s//\1/
17149 s/.*/./; q'`
17151 # Avoid depending upon Character Ranges.
17152 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17153 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17154 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17155 as_cr_digits='0123456789'
17156 as_cr_alnum=$as_cr_Letters$as_cr_digits
17158 ECHO_C= ECHO_N= ECHO_T=
17159 case `echo -n x` in #(((((
17160 -n*)
17161 case `echo 'xy\c'` in
17162 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17163 xy) ECHO_C='\c';;
17164 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17165 ECHO_T=' ';;
17166 esac;;
17168 ECHO_N='-n';;
17169 esac
17171 rm -f conf$$ conf$$.exe conf$$.file
17172 if test -d conf$$.dir; then
17173 rm -f conf$$.dir/conf$$.file
17174 else
17175 rm -f conf$$.dir
17176 mkdir conf$$.dir 2>/dev/null
17178 if (echo >conf$$.file) 2>/dev/null; then
17179 if ln -s conf$$.file conf$$ 2>/dev/null; then
17180 as_ln_s='ln -s'
17181 # ... but there are two gotchas:
17182 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17183 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17184 # In both cases, we have to default to `cp -pR'.
17185 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17186 as_ln_s='cp -pR'
17187 elif ln conf$$.file conf$$ 2>/dev/null; then
17188 as_ln_s=ln
17189 else
17190 as_ln_s='cp -pR'
17192 else
17193 as_ln_s='cp -pR'
17195 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17196 rmdir conf$$.dir 2>/dev/null
17199 # as_fn_mkdir_p
17200 # -------------
17201 # Create "$as_dir" as a directory, including parents if necessary.
17202 as_fn_mkdir_p ()
17205 case $as_dir in #(
17206 -*) as_dir=./$as_dir;;
17207 esac
17208 test -d "$as_dir" || eval $as_mkdir_p || {
17209 as_dirs=
17210 while :; do
17211 case $as_dir in #(
17212 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17213 *) as_qdir=$as_dir;;
17214 esac
17215 as_dirs="'$as_qdir' $as_dirs"
17216 as_dir=`$as_dirname -- "$as_dir" ||
17217 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17218 X"$as_dir" : 'X\(//\)[^/]' \| \
17219 X"$as_dir" : 'X\(//\)$' \| \
17220 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17221 $as_echo X"$as_dir" |
17222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17223 s//\1/
17226 /^X\(\/\/\)[^/].*/{
17227 s//\1/
17230 /^X\(\/\/\)$/{
17231 s//\1/
17234 /^X\(\/\).*/{
17235 s//\1/
17238 s/.*/./; q'`
17239 test -d "$as_dir" && break
17240 done
17241 test -z "$as_dirs" || eval "mkdir $as_dirs"
17242 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17245 } # as_fn_mkdir_p
17246 if mkdir -p . 2>/dev/null; then
17247 as_mkdir_p='mkdir -p "$as_dir"'
17248 else
17249 test -d ./-p && rmdir ./-p
17250 as_mkdir_p=false
17254 # as_fn_executable_p FILE
17255 # -----------------------
17256 # Test if FILE is an executable regular file.
17257 as_fn_executable_p ()
17259 test -f "$1" && test -x "$1"
17260 } # as_fn_executable_p
17261 as_test_x='test -x'
17262 as_executable_p=as_fn_executable_p
17264 # Sed expression to map a string onto a valid CPP name.
17265 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17267 # Sed expression to map a string onto a valid variable name.
17268 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17271 exec 6>&1
17272 ## ----------------------------------- ##
17273 ## Main body of $CONFIG_STATUS script. ##
17274 ## ----------------------------------- ##
17275 _ASEOF
17276 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17279 # Save the log message, to keep $0 and so on meaningful, and to
17280 # report actual input values of CONFIG_FILES etc. instead of their
17281 # values after options handling.
17282 ac_log="
17283 This file was extended by Wine $as_me 1.7.2, which was
17284 generated by GNU Autoconf 2.69. Invocation command line was
17286 CONFIG_FILES = $CONFIG_FILES
17287 CONFIG_HEADERS = $CONFIG_HEADERS
17288 CONFIG_LINKS = $CONFIG_LINKS
17289 CONFIG_COMMANDS = $CONFIG_COMMANDS
17290 $ $0 $@
17292 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17295 _ACEOF
17297 case $ac_config_files in *"
17298 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17299 esac
17301 case $ac_config_headers in *"
17302 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17303 esac
17306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17307 # Files that config.status was made for.
17308 config_files="$ac_config_files"
17309 config_headers="$ac_config_headers"
17310 config_links="$ac_config_links"
17311 config_commands="$ac_config_commands"
17313 _ACEOF
17315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17316 ac_cs_usage="\
17317 \`$as_me' instantiates files and other configuration actions
17318 from templates according to the current configuration. Unless the files
17319 and actions are specified as TAGs, all are instantiated by default.
17321 Usage: $0 [OPTION]... [TAG]...
17323 -h, --help print this help, then exit
17324 -V, --version print version number and configuration settings, then exit
17325 --config print configuration, then exit
17326 -q, --quiet, --silent
17327 do not print progress messages
17328 -d, --debug don't remove temporary files
17329 --recheck update $as_me by reconfiguring in the same conditions
17330 --file=FILE[:TEMPLATE]
17331 instantiate the configuration file FILE
17332 --header=FILE[:TEMPLATE]
17333 instantiate the configuration header FILE
17335 Configuration files:
17336 $config_files
17338 Configuration headers:
17339 $config_headers
17341 Configuration links:
17342 $config_links
17344 Configuration commands:
17345 $config_commands
17347 Report bugs to <wine-devel@winehq.org>.
17348 Wine home page: <http://www.winehq.org>."
17350 _ACEOF
17351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17352 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17353 ac_cs_version="\\
17354 Wine config.status 1.7.2
17355 configured by $0, generated by GNU Autoconf 2.69,
17356 with options \\"\$ac_cs_config\\"
17358 Copyright (C) 2012 Free Software Foundation, Inc.
17359 This config.status script is free software; the Free Software Foundation
17360 gives unlimited permission to copy, distribute and modify it."
17362 ac_pwd='$ac_pwd'
17363 srcdir='$srcdir'
17364 INSTALL='$INSTALL'
17365 test -n "\$AWK" || AWK=awk
17366 _ACEOF
17368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17369 # The default lists apply if the user does not specify any file.
17370 ac_need_defaults=:
17371 while test $# != 0
17373 case $1 in
17374 --*=?*)
17375 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17376 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17377 ac_shift=:
17379 --*=)
17380 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17381 ac_optarg=
17382 ac_shift=:
17385 ac_option=$1
17386 ac_optarg=$2
17387 ac_shift=shift
17389 esac
17391 case $ac_option in
17392 # Handling of the options.
17393 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17394 ac_cs_recheck=: ;;
17395 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17396 $as_echo "$ac_cs_version"; exit ;;
17397 --config | --confi | --conf | --con | --co | --c )
17398 $as_echo "$ac_cs_config"; exit ;;
17399 --debug | --debu | --deb | --de | --d | -d )
17400 debug=: ;;
17401 --file | --fil | --fi | --f )
17402 $ac_shift
17403 case $ac_optarg in
17404 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17405 '') as_fn_error $? "missing file argument" ;;
17406 esac
17407 as_fn_append CONFIG_FILES " '$ac_optarg'"
17408 ac_need_defaults=false;;
17409 --header | --heade | --head | --hea )
17410 $ac_shift
17411 case $ac_optarg in
17412 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17413 esac
17414 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17415 ac_need_defaults=false;;
17416 --he | --h)
17417 # Conflict between --help and --header
17418 as_fn_error $? "ambiguous option: \`$1'
17419 Try \`$0 --help' for more information.";;
17420 --help | --hel | -h )
17421 $as_echo "$ac_cs_usage"; exit ;;
17422 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17423 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17424 ac_cs_silent=: ;;
17426 # This is an error.
17427 -*) as_fn_error $? "unrecognized option: \`$1'
17428 Try \`$0 --help' for more information." ;;
17430 *) as_fn_append ac_config_targets " $1"
17431 ac_need_defaults=false ;;
17433 esac
17434 shift
17435 done
17437 ac_configure_extra_args=
17439 if $ac_cs_silent; then
17440 exec 6>/dev/null
17441 ac_configure_extra_args="$ac_configure_extra_args --silent"
17444 _ACEOF
17445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17446 if \$ac_cs_recheck; then
17447 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17448 shift
17449 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17450 CONFIG_SHELL='$SHELL'
17451 export CONFIG_SHELL
17452 exec "\$@"
17455 _ACEOF
17456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17457 exec 5>>config.log
17459 echo
17460 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17461 ## Running $as_me. ##
17462 _ASBOX
17463 $as_echo "$ac_log"
17464 } >&5
17466 _ACEOF
17467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17469 # INIT-COMMANDS
17471 wine_fn_output_makefile ()
17473 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17474 `cat $wine_rules_file`
17475 _WINE_EOF
17476 as_fn_error $? "could not create Makefile" "$LINENO" 5
17479 _ACEOF
17481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17483 # Handling of arguments.
17484 for ac_config_target in $ac_config_targets
17486 case $ac_config_target in
17487 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
17488 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
17489 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17490 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17491 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17492 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17493 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17494 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17495 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17496 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17497 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
17498 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17499 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17500 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17501 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17502 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17503 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
17504 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17505 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
17506 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
17507 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
17508 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
17509 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17510 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
17511 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
17512 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17514 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17515 esac
17516 done
17519 # If the user did not use the arguments to specify the items to instantiate,
17520 # then the envvar interface is used. Set only those that are not.
17521 # We use the long form for the default assignment because of an extremely
17522 # bizarre bug on SunOS 4.1.3.
17523 if $ac_need_defaults; then
17524 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17525 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17526 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
17527 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17530 # Have a temporary directory for convenience. Make it in the build tree
17531 # simply because there is no reason against having it here, and in addition,
17532 # creating and moving files from /tmp can sometimes cause problems.
17533 # Hook for its removal unless debugging.
17534 # Note that there is a small window in which the directory will not be cleaned:
17535 # after its creation but before its name has been assigned to `$tmp'.
17536 $debug ||
17538 tmp= ac_tmp=
17539 trap 'exit_status=$?
17540 : "${ac_tmp:=$tmp}"
17541 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17543 trap 'as_fn_exit 1' 1 2 13 15
17545 # Create a (secure) tmp directory for tmp files.
17548 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17549 test -d "$tmp"
17550 } ||
17552 tmp=./conf$$-$RANDOM
17553 (umask 077 && mkdir "$tmp")
17554 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17555 ac_tmp=$tmp
17557 # Set up the scripts for CONFIG_FILES section.
17558 # No need to generate them if there are no CONFIG_FILES.
17559 # This happens for instance with `./config.status config.h'.
17560 if test -n "$CONFIG_FILES"; then
17562 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
17563 ac_cs_awk_getline=:
17564 ac_cs_awk_pipe_init=
17565 ac_cs_awk_read_file='
17566 while ((getline aline < (F[key])) > 0)
17567 print(aline)
17568 close(F[key])'
17569 ac_cs_awk_pipe_fini=
17570 else
17571 ac_cs_awk_getline=false
17572 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
17573 ac_cs_awk_read_file='
17574 print "|#_!!_#|"
17575 print "cat " F[key] " &&"
17576 '$ac_cs_awk_pipe_init
17577 # The final `:' finishes the AND list.
17578 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
17580 ac_cr=`echo X | tr X '\015'`
17581 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17582 # But we know of no other shell where ac_cr would be empty at this
17583 # point, so we can use a bashism as a fallback.
17584 if test "x$ac_cr" = x; then
17585 eval ac_cr=\$\'\\r\'
17587 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17588 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17589 ac_cs_awk_cr='\\r'
17590 else
17591 ac_cs_awk_cr=$ac_cr
17594 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17595 _ACEOF
17597 # Create commands to substitute file output variables.
17599 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17600 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17601 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
17602 echo "_ACAWK" &&
17603 echo "_ACEOF"
17604 } >conf$$files.sh &&
17605 . ./conf$$files.sh ||
17606 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17607 rm -f conf$$files.sh
17610 echo "cat >conf$$subs.awk <<_ACEOF" &&
17611 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17612 echo "_ACEOF"
17613 } >conf$$subs.sh ||
17614 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17615 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17616 ac_delim='%!_!# '
17617 for ac_last_try in false false false false false :; do
17618 . ./conf$$subs.sh ||
17619 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17621 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17622 if test $ac_delim_n = $ac_delim_num; then
17623 break
17624 elif $ac_last_try; then
17625 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17626 else
17627 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17629 done
17630 rm -f conf$$subs.sh
17632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17633 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17634 _ACEOF
17635 sed -n '
17637 s/^/S["/; s/!.*/"]=/
17640 s/^[^!]*!//
17641 :repl
17642 t repl
17643 s/'"$ac_delim"'$//
17644 t delim
17647 s/\(.\{148\}\)..*/\1/
17648 t more1
17649 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17652 b repl
17653 :more1
17654 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17657 s/.\{148\}//
17658 t nl
17659 :delim
17661 s/\(.\{148\}\)..*/\1/
17662 t more2
17663 s/["\\]/\\&/g; s/^/"/; s/$/"/
17666 :more2
17667 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17670 s/.\{148\}//
17671 t delim
17672 ' <conf$$subs.awk | sed '
17673 /^[^""]/{
17675 s/\n//
17677 ' >>$CONFIG_STATUS || ac_write_fail=1
17678 rm -f conf$$subs.awk
17679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17680 _ACAWK
17681 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17682 for (key in S) S_is_set[key] = 1
17683 FS = "\a"
17684 \$ac_cs_awk_pipe_init
17687 line = $ 0
17688 nfields = split(line, field, "@")
17689 substed = 0
17690 len = length(field[1])
17691 for (i = 2; i < nfields; i++) {
17692 key = field[i]
17693 keylen = length(key)
17694 if (S_is_set[key]) {
17695 value = S[key]
17696 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17697 len += length(value) + length(field[++i])
17698 substed = 1
17699 } else
17700 len += 1 + keylen
17702 if (nfields == 3 && !substed) {
17703 key = field[2]
17704 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17705 \$ac_cs_awk_read_file
17706 next
17709 print line
17711 \$ac_cs_awk_pipe_fini
17712 _ACAWK
17713 _ACEOF
17714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17715 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17716 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17717 else
17719 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17720 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17721 _ACEOF
17723 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17724 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17725 # trailing colons and then remove the whole line if VPATH becomes empty
17726 # (actually we leave an empty line to preserve line numbers).
17727 if test "x$srcdir" = x.; then
17728 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17730 s///
17731 s/^/:/
17732 s/[ ]*$/:/
17733 s/:\$(srcdir):/:/g
17734 s/:\${srcdir}:/:/g
17735 s/:@srcdir@:/:/g
17736 s/^:*//
17737 s/:*$//
17739 s/\(=[ ]*\).*/\1/
17741 s/\n//
17742 s/^[^=]*=[ ]*$//
17746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17747 fi # test -n "$CONFIG_FILES"
17749 # Set up the scripts for CONFIG_HEADERS section.
17750 # No need to generate them if there are no CONFIG_HEADERS.
17751 # This happens for instance with `./config.status Makefile'.
17752 if test -n "$CONFIG_HEADERS"; then
17753 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17754 BEGIN {
17755 _ACEOF
17757 # Transform confdefs.h into an awk script `defines.awk', embedded as
17758 # here-document in config.status, that substitutes the proper values into
17759 # config.h.in to produce config.h.
17761 # Create a delimiter string that does not exist in confdefs.h, to ease
17762 # handling of long lines.
17763 ac_delim='%!_!# '
17764 for ac_last_try in false false :; do
17765 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17766 if test -z "$ac_tt"; then
17767 break
17768 elif $ac_last_try; then
17769 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17770 else
17771 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17773 done
17775 # For the awk script, D is an array of macro values keyed by name,
17776 # likewise P contains macro parameters if any. Preserve backslash
17777 # newline sequences.
17779 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17780 sed -n '
17781 s/.\{148\}/&'"$ac_delim"'/g
17782 t rset
17783 :rset
17784 s/^[ ]*#[ ]*define[ ][ ]*/ /
17785 t def
17787 :def
17788 s/\\$//
17789 t bsnl
17790 s/["\\]/\\&/g
17791 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17792 D["\1"]=" \3"/p
17793 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17795 :bsnl
17796 s/["\\]/\\&/g
17797 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17798 D["\1"]=" \3\\\\\\n"\\/p
17799 t cont
17800 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17801 t cont
17803 :cont
17805 s/.\{148\}/&'"$ac_delim"'/g
17806 t clear
17807 :clear
17808 s/\\$//
17809 t bsnlc
17810 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17812 :bsnlc
17813 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17814 b cont
17815 ' <confdefs.h | sed '
17816 s/'"$ac_delim"'/"\\\
17817 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17820 for (key in D) D_is_set[key] = 1
17821 FS = "\a"
17823 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17824 line = \$ 0
17825 split(line, arg, " ")
17826 if (arg[1] == "#") {
17827 defundef = arg[2]
17828 mac1 = arg[3]
17829 } else {
17830 defundef = substr(arg[1], 2)
17831 mac1 = arg[2]
17833 split(mac1, mac2, "(") #)
17834 macro = mac2[1]
17835 prefix = substr(line, 1, index(line, defundef) - 1)
17836 if (D_is_set[macro]) {
17837 # Preserve the white space surrounding the "#".
17838 print prefix "define", macro P[macro] D[macro]
17839 next
17840 } else {
17841 # Replace #undef with comments. This is necessary, for example,
17842 # in the case of _POSIX_SOURCE, which is predefined and required
17843 # on some systems where configure will not decide to define it.
17844 if (defundef == "undef") {
17845 print "/*", prefix defundef, macro, "*/"
17846 next
17850 { print }
17851 _ACAWK
17852 _ACEOF
17853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17854 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17855 fi # test -n "$CONFIG_HEADERS"
17858 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17859 shift
17860 for ac_tag
17862 case $ac_tag in
17863 :[FHLC]) ac_mode=$ac_tag; continue;;
17864 esac
17865 case $ac_mode$ac_tag in
17866 :[FHL]*:*);;
17867 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17868 :[FH]-) ac_tag=-:-;;
17869 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17870 esac
17871 ac_save_IFS=$IFS
17872 IFS=:
17873 set x $ac_tag
17874 IFS=$ac_save_IFS
17875 shift
17876 ac_file=$1
17877 shift
17879 case $ac_mode in
17880 :L) ac_source=$1;;
17881 :[FH])
17882 ac_file_inputs=
17883 for ac_f
17885 case $ac_f in
17886 -) ac_f="$ac_tmp/stdin";;
17887 *) # Look for the file first in the build tree, then in the source tree
17888 # (if the path is not absolute). The absolute path cannot be DOS-style,
17889 # because $ac_f cannot contain `:'.
17890 test -f "$ac_f" ||
17891 case $ac_f in
17892 [\\/$]*) false;;
17893 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17894 esac ||
17895 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17896 esac
17897 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17898 as_fn_append ac_file_inputs " '$ac_f'"
17899 done
17901 # Let's still pretend it is `configure' which instantiates (i.e., don't
17902 # use $as_me), people would be surprised to read:
17903 # /* config.h. Generated by config.status. */
17904 configure_input='Generated from '`
17905 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17906 `' by configure.'
17907 if test x"$ac_file" != x-; then
17908 configure_input="$ac_file. $configure_input"
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17910 $as_echo "$as_me: creating $ac_file" >&6;}
17912 # Neutralize special characters interpreted by sed in replacement strings.
17913 case $configure_input in #(
17914 *\&* | *\|* | *\\* )
17915 ac_sed_conf_input=`$as_echo "$configure_input" |
17916 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17917 *) ac_sed_conf_input=$configure_input;;
17918 esac
17920 case $ac_tag in
17921 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17922 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17923 esac
17925 esac
17927 ac_dir=`$as_dirname -- "$ac_file" ||
17928 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17929 X"$ac_file" : 'X\(//\)[^/]' \| \
17930 X"$ac_file" : 'X\(//\)$' \| \
17931 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17932 $as_echo X"$ac_file" |
17933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17934 s//\1/
17937 /^X\(\/\/\)[^/].*/{
17938 s//\1/
17941 /^X\(\/\/\)$/{
17942 s//\1/
17945 /^X\(\/\).*/{
17946 s//\1/
17949 s/.*/./; q'`
17950 as_dir="$ac_dir"; as_fn_mkdir_p
17951 ac_builddir=.
17953 case "$ac_dir" in
17954 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17956 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17957 # A ".." for each directory in $ac_dir_suffix.
17958 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17959 case $ac_top_builddir_sub in
17960 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17961 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17962 esac ;;
17963 esac
17964 ac_abs_top_builddir=$ac_pwd
17965 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17966 # for backward compatibility:
17967 ac_top_builddir=$ac_top_build_prefix
17969 case $srcdir in
17970 .) # We are building in place.
17971 ac_srcdir=.
17972 ac_top_srcdir=$ac_top_builddir_sub
17973 ac_abs_top_srcdir=$ac_pwd ;;
17974 [\\/]* | ?:[\\/]* ) # Absolute name.
17975 ac_srcdir=$srcdir$ac_dir_suffix;
17976 ac_top_srcdir=$srcdir
17977 ac_abs_top_srcdir=$srcdir ;;
17978 *) # Relative name.
17979 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17980 ac_top_srcdir=$ac_top_build_prefix$srcdir
17981 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17982 esac
17983 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17986 case $ac_mode in
17989 # CONFIG_FILE
17992 case $INSTALL in
17993 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17994 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17995 esac
17996 _ACEOF
17998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17999 # If the template does not know about datarootdir, expand it.
18000 # FIXME: This hack should be removed a few years after 2.60.
18001 ac_datarootdir_hack=; ac_datarootdir_seen=
18002 ac_sed_dataroot='
18003 /datarootdir/ {
18007 /@datadir@/p
18008 /@docdir@/p
18009 /@infodir@/p
18010 /@localedir@/p
18011 /@mandir@/p'
18012 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18013 *datarootdir*) ac_datarootdir_seen=yes;;
18014 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18016 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18017 _ACEOF
18018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18019 ac_datarootdir_hack='
18020 s&@datadir@&$datadir&g
18021 s&@docdir@&$docdir&g
18022 s&@infodir@&$infodir&g
18023 s&@localedir@&$localedir&g
18024 s&@mandir@&$mandir&g
18025 s&\\\${datarootdir}&$datarootdir&g' ;;
18026 esac
18027 _ACEOF
18029 # Neutralize VPATH when `$srcdir' = `.'.
18030 # Shell code in configure.ac might set extrasub.
18031 # FIXME: do we really want to maintain this feature?
18032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18033 ac_sed_extra="$ac_vpsub
18034 $extrasub
18035 _ACEOF
18036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18038 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18039 s|@configure_input@|$ac_sed_conf_input|;t t
18040 s&@top_builddir@&$ac_top_builddir_sub&;t t
18041 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18042 s&@srcdir@&$ac_srcdir&;t t
18043 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18044 s&@top_srcdir@&$ac_top_srcdir&;t t
18045 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18046 s&@builddir@&$ac_builddir&;t t
18047 s&@abs_builddir@&$ac_abs_builddir&;t t
18048 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18049 s&@INSTALL@&$ac_INSTALL&;t t
18050 $ac_datarootdir_hack
18052 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18053 if $ac_cs_awk_getline; then
18054 $AWK -f "$ac_tmp/subs.awk"
18055 else
18056 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18057 fi \
18058 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18060 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18061 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18062 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18063 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18065 which seems to be undefined. Please make sure it is defined" >&5
18066 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18067 which seems to be undefined. Please make sure it is defined" >&2;}
18069 rm -f "$ac_tmp/stdin"
18070 case $ac_file in
18071 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18072 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18073 esac \
18074 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18078 # CONFIG_HEADER
18080 if test x"$ac_file" != x-; then
18082 $as_echo "/* $configure_input */" \
18083 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18084 } >"$ac_tmp/config.h" \
18085 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18086 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18088 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18089 else
18090 rm -f "$ac_file"
18091 mv "$ac_tmp/config.h" "$ac_file" \
18092 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18094 else
18095 $as_echo "/* $configure_input */" \
18096 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18097 || as_fn_error $? "could not create -" "$LINENO" 5
18102 # CONFIG_LINK
18105 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18107 else
18108 # Prefer the file from the source tree if names are identical.
18109 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18110 ac_source=$srcdir/$ac_source
18113 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18114 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18116 if test ! -r "$ac_source"; then
18117 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18119 rm -f "$ac_file"
18121 # Try a relative symlink, then a hard link, then a copy.
18122 case $ac_source in
18123 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18124 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18125 esac
18126 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18127 ln "$ac_source" "$ac_file" 2>/dev/null ||
18128 cp -p "$ac_source" "$ac_file" ||
18129 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18132 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18133 $as_echo "$as_me: executing $ac_file commands" >&6;}
18135 esac
18138 case $ac_file$ac_mode in
18139 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18140 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18141 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18142 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18143 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18144 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18145 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18146 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18147 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18148 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18149 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18150 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18151 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18152 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18153 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18154 "Makefile":C) wine_fn_output_makefile Makefile ;;
18156 esac
18157 done # for ac_tag
18160 as_fn_exit 0
18161 _ACEOF
18162 ac_clean_files=$ac_clean_files_save
18164 test $ac_write_fail = 0 ||
18165 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18168 # configure is writing to config.log, and then calls config.status.
18169 # config.status does its own redirection, appending to config.log.
18170 # Unfortunately, on DOS this fails, as config.log is still kept open
18171 # by configure, so config.status won't be able to write to it; its
18172 # output is simply discarded. So we exec the FD to /dev/null,
18173 # effectively closing config.log, so it can be properly (re)opened and
18174 # appended to by config.status. When coming back to configure, we
18175 # need to make the FD available again.
18176 if test "$no_create" != yes; then
18177 ac_cs_success=:
18178 ac_config_status_args=
18179 test "$silent" = yes &&
18180 ac_config_status_args="$ac_config_status_args --quiet"
18181 exec 5>/dev/null
18182 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18183 exec 5>>config.log
18184 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18185 # would make configure fail if this is the last instruction.
18186 $ac_cs_success || as_fn_exit 1
18188 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18190 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18194 if test "$no_create" = "yes"
18195 then
18196 exit 0
18199 ac_save_IFS="$IFS"
18200 if test "x$wine_notices != "x; then
18201 echo >&6
18202 IFS="|"
18203 for msg in $wine_notices; do
18204 IFS="$ac_save_IFS"
18205 if test -n "$msg"; then
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18207 $as_echo "$as_me: $msg" >&6;}
18209 done
18211 IFS="|"
18212 for msg in $wine_warnings; do
18213 IFS="$ac_save_IFS"
18214 if test -n "$msg"; then
18215 echo >&2
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18217 $as_echo "$as_me: WARNING: $msg" >&2;}
18219 done
18220 IFS="$ac_save_IFS"
18222 $as_echo "
18223 $as_me: Finished. Do '${ac_make}' to compile Wine.
18224 " >&6