advapi32: Use BOOL type where appropriate.
[wine.git] / configure
blob4154b43d588742036a6e1dfde5aa09d526b92725
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.3.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.3'
584 PACKAGE_STRING='Wine 1.7.3'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 PORCFLAGS
628 LINGUAS
629 ALL_TEST_RESOURCES
630 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 STRIP
741 ac_ct_AR
743 BISON
744 FLEX
745 TOOLSDIR
746 WOW64_DISABLE
747 TARGETFLAGS
748 CPPBIN
749 ac_ct_CXX
750 CXXFLAGS
752 OBJEXT
753 EXEEXT
754 ac_ct_CC
755 CPPFLAGS
756 LDFLAGS
757 CFLAGS
759 SET_MAKE
760 host_os
761 host_vendor
762 host_cpu
763 host
764 build_os
765 build_vendor
766 build_cpu
767 build
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 localstatedir
788 sharedstatedir
789 sysconfdir
790 datadir
791 datarootdir
792 libexecdir
793 sbindir
794 bindir
795 program_transform_name
796 prefix
797 exec_prefix
798 PACKAGE_URL
799 PACKAGE_BUGREPORT
800 PACKAGE_STRING
801 PACKAGE_VERSION
802 PACKAGE_TARNAME
803 PACKAGE_NAME
804 PATH_SEPARATOR
805 SHELL'
806 ac_subst_files='MAKE_RULES
807 MAKE_TEST_RULES
808 MAKE_DLL_RULES
809 MAKE_IMPLIB_RULES
810 MAKE_PROG_RULES'
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_openal
838 with_opencl
839 with_opengl
840 with_osmesa
841 with_oss
842 with_png
843 with_pthread
844 with_sane
845 with_tiff
846 with_v4l
847 with_xcomposite
848 with_xcursor
849 with_xinerama
850 with_xinput
851 with_xinput2
852 with_xml
853 with_xrandr
854 with_xrender
855 with_xshape
856 with_xshm
857 with_xslt
858 with_xxf86vm
859 with_zlib
860 with_wine_tools
861 with_wine64
862 enable_largefile
863 with_x
865 ac_precious_vars='build_alias
866 host_alias
867 target_alias
869 CFLAGS
870 LDFLAGS
871 LIBS
872 CPPFLAGS
874 CXXFLAGS
877 XMKMF
878 XML2_CFLAGS
879 XML2_LIBS
880 XSLT_CFLAGS
881 XSLT_LIBS
882 DBUS_CFLAGS
883 DBUS_LIBS
884 HAL_CFLAGS
885 HAL_LIBS
886 GNUTLS_CFLAGS
887 GNUTLS_LIBS
888 SANE_CFLAGS
889 SANE_LIBS
890 GPHOTO2_CFLAGS
891 GPHOTO2_LIBS
892 GPHOTO2_PORT_CFLAGS
893 GPHOTO2_PORT_LIBS
894 LCMS2_CFLAGS
895 LCMS2_LIBS
896 FREETYPE_CFLAGS
897 FREETYPE_LIBS
898 GSTREAMER_CFLAGS
899 GSTREAMER_LIBS
900 CAPI20_CFLAGS
901 CAPI20_LIBS
902 JPEG_CFLAGS
903 JPEG_LIBS
904 PNG_CFLAGS
905 PNG_LIBS
906 TIFF_CFLAGS
907 TIFF_LIBS
908 MPG123_CFLAGS
909 MPG123_LIBS'
912 # Initialize some variables set by options.
913 ac_init_help=
914 ac_init_version=false
915 ac_unrecognized_opts=
916 ac_unrecognized_sep=
917 # The variables have the same names as the options, with
918 # dashes changed to underlines.
919 cache_file=/dev/null
920 exec_prefix=NONE
921 no_create=
922 no_recursion=
923 prefix=NONE
924 program_prefix=NONE
925 program_suffix=NONE
926 program_transform_name=s,x,x,
927 silent=
928 site=
929 srcdir=
930 verbose=
931 x_includes=NONE
932 x_libraries=NONE
934 # Installation directory options.
935 # These are left unexpanded so users can "make install exec_prefix=/foo"
936 # and all the variables that are supposed to be based on exec_prefix
937 # by default will actually change.
938 # Use braces instead of parens because sh, perl, etc. also accept them.
939 # (The list follows the same order as the GNU Coding Standards.)
940 bindir='${exec_prefix}/bin'
941 sbindir='${exec_prefix}/sbin'
942 libexecdir='${exec_prefix}/libexec'
943 datarootdir='${prefix}/share'
944 datadir='${datarootdir}'
945 sysconfdir='${prefix}/etc'
946 sharedstatedir='${prefix}/com'
947 localstatedir='${prefix}/var'
948 includedir='${prefix}/include'
949 oldincludedir='/usr/include'
950 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
951 infodir='${datarootdir}/info'
952 htmldir='${docdir}'
953 dvidir='${docdir}'
954 pdfdir='${docdir}'
955 psdir='${docdir}'
956 libdir='${exec_prefix}/lib'
957 localedir='${datarootdir}/locale'
958 mandir='${datarootdir}/man'
960 ac_prev=
961 ac_dashdash=
962 for ac_option
964 # If the previous option needs an argument, assign it.
965 if test -n "$ac_prev"; then
966 eval $ac_prev=\$ac_option
967 ac_prev=
968 continue
971 case $ac_option in
972 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973 *=) ac_optarg= ;;
974 *) ac_optarg=yes ;;
975 esac
977 # Accept the important Cygnus configure options, so we can diagnose typos.
979 case $ac_dashdash$ac_option in
981 ac_dashdash=yes ;;
983 -bindir | --bindir | --bindi | --bind | --bin | --bi)
984 ac_prev=bindir ;;
985 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
986 bindir=$ac_optarg ;;
988 -build | --build | --buil | --bui | --bu)
989 ac_prev=build_alias ;;
990 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
991 build_alias=$ac_optarg ;;
993 -cache-file | --cache-file | --cache-fil | --cache-fi \
994 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
995 ac_prev=cache_file ;;
996 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
997 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
998 cache_file=$ac_optarg ;;
1000 --config-cache | -C)
1001 cache_file=config.cache ;;
1003 -datadir | --datadir | --datadi | --datad)
1004 ac_prev=datadir ;;
1005 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1006 datadir=$ac_optarg ;;
1008 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1009 | --dataroo | --dataro | --datar)
1010 ac_prev=datarootdir ;;
1011 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1012 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1013 datarootdir=$ac_optarg ;;
1015 -disable-* | --disable-*)
1016 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019 as_fn_error $? "invalid feature name: $ac_useropt"
1020 ac_useropt_orig=$ac_useropt
1021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "enable_$ac_useropt"
1025 "*) ;;
1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1027 ac_unrecognized_sep=', ';;
1028 esac
1029 eval enable_$ac_useropt=no ;;
1031 -docdir | --docdir | --docdi | --doc | --do)
1032 ac_prev=docdir ;;
1033 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1034 docdir=$ac_optarg ;;
1036 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1037 ac_prev=dvidir ;;
1038 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1039 dvidir=$ac_optarg ;;
1041 -enable-* | --enable-*)
1042 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045 as_fn_error $? "invalid feature name: $ac_useropt"
1046 ac_useropt_orig=$ac_useropt
1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "enable_$ac_useropt"
1051 "*) ;;
1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1053 ac_unrecognized_sep=', ';;
1054 esac
1055 eval enable_$ac_useropt=\$ac_optarg ;;
1057 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1058 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1059 | --exec | --exe | --ex)
1060 ac_prev=exec_prefix ;;
1061 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1062 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1063 | --exec=* | --exe=* | --ex=*)
1064 exec_prefix=$ac_optarg ;;
1066 -gas | --gas | --ga | --g)
1067 # Obsolete; use --with-gas.
1068 with_gas=yes ;;
1070 -help | --help | --hel | --he | -h)
1071 ac_init_help=long ;;
1072 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1073 ac_init_help=recursive ;;
1074 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1075 ac_init_help=short ;;
1077 -host | --host | --hos | --ho)
1078 ac_prev=host_alias ;;
1079 -host=* | --host=* | --hos=* | --ho=*)
1080 host_alias=$ac_optarg ;;
1082 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1083 ac_prev=htmldir ;;
1084 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1085 | --ht=*)
1086 htmldir=$ac_optarg ;;
1088 -includedir | --includedir | --includedi | --included | --include \
1089 | --includ | --inclu | --incl | --inc)
1090 ac_prev=includedir ;;
1091 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1092 | --includ=* | --inclu=* | --incl=* | --inc=*)
1093 includedir=$ac_optarg ;;
1095 -infodir | --infodir | --infodi | --infod | --info | --inf)
1096 ac_prev=infodir ;;
1097 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1098 infodir=$ac_optarg ;;
1100 -libdir | --libdir | --libdi | --libd)
1101 ac_prev=libdir ;;
1102 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1103 libdir=$ac_optarg ;;
1105 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1106 | --libexe | --libex | --libe)
1107 ac_prev=libexecdir ;;
1108 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1109 | --libexe=* | --libex=* | --libe=*)
1110 libexecdir=$ac_optarg ;;
1112 -localedir | --localedir | --localedi | --localed | --locale)
1113 ac_prev=localedir ;;
1114 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1115 localedir=$ac_optarg ;;
1117 -localstatedir | --localstatedir | --localstatedi | --localstated \
1118 | --localstate | --localstat | --localsta | --localst | --locals)
1119 ac_prev=localstatedir ;;
1120 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1121 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1122 localstatedir=$ac_optarg ;;
1124 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1125 ac_prev=mandir ;;
1126 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1127 mandir=$ac_optarg ;;
1129 -nfp | --nfp | --nf)
1130 # Obsolete; use --without-fp.
1131 with_fp=no ;;
1133 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1134 | --no-cr | --no-c | -n)
1135 no_create=yes ;;
1137 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1138 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1139 no_recursion=yes ;;
1141 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1142 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1143 | --oldin | --oldi | --old | --ol | --o)
1144 ac_prev=oldincludedir ;;
1145 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1146 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1147 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1148 oldincludedir=$ac_optarg ;;
1150 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1151 ac_prev=prefix ;;
1152 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1153 prefix=$ac_optarg ;;
1155 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1156 | --program-pre | --program-pr | --program-p)
1157 ac_prev=program_prefix ;;
1158 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1159 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1160 program_prefix=$ac_optarg ;;
1162 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1163 | --program-suf | --program-su | --program-s)
1164 ac_prev=program_suffix ;;
1165 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1166 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1167 program_suffix=$ac_optarg ;;
1169 -program-transform-name | --program-transform-name \
1170 | --program-transform-nam | --program-transform-na \
1171 | --program-transform-n | --program-transform- \
1172 | --program-transform | --program-transfor \
1173 | --program-transfo | --program-transf \
1174 | --program-trans | --program-tran \
1175 | --progr-tra | --program-tr | --program-t)
1176 ac_prev=program_transform_name ;;
1177 -program-transform-name=* | --program-transform-name=* \
1178 | --program-transform-nam=* | --program-transform-na=* \
1179 | --program-transform-n=* | --program-transform-=* \
1180 | --program-transform=* | --program-transfor=* \
1181 | --program-transfo=* | --program-transf=* \
1182 | --program-trans=* | --program-tran=* \
1183 | --progr-tra=* | --program-tr=* | --program-t=*)
1184 program_transform_name=$ac_optarg ;;
1186 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1187 ac_prev=pdfdir ;;
1188 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1189 pdfdir=$ac_optarg ;;
1191 -psdir | --psdir | --psdi | --psd | --ps)
1192 ac_prev=psdir ;;
1193 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1194 psdir=$ac_optarg ;;
1196 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1197 | -silent | --silent | --silen | --sile | --sil)
1198 silent=yes ;;
1200 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1201 ac_prev=sbindir ;;
1202 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1203 | --sbi=* | --sb=*)
1204 sbindir=$ac_optarg ;;
1206 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1207 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1208 | --sharedst | --shareds | --shared | --share | --shar \
1209 | --sha | --sh)
1210 ac_prev=sharedstatedir ;;
1211 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1212 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1213 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1214 | --sha=* | --sh=*)
1215 sharedstatedir=$ac_optarg ;;
1217 -site | --site | --sit)
1218 ac_prev=site ;;
1219 -site=* | --site=* | --sit=*)
1220 site=$ac_optarg ;;
1222 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1223 ac_prev=srcdir ;;
1224 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1225 srcdir=$ac_optarg ;;
1227 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1228 | --syscon | --sysco | --sysc | --sys | --sy)
1229 ac_prev=sysconfdir ;;
1230 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1231 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1232 sysconfdir=$ac_optarg ;;
1234 -target | --target | --targe | --targ | --tar | --ta | --t)
1235 ac_prev=target_alias ;;
1236 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1237 target_alias=$ac_optarg ;;
1239 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1240 verbose=yes ;;
1242 -version | --version | --versio | --versi | --vers | -V)
1243 ac_init_version=: ;;
1245 -with-* | --with-*)
1246 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 as_fn_error $? "invalid package name: $ac_useropt"
1250 ac_useropt_orig=$ac_useropt
1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1254 "with_$ac_useropt"
1255 "*) ;;
1256 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1257 ac_unrecognized_sep=', ';;
1258 esac
1259 eval with_$ac_useropt=\$ac_optarg ;;
1261 -without-* | --without-*)
1262 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1265 as_fn_error $? "invalid package name: $ac_useropt"
1266 ac_useropt_orig=$ac_useropt
1267 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268 case $ac_user_opts in
1270 "with_$ac_useropt"
1271 "*) ;;
1272 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1273 ac_unrecognized_sep=', ';;
1274 esac
1275 eval with_$ac_useropt=no ;;
1277 --x)
1278 # Obsolete; use --with-x.
1279 with_x=yes ;;
1281 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1282 | --x-incl | --x-inc | --x-in | --x-i)
1283 ac_prev=x_includes ;;
1284 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1285 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1286 x_includes=$ac_optarg ;;
1288 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1289 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1290 ac_prev=x_libraries ;;
1291 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1292 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1293 x_libraries=$ac_optarg ;;
1295 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1296 Try \`$0 --help' for more information"
1299 *=*)
1300 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1301 # Reject names that are not valid shell variable names.
1302 case $ac_envvar in #(
1303 '' | [0-9]* | *[!_$as_cr_alnum]* )
1304 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1305 esac
1306 eval $ac_envvar=\$ac_optarg
1307 export $ac_envvar ;;
1310 # FIXME: should be removed in autoconf 3.0.
1311 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1312 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1313 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1314 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1317 esac
1318 done
1320 if test -n "$ac_prev"; then
1321 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1322 as_fn_error $? "missing argument to $ac_option"
1325 if test -n "$ac_unrecognized_opts"; then
1326 case $enable_option_checking in
1327 no) ;;
1328 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1329 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1330 esac
1333 # Check all directory arguments for consistency.
1334 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1335 datadir sysconfdir sharedstatedir localstatedir includedir \
1336 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1337 libdir localedir mandir
1339 eval ac_val=\$$ac_var
1340 # Remove trailing slashes.
1341 case $ac_val in
1342 */ )
1343 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1344 eval $ac_var=\$ac_val;;
1345 esac
1346 # Be sure to have absolute directory names.
1347 case $ac_val in
1348 [\\/$]* | ?:[\\/]* ) continue;;
1349 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1350 esac
1351 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1352 done
1354 # There might be people who depend on the old broken behavior: `$host'
1355 # used to hold the argument of --host etc.
1356 # FIXME: To remove some day.
1357 build=$build_alias
1358 host=$host_alias
1359 target=$target_alias
1361 # FIXME: To remove some day.
1362 if test "x$host_alias" != x; then
1363 if test "x$build_alias" = x; then
1364 cross_compiling=maybe
1365 elif test "x$build_alias" != "x$host_alias"; then
1366 cross_compiling=yes
1370 ac_tool_prefix=
1371 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1373 test "$silent" = yes && exec 6>/dev/null
1376 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1377 ac_ls_di=`ls -di .` &&
1378 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1379 as_fn_error $? "working directory cannot be determined"
1380 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1381 as_fn_error $? "pwd does not report name of working directory"
1384 # Find the source files, if location was not specified.
1385 if test -z "$srcdir"; then
1386 ac_srcdir_defaulted=yes
1387 # Try the directory containing this script, then the parent directory.
1388 ac_confdir=`$as_dirname -- "$as_myself" ||
1389 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1390 X"$as_myself" : 'X\(//\)[^/]' \| \
1391 X"$as_myself" : 'X\(//\)$' \| \
1392 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1393 $as_echo X"$as_myself" |
1394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1395 s//\1/
1398 /^X\(\/\/\)[^/].*/{
1399 s//\1/
1402 /^X\(\/\/\)$/{
1403 s//\1/
1406 /^X\(\/\).*/{
1407 s//\1/
1410 s/.*/./; q'`
1411 srcdir=$ac_confdir
1412 if test ! -r "$srcdir/$ac_unique_file"; then
1413 srcdir=..
1415 else
1416 ac_srcdir_defaulted=no
1418 if test ! -r "$srcdir/$ac_unique_file"; then
1419 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1420 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1422 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1423 ac_abs_confdir=`(
1424 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1425 pwd)`
1426 # When building in place, set srcdir=.
1427 if test "$ac_abs_confdir" = "$ac_pwd"; then
1428 srcdir=.
1430 # Remove unnecessary trailing slashes from srcdir.
1431 # Double slashes in file names in object file debugging info
1432 # mess up M-x gdb in Emacs.
1433 case $srcdir in
1434 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1435 esac
1436 for ac_var in $ac_precious_vars; do
1437 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1438 eval ac_env_${ac_var}_value=\$${ac_var}
1439 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1440 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1441 done
1444 # Report the --help message.
1446 if test "$ac_init_help" = "long"; then
1447 # Omit some internal or obsolete options to make the list less imposing.
1448 # This message is too long to be a string in the A/UX 3.1 sh.
1449 cat <<_ACEOF
1450 \`configure' configures Wine 1.7.3 to adapt to many kinds of systems.
1452 Usage: $0 [OPTION]... [VAR=VALUE]...
1454 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1455 VAR=VALUE. See below for descriptions of some of the useful variables.
1457 Defaults for the options are specified in brackets.
1459 Configuration:
1460 -h, --help display this help and exit
1461 --help=short display options specific to this package
1462 --help=recursive display the short help of all the included packages
1463 -V, --version display version information and exit
1464 -q, --quiet, --silent do not print \`checking ...' messages
1465 --cache-file=FILE cache test results in FILE [disabled]
1466 -C, --config-cache alias for \`--cache-file=config.cache'
1467 -n, --no-create do not create output files
1468 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1470 Installation directories:
1471 --prefix=PREFIX install architecture-independent files in PREFIX
1472 [$ac_default_prefix]
1473 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1474 [PREFIX]
1476 By default, \`make install' will install all the files in
1477 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1478 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1479 for instance \`--prefix=\$HOME'.
1481 For better control, use the options below.
1483 Fine tuning of the installation directories:
1484 --bindir=DIR user executables [EPREFIX/bin]
1485 --sbindir=DIR system admin executables [EPREFIX/sbin]
1486 --libexecdir=DIR program executables [EPREFIX/libexec]
1487 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1488 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1489 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1490 --libdir=DIR object code libraries [EPREFIX/lib]
1491 --includedir=DIR C header files [PREFIX/include]
1492 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1493 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1494 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1495 --infodir=DIR info documentation [DATAROOTDIR/info]
1496 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1497 --mandir=DIR man documentation [DATAROOTDIR/man]
1498 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1499 --htmldir=DIR html documentation [DOCDIR]
1500 --dvidir=DIR dvi documentation [DOCDIR]
1501 --pdfdir=DIR pdf documentation [DOCDIR]
1502 --psdir=DIR ps documentation [DOCDIR]
1503 _ACEOF
1505 cat <<\_ACEOF
1507 X features:
1508 --x-includes=DIR X include files are in DIR
1509 --x-libraries=DIR X library files are in DIR
1511 System types:
1512 --build=BUILD configure for building on BUILD [guessed]
1513 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1514 _ACEOF
1517 if test -n "$ac_init_help"; then
1518 case $ac_init_help in
1519 short | recursive ) echo "Configuration of Wine 1.7.3:";;
1520 esac
1521 cat <<\_ACEOF
1523 Optional Features:
1524 --disable-option-checking ignore unrecognized --enable/--with options
1525 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1526 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1527 --disable-win16 do not include Win16 support
1528 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1529 binaries)
1530 --disable-tests do not build the regression tests
1531 --enable-maintainer-mode
1532 enable maintainer-specific build rules
1533 --disable-largefile omit support for large files
1535 Optional Packages:
1536 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1537 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1538 --without-alsa do not use the Alsa sound support
1539 --without-capi do not use CAPI (ISDN support)
1540 --without-cms do not use CMS (color management support)
1541 --without-coreaudio do not use the CoreAudio sound support
1542 --without-cups do not use CUPS
1543 --without-curses do not use (n)curses
1544 --without-dbus do not use DBus (dynamic device support)
1545 --without-fontconfig do not use fontconfig
1546 --without-freetype do not use the FreeType library
1547 --without-gettext do not use gettext
1548 --with-gettextpo use the GetTextPO library to rebuild po files
1549 --without-gphoto do not use gphoto (Digital Camera support)
1550 --without-glu do not use the GLU library
1551 --without-gnutls do not use GnuTLS (schannel support)
1552 --without-gsm do not use libgsm (GSM 06.10 codec support)
1553 --without-gstreamer do not use GStreamer (codecs support)
1554 --without-hal do not use HAL (dynamic device support)
1555 --without-jpeg do not use JPEG
1556 --without-ldap do not use LDAP
1557 --without-mpg123 do not use the mpg123 library
1558 --without-openal do not use OpenAL
1559 --without-opencl do not use OpenCL
1560 --without-opengl do not use OpenGL
1561 --without-osmesa do not use the OSMesa library
1562 --without-oss do not use the OSS sound support
1563 --without-png do not use PNG
1564 --without-pthread do not use the pthread library
1565 --without-sane do not use SANE (scanner support)
1566 --without-tiff do not use TIFF
1567 --without-v4l do not use v4l1 (v4l support)
1568 --without-xcomposite do not use the Xcomposite extension
1569 --without-xcursor do not use the Xcursor extension
1570 --without-xinerama do not use Xinerama (multi-monitor support)
1571 --without-xinput do not use the Xinput extension
1572 --without-xinput2 do not use the Xinput 2 extension
1573 --without-xml do not use XML
1574 --without-xrandr do not use Xrandr (resolution changes)
1575 --without-xrender do not use the Xrender extension
1576 --without-xshape do not use the Xshape extension
1577 --without-xshm do not use XShm (shared memory extension)
1578 --without-xslt do not use XSLT
1579 --without-xxf86vm do not use XFree video mode extension
1580 --without-zlib do not use Zlib (data compression)
1581 --with-wine-tools=DIR use Wine tools from directory DIR
1582 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1583 --with-x use the X Window System
1585 Some influential environment variables:
1586 CC C compiler command
1587 CFLAGS C compiler flags
1588 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1589 nonstandard directory <lib dir>
1590 LIBS libraries to pass to the linker, e.g. -l<library>
1591 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1592 you have headers in a nonstandard directory <include dir>
1593 CXX C++ compiler command
1594 CXXFLAGS C++ compiler flags
1595 CPP C preprocessor
1596 XMKMF Path to xmkmf, Makefile generator for X Window System
1597 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1598 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1599 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1600 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1601 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1602 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1603 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1604 HAL_LIBS Linker flags for hal, overriding pkg-config
1605 GNUTLS_CFLAGS
1606 C compiler flags for gnutls, overriding pkg-config
1607 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1608 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1609 SANE_LIBS Linker flags for libsane, overriding pkg-config
1610 GPHOTO2_CFLAGS
1611 C compiler flags for libgphoto2, overriding pkg-config
1612 GPHOTO2_LIBS
1613 Linker flags for libgphoto2, overriding pkg-config
1614 GPHOTO2_PORT_CFLAGS
1615 C compiler flags for libgphoto2_port, overriding pkg-config
1616 GPHOTO2_PORT_LIBS
1617 Linker flags for libgphoto2_port, overriding pkg-config
1618 LCMS2_CFLAGS
1619 C compiler flags for lcms2, overriding pkg-config
1620 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
1621 FREETYPE_CFLAGS
1622 C compiler flags for freetype2, overriding pkg-config
1623 FREETYPE_LIBS
1624 Linker flags for freetype2, overriding pkg-config
1625 GSTREAMER_CFLAGS
1626 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1627 GSTREAMER_LIBS
1628 Linker flags for gstreamer-app-0.10, overriding pkg-config
1629 CAPI20_CFLAGS
1630 C compiler flags for capi20, overriding pkg-config
1631 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
1632 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
1633 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
1634 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
1635 PNG_LIBS Linker flags for libpng, overriding pkg-config
1636 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
1637 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
1638 MPG123_CFLAGS
1639 C compiler flags for libmpg123, overriding pkg-config
1640 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
1642 Use these variables to override the choices made by `configure' or to help
1643 it to find libraries and programs with nonstandard names/locations.
1645 Report bugs to <wine-devel@winehq.org>.
1646 Wine home page: <http://www.winehq.org>.
1647 _ACEOF
1648 ac_status=$?
1651 if test "$ac_init_help" = "recursive"; then
1652 # If there are subdirs, report their specific --help.
1653 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1654 test -d "$ac_dir" ||
1655 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1656 continue
1657 ac_builddir=.
1659 case "$ac_dir" in
1660 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1662 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1663 # A ".." for each directory in $ac_dir_suffix.
1664 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1665 case $ac_top_builddir_sub in
1666 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1667 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1668 esac ;;
1669 esac
1670 ac_abs_top_builddir=$ac_pwd
1671 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1672 # for backward compatibility:
1673 ac_top_builddir=$ac_top_build_prefix
1675 case $srcdir in
1676 .) # We are building in place.
1677 ac_srcdir=.
1678 ac_top_srcdir=$ac_top_builddir_sub
1679 ac_abs_top_srcdir=$ac_pwd ;;
1680 [\\/]* | ?:[\\/]* ) # Absolute name.
1681 ac_srcdir=$srcdir$ac_dir_suffix;
1682 ac_top_srcdir=$srcdir
1683 ac_abs_top_srcdir=$srcdir ;;
1684 *) # Relative name.
1685 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1686 ac_top_srcdir=$ac_top_build_prefix$srcdir
1687 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1688 esac
1689 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1691 cd "$ac_dir" || { ac_status=$?; continue; }
1692 # Check for guested configure.
1693 if test -f "$ac_srcdir/configure.gnu"; then
1694 echo &&
1695 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1696 elif test -f "$ac_srcdir/configure"; then
1697 echo &&
1698 $SHELL "$ac_srcdir/configure" --help=recursive
1699 else
1700 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1701 fi || ac_status=$?
1702 cd "$ac_pwd" || { ac_status=$?; break; }
1703 done
1706 test -n "$ac_init_help" && exit $ac_status
1707 if $ac_init_version; then
1708 cat <<\_ACEOF
1709 Wine configure 1.7.3
1710 generated by GNU Autoconf 2.69
1712 Copyright (C) 2012 Free Software Foundation, Inc.
1713 This configure script is free software; the Free Software Foundation
1714 gives unlimited permission to copy, distribute and modify it.
1715 _ACEOF
1716 exit
1719 ## ------------------------ ##
1720 ## Autoconf initialization. ##
1721 ## ------------------------ ##
1723 # ac_fn_c_try_compile LINENO
1724 # --------------------------
1725 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1726 ac_fn_c_try_compile ()
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 rm -f conftest.$ac_objext
1730 if { { ac_try="$ac_compile"
1731 case "(($ac_try" in
1732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1733 *) ac_try_echo=$ac_try;;
1734 esac
1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_compile") 2>conftest.err
1738 ac_status=$?
1739 if test -s conftest.err; then
1740 grep -v '^ *+' conftest.err >conftest.er1
1741 cat conftest.er1 >&5
1742 mv -f conftest.er1 conftest.err
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } && {
1746 test -z "$ac_c_werror_flag" ||
1747 test ! -s conftest.err
1748 } && test -s conftest.$ac_objext; then :
1749 ac_retval=0
1750 else
1751 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.$ac_ext >&5
1754 ac_retval=1
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 as_fn_set_status $ac_retval
1759 } # ac_fn_c_try_compile
1761 # ac_fn_cxx_try_compile LINENO
1762 # ----------------------------
1763 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1764 ac_fn_cxx_try_compile ()
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 rm -f conftest.$ac_objext
1768 if { { ac_try="$ac_compile"
1769 case "(($ac_try" in
1770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771 *) ac_try_echo=$ac_try;;
1772 esac
1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 $as_echo "$ac_try_echo"; } >&5
1775 (eval "$ac_compile") 2>conftest.err
1776 ac_status=$?
1777 if test -s conftest.err; then
1778 grep -v '^ *+' conftest.err >conftest.er1
1779 cat conftest.er1 >&5
1780 mv -f conftest.er1 conftest.err
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; } && {
1784 test -z "$ac_cxx_werror_flag" ||
1785 test ! -s conftest.err
1786 } && test -s conftest.$ac_objext; then :
1787 ac_retval=0
1788 else
1789 $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1792 ac_retval=1
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 as_fn_set_status $ac_retval
1797 } # ac_fn_cxx_try_compile
1799 # ac_fn_c_try_link LINENO
1800 # -----------------------
1801 # Try to link conftest.$ac_ext, and return whether this succeeded.
1802 ac_fn_c_try_link ()
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 rm -f conftest.$ac_objext conftest$ac_exeext
1806 if { { ac_try="$ac_link"
1807 case "(($ac_try" in
1808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809 *) ac_try_echo=$ac_try;;
1810 esac
1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813 (eval "$ac_link") 2>conftest.err
1814 ac_status=$?
1815 if test -s conftest.err; then
1816 grep -v '^ *+' conftest.err >conftest.er1
1817 cat conftest.er1 >&5
1818 mv -f conftest.er1 conftest.err
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } && {
1822 test -z "$ac_c_werror_flag" ||
1823 test ! -s conftest.err
1824 } && test -s conftest$ac_exeext && {
1825 test "$cross_compiling" = yes ||
1826 test -x conftest$ac_exeext
1827 }; then :
1828 ac_retval=0
1829 else
1830 $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.$ac_ext >&5
1833 ac_retval=1
1835 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1836 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1837 # interfere with the next link command; also delete a directory that is
1838 # left behind by Apple's compiler. We do this before executing the actions.
1839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status $ac_retval
1843 } # ac_fn_c_try_link
1845 # ac_fn_c_try_cpp LINENO
1846 # ----------------------
1847 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1848 ac_fn_c_try_cpp ()
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 if { { ac_try="$ac_cpp conftest.$ac_ext"
1852 case "(($ac_try" in
1853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854 *) ac_try_echo=$ac_try;;
1855 esac
1856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1859 ac_status=$?
1860 if test -s conftest.err; then
1861 grep -v '^ *+' conftest.err >conftest.er1
1862 cat conftest.er1 >&5
1863 mv -f conftest.er1 conftest.err
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; } > conftest.i && {
1867 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1868 test ! -s conftest.err
1869 }; then :
1870 ac_retval=0
1871 else
1872 $as_echo "$as_me: failed program was:" >&5
1873 sed 's/^/| /' conftest.$ac_ext >&5
1875 ac_retval=1
1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878 as_fn_set_status $ac_retval
1880 } # ac_fn_c_try_cpp
1882 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1883 # -------------------------------------------------------
1884 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1885 # the include files in INCLUDES and setting the cache variable VAR
1886 # accordingly.
1887 ac_fn_c_check_header_mongrel ()
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 if eval \${$3+:} false; then :
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if eval \${$3+:} false; then :
1894 $as_echo_n "(cached) " >&6
1896 eval ac_res=\$$3
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 $as_echo "$ac_res" >&6; }
1899 else
1900 # Is the header compilable?
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1902 $as_echo_n "checking $2 usability... " >&6; }
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1906 #include <$2>
1907 _ACEOF
1908 if ac_fn_c_try_compile "$LINENO"; then :
1909 ac_header_compiler=yes
1910 else
1911 ac_header_compiler=no
1913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1915 $as_echo "$ac_header_compiler" >&6; }
1917 # Is the header present?
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1919 $as_echo_n "checking $2 presence... " >&6; }
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1922 #include <$2>
1923 _ACEOF
1924 if ac_fn_c_try_cpp "$LINENO"; then :
1925 ac_header_preproc=yes
1926 else
1927 ac_header_preproc=no
1929 rm -f conftest.err conftest.i conftest.$ac_ext
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1931 $as_echo "$ac_header_preproc" >&6; }
1933 # So? What about this header?
1934 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1935 yes:no: )
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1937 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1939 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1941 no:yes:* )
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1943 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1945 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1947 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1949 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1951 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1952 ( $as_echo "## ------------------------------------ ##
1953 ## Report this to wine-devel@winehq.org ##
1954 ## ------------------------------------ ##"
1955 ) | sed "s/^/$as_me: WARNING: /" >&2
1957 esac
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1959 $as_echo_n "checking for $2... " >&6; }
1960 if eval \${$3+:} false; then :
1961 $as_echo_n "(cached) " >&6
1962 else
1963 eval "$3=\$ac_header_compiler"
1965 eval ac_res=\$$3
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1967 $as_echo "$ac_res" >&6; }
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971 } # ac_fn_c_check_header_mongrel
1973 # ac_fn_c_try_run LINENO
1974 # ----------------------
1975 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1976 # that executables *can* be run.
1977 ac_fn_c_try_run ()
1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980 if { { ac_try="$ac_link"
1981 case "(($ac_try" in
1982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983 *) ac_try_echo=$ac_try;;
1984 esac
1985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987 (eval "$ac_link") 2>&5
1988 ac_status=$?
1989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1991 { { case "(($ac_try" in
1992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1993 *) ac_try_echo=$ac_try;;
1994 esac
1995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1996 $as_echo "$ac_try_echo"; } >&5
1997 (eval "$ac_try") 2>&5
1998 ac_status=$?
1999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2000 test $ac_status = 0; }; }; then :
2001 ac_retval=0
2002 else
2003 $as_echo "$as_me: program exited with status $ac_status" >&5
2004 $as_echo "$as_me: failed program was:" >&5
2005 sed 's/^/| /' conftest.$ac_ext >&5
2007 ac_retval=$ac_status
2009 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011 as_fn_set_status $ac_retval
2013 } # ac_fn_c_try_run
2015 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2016 # -------------------------------------------------------
2017 # Tests whether HEADER exists and can be compiled using the include files in
2018 # INCLUDES, setting the cache variable VAR accordingly.
2019 ac_fn_c_check_header_compile ()
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2023 $as_echo_n "checking for $2... " >&6; }
2024 if eval \${$3+:} false; then :
2025 $as_echo_n "(cached) " >&6
2026 else
2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2030 #include <$2>
2031 _ACEOF
2032 if ac_fn_c_try_compile "$LINENO"; then :
2033 eval "$3=yes"
2034 else
2035 eval "$3=no"
2037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2039 eval ac_res=\$$3
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2041 $as_echo "$ac_res" >&6; }
2042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044 } # ac_fn_c_check_header_compile
2046 # ac_fn_c_check_func LINENO FUNC VAR
2047 # ----------------------------------
2048 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2049 ac_fn_c_check_func ()
2051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2053 $as_echo_n "checking for $2... " >&6; }
2054 if eval \${$3+:} false; then :
2055 $as_echo_n "(cached) " >&6
2056 else
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h. */
2059 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2061 #define $2 innocuous_$2
2063 /* System header to define __stub macros and hopefully few prototypes,
2064 which can conflict with char $2 (); below.
2065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2066 <limits.h> exists even on freestanding compilers. */
2068 #ifdef __STDC__
2069 # include <limits.h>
2070 #else
2071 # include <assert.h>
2072 #endif
2074 #undef $2
2076 /* Override any GCC internal prototype to avoid an error.
2077 Use char because int might match the return type of a GCC
2078 builtin and then its argument prototype would still apply. */
2079 #ifdef __cplusplus
2080 extern "C"
2081 #endif
2082 char $2 ();
2083 /* The GNU C library defines this for functions which it implements
2084 to always fail with ENOSYS. Some functions are actually named
2085 something starting with __ and the normal name is an alias. */
2086 #if defined __stub_$2 || defined __stub___$2
2087 choke me
2088 #endif
2091 main ()
2093 return $2 ();
2095 return 0;
2097 _ACEOF
2098 if ac_fn_c_try_link "$LINENO"; then :
2099 eval "$3=yes"
2100 else
2101 eval "$3=no"
2103 rm -f core conftest.err conftest.$ac_objext \
2104 conftest$ac_exeext conftest.$ac_ext
2106 eval ac_res=\$$3
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2108 $as_echo "$ac_res" >&6; }
2109 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2111 } # ac_fn_c_check_func
2113 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2114 # ----------------------------------------------------
2115 # Tries to find if the field MEMBER exists in type AGGR, after including
2116 # INCLUDES, setting cache variable VAR accordingly.
2117 ac_fn_c_check_member ()
2119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2121 $as_echo_n "checking for $2.$3... " >&6; }
2122 if eval \${$4+:} false; then :
2123 $as_echo_n "(cached) " >&6
2124 else
2125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2126 /* end confdefs.h. */
2129 main ()
2131 static $2 ac_aggr;
2132 if (ac_aggr.$3)
2133 return 0;
2135 return 0;
2137 _ACEOF
2138 if ac_fn_c_try_compile "$LINENO"; then :
2139 eval "$4=yes"
2140 else
2141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2142 /* end confdefs.h. */
2145 main ()
2147 static $2 ac_aggr;
2148 if (sizeof ac_aggr.$3)
2149 return 0;
2151 return 0;
2153 _ACEOF
2154 if ac_fn_c_try_compile "$LINENO"; then :
2155 eval "$4=yes"
2156 else
2157 eval "$4=no"
2159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2163 eval ac_res=\$$4
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2165 $as_echo "$ac_res" >&6; }
2166 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2168 } # ac_fn_c_check_member
2170 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2171 # -------------------------------------------
2172 # Tests whether TYPE exists after having included INCLUDES, setting cache
2173 # variable VAR accordingly.
2174 ac_fn_c_check_type ()
2176 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2178 $as_echo_n "checking for $2... " >&6; }
2179 if eval \${$3+:} false; then :
2180 $as_echo_n "(cached) " >&6
2181 else
2182 eval "$3=no"
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2187 main ()
2189 if (sizeof ($2))
2190 return 0;
2192 return 0;
2194 _ACEOF
2195 if ac_fn_c_try_compile "$LINENO"; then :
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2200 main ()
2202 if (sizeof (($2)))
2203 return 0;
2205 return 0;
2207 _ACEOF
2208 if ac_fn_c_try_compile "$LINENO"; then :
2210 else
2211 eval "$3=yes"
2213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2217 eval ac_res=\$$3
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2219 $as_echo "$ac_res" >&6; }
2220 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2222 } # ac_fn_c_check_type
2223 cat >config.log <<_ACEOF
2224 This file contains any messages produced by compilers while
2225 running configure, to aid debugging if configure makes a mistake.
2227 It was created by Wine $as_me 1.7.3, which was
2228 generated by GNU Autoconf 2.69. Invocation command line was
2230 $ $0 $@
2232 _ACEOF
2233 exec 5>>config.log
2235 cat <<_ASUNAME
2236 ## --------- ##
2237 ## Platform. ##
2238 ## --------- ##
2240 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2241 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2242 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2243 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2244 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2246 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2247 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2249 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2250 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2251 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2252 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2253 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2254 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2255 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2257 _ASUNAME
2259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2260 for as_dir in $PATH
2262 IFS=$as_save_IFS
2263 test -z "$as_dir" && as_dir=.
2264 $as_echo "PATH: $as_dir"
2265 done
2266 IFS=$as_save_IFS
2268 } >&5
2270 cat >&5 <<_ACEOF
2273 ## ----------- ##
2274 ## Core tests. ##
2275 ## ----------- ##
2277 _ACEOF
2280 # Keep a trace of the command line.
2281 # Strip out --no-create and --no-recursion so they do not pile up.
2282 # Strip out --silent because we don't want to record it for future runs.
2283 # Also quote any args containing shell meta-characters.
2284 # Make two passes to allow for proper duplicate-argument suppression.
2285 ac_configure_args=
2286 ac_configure_args0=
2287 ac_configure_args1=
2288 ac_must_keep_next=false
2289 for ac_pass in 1 2
2291 for ac_arg
2293 case $ac_arg in
2294 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2295 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2296 | -silent | --silent | --silen | --sile | --sil)
2297 continue ;;
2298 *\'*)
2299 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2300 esac
2301 case $ac_pass in
2302 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2304 as_fn_append ac_configure_args1 " '$ac_arg'"
2305 if test $ac_must_keep_next = true; then
2306 ac_must_keep_next=false # Got value, back to normal.
2307 else
2308 case $ac_arg in
2309 *=* | --config-cache | -C | -disable-* | --disable-* \
2310 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2311 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2312 | -with-* | --with-* | -without-* | --without-* | --x)
2313 case "$ac_configure_args0 " in
2314 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2315 esac
2317 -* ) ac_must_keep_next=true ;;
2318 esac
2320 as_fn_append ac_configure_args " '$ac_arg'"
2322 esac
2323 done
2324 done
2325 { ac_configure_args0=; unset ac_configure_args0;}
2326 { ac_configure_args1=; unset ac_configure_args1;}
2328 # When interrupted or exit'd, cleanup temporary files, and complete
2329 # config.log. We remove comments because anyway the quotes in there
2330 # would cause problems or look ugly.
2331 # WARNING: Use '\'' to represent an apostrophe within the trap.
2332 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2333 trap 'exit_status=$?
2334 # Save into config.log some information that might help in debugging.
2336 echo
2338 $as_echo "## ---------------- ##
2339 ## Cache variables. ##
2340 ## ---------------- ##"
2341 echo
2342 # The following way of writing the cache mishandles newlines in values,
2344 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2345 eval ac_val=\$$ac_var
2346 case $ac_val in #(
2347 *${as_nl}*)
2348 case $ac_var in #(
2349 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2350 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2351 esac
2352 case $ac_var in #(
2353 _ | IFS | as_nl) ;; #(
2354 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2355 *) { eval $ac_var=; unset $ac_var;} ;;
2356 esac ;;
2357 esac
2358 done
2359 (set) 2>&1 |
2360 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2361 *${as_nl}ac_space=\ *)
2362 sed -n \
2363 "s/'\''/'\''\\\\'\'''\''/g;
2364 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2365 ;; #(
2367 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2369 esac |
2370 sort
2372 echo
2374 $as_echo "## ----------------- ##
2375 ## Output variables. ##
2376 ## ----------------- ##"
2377 echo
2378 for ac_var in $ac_subst_vars
2380 eval ac_val=\$$ac_var
2381 case $ac_val in
2382 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2383 esac
2384 $as_echo "$ac_var='\''$ac_val'\''"
2385 done | sort
2386 echo
2388 if test -n "$ac_subst_files"; then
2389 $as_echo "## ------------------- ##
2390 ## File substitutions. ##
2391 ## ------------------- ##"
2392 echo
2393 for ac_var in $ac_subst_files
2395 eval ac_val=\$$ac_var
2396 case $ac_val in
2397 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2398 esac
2399 $as_echo "$ac_var='\''$ac_val'\''"
2400 done | sort
2401 echo
2404 if test -s confdefs.h; then
2405 $as_echo "## ----------- ##
2406 ## confdefs.h. ##
2407 ## ----------- ##"
2408 echo
2409 cat confdefs.h
2410 echo
2412 test "$ac_signal" != 0 &&
2413 $as_echo "$as_me: caught signal $ac_signal"
2414 $as_echo "$as_me: exit $exit_status"
2415 } >&5
2416 rm -f core *.core core.conftest.* &&
2417 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2418 exit $exit_status
2420 for ac_signal in 1 2 13 15; do
2421 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2422 done
2423 ac_signal=0
2425 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2426 rm -f -r conftest* confdefs.h
2428 $as_echo "/* confdefs.h */" > confdefs.h
2430 # Predefined preprocessor variables.
2432 cat >>confdefs.h <<_ACEOF
2433 #define PACKAGE_NAME "$PACKAGE_NAME"
2434 _ACEOF
2436 cat >>confdefs.h <<_ACEOF
2437 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2438 _ACEOF
2440 cat >>confdefs.h <<_ACEOF
2441 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2442 _ACEOF
2444 cat >>confdefs.h <<_ACEOF
2445 #define PACKAGE_STRING "$PACKAGE_STRING"
2446 _ACEOF
2448 cat >>confdefs.h <<_ACEOF
2449 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2450 _ACEOF
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_URL "$PACKAGE_URL"
2454 _ACEOF
2457 # Let the site file select an alternate cache file if it wants to.
2458 # Prefer an explicitly selected file to automatically selected ones.
2459 ac_site_file1=NONE
2460 ac_site_file2=NONE
2461 if test -n "$CONFIG_SITE"; then
2462 # We do not want a PATH search for config.site.
2463 case $CONFIG_SITE in #((
2464 -*) ac_site_file1=./$CONFIG_SITE;;
2465 */*) ac_site_file1=$CONFIG_SITE;;
2466 *) ac_site_file1=./$CONFIG_SITE;;
2467 esac
2468 elif test "x$prefix" != xNONE; then
2469 ac_site_file1=$prefix/share/config.site
2470 ac_site_file2=$prefix/etc/config.site
2471 else
2472 ac_site_file1=$ac_default_prefix/share/config.site
2473 ac_site_file2=$ac_default_prefix/etc/config.site
2475 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2477 test "x$ac_site_file" = xNONE && continue
2478 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2480 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2481 sed 's/^/| /' "$ac_site_file" >&5
2482 . "$ac_site_file" \
2483 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2485 as_fn_error $? "failed to load site script $ac_site_file
2486 See \`config.log' for more details" "$LINENO" 5; }
2488 done
2490 if test -r "$cache_file"; then
2491 # Some versions of bash will fail to source /dev/null (special files
2492 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2493 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2495 $as_echo "$as_me: loading cache $cache_file" >&6;}
2496 case $cache_file in
2497 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2498 *) . "./$cache_file";;
2499 esac
2501 else
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2503 $as_echo "$as_me: creating cache $cache_file" >&6;}
2504 >$cache_file
2507 # Check that the precious variables saved in the cache have kept the same
2508 # value.
2509 ac_cache_corrupted=false
2510 for ac_var in $ac_precious_vars; do
2511 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2512 eval ac_new_set=\$ac_env_${ac_var}_set
2513 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2514 eval ac_new_val=\$ac_env_${ac_var}_value
2515 case $ac_old_set,$ac_new_set in
2516 set,)
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2518 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2519 ac_cache_corrupted=: ;;
2520 ,set)
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2522 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2523 ac_cache_corrupted=: ;;
2524 ,);;
2526 if test "x$ac_old_val" != "x$ac_new_val"; then
2527 # differences in whitespace do not lead to failure.
2528 ac_old_val_w=`echo x $ac_old_val`
2529 ac_new_val_w=`echo x $ac_new_val`
2530 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2532 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2533 ac_cache_corrupted=:
2534 else
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2536 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2537 eval $ac_var=\$ac_old_val
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2540 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2542 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2543 fi;;
2544 esac
2545 # Pass precious variables to config.status.
2546 if test "$ac_new_set" = set; then
2547 case $ac_new_val in
2548 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2549 *) ac_arg=$ac_var=$ac_new_val ;;
2550 esac
2551 case " $ac_configure_args " in
2552 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2553 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2554 esac
2556 done
2557 if $ac_cache_corrupted; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2561 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2562 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2564 ## -------------------- ##
2565 ## Main body of script. ##
2566 ## -------------------- ##
2568 ac_ext=c
2569 ac_cpp='$CPP $CPPFLAGS'
2570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2576 ac_config_headers="$ac_config_headers include/config.h"
2578 ac_aux_dir=
2579 for ac_dir in tools "$srcdir"/tools; do
2580 if test -f "$ac_dir/install-sh"; then
2581 ac_aux_dir=$ac_dir
2582 ac_install_sh="$ac_aux_dir/install-sh -c"
2583 break
2584 elif test -f "$ac_dir/install.sh"; then
2585 ac_aux_dir=$ac_dir
2586 ac_install_sh="$ac_aux_dir/install.sh -c"
2587 break
2588 elif test -f "$ac_dir/shtool"; then
2589 ac_aux_dir=$ac_dir
2590 ac_install_sh="$ac_aux_dir/shtool install -c"
2591 break
2593 done
2594 if test -z "$ac_aux_dir"; then
2595 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2598 # These three variables are undocumented and unsupported,
2599 # and are intended to be withdrawn in a future Autoconf release.
2600 # They can cause serious problems if a builder's source tree is in a directory
2601 # whose full name contains unusual characters.
2602 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2603 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2604 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2610 # Check whether --enable-win16 was given.
2611 if test "${enable_win16+set}" = set; then :
2612 enableval=$enable_win16;
2615 # Check whether --enable-win64 was given.
2616 if test "${enable_win64+set}" = set; then :
2617 enableval=$enable_win64;
2620 # Check whether --enable-tests was given.
2621 if test "${enable_tests+set}" = set; then :
2622 enableval=$enable_tests;
2625 # Check whether --enable-maintainer-mode was given.
2626 if test "${enable_maintainer_mode+set}" = set; then :
2627 enableval=$enable_maintainer_mode;
2632 # Check whether --with-alsa was given.
2633 if test "${with_alsa+set}" = set; then :
2634 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2638 # Check whether --with-capi was given.
2639 if test "${with_capi+set}" = set; then :
2640 withval=$with_capi;
2644 # Check whether --with-cms was given.
2645 if test "${with_cms+set}" = set; then :
2646 withval=$with_cms;
2650 # Check whether --with-coreaudio was given.
2651 if test "${with_coreaudio+set}" = set; then :
2652 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2656 # Check whether --with-cups was given.
2657 if test "${with_cups+set}" = set; then :
2658 withval=$with_cups;
2662 # Check whether --with-curses was given.
2663 if test "${with_curses+set}" = set; then :
2664 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2668 # Check whether --with-dbus was given.
2669 if test "${with_dbus+set}" = set; then :
2670 withval=$with_dbus;
2674 # Check whether --with-fontconfig was given.
2675 if test "${with_fontconfig+set}" = set; then :
2676 withval=$with_fontconfig;
2680 # Check whether --with-freetype was given.
2681 if test "${with_freetype+set}" = set; then :
2682 withval=$with_freetype;
2686 # Check whether --with-gettext was given.
2687 if test "${with_gettext+set}" = set; then :
2688 withval=$with_gettext;
2692 # Check whether --with-gettextpo was given.
2693 if test "${with_gettextpo+set}" = set; then :
2694 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2698 # Check whether --with-gphoto was given.
2699 if test "${with_gphoto+set}" = set; then :
2700 withval=$with_gphoto;
2704 # Check whether --with-glu was given.
2705 if test "${with_glu+set}" = set; then :
2706 withval=$with_glu;
2710 # Check whether --with-gnutls was given.
2711 if test "${with_gnutls+set}" = set; then :
2712 withval=$with_gnutls;
2716 # Check whether --with-gsm was given.
2717 if test "${with_gsm+set}" = set; then :
2718 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2722 # Check whether --with-gstreamer was given.
2723 if test "${with_gstreamer+set}" = set; then :
2724 withval=$with_gstreamer;
2728 # Check whether --with-hal was given.
2729 if test "${with_hal+set}" = set; then :
2730 withval=$with_hal;
2734 # Check whether --with-jpeg was given.
2735 if test "${with_jpeg+set}" = set; then :
2736 withval=$with_jpeg;
2740 # Check whether --with-ldap was given.
2741 if test "${with_ldap+set}" = set; then :
2742 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2746 # Check whether --with-mpg123 was given.
2747 if test "${with_mpg123+set}" = set; then :
2748 withval=$with_mpg123;
2752 # Check whether --with-openal was given.
2753 if test "${with_openal+set}" = set; then :
2754 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2758 # Check whether --with-opencl was given.
2759 if test "${with_opencl+set}" = set; then :
2760 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2764 # Check whether --with-opengl was given.
2765 if test "${with_opengl+set}" = set; then :
2766 withval=$with_opengl;
2770 # Check whether --with-osmesa was given.
2771 if test "${with_osmesa+set}" = set; then :
2772 withval=$with_osmesa;
2776 # Check whether --with-oss was given.
2777 if test "${with_oss+set}" = set; then :
2778 withval=$with_oss;
2782 # Check whether --with-png was given.
2783 if test "${with_png+set}" = set; then :
2784 withval=$with_png;
2788 # Check whether --with-pthread was given.
2789 if test "${with_pthread+set}" = set; then :
2790 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2794 # Check whether --with-sane was given.
2795 if test "${with_sane+set}" = set; then :
2796 withval=$with_sane;
2800 # Check whether --with-tiff was given.
2801 if test "${with_tiff+set}" = set; then :
2802 withval=$with_tiff;
2806 # Check whether --with-v4l was given.
2807 if test "${with_v4l+set}" = set; then :
2808 withval=$with_v4l;
2812 # Check whether --with-xcomposite was given.
2813 if test "${with_xcomposite+set}" = set; then :
2814 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2818 # Check whether --with-xcursor was given.
2819 if test "${with_xcursor+set}" = set; then :
2820 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2824 # Check whether --with-xinerama was given.
2825 if test "${with_xinerama+set}" = set; then :
2826 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2830 # Check whether --with-xinput was given.
2831 if test "${with_xinput+set}" = set; then :
2832 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2836 # Check whether --with-xinput2 was given.
2837 if test "${with_xinput2+set}" = set; then :
2838 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2842 # Check whether --with-xml was given.
2843 if test "${with_xml+set}" = set; then :
2844 withval=$with_xml;
2848 # Check whether --with-xrandr was given.
2849 if test "${with_xrandr+set}" = set; then :
2850 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2854 # Check whether --with-xrender was given.
2855 if test "${with_xrender+set}" = set; then :
2856 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2860 # Check whether --with-xshape was given.
2861 if test "${with_xshape+set}" = set; then :
2862 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2866 # Check whether --with-xshm was given.
2867 if test "${with_xshm+set}" = set; then :
2868 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2872 # Check whether --with-xslt was given.
2873 if test "${with_xslt+set}" = set; then :
2874 withval=$with_xslt;
2878 # Check whether --with-xxf86vm was given.
2879 if test "${with_xxf86vm+set}" = set; then :
2880 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
2884 # Check whether --with-zlib was given.
2885 if test "${with_zlib+set}" = set; then :
2886 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2891 # Check whether --with-wine-tools was given.
2892 if test "${with_wine_tools+set}" = set; then :
2893 withval=$with_wine_tools;
2897 # Check whether --with-wine64 was given.
2898 if test "${with_wine64+set}" = set; then :
2899 withval=$with_wine64;
2903 # Make sure we can run config.sub.
2904 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2905 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2908 $as_echo_n "checking build system type... " >&6; }
2909 if ${ac_cv_build+:} false; then :
2910 $as_echo_n "(cached) " >&6
2911 else
2912 ac_build_alias=$build_alias
2913 test "x$ac_build_alias" = x &&
2914 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2915 test "x$ac_build_alias" = x &&
2916 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2917 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2918 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2922 $as_echo "$ac_cv_build" >&6; }
2923 case $ac_cv_build in
2924 *-*-*) ;;
2925 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2926 esac
2927 build=$ac_cv_build
2928 ac_save_IFS=$IFS; IFS='-'
2929 set x $ac_cv_build
2930 shift
2931 build_cpu=$1
2932 build_vendor=$2
2933 shift; shift
2934 # Remember, the first character of IFS is used to create $*,
2935 # except with old shells:
2936 build_os=$*
2937 IFS=$ac_save_IFS
2938 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2942 $as_echo_n "checking host system type... " >&6; }
2943 if ${ac_cv_host+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 if test "x$host_alias" = x; then
2947 ac_cv_host=$ac_cv_build
2948 else
2949 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2950 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2955 $as_echo "$ac_cv_host" >&6; }
2956 case $ac_cv_host in
2957 *-*-*) ;;
2958 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2959 esac
2960 host=$ac_cv_host
2961 ac_save_IFS=$IFS; IFS='-'
2962 set x $ac_cv_host
2963 shift
2964 host_cpu=$1
2965 host_vendor=$2
2966 shift; shift
2967 # Remember, the first character of IFS is used to create $*,
2968 # except with old shells:
2969 host_os=$*
2970 IFS=$ac_save_IFS
2971 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2975 case "$srcdir" in
2976 .) ;;
2977 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2978 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2979 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2980 fi ;;
2981 esac
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2985 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2986 set x ${MAKE-make}
2987 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2988 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2989 $as_echo_n "(cached) " >&6
2990 else
2991 cat >conftest.make <<\_ACEOF
2992 SHELL = /bin/sh
2993 all:
2994 @echo '@@@%%%=$(MAKE)=@@@%%%'
2995 _ACEOF
2996 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2997 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2998 *@@@%%%=?*=@@@%%%*)
2999 eval ac_cv_prog_make_${ac_make}_set=yes;;
3001 eval ac_cv_prog_make_${ac_make}_set=no;;
3002 esac
3003 rm -f conftest.make
3005 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3007 $as_echo "yes" >&6; }
3008 SET_MAKE=
3009 else
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011 $as_echo "no" >&6; }
3012 SET_MAKE="MAKE=${MAKE-make}"
3015 ac_ext=c
3016 ac_cpp='$CPP $CPPFLAGS'
3017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3020 if test -n "$ac_tool_prefix"; then
3021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3022 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3024 $as_echo_n "checking for $ac_word... " >&6; }
3025 if ${ac_cv_prog_CC+:} false; then :
3026 $as_echo_n "(cached) " >&6
3027 else
3028 if test -n "$CC"; then
3029 ac_cv_prog_CC="$CC" # Let the user override the test.
3030 else
3031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032 for as_dir in $PATH
3034 IFS=$as_save_IFS
3035 test -z "$as_dir" && as_dir=.
3036 for ac_exec_ext in '' $ac_executable_extensions; do
3037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3038 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3040 break 2
3042 done
3043 done
3044 IFS=$as_save_IFS
3048 CC=$ac_cv_prog_CC
3049 if test -n "$CC"; then
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3051 $as_echo "$CC" >&6; }
3052 else
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3054 $as_echo "no" >&6; }
3059 if test -z "$ac_cv_prog_CC"; then
3060 ac_ct_CC=$CC
3061 # Extract the first word of "gcc", so it can be a program name with args.
3062 set dummy gcc; ac_word=$2
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064 $as_echo_n "checking for $ac_word... " >&6; }
3065 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3066 $as_echo_n "(cached) " >&6
3067 else
3068 if test -n "$ac_ct_CC"; then
3069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3070 else
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072 for as_dir in $PATH
3074 IFS=$as_save_IFS
3075 test -z "$as_dir" && as_dir=.
3076 for ac_exec_ext in '' $ac_executable_extensions; do
3077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078 ac_cv_prog_ac_ct_CC="gcc"
3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 break 2
3082 done
3083 done
3084 IFS=$as_save_IFS
3088 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3089 if test -n "$ac_ct_CC"; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3091 $as_echo "$ac_ct_CC" >&6; }
3092 else
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3097 if test "x$ac_ct_CC" = x; then
3098 CC=""
3099 else
3100 case $cross_compiling:$ac_tool_warned in
3101 yes:)
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3104 ac_tool_warned=yes ;;
3105 esac
3106 CC=$ac_ct_CC
3108 else
3109 CC="$ac_cv_prog_CC"
3112 if test -z "$CC"; then
3113 if test -n "$ac_tool_prefix"; then
3114 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3115 set dummy ${ac_tool_prefix}cc; ac_word=$2
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117 $as_echo_n "checking for $ac_word... " >&6; }
3118 if ${ac_cv_prog_CC+:} false; then :
3119 $as_echo_n "(cached) " >&6
3120 else
3121 if test -n "$CC"; then
3122 ac_cv_prog_CC="$CC" # Let the user override the test.
3123 else
3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125 for as_dir in $PATH
3127 IFS=$as_save_IFS
3128 test -z "$as_dir" && as_dir=.
3129 for ac_exec_ext in '' $ac_executable_extensions; do
3130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3131 ac_cv_prog_CC="${ac_tool_prefix}cc"
3132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 break 2
3135 done
3136 done
3137 IFS=$as_save_IFS
3141 CC=$ac_cv_prog_CC
3142 if test -n "$CC"; then
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3144 $as_echo "$CC" >&6; }
3145 else
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3153 if test -z "$CC"; then
3154 # Extract the first word of "cc", so it can be a program name with args.
3155 set dummy cc; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if ${ac_cv_prog_CC+:} false; then :
3159 $as_echo_n "(cached) " >&6
3160 else
3161 if test -n "$CC"; then
3162 ac_cv_prog_CC="$CC" # Let the user override the test.
3163 else
3164 ac_prog_rejected=no
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 for as_dir in $PATH
3168 IFS=$as_save_IFS
3169 test -z "$as_dir" && as_dir=.
3170 for ac_exec_ext in '' $ac_executable_extensions; do
3171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3173 ac_prog_rejected=yes
3174 continue
3176 ac_cv_prog_CC="cc"
3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 break 2
3180 done
3181 done
3182 IFS=$as_save_IFS
3184 if test $ac_prog_rejected = yes; then
3185 # We found a bogon in the path, so make sure we never use it.
3186 set dummy $ac_cv_prog_CC
3187 shift
3188 if test $# != 0; then
3189 # We chose a different compiler from the bogus one.
3190 # However, it has the same basename, so the bogon will be chosen
3191 # first if we set CC to just the basename; use the full file name.
3192 shift
3193 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3198 CC=$ac_cv_prog_CC
3199 if test -n "$CC"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3201 $as_echo "$CC" >&6; }
3202 else
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3209 if test -z "$CC"; then
3210 if test -n "$ac_tool_prefix"; then
3211 for ac_prog in cl.exe
3213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3214 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216 $as_echo_n "checking for $ac_word... " >&6; }
3217 if ${ac_cv_prog_CC+:} false; then :
3218 $as_echo_n "(cached) " >&6
3219 else
3220 if test -n "$CC"; then
3221 ac_cv_prog_CC="$CC" # Let the user override the test.
3222 else
3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224 for as_dir in $PATH
3226 IFS=$as_save_IFS
3227 test -z "$as_dir" && as_dir=.
3228 for ac_exec_ext in '' $ac_executable_extensions; do
3229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3230 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 break 2
3234 done
3235 done
3236 IFS=$as_save_IFS
3240 CC=$ac_cv_prog_CC
3241 if test -n "$CC"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3243 $as_echo "$CC" >&6; }
3244 else
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246 $as_echo "no" >&6; }
3250 test -n "$CC" && break
3251 done
3253 if test -z "$CC"; then
3254 ac_ct_CC=$CC
3255 for ac_prog in cl.exe
3257 # Extract the first word of "$ac_prog", so it can be a program name with args.
3258 set dummy $ac_prog; ac_word=$2
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3260 $as_echo_n "checking for $ac_word... " >&6; }
3261 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3262 $as_echo_n "(cached) " >&6
3263 else
3264 if test -n "$ac_ct_CC"; then
3265 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3266 else
3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 for as_dir in $PATH
3270 IFS=$as_save_IFS
3271 test -z "$as_dir" && as_dir=.
3272 for ac_exec_ext in '' $ac_executable_extensions; do
3273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3274 ac_cv_prog_ac_ct_CC="$ac_prog"
3275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 break 2
3278 done
3279 done
3280 IFS=$as_save_IFS
3284 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3285 if test -n "$ac_ct_CC"; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3287 $as_echo "$ac_ct_CC" >&6; }
3288 else
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3290 $as_echo "no" >&6; }
3294 test -n "$ac_ct_CC" && break
3295 done
3297 if test "x$ac_ct_CC" = x; then
3298 CC=""
3299 else
3300 case $cross_compiling:$ac_tool_warned in
3301 yes:)
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3304 ac_tool_warned=yes ;;
3305 esac
3306 CC=$ac_ct_CC
3313 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3315 as_fn_error $? "no acceptable C compiler found in \$PATH
3316 See \`config.log' for more details" "$LINENO" 5; }
3318 # Provide some information about the compiler.
3319 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3320 set X $ac_compile
3321 ac_compiler=$2
3322 for ac_option in --version -v -V -qversion; do
3323 { { ac_try="$ac_compiler $ac_option >&5"
3324 case "(($ac_try" in
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3327 esac
3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3329 $as_echo "$ac_try_echo"; } >&5
3330 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3331 ac_status=$?
3332 if test -s conftest.err; then
3333 sed '10a\
3334 ... rest of stderr output deleted ...
3335 10q' conftest.err >conftest.er1
3336 cat conftest.er1 >&5
3338 rm -f conftest.er1 conftest.err
3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340 test $ac_status = 0; }
3341 done
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3347 main ()
3351 return 0;
3353 _ACEOF
3354 ac_clean_files_save=$ac_clean_files
3355 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3356 # Try to create an executable without -o first, disregard a.out.
3357 # It will help us diagnose broken compilers, and finding out an intuition
3358 # of exeext.
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3360 $as_echo_n "checking whether the C compiler works... " >&6; }
3361 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3363 # The possible output files:
3364 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3366 ac_rmfiles=
3367 for ac_file in $ac_files
3369 case $ac_file in
3370 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3371 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3372 esac
3373 done
3374 rm -f $ac_rmfiles
3376 if { { ac_try="$ac_link_default"
3377 case "(($ac_try" in
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3380 esac
3381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3382 $as_echo "$ac_try_echo"; } >&5
3383 (eval "$ac_link_default") 2>&5
3384 ac_status=$?
3385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3386 test $ac_status = 0; }; then :
3387 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3388 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3389 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3390 # so that the user can short-circuit this test for compilers unknown to
3391 # Autoconf.
3392 for ac_file in $ac_files ''
3394 test -f "$ac_file" || continue
3395 case $ac_file in
3396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3398 [ab].out )
3399 # We found the default executable, but exeext='' is most
3400 # certainly right.
3401 break;;
3402 *.* )
3403 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3404 then :; else
3405 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3407 # We set ac_cv_exeext here because the later test for it is not
3408 # safe: cross compilers may not add the suffix if given an `-o'
3409 # argument, so we may need to know it at that point already.
3410 # Even if this section looks crufty: it has the advantage of
3411 # actually working.
3412 break;;
3414 break;;
3415 esac
3416 done
3417 test "$ac_cv_exeext" = no && ac_cv_exeext=
3419 else
3420 ac_file=''
3422 if test -z "$ac_file"; then :
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3424 $as_echo "no" >&6; }
3425 $as_echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5
3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error 77 "C compiler cannot create executables
3431 See \`config.log' for more details" "$LINENO" 5; }
3432 else
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3434 $as_echo "yes" >&6; }
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3437 $as_echo_n "checking for C compiler default output file name... " >&6; }
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3439 $as_echo "$ac_file" >&6; }
3440 ac_exeext=$ac_cv_exeext
3442 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3443 ac_clean_files=$ac_clean_files_save
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3445 $as_echo_n "checking for suffix of executables... " >&6; }
3446 if { { ac_try="$ac_link"
3447 case "(($ac_try" in
3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3450 esac
3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453 (eval "$ac_link") 2>&5
3454 ac_status=$?
3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456 test $ac_status = 0; }; then :
3457 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3458 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3459 # work properly (i.e., refer to `conftest.exe'), while it won't with
3460 # `rm'.
3461 for ac_file in conftest.exe conftest conftest.*; do
3462 test -f "$ac_file" || continue
3463 case $ac_file in
3464 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3465 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3466 break;;
3467 * ) break;;
3468 esac
3469 done
3470 else
3471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3474 See \`config.log' for more details" "$LINENO" 5; }
3476 rm -f conftest conftest$ac_cv_exeext
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3478 $as_echo "$ac_cv_exeext" >&6; }
3480 rm -f conftest.$ac_ext
3481 EXEEXT=$ac_cv_exeext
3482 ac_exeext=$EXEEXT
3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 /* end confdefs.h. */
3485 #include <stdio.h>
3487 main ()
3489 FILE *f = fopen ("conftest.out", "w");
3490 return ferror (f) || fclose (f) != 0;
3493 return 0;
3495 _ACEOF
3496 ac_clean_files="$ac_clean_files conftest.out"
3497 # Check that the compiler produces executables we can run. If not, either
3498 # the compiler is broken, or we cross compile.
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3500 $as_echo_n "checking whether we are cross compiling... " >&6; }
3501 if test "$cross_compiling" != yes; then
3502 { { ac_try="$ac_link"
3503 case "(($ac_try" in
3504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505 *) ac_try_echo=$ac_try;;
3506 esac
3507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3508 $as_echo "$ac_try_echo"; } >&5
3509 (eval "$ac_link") 2>&5
3510 ac_status=$?
3511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3512 test $ac_status = 0; }
3513 if { ac_try='./conftest$ac_cv_exeext'
3514 { { case "(($ac_try" in
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3517 esac
3518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3519 $as_echo "$ac_try_echo"; } >&5
3520 (eval "$ac_try") 2>&5
3521 ac_status=$?
3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3523 test $ac_status = 0; }; }; then
3524 cross_compiling=no
3525 else
3526 if test "$cross_compiling" = maybe; then
3527 cross_compiling=yes
3528 else
3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531 as_fn_error $? "cannot run C compiled programs.
3532 If you meant to cross compile, use \`--host'.
3533 See \`config.log' for more details" "$LINENO" 5; }
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3538 $as_echo "$cross_compiling" >&6; }
3540 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3541 ac_clean_files=$ac_clean_files_save
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3543 $as_echo_n "checking for suffix of object files... " >&6; }
3544 if ${ac_cv_objext+:} false; then :
3545 $as_echo_n "(cached) " >&6
3546 else
3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3548 /* end confdefs.h. */
3551 main ()
3555 return 0;
3557 _ACEOF
3558 rm -f conftest.o conftest.obj
3559 if { { ac_try="$ac_compile"
3560 case "(($ac_try" in
3561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3562 *) ac_try_echo=$ac_try;;
3563 esac
3564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3565 $as_echo "$ac_try_echo"; } >&5
3566 (eval "$ac_compile") 2>&5
3567 ac_status=$?
3568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3569 test $ac_status = 0; }; then :
3570 for ac_file in conftest.o conftest.obj conftest.*; do
3571 test -f "$ac_file" || continue;
3572 case $ac_file in
3573 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3574 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3575 break;;
3576 esac
3577 done
3578 else
3579 $as_echo "$as_me: failed program was:" >&5
3580 sed 's/^/| /' conftest.$ac_ext >&5
3582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3584 as_fn_error $? "cannot compute suffix of object files: cannot compile
3585 See \`config.log' for more details" "$LINENO" 5; }
3587 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3590 $as_echo "$ac_cv_objext" >&6; }
3591 OBJEXT=$ac_cv_objext
3592 ac_objext=$OBJEXT
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3594 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3595 if ${ac_cv_c_compiler_gnu+:} false; then :
3596 $as_echo_n "(cached) " >&6
3597 else
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3602 main ()
3604 #ifndef __GNUC__
3605 choke me
3606 #endif
3609 return 0;
3611 _ACEOF
3612 if ac_fn_c_try_compile "$LINENO"; then :
3613 ac_compiler_gnu=yes
3614 else
3615 ac_compiler_gnu=no
3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3622 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3623 if test $ac_compiler_gnu = yes; then
3624 GCC=yes
3625 else
3626 GCC=
3628 ac_test_CFLAGS=${CFLAGS+set}
3629 ac_save_CFLAGS=$CFLAGS
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3631 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3632 if ${ac_cv_prog_cc_g+:} false; then :
3633 $as_echo_n "(cached) " >&6
3634 else
3635 ac_save_c_werror_flag=$ac_c_werror_flag
3636 ac_c_werror_flag=yes
3637 ac_cv_prog_cc_g=no
3638 CFLAGS="-g"
3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3643 main ()
3647 return 0;
3649 _ACEOF
3650 if ac_fn_c_try_compile "$LINENO"; then :
3651 ac_cv_prog_cc_g=yes
3652 else
3653 CFLAGS=""
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3658 main ()
3662 return 0;
3664 _ACEOF
3665 if ac_fn_c_try_compile "$LINENO"; then :
3667 else
3668 ac_c_werror_flag=$ac_save_c_werror_flag
3669 CFLAGS="-g"
3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3674 main ()
3678 return 0;
3680 _ACEOF
3681 if ac_fn_c_try_compile "$LINENO"; then :
3682 ac_cv_prog_cc_g=yes
3684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689 ac_c_werror_flag=$ac_save_c_werror_flag
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3692 $as_echo "$ac_cv_prog_cc_g" >&6; }
3693 if test "$ac_test_CFLAGS" = set; then
3694 CFLAGS=$ac_save_CFLAGS
3695 elif test $ac_cv_prog_cc_g = yes; then
3696 if test "$GCC" = yes; then
3697 CFLAGS="-g -O2"
3698 else
3699 CFLAGS="-g"
3701 else
3702 if test "$GCC" = yes; then
3703 CFLAGS="-O2"
3704 else
3705 CFLAGS=
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3709 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3710 if ${ac_cv_prog_cc_c89+:} false; then :
3711 $as_echo_n "(cached) " >&6
3712 else
3713 ac_cv_prog_cc_c89=no
3714 ac_save_CC=$CC
3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h. */
3717 #include <stdarg.h>
3718 #include <stdio.h>
3719 struct stat;
3720 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3721 struct buf { int x; };
3722 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3723 static char *e (p, i)
3724 char **p;
3725 int i;
3727 return p[i];
3729 static char *f (char * (*g) (char **, int), char **p, ...)
3731 char *s;
3732 va_list v;
3733 va_start (v,p);
3734 s = g (p, va_arg (v,int));
3735 va_end (v);
3736 return s;
3739 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3740 function prototypes and stuff, but not '\xHH' hex character constants.
3741 These don't provoke an error unfortunately, instead are silently treated
3742 as 'x'. The following induces an error, until -std is added to get
3743 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3744 array size at least. It's necessary to write '\x00'==0 to get something
3745 that's true only with -std. */
3746 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3748 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3749 inside strings and character constants. */
3750 #define FOO(x) 'x'
3751 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3753 int test (int i, double x);
3754 struct s1 {int (*f) (int a);};
3755 struct s2 {int (*f) (double a);};
3756 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3757 int argc;
3758 char **argv;
3760 main ()
3762 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3764 return 0;
3766 _ACEOF
3767 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3768 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3770 CC="$ac_save_CC $ac_arg"
3771 if ac_fn_c_try_compile "$LINENO"; then :
3772 ac_cv_prog_cc_c89=$ac_arg
3774 rm -f core conftest.err conftest.$ac_objext
3775 test "x$ac_cv_prog_cc_c89" != "xno" && break
3776 done
3777 rm -f conftest.$ac_ext
3778 CC=$ac_save_CC
3781 # AC_CACHE_VAL
3782 case "x$ac_cv_prog_cc_c89" in
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3785 $as_echo "none needed" >&6; } ;;
3786 xno)
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3788 $as_echo "unsupported" >&6; } ;;
3790 CC="$CC $ac_cv_prog_cc_c89"
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3792 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3793 esac
3794 if test "x$ac_cv_prog_cc_c89" != xno; then :
3798 ac_ext=c
3799 ac_cpp='$CPP $CPPFLAGS'
3800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3804 ac_ext=cpp
3805 ac_cpp='$CXXCPP $CPPFLAGS'
3806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3809 if test -z "$CXX"; then
3810 if test -n "$CCC"; then
3811 CXX=$CCC
3812 else
3813 if test -n "$ac_tool_prefix"; then
3814 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3817 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3819 $as_echo_n "checking for $ac_word... " >&6; }
3820 if ${ac_cv_prog_CXX+:} false; then :
3821 $as_echo_n "(cached) " >&6
3822 else
3823 if test -n "$CXX"; then
3824 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3825 else
3826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3827 for as_dir in $PATH
3829 IFS=$as_save_IFS
3830 test -z "$as_dir" && as_dir=.
3831 for ac_exec_ext in '' $ac_executable_extensions; do
3832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3833 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3835 break 2
3837 done
3838 done
3839 IFS=$as_save_IFS
3843 CXX=$ac_cv_prog_CXX
3844 if test -n "$CXX"; then
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3846 $as_echo "$CXX" >&6; }
3847 else
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3849 $as_echo "no" >&6; }
3853 test -n "$CXX" && break
3854 done
3856 if test -z "$CXX"; then
3857 ac_ct_CXX=$CXX
3858 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3860 # Extract the first word of "$ac_prog", so it can be a program name with args.
3861 set dummy $ac_prog; ac_word=$2
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3863 $as_echo_n "checking for $ac_word... " >&6; }
3864 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3865 $as_echo_n "(cached) " >&6
3866 else
3867 if test -n "$ac_ct_CXX"; then
3868 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3869 else
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 for as_dir in $PATH
3873 IFS=$as_save_IFS
3874 test -z "$as_dir" && as_dir=.
3875 for ac_exec_ext in '' $ac_executable_extensions; do
3876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3877 ac_cv_prog_ac_ct_CXX="$ac_prog"
3878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 break 2
3881 done
3882 done
3883 IFS=$as_save_IFS
3887 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3888 if test -n "$ac_ct_CXX"; then
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3890 $as_echo "$ac_ct_CXX" >&6; }
3891 else
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3893 $as_echo "no" >&6; }
3897 test -n "$ac_ct_CXX" && break
3898 done
3900 if test "x$ac_ct_CXX" = x; then
3901 CXX="g++"
3902 else
3903 case $cross_compiling:$ac_tool_warned in
3904 yes:)
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3907 ac_tool_warned=yes ;;
3908 esac
3909 CXX=$ac_ct_CXX
3915 # Provide some information about the compiler.
3916 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3917 set X $ac_compile
3918 ac_compiler=$2
3919 for ac_option in --version -v -V -qversion; do
3920 { { ac_try="$ac_compiler $ac_option >&5"
3921 case "(($ac_try" in
3922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3923 *) ac_try_echo=$ac_try;;
3924 esac
3925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926 $as_echo "$ac_try_echo"; } >&5
3927 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3928 ac_status=$?
3929 if test -s conftest.err; then
3930 sed '10a\
3931 ... rest of stderr output deleted ...
3932 10q' conftest.err >conftest.er1
3933 cat conftest.er1 >&5
3935 rm -f conftest.er1 conftest.err
3936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3937 test $ac_status = 0; }
3938 done
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3941 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3942 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3943 $as_echo_n "(cached) " >&6
3944 else
3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3949 main ()
3951 #ifndef __GNUC__
3952 choke me
3953 #endif
3956 return 0;
3958 _ACEOF
3959 if ac_fn_cxx_try_compile "$LINENO"; then :
3960 ac_compiler_gnu=yes
3961 else
3962 ac_compiler_gnu=no
3964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3965 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3969 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3970 if test $ac_compiler_gnu = yes; then
3971 GXX=yes
3972 else
3973 GXX=
3975 ac_test_CXXFLAGS=${CXXFLAGS+set}
3976 ac_save_CXXFLAGS=$CXXFLAGS
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3978 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3979 if ${ac_cv_prog_cxx_g+:} false; then :
3980 $as_echo_n "(cached) " >&6
3981 else
3982 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3983 ac_cxx_werror_flag=yes
3984 ac_cv_prog_cxx_g=no
3985 CXXFLAGS="-g"
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3990 main ()
3994 return 0;
3996 _ACEOF
3997 if ac_fn_cxx_try_compile "$LINENO"; then :
3998 ac_cv_prog_cxx_g=yes
3999 else
4000 CXXFLAGS=""
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4005 main ()
4009 return 0;
4011 _ACEOF
4012 if ac_fn_cxx_try_compile "$LINENO"; then :
4014 else
4015 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4016 CXXFLAGS="-g"
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4021 main ()
4025 return 0;
4027 _ACEOF
4028 if ac_fn_cxx_try_compile "$LINENO"; then :
4029 ac_cv_prog_cxx_g=yes
4031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4036 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4039 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4040 if test "$ac_test_CXXFLAGS" = set; then
4041 CXXFLAGS=$ac_save_CXXFLAGS
4042 elif test $ac_cv_prog_cxx_g = yes; then
4043 if test "$GXX" = yes; then
4044 CXXFLAGS="-g -O2"
4045 else
4046 CXXFLAGS="-g"
4048 else
4049 if test "$GXX" = yes; then
4050 CXXFLAGS="-O2"
4051 else
4052 CXXFLAGS=
4055 ac_ext=c
4056 ac_cpp='$CPP $CPPFLAGS'
4057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4061 if test -n "$ac_tool_prefix"; then
4062 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4063 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4065 $as_echo_n "checking for $ac_word... " >&6; }
4066 if ${ac_cv_prog_CPPBIN+:} false; then :
4067 $as_echo_n "(cached) " >&6
4068 else
4069 if test -n "$CPPBIN"; then
4070 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4071 else
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 for as_dir in $PATH
4075 IFS=$as_save_IFS
4076 test -z "$as_dir" && as_dir=.
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4081 break 2
4083 done
4084 done
4085 IFS=$as_save_IFS
4089 CPPBIN=$ac_cv_prog_CPPBIN
4090 if test -n "$CPPBIN"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4092 $as_echo "$CPPBIN" >&6; }
4093 else
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095 $as_echo "no" >&6; }
4100 if test -z "$ac_cv_prog_CPPBIN"; then
4101 ac_ct_CPPBIN=$CPPBIN
4102 # Extract the first word of "cpp", so it can be a program name with args.
4103 set dummy cpp; ac_word=$2
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4105 $as_echo_n "checking for $ac_word... " >&6; }
4106 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4107 $as_echo_n "(cached) " >&6
4108 else
4109 if test -n "$ac_ct_CPPBIN"; then
4110 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4111 else
4112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113 for as_dir in $PATH
4115 IFS=$as_save_IFS
4116 test -z "$as_dir" && as_dir=.
4117 for ac_exec_ext in '' $ac_executable_extensions; do
4118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4119 ac_cv_prog_ac_ct_CPPBIN="cpp"
4120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4121 break 2
4123 done
4124 done
4125 IFS=$as_save_IFS
4129 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4130 if test -n "$ac_ct_CPPBIN"; then
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4132 $as_echo "$ac_ct_CPPBIN" >&6; }
4133 else
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4138 if test "x$ac_ct_CPPBIN" = x; then
4139 CPPBIN="cpp"
4140 else
4141 case $cross_compiling:$ac_tool_warned in
4142 yes:)
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4145 ac_tool_warned=yes ;;
4146 esac
4147 CPPBIN=$ac_ct_CPPBIN
4149 else
4150 CPPBIN="$ac_cv_prog_CPPBIN"
4154 cat >>confdefs.h <<_ACEOF
4155 #define EXEEXT "$ac_exeext"
4156 _ACEOF
4159 case $host in
4160 *-darwin*)
4161 if test "x$enable_win64" = "xyes"
4162 then
4163 CC="$CC -m64"
4164 CXX="$CXX -m64"
4165 host_cpu="x86_64"
4166 notice_platform="64-bit "
4167 TARGETFLAGS="-m64"
4169 else
4170 CC="$CC -m32"
4171 CXX="$CXX -m32"
4172 host_cpu="i386"
4173 notice_platform="32-bit "
4174 TARGETFLAGS="-m32"
4176 enable_win16=${enable_win16:-yes}
4178 with_fontconfig=${with_fontconfig:-no}
4180 x86_64*)
4181 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4182 then
4183 CC="$CC -m32"
4184 CXX="$CXX -m32"
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4186 $as_echo_n "checking whether $CC works... " >&6; }
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4192 main ()
4196 return 0;
4198 _ACEOF
4199 if ac_fn_c_try_link "$LINENO"; then :
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4201 $as_echo "yes" >&6; }
4202 else
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4204 $as_echo "no" >&6; }
4205 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4207 rm -f core conftest.err conftest.$ac_objext \
4208 conftest$ac_exeext conftest.$ac_ext
4209 host_cpu="i386"
4210 notice_platform="32-bit "
4211 TARGETFLAGS="-m32"
4213 enable_win16=${enable_win16:-yes}
4214 else
4215 if test "x${GCC}" = "xyes"
4216 then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4218 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4221 #include <stdarg.h>
4223 main ()
4225 void func(__builtin_ms_va_list *args);
4227 return 0;
4229 _ACEOF
4230 if ac_fn_c_try_compile "$LINENO"; then :
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4232 $as_echo "yes" >&6; }
4233 else
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235 $as_echo "no" >&6; }
4236 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 TARGETFLAGS="-m64"
4244 arm*)
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4246 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4249 int ac_test(int i) { return i; }
4251 main ()
4253 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4255 return 0;
4257 _ACEOF
4258 if ac_fn_c_try_link "$LINENO"; then :
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4260 $as_echo "yes" >&6; }
4261 else
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4263 $as_echo "no" >&6; }
4264 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4266 rm -f core conftest.err conftest.$ac_objext \
4267 conftest$ac_exeext conftest.$ac_ext
4268 CFLAGS="$CFLAGS -marm"
4270 *-mingw32*|*-cygwin*)
4271 enable_win16=${enable_win16:-no}
4272 CFLAGS="$CFLAGS -D_WIN32"
4274 i[3456789]86*)
4275 enable_win16=${enable_win16:-yes}
4277 esac
4279 enable_win16=${enable_win16:-no}
4280 enable_win64=${enable_win64:-no}
4282 enable_winetest=${enable_winetest:-$enable_tests}
4284 if test -n "$with_wine64"
4285 then
4286 if test "x$enable_win64" = "xyes"
4287 then
4288 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4289 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4291 WOW64_DISABLE=\#
4293 enable_fonts=${enable_fonts:-no}
4294 enable_server=${enable_server:-no}
4295 enable_tools=${enable_tools:-no}
4296 elif test "x$enable_win64" = "xyes"
4297 then
4298 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4302 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4303 if ${wine_cv_toolsdir+:} false; then :
4304 $as_echo_n "(cached) " >&6
4305 else
4306 wine_cv_toolsdir="$with_wine_tools"
4307 if test -z "$with_wine_tools"; then
4308 if test "$cross_compiling" = "yes"; then
4309 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4310 elif test -n "$with_wine64"; then
4311 wine_cv_toolsdir="$with_wine64"
4314 if test -z "$wine_cv_toolsdir"; then
4315 wine_cv_toolsdir="\$(top_builddir)"
4316 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4317 case "$wine_cv_toolsdir" in
4318 /*) ;;
4319 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4320 esac
4321 else
4322 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4326 $as_echo "$wine_cv_toolsdir" >&6; }
4327 TOOLSDIR=$wine_cv_toolsdir
4329 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4330 then
4331 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4335 for ac_prog in flex
4337 # Extract the first word of "$ac_prog", so it can be a program name with args.
4338 set dummy $ac_prog; ac_word=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if ${ac_cv_prog_FLEX+:} false; then :
4342 $as_echo_n "(cached) " >&6
4343 else
4344 if test -n "$FLEX"; then
4345 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4346 else
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH
4350 IFS=$as_save_IFS
4351 test -z "$as_dir" && as_dir=.
4352 for ac_exec_ext in '' $ac_executable_extensions; do
4353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4354 ac_cv_prog_FLEX="$ac_prog"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 break 2
4358 done
4359 done
4360 IFS=$as_save_IFS
4364 FLEX=$ac_cv_prog_FLEX
4365 if test -n "$FLEX"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4367 $as_echo "$FLEX" >&6; }
4368 else
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4374 test -n "$FLEX" && break
4375 done
4376 test -n "$FLEX" || FLEX="none"
4378 if test "$FLEX" = "none"
4379 then
4380 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4383 $as_echo_n "checking whether flex is recent enough... " >&6; }
4384 cat >conftest.l <<EOF
4385 %top{
4386 #include "prediluvian.h"
4390 if $FLEX -t conftest.l >/dev/null 2>&5
4391 then
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4393 $as_echo "yes" >&6; }
4394 else
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396 $as_echo "no" >&6; }
4397 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4400 for ac_prog in bison
4402 # Extract the first word of "$ac_prog", so it can be a program name with args.
4403 set dummy $ac_prog; ac_word=$2
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405 $as_echo_n "checking for $ac_word... " >&6; }
4406 if ${ac_cv_prog_BISON+:} false; then :
4407 $as_echo_n "(cached) " >&6
4408 else
4409 if test -n "$BISON"; then
4410 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4411 else
4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 for as_dir in $PATH
4415 IFS=$as_save_IFS
4416 test -z "$as_dir" && as_dir=.
4417 for ac_exec_ext in '' $ac_executable_extensions; do
4418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4419 ac_cv_prog_BISON="$ac_prog"
4420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421 break 2
4423 done
4424 done
4425 IFS=$as_save_IFS
4429 BISON=$ac_cv_prog_BISON
4430 if test -n "$BISON"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4432 $as_echo "$BISON" >&6; }
4433 else
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4439 test -n "$BISON" && break
4440 done
4441 test -n "$BISON" || BISON="none"
4443 if test "$BISON" = "none"
4444 then
4445 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4448 if test -n "$ac_tool_prefix"; then
4449 for ac_prog in ar gar
4451 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4452 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454 $as_echo_n "checking for $ac_word... " >&6; }
4455 if ${ac_cv_prog_AR+:} false; then :
4456 $as_echo_n "(cached) " >&6
4457 else
4458 if test -n "$AR"; then
4459 ac_cv_prog_AR="$AR" # Let the user override the test.
4460 else
4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462 for as_dir in $PATH
4464 IFS=$as_save_IFS
4465 test -z "$as_dir" && as_dir=.
4466 for ac_exec_ext in '' $ac_executable_extensions; do
4467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4468 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 break 2
4472 done
4473 done
4474 IFS=$as_save_IFS
4478 AR=$ac_cv_prog_AR
4479 if test -n "$AR"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4481 $as_echo "$AR" >&6; }
4482 else
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4488 test -n "$AR" && break
4489 done
4491 if test -z "$AR"; then
4492 ac_ct_AR=$AR
4493 for ac_prog in ar gar
4495 # Extract the first word of "$ac_prog", so it can be a program name with args.
4496 set dummy $ac_prog; ac_word=$2
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4498 $as_echo_n "checking for $ac_word... " >&6; }
4499 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4500 $as_echo_n "(cached) " >&6
4501 else
4502 if test -n "$ac_ct_AR"; then
4503 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4504 else
4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506 for as_dir in $PATH
4508 IFS=$as_save_IFS
4509 test -z "$as_dir" && as_dir=.
4510 for ac_exec_ext in '' $ac_executable_extensions; do
4511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4512 ac_cv_prog_ac_ct_AR="$ac_prog"
4513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4514 break 2
4516 done
4517 done
4518 IFS=$as_save_IFS
4522 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4523 if test -n "$ac_ct_AR"; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4525 $as_echo "$ac_ct_AR" >&6; }
4526 else
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4532 test -n "$ac_ct_AR" && break
4533 done
4535 if test "x$ac_ct_AR" = x; then
4536 AR="ar"
4537 else
4538 case $cross_compiling:$ac_tool_warned in
4539 yes:)
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4542 ac_tool_warned=yes ;;
4543 esac
4544 AR=$ac_ct_AR
4548 if test -n "$ac_tool_prefix"; then
4549 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4550 set dummy ${ac_tool_prefix}strip; ac_word=$2
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4552 $as_echo_n "checking for $ac_word... " >&6; }
4553 if ${ac_cv_prog_STRIP+:} false; then :
4554 $as_echo_n "(cached) " >&6
4555 else
4556 if test -n "$STRIP"; then
4557 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4558 else
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 for as_dir in $PATH
4562 IFS=$as_save_IFS
4563 test -z "$as_dir" && as_dir=.
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4566 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 break 2
4570 done
4571 done
4572 IFS=$as_save_IFS
4576 STRIP=$ac_cv_prog_STRIP
4577 if test -n "$STRIP"; then
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4579 $as_echo "$STRIP" >&6; }
4580 else
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582 $as_echo "no" >&6; }
4587 if test -z "$ac_cv_prog_STRIP"; then
4588 ac_ct_STRIP=$STRIP
4589 # Extract the first word of "strip", so it can be a program name with args.
4590 set dummy strip; ac_word=$2
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4594 $as_echo_n "(cached) " >&6
4595 else
4596 if test -n "$ac_ct_STRIP"; then
4597 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4598 else
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4600 for as_dir in $PATH
4602 IFS=$as_save_IFS
4603 test -z "$as_dir" && as_dir=.
4604 for ac_exec_ext in '' $ac_executable_extensions; do
4605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4606 ac_cv_prog_ac_ct_STRIP="strip"
4607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4608 break 2
4610 done
4611 done
4612 IFS=$as_save_IFS
4616 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4617 if test -n "$ac_ct_STRIP"; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4619 $as_echo "$ac_ct_STRIP" >&6; }
4620 else
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 $as_echo "no" >&6; }
4625 if test "x$ac_ct_STRIP" = x; then
4626 STRIP="strip"
4627 else
4628 case $cross_compiling:$ac_tool_warned in
4629 yes:)
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4632 ac_tool_warned=yes ;;
4633 esac
4634 STRIP=$ac_ct_STRIP
4636 else
4637 STRIP="$ac_cv_prog_STRIP"
4640 ARFLAGS=rc
4642 if test -n "$ac_tool_prefix"; then
4643 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4644 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 $as_echo_n "checking for $ac_word... " >&6; }
4647 if ${ac_cv_prog_RANLIB+:} false; then :
4648 $as_echo_n "(cached) " >&6
4649 else
4650 if test -n "$RANLIB"; then
4651 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4652 else
4653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 for as_dir in $PATH
4656 IFS=$as_save_IFS
4657 test -z "$as_dir" && as_dir=.
4658 for ac_exec_ext in '' $ac_executable_extensions; do
4659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4660 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 break 2
4664 done
4665 done
4666 IFS=$as_save_IFS
4670 RANLIB=$ac_cv_prog_RANLIB
4671 if test -n "$RANLIB"; then
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4673 $as_echo "$RANLIB" >&6; }
4674 else
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4681 if test -z "$ac_cv_prog_RANLIB"; then
4682 ac_ct_RANLIB=$RANLIB
4683 # Extract the first word of "ranlib", so it can be a program name with args.
4684 set dummy ranlib; ac_word=$2
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4688 $as_echo_n "(cached) " >&6
4689 else
4690 if test -n "$ac_ct_RANLIB"; then
4691 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4692 else
4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694 for as_dir in $PATH
4696 IFS=$as_save_IFS
4697 test -z "$as_dir" && as_dir=.
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4700 ac_cv_prog_ac_ct_RANLIB="ranlib"
4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 break 2
4704 done
4705 done
4706 IFS=$as_save_IFS
4710 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4711 if test -n "$ac_ct_RANLIB"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4713 $as_echo "$ac_ct_RANLIB" >&6; }
4714 else
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4719 if test "x$ac_ct_RANLIB" = x; then
4720 RANLIB=":"
4721 else
4722 case $cross_compiling:$ac_tool_warned in
4723 yes:)
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4726 ac_tool_warned=yes ;;
4727 esac
4728 RANLIB=$ac_ct_RANLIB
4730 else
4731 RANLIB="$ac_cv_prog_RANLIB"
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4735 $as_echo_n "checking whether ln -s works... " >&6; }
4736 LN_S=$as_ln_s
4737 if test "$LN_S" = "ln -s"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4739 $as_echo "yes" >&6; }
4740 else
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4742 $as_echo "no, using $LN_S" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if ${ac_cv_path_GREP+:} false; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if test -z "$GREP"; then
4751 ac_path_GREP_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in grep ggrep; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761 as_fn_executable_p "$ac_path_GREP" || continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763 # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4765 *GNU*)
4766 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4768 ac_count=0
4769 $as_echo_n 0123456789 >"conftest.in"
4770 while :
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo 'GREP' >> "conftest.nl"
4776 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_GREP="$ac_path_GREP"
4782 ac_path_GREP_max=$ac_count
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4786 done
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4790 $ac_path_GREP_found && break 3
4791 done
4792 done
4793 done
4794 IFS=$as_save_IFS
4795 if test -z "$ac_cv_path_GREP"; then
4796 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4798 else
4799 ac_cv_path_GREP=$GREP
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805 GREP="$ac_cv_path_GREP"
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if ${ac_cv_path_EGREP+:} false; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814 then ac_cv_path_EGREP="$GREP -E"
4815 else
4816 if test -z "$EGREP"; then
4817 ac_path_EGREP_found=false
4818 # Loop through the user's path and test for each of PROGNAME-LIST
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_prog in egrep; do
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827 as_fn_executable_p "$ac_path_EGREP" || continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829 # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4831 *GNU*)
4832 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4834 ac_count=0
4835 $as_echo_n 0123456789 >"conftest.in"
4836 while :
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo 'EGREP' >> "conftest.nl"
4842 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844 as_fn_arith $ac_count + 1 && ac_count=$as_val
4845 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_EGREP="$ac_path_EGREP"
4848 ac_path_EGREP_max=$ac_count
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4852 done
4853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 esac
4856 $ac_path_EGREP_found && break 3
4857 done
4858 done
4859 done
4860 IFS=$as_save_IFS
4861 if test -z "$ac_cv_path_EGREP"; then
4862 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4864 else
4865 ac_cv_path_EGREP=$EGREP
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872 EGREP="$ac_cv_path_EGREP"
4875 # Extract the first word of "ldconfig", so it can be a program name with args.
4876 set dummy ldconfig; ac_word=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if ${ac_cv_path_LDCONFIG+:} false; then :
4880 $as_echo_n "(cached) " >&6
4881 else
4882 case $LDCONFIG in
4883 [\\/]* | ?:[\\/]*)
4884 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 for as_dir in /sbin /usr/sbin $PATH
4890 IFS=$as_save_IFS
4891 test -z "$as_dir" && as_dir=.
4892 for ac_exec_ext in '' $ac_executable_extensions; do
4893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4894 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 break 2
4898 done
4899 done
4900 IFS=$as_save_IFS
4902 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4904 esac
4906 LDCONFIG=$ac_cv_path_LDCONFIG
4907 if test -n "$LDCONFIG"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4909 $as_echo "$LDCONFIG" >&6; }
4910 else
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4917 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM="env STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
4918 # Find a good install program. We prefer a C program (faster),
4919 # so one script is as good as another. But avoid the broken or
4920 # incompatible versions:
4921 # SysV /etc/install, /usr/sbin/install
4922 # SunOS /usr/etc/install
4923 # IRIX /sbin/install
4924 # AIX /bin/install
4925 # AmigaOS /C/install, which installs bootblocks on floppy discs
4926 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4927 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4928 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4929 # OS/2's system install, which has a completely different semantic
4930 # ./install, which can be erroneously created by make from ./install.sh.
4931 # Reject install programs that cannot install multiple files.
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4933 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4934 if test -z "$INSTALL"; then
4935 if ${ac_cv_path_install+:} false; then :
4936 $as_echo_n "(cached) " >&6
4937 else
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4939 for as_dir in $PATH
4941 IFS=$as_save_IFS
4942 test -z "$as_dir" && as_dir=.
4943 # Account for people who put trailing slashes in PATH elements.
4944 case $as_dir/ in #((
4945 ./ | .// | /[cC]/* | \
4946 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4947 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4948 /usr/ucb/* ) ;;
4950 # OSF1 and SCO ODT 3.0 have their own names for install.
4951 # Don't use installbsd from OSF since it installs stuff as root
4952 # by default.
4953 for ac_prog in ginstall scoinst install; do
4954 for ac_exec_ext in '' $ac_executable_extensions; do
4955 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4956 if test $ac_prog = install &&
4957 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4958 # AIX install. It has an incompatible calling convention.
4960 elif test $ac_prog = install &&
4961 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4962 # program-specific install script used by HP pwplus--don't use.
4964 else
4965 rm -rf conftest.one conftest.two conftest.dir
4966 echo one > conftest.one
4967 echo two > conftest.two
4968 mkdir conftest.dir
4969 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4970 test -s conftest.one && test -s conftest.two &&
4971 test -s conftest.dir/conftest.one &&
4972 test -s conftest.dir/conftest.two
4973 then
4974 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4975 break 3
4979 done
4980 done
4982 esac
4984 done
4985 IFS=$as_save_IFS
4987 rm -rf conftest.one conftest.two conftest.dir
4990 if test "${ac_cv_path_install+set}" = set; then
4991 INSTALL=$ac_cv_path_install
4992 else
4993 # As a last resort, use the slow shell script. Don't cache a
4994 # value for INSTALL within a source directory, because that will
4995 # break other packages using the cache if that directory is
4996 # removed, or if the value is a relative name.
4997 INSTALL=$ac_install_sh
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5001 $as_echo "$INSTALL" >&6; }
5003 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5004 # It thinks the first close brace ends the variable substitution.
5005 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5007 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5009 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5011 case "$INSTALL" in
5012 [\\/$]* | ?:[\\/]* ) ;;
5013 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
5014 esac
5016 for ac_prog in lclint lint
5018 # Extract the first word of "$ac_prog", so it can be a program name with args.
5019 set dummy $ac_prog; ac_word=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if ${ac_cv_prog_LINT+:} false; then :
5023 $as_echo_n "(cached) " >&6
5024 else
5025 if test -n "$LINT"; then
5026 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5027 else
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5031 IFS=$as_save_IFS
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_LINT="$ac_prog"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 break 2
5039 done
5040 done
5041 IFS=$as_save_IFS
5045 LINT=$ac_cv_prog_LINT
5046 if test -n "$LINT"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
5048 $as_echo "$LINT" >&6; }
5049 else
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5055 test -n "$LINT" && break
5056 done
5058 if test "$LINT" = "lint"
5059 then
5060 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5064 for ac_prog in fontforge
5066 # Extract the first word of "$ac_prog", so it can be a program name with args.
5067 set dummy $ac_prog; ac_word=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if ${ac_cv_prog_FONTFORGE+:} false; then :
5071 $as_echo_n "(cached) " >&6
5072 else
5073 if test -n "$FONTFORGE"; then
5074 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5075 else
5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5077 for as_dir in $PATH
5079 IFS=$as_save_IFS
5080 test -z "$as_dir" && as_dir=.
5081 for ac_exec_ext in '' $ac_executable_extensions; do
5082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5083 ac_cv_prog_FONTFORGE="$ac_prog"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5085 break 2
5087 done
5088 done
5089 IFS=$as_save_IFS
5093 FONTFORGE=$ac_cv_prog_FONTFORGE
5094 if test -n "$FONTFORGE"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5096 $as_echo "$FONTFORGE" >&6; }
5097 else
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5103 test -n "$FONTFORGE" && break
5104 done
5105 test -n "$FONTFORGE" || FONTFORGE="false"
5107 for ac_prog in rsvg
5109 # Extract the first word of "$ac_prog", so it can be a program name with args.
5110 set dummy $ac_prog; ac_word=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if ${ac_cv_prog_RSVG+:} false; then :
5114 $as_echo_n "(cached) " >&6
5115 else
5116 if test -n "$RSVG"; then
5117 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5118 else
5119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 for as_dir in $PATH
5122 IFS=$as_save_IFS
5123 test -z "$as_dir" && as_dir=.
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5126 ac_cv_prog_RSVG="$ac_prog"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 break 2
5130 done
5131 done
5132 IFS=$as_save_IFS
5136 RSVG=$ac_cv_prog_RSVG
5137 if test -n "$RSVG"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5139 $as_echo "$RSVG" >&6; }
5140 else
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5146 test -n "$RSVG" && break
5147 done
5148 test -n "$RSVG" || RSVG="false"
5150 for ac_prog in convert
5152 # Extract the first word of "$ac_prog", so it can be a program name with args.
5153 set dummy $ac_prog; ac_word=$2
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5155 $as_echo_n "checking for $ac_word... " >&6; }
5156 if ${ac_cv_prog_CONVERT+:} false; then :
5157 $as_echo_n "(cached) " >&6
5158 else
5159 if test -n "$CONVERT"; then
5160 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5161 else
5162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5163 for as_dir in $PATH
5165 IFS=$as_save_IFS
5166 test -z "$as_dir" && as_dir=.
5167 for ac_exec_ext in '' $ac_executable_extensions; do
5168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5169 ac_cv_prog_CONVERT="$ac_prog"
5170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 break 2
5173 done
5174 done
5175 IFS=$as_save_IFS
5179 CONVERT=$ac_cv_prog_CONVERT
5180 if test -n "$CONVERT"; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5182 $as_echo "$CONVERT" >&6; }
5183 else
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5189 test -n "$CONVERT" && break
5190 done
5191 test -n "$CONVERT" || CONVERT="false"
5193 for ac_prog in icotool
5195 # Extract the first word of "$ac_prog", so it can be a program name with args.
5196 set dummy $ac_prog; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if ${ac_cv_prog_ICOTOOL+:} false; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 if test -n "$ICOTOOL"; then
5203 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5204 else
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 for as_dir in $PATH
5208 IFS=$as_save_IFS
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5212 ac_cv_prog_ICOTOOL="$ac_prog"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 break 2
5216 done
5217 done
5218 IFS=$as_save_IFS
5222 ICOTOOL=$ac_cv_prog_ICOTOOL
5223 if test -n "$ICOTOOL"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5225 $as_echo "$ICOTOOL" >&6; }
5226 else
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5232 test -n "$ICOTOOL" && break
5233 done
5234 test -n "$ICOTOOL" || ICOTOOL="false"
5236 for ac_prog in msgfmt
5238 # Extract the first word of "$ac_prog", so it can be a program name with args.
5239 set dummy $ac_prog; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_MSGFMT+:} false; then :
5243 $as_echo_n "(cached) " >&6
5244 else
5245 if test -n "$MSGFMT"; then
5246 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5247 else
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5251 IFS=$as_save_IFS
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_MSGFMT="$ac_prog"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 break 2
5259 done
5260 done
5261 IFS=$as_save_IFS
5265 MSGFMT=$ac_cv_prog_MSGFMT
5266 if test -n "$MSGFMT"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5268 $as_echo "$MSGFMT" >&6; }
5269 else
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5275 test -n "$MSGFMT" && break
5276 done
5277 test -n "$MSGFMT" || MSGFMT="false"
5279 if test -n "$ac_tool_prefix"; then
5280 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5281 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test -n "$PKG_CONFIG"; then
5288 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5308 if test -n "$PKG_CONFIG"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5310 $as_echo "$PKG_CONFIG" >&6; }
5311 else
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5318 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5319 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5320 elif test "$cross_compiling" != yes; then
5321 unset ac_cv_prog_PKG_CONFIG
5322 # Extract the first word of "pkg-config", so it can be a program name with args.
5323 set dummy pkg-config; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -n "$PKG_CONFIG"; then
5330 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_PKG_CONFIG="pkg-config"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5350 if test -n "$PKG_CONFIG"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5352 $as_echo "$PKG_CONFIG" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5361 if test "x$enable_maintainer_mode" != "xyes"
5362 then
5363 MAINTAINER_MODE=\#
5365 else
5366 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5367 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5369 if test "$CONVERT" = false
5370 then
5371 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5372 else
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5374 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5375 convert_version=`convert --version | head -n1`
5376 if test "x$convert_version" != "x"
5377 then
5378 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5379 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5380 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5381 then
5382 CONVERT=false
5385 if test "$CONVERT" = false
5386 then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5388 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5389 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5390 else
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5392 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5396 if test "$ICOTOOL" = false
5397 then
5398 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5399 else
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5401 $as_echo_n "checking for recent enough icotool... " >&6; }
5402 icotool_version=`icotool --version | head -n1`
5403 if test "x$icotool_version" != "x"
5404 then
5405 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5406 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5407 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5408 then
5409 ICOTOOL=false
5410 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5413 if test "$ICOTOOL" = false
5414 then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5416 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5417 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5418 else
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5420 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5424 with_gettext=yes
5425 with_gettextpo=yes
5426 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5429 test "x$with_gettext" != xno || MSGFMT=false
5430 if test "$MSGFMT" != "false"
5431 then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5433 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5434 cat >conftest.po <<EOF
5435 # comment
5436 msgctxt "ctxt"
5437 msgid "id"
5438 msgstr "str"
5440 if $MSGFMT -o /dev/null conftest.po 2>&5
5441 then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5443 $as_echo "yes" >&6; }
5444 else
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5447 MSGFMT=false
5450 if test "$MSGFMT" = false; then :
5451 case "x$with_gettext" in
5452 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5453 xno) ;;
5454 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5455 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5456 esac
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5461 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5462 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 ac_check_lib_save_LIBS=$LIBS
5466 LIBS="-li386 $LIBS"
5467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5468 /* end confdefs.h. */
5470 /* Override any GCC internal prototype to avoid an error.
5471 Use char because int might match the return type of a GCC
5472 builtin and then its argument prototype would still apply. */
5473 #ifdef __cplusplus
5474 extern "C"
5475 #endif
5476 char i386_set_ldt ();
5478 main ()
5480 return i386_set_ldt ();
5482 return 0;
5484 _ACEOF
5485 if ac_fn_c_try_link "$LINENO"; then :
5486 ac_cv_lib_i386_i386_set_ldt=yes
5487 else
5488 ac_cv_lib_i386_i386_set_ldt=no
5490 rm -f core conftest.err conftest.$ac_objext \
5491 conftest$ac_exeext conftest.$ac_ext
5492 LIBS=$ac_check_lib_save_LIBS
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5495 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5496 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5497 cat >>confdefs.h <<_ACEOF
5498 #define HAVE_LIBI386 1
5499 _ACEOF
5501 LIBS="-li386 $LIBS"
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5506 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5507 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5508 $as_echo_n "(cached) " >&6
5509 else
5510 ac_check_lib_save_LIBS=$LIBS
5511 LIBS="-lossaudio $LIBS"
5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5515 /* Override any GCC internal prototype to avoid an error.
5516 Use char because int might match the return type of a GCC
5517 builtin and then its argument prototype would still apply. */
5518 #ifdef __cplusplus
5519 extern "C"
5520 #endif
5521 char _oss_ioctl ();
5523 main ()
5525 return _oss_ioctl ();
5527 return 0;
5529 _ACEOF
5530 if ac_fn_c_try_link "$LINENO"; then :
5531 ac_cv_lib_ossaudio__oss_ioctl=yes
5532 else
5533 ac_cv_lib_ossaudio__oss_ioctl=no
5535 rm -f core conftest.err conftest.$ac_objext \
5536 conftest$ac_exeext conftest.$ac_ext
5537 LIBS=$ac_check_lib_save_LIBS
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5540 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5541 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5542 cat >>confdefs.h <<_ACEOF
5543 #define HAVE_LIBOSSAUDIO 1
5544 _ACEOF
5546 LIBS="-lossaudio $LIBS"
5551 XLIB=""
5553 OPENGL_LIBS=""
5557 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5559 # Check whether --enable-largefile was given.
5560 if test "${enable_largefile+set}" = set; then :
5561 enableval=$enable_largefile;
5564 if test "$enable_largefile" != no; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5567 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5568 if ${ac_cv_sys_largefile_CC+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 ac_cv_sys_largefile_CC=no
5572 if test "$GCC" != yes; then
5573 ac_save_CC=$CC
5574 while :; do
5575 # IRIX 6.2 and later do not support large files by default,
5576 # so use the C compiler's -n32 option if that helps.
5577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5579 #include <sys/types.h>
5580 /* Check that off_t can represent 2**63 - 1 correctly.
5581 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5582 since some C++ compilers masquerading as C compilers
5583 incorrectly reject 9223372036854775807. */
5584 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5585 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5586 && LARGE_OFF_T % 2147483647 == 1)
5587 ? 1 : -1];
5589 main ()
5593 return 0;
5595 _ACEOF
5596 if ac_fn_c_try_compile "$LINENO"; then :
5597 break
5599 rm -f core conftest.err conftest.$ac_objext
5600 CC="$CC -n32"
5601 if ac_fn_c_try_compile "$LINENO"; then :
5602 ac_cv_sys_largefile_CC=' -n32'; break
5604 rm -f core conftest.err conftest.$ac_objext
5605 break
5606 done
5607 CC=$ac_save_CC
5608 rm -f conftest.$ac_ext
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5612 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5613 if test "$ac_cv_sys_largefile_CC" != no; then
5614 CC=$CC$ac_cv_sys_largefile_CC
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5618 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5619 if ${ac_cv_sys_file_offset_bits+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 while :; do
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624 /* end confdefs.h. */
5625 #include <sys/types.h>
5626 /* Check that off_t can represent 2**63 - 1 correctly.
5627 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5628 since some C++ compilers masquerading as C compilers
5629 incorrectly reject 9223372036854775807. */
5630 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5631 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5632 && LARGE_OFF_T % 2147483647 == 1)
5633 ? 1 : -1];
5635 main ()
5639 return 0;
5641 _ACEOF
5642 if ac_fn_c_try_compile "$LINENO"; then :
5643 ac_cv_sys_file_offset_bits=no; break
5645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5647 /* end confdefs.h. */
5648 #define _FILE_OFFSET_BITS 64
5649 #include <sys/types.h>
5650 /* Check that off_t can represent 2**63 - 1 correctly.
5651 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5652 since some C++ compilers masquerading as C compilers
5653 incorrectly reject 9223372036854775807. */
5654 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5655 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5656 && LARGE_OFF_T % 2147483647 == 1)
5657 ? 1 : -1];
5659 main ()
5663 return 0;
5665 _ACEOF
5666 if ac_fn_c_try_compile "$LINENO"; then :
5667 ac_cv_sys_file_offset_bits=64; break
5669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5670 ac_cv_sys_file_offset_bits=unknown
5671 break
5672 done
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5675 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5676 case $ac_cv_sys_file_offset_bits in #(
5677 no | unknown) ;;
5679 cat >>confdefs.h <<_ACEOF
5680 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5681 _ACEOF
5683 esac
5684 rm -rf conftest*
5685 if test $ac_cv_sys_file_offset_bits = unknown; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5687 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5688 if ${ac_cv_sys_large_files+:} false; then :
5689 $as_echo_n "(cached) " >&6
5690 else
5691 while :; do
5692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5694 #include <sys/types.h>
5695 /* Check that off_t can represent 2**63 - 1 correctly.
5696 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5697 since some C++ compilers masquerading as C compilers
5698 incorrectly reject 9223372036854775807. */
5699 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5700 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5701 && LARGE_OFF_T % 2147483647 == 1)
5702 ? 1 : -1];
5704 main ()
5708 return 0;
5710 _ACEOF
5711 if ac_fn_c_try_compile "$LINENO"; then :
5712 ac_cv_sys_large_files=no; break
5714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5716 /* end confdefs.h. */
5717 #define _LARGE_FILES 1
5718 #include <sys/types.h>
5719 /* Check that off_t can represent 2**63 - 1 correctly.
5720 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5721 since some C++ compilers masquerading as C compilers
5722 incorrectly reject 9223372036854775807. */
5723 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5724 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5725 && LARGE_OFF_T % 2147483647 == 1)
5726 ? 1 : -1];
5728 main ()
5732 return 0;
5734 _ACEOF
5735 if ac_fn_c_try_compile "$LINENO"; then :
5736 ac_cv_sys_large_files=1; break
5738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5739 ac_cv_sys_large_files=unknown
5740 break
5741 done
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5744 $as_echo "$ac_cv_sys_large_files" >&6; }
5745 case $ac_cv_sys_large_files in #(
5746 no | unknown) ;;
5748 cat >>confdefs.h <<_ACEOF
5749 #define _LARGE_FILES $ac_cv_sys_large_files
5750 _ACEOF
5752 esac
5753 rm -rf conftest*
5760 ac_ext=c
5761 ac_cpp='$CPP $CPPFLAGS'
5762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5766 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5767 # On Suns, sometimes $CPP names a directory.
5768 if test -n "$CPP" && test -d "$CPP"; then
5769 CPP=
5771 if test -z "$CPP"; then
5772 if ${ac_cv_prog_CPP+:} false; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 # Double quotes because CPP needs to be expanded
5776 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5778 ac_preproc_ok=false
5779 for ac_c_preproc_warn_flag in '' yes
5781 # Use a header file that comes with gcc, so configuring glibc
5782 # with a fresh cross-compiler works.
5783 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5784 # <limits.h> exists even on freestanding compilers.
5785 # On the NeXT, cc -E runs the code through the compiler's parser,
5786 # not just through cpp. "Syntax error" is here to catch this case.
5787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5788 /* end confdefs.h. */
5789 #ifdef __STDC__
5790 # include <limits.h>
5791 #else
5792 # include <assert.h>
5793 #endif
5794 Syntax error
5795 _ACEOF
5796 if ac_fn_c_try_cpp "$LINENO"; then :
5798 else
5799 # Broken: fails on valid input.
5800 continue
5802 rm -f conftest.err conftest.i conftest.$ac_ext
5804 # OK, works on sane cases. Now check whether nonexistent headers
5805 # can be detected and how.
5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807 /* end confdefs.h. */
5808 #include <ac_nonexistent.h>
5809 _ACEOF
5810 if ac_fn_c_try_cpp "$LINENO"; then :
5811 # Broken: success on invalid input.
5812 continue
5813 else
5814 # Passes both tests.
5815 ac_preproc_ok=:
5816 break
5818 rm -f conftest.err conftest.i conftest.$ac_ext
5820 done
5821 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5822 rm -f conftest.i conftest.err conftest.$ac_ext
5823 if $ac_preproc_ok; then :
5824 break
5827 done
5828 ac_cv_prog_CPP=$CPP
5831 CPP=$ac_cv_prog_CPP
5832 else
5833 ac_cv_prog_CPP=$CPP
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5836 $as_echo "$CPP" >&6; }
5837 ac_preproc_ok=false
5838 for ac_c_preproc_warn_flag in '' yes
5840 # Use a header file that comes with gcc, so configuring glibc
5841 # with a fresh cross-compiler works.
5842 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5843 # <limits.h> exists even on freestanding compilers.
5844 # On the NeXT, cc -E runs the code through the compiler's parser,
5845 # not just through cpp. "Syntax error" is here to catch this case.
5846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5847 /* end confdefs.h. */
5848 #ifdef __STDC__
5849 # include <limits.h>
5850 #else
5851 # include <assert.h>
5852 #endif
5853 Syntax error
5854 _ACEOF
5855 if ac_fn_c_try_cpp "$LINENO"; then :
5857 else
5858 # Broken: fails on valid input.
5859 continue
5861 rm -f conftest.err conftest.i conftest.$ac_ext
5863 # OK, works on sane cases. Now check whether nonexistent headers
5864 # can be detected and how.
5865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5867 #include <ac_nonexistent.h>
5868 _ACEOF
5869 if ac_fn_c_try_cpp "$LINENO"; then :
5870 # Broken: success on invalid input.
5871 continue
5872 else
5873 # Passes both tests.
5874 ac_preproc_ok=:
5875 break
5877 rm -f conftest.err conftest.i conftest.$ac_ext
5879 done
5880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5881 rm -f conftest.i conftest.err conftest.$ac_ext
5882 if $ac_preproc_ok; then :
5884 else
5885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5887 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5888 See \`config.log' for more details" "$LINENO" 5; }
5891 ac_ext=c
5892 ac_cpp='$CPP $CPPFLAGS'
5893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5899 $as_echo_n "checking for ANSI C header files... " >&6; }
5900 if ${ac_cv_header_stdc+:} false; then :
5901 $as_echo_n "(cached) " >&6
5902 else
5903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5904 /* end confdefs.h. */
5905 #include <stdlib.h>
5906 #include <stdarg.h>
5907 #include <string.h>
5908 #include <float.h>
5911 main ()
5915 return 0;
5917 _ACEOF
5918 if ac_fn_c_try_compile "$LINENO"; then :
5919 ac_cv_header_stdc=yes
5920 else
5921 ac_cv_header_stdc=no
5923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5925 if test $ac_cv_header_stdc = yes; then
5926 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5928 /* end confdefs.h. */
5929 #include <string.h>
5931 _ACEOF
5932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5933 $EGREP "memchr" >/dev/null 2>&1; then :
5935 else
5936 ac_cv_header_stdc=no
5938 rm -f conftest*
5942 if test $ac_cv_header_stdc = yes; then
5943 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5945 /* end confdefs.h. */
5946 #include <stdlib.h>
5948 _ACEOF
5949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5950 $EGREP "free" >/dev/null 2>&1; then :
5952 else
5953 ac_cv_header_stdc=no
5955 rm -f conftest*
5959 if test $ac_cv_header_stdc = yes; then
5960 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5961 if test "$cross_compiling" = yes; then :
5963 else
5964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5965 /* end confdefs.h. */
5966 #include <ctype.h>
5967 #include <stdlib.h>
5968 #if ((' ' & 0x0FF) == 0x020)
5969 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5970 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5971 #else
5972 # define ISLOWER(c) \
5973 (('a' <= (c) && (c) <= 'i') \
5974 || ('j' <= (c) && (c) <= 'r') \
5975 || ('s' <= (c) && (c) <= 'z'))
5976 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5977 #endif
5979 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5981 main ()
5983 int i;
5984 for (i = 0; i < 256; i++)
5985 if (XOR (islower (i), ISLOWER (i))
5986 || toupper (i) != TOUPPER (i))
5987 return 2;
5988 return 0;
5990 _ACEOF
5991 if ac_fn_c_try_run "$LINENO"; then :
5993 else
5994 ac_cv_header_stdc=no
5996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5997 conftest.$ac_objext conftest.beam conftest.$ac_ext
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6003 $as_echo "$ac_cv_header_stdc" >&6; }
6004 if test $ac_cv_header_stdc = yes; then
6006 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6010 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6011 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6012 inttypes.h stdint.h unistd.h
6013 do :
6014 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6015 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6017 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6018 cat >>confdefs.h <<_ACEOF
6019 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6020 _ACEOF
6024 done
6027 for ac_header in \
6028 AL/al.h \
6029 ApplicationServices/ApplicationServices.h \
6030 AudioToolbox/AudioConverter.h \
6031 AudioUnit/AudioUnit.h \
6032 AudioUnit/AudioComponent.h \
6033 CL/cl.h \
6034 Carbon/Carbon.h \
6035 CoreAudio/CoreAudio.h \
6036 CoreServices/CoreServices.h \
6037 DiskArbitration/DiskArbitration.h \
6038 IOKit/IOKitLib.h \
6039 IOKit/hid/IOHIDLib.h \
6040 OpenAL/al.h \
6041 OpenCL/opencl.h \
6042 QuickTime/ImageCompression.h \
6043 Security/Security.h \
6044 alias.h \
6045 alsa/asoundlib.h \
6046 arpa/inet.h \
6047 arpa/nameser.h \
6048 asm/types.h \
6049 asm/user.h \
6050 curses.h \
6051 direct.h \
6052 dirent.h \
6053 dlfcn.h \
6054 elf.h \
6055 float.h \
6056 fnmatch.h \
6057 fontconfig/fontconfig.h \
6058 getopt.h \
6059 gettext-po.h \
6060 grp.h \
6061 gsm.h \
6062 gsm/gsm.h \
6063 ieeefp.h \
6064 inet/mib2.h \
6065 io.h \
6066 kstat.h \
6067 lber.h \
6068 ldap.h \
6069 libproc.h \
6070 link.h \
6071 linux/cdrom.h \
6072 linux/compiler.h \
6073 linux/filter.h \
6074 linux/hdreg.h \
6075 linux/input.h \
6076 linux/ioctl.h \
6077 linux/joystick.h \
6078 linux/major.h \
6079 linux/param.h \
6080 linux/serial.h \
6081 linux/types.h \
6082 linux/ucdrom.h \
6083 lwp.h \
6084 mach-o/nlist.h \
6085 mach-o/loader.h \
6086 mach/mach.h \
6087 mach/machine.h \
6088 machine/cpu.h \
6089 machine/limits.h \
6090 machine/sysarch.h \
6091 mntent.h \
6092 ncurses.h \
6093 netdb.h \
6094 netinet/in.h \
6095 netinet/in_systm.h \
6096 netinet/tcp.h \
6097 netinet/tcp_fsm.h \
6098 poll.h \
6099 port.h \
6100 process.h \
6101 pthread.h \
6102 pwd.h \
6103 sched.h \
6104 scsi/scsi.h \
6105 scsi/scsi_ioctl.h \
6106 scsi/sg.h \
6107 stdbool.h \
6108 stdint.h \
6109 stropts.h \
6110 sys/asoundlib.h \
6111 sys/attr.h \
6112 sys/cdio.h \
6113 sys/elf32.h \
6114 sys/epoll.h \
6115 sys/event.h \
6116 sys/exec_elf.h \
6117 sys/filio.h \
6118 sys/inotify.h \
6119 sys/ioctl.h \
6120 sys/ipc.h \
6121 sys/limits.h \
6122 sys/link.h \
6123 sys/mman.h \
6124 sys/modem.h \
6125 sys/msg.h \
6126 sys/mtio.h \
6127 sys/param.h \
6128 sys/poll.h \
6129 sys/prctl.h \
6130 sys/protosw.h \
6131 sys/ptrace.h \
6132 sys/queue.h \
6133 sys/resource.h \
6134 sys/scsiio.h \
6135 sys/shm.h \
6136 sys/signal.h \
6137 sys/socket.h \
6138 sys/socketvar.h \
6139 sys/sockio.h \
6140 sys/statvfs.h \
6141 sys/strtio.h \
6142 sys/syscall.h \
6143 sys/tihdr.h \
6144 sys/time.h \
6145 sys/timeout.h \
6146 sys/times.h \
6147 sys/uio.h \
6148 sys/user.h \
6149 sys/utsname.h \
6150 sys/vm86.h \
6151 sys/wait.h \
6152 syscall.h \
6153 termios.h \
6154 unistd.h \
6155 utime.h \
6156 valgrind/memcheck.h \
6157 valgrind/valgrind.h \
6158 zlib.h
6160 do :
6161 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6162 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6163 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6164 cat >>confdefs.h <<_ACEOF
6165 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6166 _ACEOF
6170 done
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6173 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6174 if ${ac_cv_header_stat_broken+:} false; then :
6175 $as_echo_n "(cached) " >&6
6176 else
6177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6178 /* end confdefs.h. */
6179 #include <sys/types.h>
6180 #include <sys/stat.h>
6182 #if defined S_ISBLK && defined S_IFDIR
6183 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6184 #endif
6186 #if defined S_ISBLK && defined S_IFCHR
6187 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6188 #endif
6190 #if defined S_ISLNK && defined S_IFREG
6191 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6192 #endif
6194 #if defined S_ISSOCK && defined S_IFREG
6195 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6196 #endif
6198 _ACEOF
6199 if ac_fn_c_try_compile "$LINENO"; then :
6200 ac_cv_header_stat_broken=no
6201 else
6202 ac_cv_header_stat_broken=yes
6204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6207 $as_echo "$ac_cv_header_stat_broken" >&6; }
6208 if test $ac_cv_header_stat_broken = yes; then
6210 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6216 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6217 do :
6218 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6219 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6220 #ifdef HAVE_SYS_PARAM_H
6221 # include <sys/param.h>
6222 #endif
6224 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6225 cat >>confdefs.h <<_ACEOF
6226 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6227 _ACEOF
6231 done
6234 for ac_header in \
6235 netinet/ip.h \
6236 net/if.h \
6237 net/if_arp.h \
6238 net/if_dl.h \
6239 net/if_types.h \
6240 net/route.h \
6241 netinet/if_ether.h \
6242 netinet/if_inarp.h \
6243 netinet/in_pcb.h \
6244 netinet/ip_icmp.h \
6245 netinet/ip_var.h \
6246 netinet/udp.h \
6247 netipx/ipx.h \
6248 sys/un.h \
6250 do :
6251 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6252 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6253 #ifdef HAVE_SYS_SOCKET_H
6254 # include <sys/socket.h>
6255 #endif
6256 #ifdef HAVE_SYS_SOCKETVAR_H
6257 # include <sys/socketvar.h>
6258 #endif
6259 #ifdef HAVE_NET_ROUTE_H
6260 # include <net/route.h>
6261 #endif
6262 #ifdef HAVE_NETINET_IN_H
6263 # include <netinet/in.h>
6264 #endif
6265 #ifdef HAVE_NETINET_IN_SYSTM_H
6266 # include <netinet/in_systm.h>
6267 #endif
6268 #ifdef HAVE_NET_IF_H
6269 # include <net/if.h>
6270 #endif
6271 #ifdef HAVE_NETINET_IP_H
6272 # include <netinet/ip.h>
6273 #endif
6275 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6276 cat >>confdefs.h <<_ACEOF
6277 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6278 _ACEOF
6282 done
6285 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6286 do :
6287 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6288 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6289 #ifdef HAVE_ALIAS_H
6290 # include <alias.h>
6291 #endif
6292 #ifdef HAVE_SYS_SOCKET_H
6293 # include <sys/socket.h>
6294 #endif
6295 #ifdef HAVE_SYS_SOCKETVAR_H
6296 # include <sys/socketvar.h>
6297 #endif
6298 #ifdef HAVE_SYS_TIMEOUT_H
6299 # include <sys/timeout.h>
6300 #endif
6301 #ifdef HAVE_NETINET_IN_H
6302 # include <netinet/in.h>
6303 #endif
6304 #ifdef HAVE_NETINET_IN_SYSTM_H
6305 # include <netinet/in_systm.h>
6306 #endif
6307 #ifdef HAVE_NETINET_IP_H
6308 # include <netinet/ip.h>
6309 #endif
6310 #ifdef HAVE_NETINET_IP_VAR_H
6311 # include <netinet/ip_var.h>
6312 #endif
6313 #ifdef HAVE_NETINET_IP_ICMP_H
6314 # include <netinet/ip_icmp.h>
6315 #endif
6316 #ifdef HAVE_NETINET_UDP_H
6317 # include <netinet/udp.h>
6318 #endif
6319 #ifdef HAVE_NETINET_TCP_H
6320 # include <netinet/tcp.h>
6321 #endif
6322 #ifdef HAVE_NETINET_TCP_TIMER_H
6323 #include <netinet/tcp_timer.h>
6324 #endif
6326 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6327 cat >>confdefs.h <<_ACEOF
6328 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6329 _ACEOF
6333 done
6336 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6337 do :
6338 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6339 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6340 #ifdef HAVE_ASM_TYPES_H
6341 # include <asm/types.h>
6342 #endif
6343 #ifdef HAVE_SYS_SOCKET_H
6344 # include <sys/socket.h>
6345 #endif
6346 #ifdef HAVE_LINUX_TYPES_H
6347 # include <linux/types.h>
6348 #endif
6350 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6351 cat >>confdefs.h <<_ACEOF
6352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6353 _ACEOF
6357 done
6360 for ac_header in mach-o/dyld_images.h
6361 do :
6362 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6363 # include <stdbool.h>
6364 #endif
6365 #ifdef HAVE_STDINT_H
6366 # include <stdint.h>
6367 #endif
6369 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6370 cat >>confdefs.h <<_ACEOF
6371 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6372 _ACEOF
6376 done
6379 for ac_header in resolv.h
6380 do :
6381 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6382 #ifdef HAVE_SYS_SOCKET_H
6383 # include <sys/socket.h>
6384 #endif
6385 #ifdef HAVE_NETINET_IN_H
6386 # include <netinet/in.h>
6387 #endif
6388 #ifdef HAVE_ARPA_NAMESER_H
6389 # include <arpa/nameser.h>
6390 #endif
6392 if test "x$ac_cv_header_resolv_h" = xyes; then :
6393 cat >>confdefs.h <<_ACEOF
6394 #define HAVE_RESOLV_H 1
6395 _ACEOF
6399 done
6402 for ac_header in ifaddrs.h
6403 do :
6404 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6406 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6407 cat >>confdefs.h <<_ACEOF
6408 #define HAVE_IFADDRS_H 1
6409 _ACEOF
6413 done
6416 for ac_header in ucontext.h
6417 do :
6418 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6420 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6421 cat >>confdefs.h <<_ACEOF
6422 #define HAVE_UCONTEXT_H 1
6423 _ACEOF
6427 done
6430 for ac_header in sys/thr.h
6431 do :
6432 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6433 #ifdef HAVE_UCONTEXT_H
6434 #include <ucontext.h>
6435 #endif
6437 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6438 cat >>confdefs.h <<_ACEOF
6439 #define HAVE_SYS_THR_H 1
6440 _ACEOF
6444 done
6447 for ac_header in pthread_np.h
6448 do :
6449 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6450 #include <pthread.h>
6451 #endif
6453 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6454 cat >>confdefs.h <<_ACEOF
6455 #define HAVE_PTHREAD_NP_H 1
6456 _ACEOF
6460 done
6463 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6464 do :
6465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6466 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6467 #include <sys/time.h>
6468 #endif
6469 #include <sys/types.h>
6470 #ifdef HAVE_ASM_TYPES_H
6471 #include <asm/types.h>
6472 #endif
6474 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6475 cat >>confdefs.h <<_ACEOF
6476 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6477 _ACEOF
6481 done
6484 for ac_header in libprocstat.h
6485 do :
6486 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6487 #include <sys/param.h>
6488 #endif
6489 #ifdef HAVE_SYS_QUEUE_H
6490 #include <sys/queue.h>
6491 #endif
6492 #ifdef HAVE_SYS_SOCKET_H
6493 #include <sys/socket.h>
6494 #endif
6496 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6497 cat >>confdefs.h <<_ACEOF
6498 #define HAVE_LIBPROCSTAT_H 1
6499 _ACEOF
6503 done
6507 dlldir="\${libdir}/wine"
6509 DLLEXT=""
6511 DLLPREFIX=""
6513 DLLFLAGS="-D_REENTRANT"
6515 IMPLIBEXT="def"
6517 LDRPATH_INSTALL=""
6519 LDRPATH_LOCAL=""
6521 LIBEXT="so"
6522 STATIC_IMPLIBEXT="def.a"
6523 # Extract the first word of "ldd", so it can be a program name with args.
6524 set dummy ldd; ac_word=$2
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6526 $as_echo_n "checking for $ac_word... " >&6; }
6527 if ${ac_cv_path_LDD+:} false; then :
6528 $as_echo_n "(cached) " >&6
6529 else
6530 case $LDD in
6531 [\\/]* | ?:[\\/]*)
6532 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 as_dummy="/sbin:/usr/sbin:$PATH"
6537 for as_dir in $as_dummy
6539 IFS=$as_save_IFS
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6543 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 break 2
6547 done
6548 done
6549 IFS=$as_save_IFS
6551 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6553 esac
6555 LDD=$ac_cv_path_LDD
6556 if test -n "$LDD"; then
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6558 $as_echo "$LDD" >&6; }
6559 else
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6561 $as_echo "no" >&6; }
6565 if test -n "$ac_tool_prefix"; then
6566 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6567 set dummy ${ac_tool_prefix}readelf; 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_READELF+:} false; then :
6571 $as_echo_n "(cached) " >&6
6572 else
6573 if test -n "$READELF"; then
6574 ac_cv_prog_READELF="$READELF" # 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_READELF="${ac_tool_prefix}readelf"
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 READELF=$ac_cv_prog_READELF
6594 if test -n "$READELF"; then
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6596 $as_echo "$READELF" >&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_READELF"; then
6605 ac_ct_READELF=$READELF
6606 # Extract the first word of "readelf", so it can be a program name with args.
6607 set dummy readelf; 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_READELF+:} false; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 if test -n "$ac_ct_READELF"; then
6614 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # 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_READELF="readelf"
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_READELF=$ac_cv_prog_ac_ct_READELF
6634 if test -n "$ac_ct_READELF"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6636 $as_echo "$ac_ct_READELF" >&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_READELF" = x; then
6643 READELF="true"
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 READELF=$ac_ct_READELF
6653 else
6654 READELF="$ac_cv_prog_READELF"
6658 case $host_os in
6659 cygwin*|mingw32*)
6660 if test -n "$ac_tool_prefix"; then
6661 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6662 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if ${ac_cv_prog_DLLTOOL+:} false; then :
6666 $as_echo_n "(cached) " >&6
6667 else
6668 if test -n "$DLLTOOL"; then
6669 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6674 IFS=$as_save_IFS
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6678 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 break 2
6682 done
6683 done
6684 IFS=$as_save_IFS
6688 DLLTOOL=$ac_cv_prog_DLLTOOL
6689 if test -n "$DLLTOOL"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6691 $as_echo "$DLLTOOL" >&6; }
6692 else
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6699 if test -z "$ac_cv_prog_DLLTOOL"; then
6700 ac_ct_DLLTOOL=$DLLTOOL
6701 # Extract the first word of "dlltool", so it can be a program name with args.
6702 set dummy dlltool; ac_word=$2
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6704 $as_echo_n "checking for $ac_word... " >&6; }
6705 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6706 $as_echo_n "(cached) " >&6
6707 else
6708 if test -n "$ac_ct_DLLTOOL"; then
6709 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6710 else
6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 for as_dir in $PATH
6714 IFS=$as_save_IFS
6715 test -z "$as_dir" && as_dir=.
6716 for ac_exec_ext in '' $ac_executable_extensions; do
6717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6718 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6720 break 2
6722 done
6723 done
6724 IFS=$as_save_IFS
6728 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6729 if test -n "$ac_ct_DLLTOOL"; then
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6731 $as_echo "$ac_ct_DLLTOOL" >&6; }
6732 else
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6734 $as_echo "no" >&6; }
6737 if test "x$ac_ct_DLLTOOL" = x; then
6738 DLLTOOL="false"
6739 else
6740 case $cross_compiling:$ac_tool_warned in
6741 yes:)
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6744 ac_tool_warned=yes ;;
6745 esac
6746 DLLTOOL=$ac_ct_DLLTOOL
6748 else
6749 DLLTOOL="$ac_cv_prog_DLLTOOL"
6752 LIBEXT="dll"
6753 IMPLIBEXT="a"
6754 STATIC_IMPLIBEXT="a"
6755 enable_iphlpapi=${enable_iphlpapi:-no}
6756 enable_kernel32=${enable_kernel32:-no}
6757 enable_msvcrt=${enable_msvcrt:-no}
6758 enable_ntdll=${enable_ntdll:-no}
6759 enable_ws2_32=${enable_ws2_32:-no}
6760 enable_loader=${enable_loader:-no}
6761 enable_server=${enable_server:-no}
6762 with_x=${with_x:-no}
6763 with_pthread=${with_pthread:-no}
6765 crtlibs=""
6766 case $host_os in
6767 mingw32*)
6768 crtlibs="-lmsvcrt"
6769 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6771 esac
6773 LIBWINE_RULES="
6774 all: libwine.dll libwine.a
6776 libwine.a: wine.def
6777 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6779 libwine.dll: \$(OBJS) wine.def Makefile.in
6780 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6782 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6783 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6785 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6786 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6788 uninstall::
6789 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6791 clean::
6792 \$(RM) libwine.dll version.c
6797 darwin*|macosx*)
6798 DLLEXT=".so"
6799 LIBEXT="dylib"
6800 DLLFLAGS="$DLLFLAGS -fPIC"
6801 LIBWINE_LDFLAGS="-multiply_defined suppress"
6802 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6803 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6804 COREFOUNDATIONLIB="-framework CoreFoundation"
6806 IOKITLIB="-framework IOKit -framework CoreFoundation"
6808 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
6810 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6812 CORESERVICESLIB="-framework CoreServices"
6814 APPKITLIB="-framework AppKit"
6816 case $host_os in
6817 darwin11*)
6818 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"
6821 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6823 esac
6824 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6825 then
6826 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6829 if test "$ac_cv_header_Security_Security_h" = "yes"
6830 then
6831 SECURITYLIB="-framework Security -framework CoreFoundation"
6833 ac_save_LIBS="$LIBS"
6834 LIBS="$LIBS $SECURITYLIB"
6835 for ac_func in SSLCopyPeerCertificates
6836 do :
6837 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6838 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6839 cat >>confdefs.h <<_ACEOF
6840 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6841 _ACEOF
6844 done
6846 LIBS="$ac_save_LIBS"
6847 with_gnutls=${with_gnutls:-no}
6849 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6850 then
6851 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6852 then
6853 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6855 else
6856 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6859 ac_save_LIBS="$LIBS"
6860 LIBS="$LIBS $COREAUDIO"
6861 for ac_func in AUGraphAddNode
6862 do :
6863 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6864 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6865 cat >>confdefs.h <<_ACEOF
6866 #define HAVE_AUGRAPHADDNODE 1
6867 _ACEOF
6870 done
6872 LIBS="$ac_save_LIBS"
6874 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6875 then
6876 FRAMEWORK_OPENAL="-framework OpenAL"
6879 cat >>confdefs.h <<_ACEOF
6880 #define HAVE_OPENAL 1
6881 _ACEOF
6883 ac_cv_lib_openal=yes
6885 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6886 then
6887 LIBOPENCL="-framework OpenCL"
6889 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6891 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6892 then
6893 ac_save_LIBS="$LIBS"
6894 LIBS="$LIBS $IOKITLIB"
6895 for ac_func in IOHIDManagerCreate
6896 do :
6897 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6898 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6899 cat >>confdefs.h <<_ACEOF
6900 #define HAVE_IOHIDMANAGERCREATE 1
6901 _ACEOF
6904 done
6906 LIBS="$ac_save_LIBS"
6908 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6909 then
6910 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6912 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6913 else
6914 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6916 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6917 then
6918 CARBONLIB="-framework Carbon"
6922 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6923 then
6924 ac_save_LIBS="$LIBS"
6925 LIBS="$LIBS $APPLICATIONSERVICESLIB"
6926 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6927 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
6928 enable_winemac_drv=${enable_winemac_drv:-yes}
6931 LIBS="$ac_save_LIBS"
6934 if test "x$enable_win16" = "xyes"
6935 then
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6937 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6938 if test "$cross_compiling" = yes; then :
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6940 $as_echo "cross-compiling, assuming yes" >&6; }
6941 else
6942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6943 /* end confdefs.h. */
6944 asm(".text\n"
6945 "bad:\tnop;nop\n"
6946 "good:\tnop;nop\n\t"
6947 ".globl _testfunc\n"
6948 "_testfunc:\tcallw good");
6949 extern void testfunc();
6951 main ()
6953 unsigned short *p = (unsigned short *)testfunc;
6954 return p[0] != 0xe866 || p[1] != 0xfffa
6956 return 0;
6958 _ACEOF
6959 if ac_fn_c_try_run "$LINENO"; then :
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6961 $as_echo "yes" >&6; }
6962 else
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6965 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
6967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6968 conftest.$ac_objext conftest.beam conftest.$ac_ext
6973 LIBWINE_RULES="
6974 all: libwine.dylib
6976 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6977 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6979 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6980 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6982 libwine.dylib: libwine.\$(SOVERSION).dylib
6983 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6985 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6986 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6987 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6989 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6990 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6992 uninstall::
6993 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6995 clean::
6996 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7001 linux-android*)
7002 DLLFLAGS="$DLLFLAGS -fPIC"
7003 DLLEXT=".so"
7004 DLLPREFIX="lib"
7005 dlldir="\${libdir}"
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7007 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7008 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7009 $as_echo_n "(cached) " >&6
7010 else
7011 ac_wine_try_cflags_saved=$CFLAGS
7012 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7014 /* end confdefs.h. */
7015 int main(int argc, char **argv) { return 0; }
7016 _ACEOF
7017 if ac_fn_c_try_link "$LINENO"; then :
7018 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7019 else
7020 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7022 rm -f core conftest.err conftest.$ac_objext \
7023 conftest$ac_exeext conftest.$ac_ext
7024 CFLAGS=$ac_wine_try_cflags_saved
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7027 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7028 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7029 LDEXECFLAGS="-Wl,--export-dynamic"
7032 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7034 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7035 if eval \${$as_ac_var+:} false; then :
7036 $as_echo_n "(cached) " >&6
7037 else
7038 ac_wine_try_cflags_saved=$CFLAGS
7039 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7041 /* end confdefs.h. */
7042 int main(int argc, char **argv) { return 0; }
7043 _ACEOF
7044 if ac_fn_c_try_link "$LINENO"; then :
7045 eval "$as_ac_var=yes"
7046 else
7047 eval "$as_ac_var=no"
7049 rm -f core conftest.err conftest.$ac_objext \
7050 conftest$ac_exeext conftest.$ac_ext
7051 CFLAGS=$ac_wine_try_cflags_saved
7053 eval ac_res=\$$as_ac_var
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7055 $as_echo "$ac_res" >&6; }
7056 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7057 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7058 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7059 else
7060 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7062 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7063 if eval \${$as_ac_var+:} false; then :
7064 $as_echo_n "(cached) " >&6
7065 else
7066 ac_wine_try_cflags_saved=$CFLAGS
7067 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7069 /* end confdefs.h. */
7070 int main(int argc, char **argv) { return 0; }
7071 _ACEOF
7072 if ac_fn_c_try_link "$LINENO"; then :
7073 eval "$as_ac_var=yes"
7074 else
7075 eval "$as_ac_var=no"
7077 rm -f core conftest.err conftest.$ac_objext \
7078 conftest$ac_exeext conftest.$ac_ext
7079 CFLAGS=$ac_wine_try_cflags_saved
7081 eval ac_res=\$$as_ac_var
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7083 $as_echo "$ac_res" >&6; }
7084 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7085 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7086 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7091 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7092 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7093 $as_echo_n "(cached) " >&6
7094 else
7095 ac_wine_try_cflags_saved=$CFLAGS
7096 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7098 /* end confdefs.h. */
7099 int main(int argc, char **argv) { return 0; }
7100 _ACEOF
7101 if ac_fn_c_try_link "$LINENO"; then :
7102 ac_cv_cflags__Wl___enable_new_dtags=yes
7103 else
7104 ac_cv_cflags__Wl___enable_new_dtags=no
7106 rm -f core conftest.err conftest.$ac_objext \
7107 conftest$ac_exeext conftest.$ac_ext
7108 CFLAGS=$ac_wine_try_cflags_saved
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7111 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7112 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7113 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7116 case $host_cpu in
7117 *i[3456789]86* | x86_64)
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7119 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7120 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7121 $as_echo_n "(cached) " >&6
7122 else
7123 ac_wine_try_cflags_saved=$CFLAGS
7124 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7126 /* end confdefs.h. */
7127 int main(int argc, char **argv) { return 0; }
7128 _ACEOF
7129 if ac_fn_c_try_link "$LINENO"; then :
7130 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7131 else
7132 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7134 rm -f core conftest.err conftest.$ac_objext \
7135 conftest$ac_exeext conftest.$ac_ext
7136 CFLAGS=$ac_wine_try_cflags_saved
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7139 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7140 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7141 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7144 esac
7146 LIBWINE_RULES="
7147 all: libwine.so
7149 libwine.so: \$(OBJS) Makefile.in
7150 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7152 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7153 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7155 uninstall::
7156 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7158 clean::
7159 \$(RM) libwine.so version.c
7165 DLLFLAGS="$DLLFLAGS -fPIC"
7166 DLLEXT=".so"
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7168 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7169 if ${ac_cv_c_dll_gnuelf+:} false; then :
7170 $as_echo_n "(cached) " >&6
7171 else
7172 ac_wine_try_cflags_saved=$CFLAGS
7173 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175 /* end confdefs.h. */
7176 void myfunc() {}
7177 _ACEOF
7178 if ac_fn_c_try_link "$LINENO"; then :
7179 ac_cv_c_dll_gnuelf="yes"
7180 else
7181 ac_cv_c_dll_gnuelf="no"
7183 rm -f core conftest.err conftest.$ac_objext \
7184 conftest$ac_exeext conftest.$ac_ext
7185 CFLAGS=$ac_wine_try_cflags_saved
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7188 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7189 if test "$ac_cv_c_dll_gnuelf" = "yes"
7190 then
7191 LDSHARED="\$(CC) -shared"
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7193 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7194 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
7195 $as_echo_n "(cached) " >&6
7196 else
7197 ac_wine_try_cflags_saved=$CFLAGS
7198 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7200 /* end confdefs.h. */
7201 int main(int argc, char **argv) { return 0; }
7202 _ACEOF
7203 if ac_fn_c_try_link "$LINENO"; then :
7204 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
7205 else
7206 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7208 rm -f core conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7210 CFLAGS=$ac_wine_try_cflags_saved
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7213 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7214 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7215 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7216 else
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7218 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7219 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
7220 $as_echo_n "(cached) " >&6
7221 else
7222 ac_wine_try_cflags_saved=$CFLAGS
7223 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7225 /* end confdefs.h. */
7226 int main(int argc, char **argv) { return 0; }
7227 _ACEOF
7228 if ac_fn_c_try_link "$LINENO"; then :
7229 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
7230 else
7231 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
7233 rm -f core conftest.err conftest.$ac_objext \
7234 conftest$ac_exeext conftest.$ac_ext
7235 CFLAGS=$ac_wine_try_cflags_saved
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7238 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7239 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7240 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7244 echo '{ global: *; };' >conftest.map
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7246 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7247 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
7248 $as_echo_n "(cached) " >&6
7249 else
7250 ac_wine_try_cflags_saved=$CFLAGS
7251 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h. */
7254 int main(int argc, char **argv) { return 0; }
7255 _ACEOF
7256 if ac_fn_c_try_link "$LINENO"; then :
7257 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
7258 else
7259 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
7261 rm -f core conftest.err conftest.$ac_objext \
7262 conftest$ac_exeext conftest.$ac_ext
7263 CFLAGS=$ac_wine_try_cflags_saved
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7266 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7267 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7268 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7270 rm -f conftest.map
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7273 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7274 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7275 $as_echo_n "(cached) " >&6
7276 else
7277 ac_wine_try_cflags_saved=$CFLAGS
7278 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7280 /* end confdefs.h. */
7281 int main(int argc, char **argv) { return 0; }
7282 _ACEOF
7283 if ac_fn_c_try_link "$LINENO"; then :
7284 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7285 else
7286 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7288 rm -f core conftest.err conftest.$ac_objext \
7289 conftest$ac_exeext conftest.$ac_ext
7290 CFLAGS=$ac_wine_try_cflags_saved
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7293 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7294 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7295 LDEXECFLAGS="-Wl,--export-dynamic"
7299 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7301 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7302 if eval \${$as_ac_var+:} false; then :
7303 $as_echo_n "(cached) " >&6
7304 else
7305 ac_wine_try_cflags_saved=$CFLAGS
7306 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7308 /* end confdefs.h. */
7309 int main(int argc, char **argv) { return 0; }
7310 _ACEOF
7311 if ac_fn_c_try_link "$LINENO"; then :
7312 eval "$as_ac_var=yes"
7313 else
7314 eval "$as_ac_var=no"
7316 rm -f core conftest.err conftest.$ac_objext \
7317 conftest$ac_exeext conftest.$ac_ext
7318 CFLAGS=$ac_wine_try_cflags_saved
7320 eval ac_res=\$$as_ac_var
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7322 $as_echo "$ac_res" >&6; }
7323 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7324 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7325 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7326 else
7327 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7329 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7330 if eval \${$as_ac_var+:} false; then :
7331 $as_echo_n "(cached) " >&6
7332 else
7333 ac_wine_try_cflags_saved=$CFLAGS
7334 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7336 /* end confdefs.h. */
7337 int main(int argc, char **argv) { return 0; }
7338 _ACEOF
7339 if ac_fn_c_try_link "$LINENO"; then :
7340 eval "$as_ac_var=yes"
7341 else
7342 eval "$as_ac_var=no"
7344 rm -f core conftest.err conftest.$ac_objext \
7345 conftest$ac_exeext conftest.$ac_ext
7346 CFLAGS=$ac_wine_try_cflags_saved
7348 eval ac_res=\$$as_ac_var
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7350 $as_echo "$ac_res" >&6; }
7351 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7352 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7353 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7358 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7359 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7360 $as_echo_n "(cached) " >&6
7361 else
7362 ac_wine_try_cflags_saved=$CFLAGS
7363 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7365 /* end confdefs.h. */
7366 int main(int argc, char **argv) { return 0; }
7367 _ACEOF
7368 if ac_fn_c_try_link "$LINENO"; then :
7369 ac_cv_cflags__Wl___enable_new_dtags=yes
7370 else
7371 ac_cv_cflags__Wl___enable_new_dtags=no
7373 rm -f core conftest.err conftest.$ac_objext \
7374 conftest$ac_exeext conftest.$ac_ext
7375 CFLAGS=$ac_wine_try_cflags_saved
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7378 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7379 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7380 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7383 case $host_cpu in
7384 *i[3456789]86* | x86_64)
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7386 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7387 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7388 $as_echo_n "(cached) " >&6
7389 else
7390 ac_wine_try_cflags_saved=$CFLAGS
7391 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7393 /* end confdefs.h. */
7394 int main(int argc, char **argv) { return 0; }
7395 _ACEOF
7396 if ac_fn_c_try_link "$LINENO"; then :
7397 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7398 else
7399 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7401 rm -f core conftest.err conftest.$ac_objext \
7402 conftest$ac_exeext conftest.$ac_ext
7403 CFLAGS=$ac_wine_try_cflags_saved
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7406 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7407 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7408 case $host_os in
7409 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7410 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7411 esac
7414 # Extract the first word of "prelink", so it can be a program name with args.
7415 set dummy prelink; ac_word=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if ${ac_cv_path_PRELINK+:} false; then :
7419 $as_echo_n "(cached) " >&6
7420 else
7421 case $PRELINK in
7422 [\\/]* | ?:[\\/]*)
7423 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 for as_dir in /sbin /usr/sbin $PATH
7429 IFS=$as_save_IFS
7430 test -z "$as_dir" && as_dir=.
7431 for ac_exec_ext in '' $ac_executable_extensions; do
7432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7433 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7435 break 2
7437 done
7438 done
7439 IFS=$as_save_IFS
7441 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7443 esac
7445 PRELINK=$ac_cv_path_PRELINK
7446 if test -n "$PRELINK"; then
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7448 $as_echo "$PRELINK" >&6; }
7449 else
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 $as_echo "no" >&6; }
7455 if test "x$PRELINK" = xfalse
7456 then
7457 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7460 esac
7462 else
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7464 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7465 if ${ac_cv_c_dll_unixware+:} false; then :
7466 $as_echo_n "(cached) " >&6
7467 else
7468 ac_wine_try_cflags_saved=$CFLAGS
7469 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7471 /* end confdefs.h. */
7472 void myfunc() {}
7473 _ACEOF
7474 if ac_fn_c_try_link "$LINENO"; then :
7475 ac_cv_c_dll_unixware="yes"
7476 else
7477 ac_cv_c_dll_unixware="no"
7479 rm -f core conftest.err conftest.$ac_objext \
7480 conftest$ac_exeext conftest.$ac_ext
7481 CFLAGS=$ac_wine_try_cflags_saved
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7484 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7485 if test "$ac_cv_c_dll_unixware" = "yes"
7486 then
7487 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7490 LIBWINE_RULES="
7491 all: libwine.so
7493 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7494 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7496 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7497 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7499 libwine.so: libwine.so.\$(SOVERSION)
7500 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7502 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7503 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7504 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7506 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7507 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7509 uninstall::
7510 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7512 clean::
7513 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7517 esac
7519 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7520 enable_winemac_drv=${enable_winemac_drv:-no}
7522 CROSSTEST_DISABLE=\#
7524 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7525 then
7526 case "$host_cpu" in
7527 i[3456789]86*)
7528 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
7529 mingw32-gcc" ;;
7530 x86_64)
7531 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 " ;;
7533 ac_prefix_list="" ;;
7534 esac
7535 for ac_prog in $ac_prefix_list
7537 # Extract the first word of "$ac_prog", so it can be a program name with args.
7538 set dummy $ac_prog; ac_word=$2
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7540 $as_echo_n "checking for $ac_word... " >&6; }
7541 if ${ac_cv_prog_CROSSCC+:} false; then :
7542 $as_echo_n "(cached) " >&6
7543 else
7544 if test -n "$CROSSCC"; then
7545 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7546 else
7547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7548 for as_dir in $PATH
7550 IFS=$as_save_IFS
7551 test -z "$as_dir" && as_dir=.
7552 for ac_exec_ext in '' $ac_executable_extensions; do
7553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7554 ac_cv_prog_CROSSCC="$ac_prog"
7555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7556 break 2
7558 done
7559 done
7560 IFS=$as_save_IFS
7564 CROSSCC=$ac_cv_prog_CROSSCC
7565 if test -n "$CROSSCC"; then
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7567 $as_echo "$CROSSCC" >&6; }
7568 else
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7570 $as_echo "no" >&6; }
7574 test -n "$CROSSCC" && break
7575 done
7576 test -n "$CROSSCC" || CROSSCC="false"
7578 if test "$CROSSCC" != "false"
7579 then
7580 ac_save_CC="$CC"
7581 CC="$CROSSCC"
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7583 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7585 /* end confdefs.h. */
7588 main ()
7592 return 0;
7594 _ACEOF
7595 if ac_fn_c_try_compile "$LINENO"; then :
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7597 $as_echo "yes" >&6; }
7598 set x $CROSSCC
7599 shift
7600 target=""
7601 while test $# -ge 1
7603 case "$1" in
7604 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7605 esac
7606 shift
7607 done
7608 if test -n "$target"
7609 then
7610 CROSSTEST_DISABLE=""
7611 CROSSTARGET="$target"
7614 else
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7619 CC="$ac_save_CC"
7624 if test "$ac_cv_header_pthread_h" = "yes"
7625 then
7626 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7627 if test "x$ac_cv_func_pthread_create" = xyes; then :
7629 else
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7631 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7632 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7633 $as_echo_n "(cached) " >&6
7634 else
7635 ac_check_lib_save_LIBS=$LIBS
7636 LIBS="-lpthread $LIBS"
7637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7638 /* end confdefs.h. */
7640 /* Override any GCC internal prototype to avoid an error.
7641 Use char because int might match the return type of a GCC
7642 builtin and then its argument prototype would still apply. */
7643 #ifdef __cplusplus
7644 extern "C"
7645 #endif
7646 char pthread_create ();
7648 main ()
7650 return pthread_create ();
7652 return 0;
7654 _ACEOF
7655 if ac_fn_c_try_link "$LINENO"; then :
7656 ac_cv_lib_pthread_pthread_create=yes
7657 else
7658 ac_cv_lib_pthread_pthread_create=no
7660 rm -f core conftest.err conftest.$ac_objext \
7661 conftest$ac_exeext conftest.$ac_ext
7662 LIBS=$ac_check_lib_save_LIBS
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7665 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7666 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7667 LIBPTHREAD="-lpthread"
7674 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
7675 case "x$with_pthread" in
7676 xno) ;;
7677 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7678 Wine cannot support threads without libpthread.
7679 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7680 esac
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7685 $as_echo_n "checking for X... " >&6; }
7688 # Check whether --with-x was given.
7689 if test "${with_x+set}" = set; then :
7690 withval=$with_x;
7693 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7694 if test "x$with_x" = xno; then
7695 # The user explicitly disabled X.
7696 have_x=disabled
7697 else
7698 case $x_includes,$x_libraries in #(
7699 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7700 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7701 $as_echo_n "(cached) " >&6
7702 else
7703 # One or both of the vars are not set, and there is no cached value.
7704 ac_x_includes=no ac_x_libraries=no
7705 rm -f -r conftest.dir
7706 if mkdir conftest.dir; then
7707 cd conftest.dir
7708 cat >Imakefile <<'_ACEOF'
7709 incroot:
7710 @echo incroot='${INCROOT}'
7711 usrlibdir:
7712 @echo usrlibdir='${USRLIBDIR}'
7713 libdir:
7714 @echo libdir='${LIBDIR}'
7715 _ACEOF
7716 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7717 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7718 for ac_var in incroot usrlibdir libdir; do
7719 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7720 done
7721 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7722 for ac_extension in a so sl dylib la dll; do
7723 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7724 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7725 ac_im_usrlibdir=$ac_im_libdir; break
7727 done
7728 # Screen out bogus values from the imake configuration. They are
7729 # bogus both because they are the default anyway, and because
7730 # using them would break gcc on systems where it needs fixed includes.
7731 case $ac_im_incroot in
7732 /usr/include) ac_x_includes= ;;
7733 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7734 esac
7735 case $ac_im_usrlibdir in
7736 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7737 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7738 esac
7740 cd ..
7741 rm -f -r conftest.dir
7744 # Standard set of common directories for X headers.
7745 # Check X11 before X11Rn because it is often a symlink to the current release.
7746 ac_x_header_dirs='
7747 /usr/X11/include
7748 /usr/X11R7/include
7749 /usr/X11R6/include
7750 /usr/X11R5/include
7751 /usr/X11R4/include
7753 /usr/include/X11
7754 /usr/include/X11R7
7755 /usr/include/X11R6
7756 /usr/include/X11R5
7757 /usr/include/X11R4
7759 /usr/local/X11/include
7760 /usr/local/X11R7/include
7761 /usr/local/X11R6/include
7762 /usr/local/X11R5/include
7763 /usr/local/X11R4/include
7765 /usr/local/include/X11
7766 /usr/local/include/X11R7
7767 /usr/local/include/X11R6
7768 /usr/local/include/X11R5
7769 /usr/local/include/X11R4
7771 /usr/X386/include
7772 /usr/x386/include
7773 /usr/XFree86/include/X11
7775 /usr/include
7776 /usr/local/include
7777 /usr/unsupported/include
7778 /usr/athena/include
7779 /usr/local/x11r5/include
7780 /usr/lpp/Xamples/include
7782 /usr/openwin/include
7783 /usr/openwin/share/include'
7785 if test "$ac_x_includes" = no; then
7786 # Guess where to find include files, by looking for Xlib.h.
7787 # First, try using that file with no special directory specified.
7788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7789 /* end confdefs.h. */
7790 #include <X11/Xlib.h>
7791 _ACEOF
7792 if ac_fn_c_try_cpp "$LINENO"; then :
7793 # We can compile using X headers with no special include directory.
7794 ac_x_includes=
7795 else
7796 for ac_dir in $ac_x_header_dirs; do
7797 if test -r "$ac_dir/X11/Xlib.h"; then
7798 ac_x_includes=$ac_dir
7799 break
7801 done
7803 rm -f conftest.err conftest.i conftest.$ac_ext
7804 fi # $ac_x_includes = no
7806 if test "$ac_x_libraries" = no; then
7807 # Check for the libraries.
7808 # See if we find them without any special options.
7809 # Don't add to $LIBS permanently.
7810 ac_save_LIBS=$LIBS
7811 LIBS="-lX11 $LIBS"
7812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7813 /* end confdefs.h. */
7814 #include <X11/Xlib.h>
7816 main ()
7818 XrmInitialize ()
7820 return 0;
7822 _ACEOF
7823 if ac_fn_c_try_link "$LINENO"; then :
7824 LIBS=$ac_save_LIBS
7825 # We can link X programs with no special library path.
7826 ac_x_libraries=
7827 else
7828 LIBS=$ac_save_LIBS
7829 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7831 # Don't even attempt the hair of trying to link an X program!
7832 for ac_extension in a so sl dylib la dll; do
7833 if test -r "$ac_dir/libX11.$ac_extension"; then
7834 ac_x_libraries=$ac_dir
7835 break 2
7837 done
7838 done
7840 rm -f core conftest.err conftest.$ac_objext \
7841 conftest$ac_exeext conftest.$ac_ext
7842 fi # $ac_x_libraries = no
7844 case $ac_x_includes,$ac_x_libraries in #(
7845 no,* | *,no | *\'*)
7846 # Didn't find X, or a directory has "'" in its name.
7847 ac_cv_have_x="have_x=no";; #(
7849 # Record where we found X for the cache.
7850 ac_cv_have_x="have_x=yes\
7851 ac_x_includes='$ac_x_includes'\
7852 ac_x_libraries='$ac_x_libraries'"
7853 esac
7855 ;; #(
7856 *) have_x=yes;;
7857 esac
7858 eval "$ac_cv_have_x"
7859 fi # $with_x != no
7861 if test "$have_x" != yes; then
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7863 $as_echo "$have_x" >&6; }
7864 no_x=yes
7865 else
7866 # If each of the values was on the command line, it overrides each guess.
7867 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7868 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7869 # Update the cache value to reflect the command line values.
7870 ac_cv_have_x="have_x=yes\
7871 ac_x_includes='$x_includes'\
7872 ac_x_libraries='$x_libraries'"
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7874 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7877 if test "$no_x" = yes; then
7878 # Not all programs may use this symbol, but it does not hurt to define it.
7880 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7882 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7883 else
7884 if test -n "$x_includes"; then
7885 X_CFLAGS="$X_CFLAGS -I$x_includes"
7888 # It would also be nice to do this for all -L options, not just this one.
7889 if test -n "$x_libraries"; then
7890 X_LIBS="$X_LIBS -L$x_libraries"
7891 # For Solaris; some versions of Sun CC require a space after -R and
7892 # others require no space. Words are not sufficient . . . .
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7894 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7895 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7896 ac_xsave_c_werror_flag=$ac_c_werror_flag
7897 ac_c_werror_flag=yes
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7902 main ()
7906 return 0;
7908 _ACEOF
7909 if ac_fn_c_try_link "$LINENO"; then :
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7912 X_LIBS="$X_LIBS -R$x_libraries"
7913 else
7914 LIBS="$ac_xsave_LIBS -R $x_libraries"
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7919 main ()
7923 return 0;
7925 _ACEOF
7926 if ac_fn_c_try_link "$LINENO"; then :
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7928 $as_echo "yes" >&6; }
7929 X_LIBS="$X_LIBS -R $x_libraries"
7930 else
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7932 $as_echo "neither works" >&6; }
7934 rm -f core conftest.err conftest.$ac_objext \
7935 conftest$ac_exeext conftest.$ac_ext
7937 rm -f core conftest.err conftest.$ac_objext \
7938 conftest$ac_exeext conftest.$ac_ext
7939 ac_c_werror_flag=$ac_xsave_c_werror_flag
7940 LIBS=$ac_xsave_LIBS
7943 # Check for system-dependent libraries X programs must link with.
7944 # Do this before checking for the system-independent R6 libraries
7945 # (-lICE), since we may need -lsocket or whatever for X linking.
7947 if test "$ISC" = yes; then
7948 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7949 else
7950 # Martyn Johnson says this is needed for Ultrix, if the X
7951 # libraries were built with DECnet support. And Karl Berry says
7952 # the Alpha needs dnet_stub (dnet does not exist).
7953 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7955 /* end confdefs.h. */
7957 /* Override any GCC internal prototype to avoid an error.
7958 Use char because int might match the return type of a GCC
7959 builtin and then its argument prototype would still apply. */
7960 #ifdef __cplusplus
7961 extern "C"
7962 #endif
7963 char XOpenDisplay ();
7965 main ()
7967 return XOpenDisplay ();
7969 return 0;
7971 _ACEOF
7972 if ac_fn_c_try_link "$LINENO"; then :
7974 else
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7976 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7977 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7978 $as_echo_n "(cached) " >&6
7979 else
7980 ac_check_lib_save_LIBS=$LIBS
7981 LIBS="-ldnet $LIBS"
7982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7983 /* end confdefs.h. */
7985 /* Override any GCC internal prototype to avoid an error.
7986 Use char because int might match the return type of a GCC
7987 builtin and then its argument prototype would still apply. */
7988 #ifdef __cplusplus
7989 extern "C"
7990 #endif
7991 char dnet_ntoa ();
7993 main ()
7995 return dnet_ntoa ();
7997 return 0;
7999 _ACEOF
8000 if ac_fn_c_try_link "$LINENO"; then :
8001 ac_cv_lib_dnet_dnet_ntoa=yes
8002 else
8003 ac_cv_lib_dnet_dnet_ntoa=no
8005 rm -f core conftest.err conftest.$ac_objext \
8006 conftest$ac_exeext conftest.$ac_ext
8007 LIBS=$ac_check_lib_save_LIBS
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8010 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8011 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8012 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8015 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8017 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8018 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8019 $as_echo_n "(cached) " >&6
8020 else
8021 ac_check_lib_save_LIBS=$LIBS
8022 LIBS="-ldnet_stub $LIBS"
8023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8024 /* end confdefs.h. */
8026 /* Override any GCC internal prototype to avoid an error.
8027 Use char because int might match the return type of a GCC
8028 builtin and then its argument prototype would still apply. */
8029 #ifdef __cplusplus
8030 extern "C"
8031 #endif
8032 char dnet_ntoa ();
8034 main ()
8036 return dnet_ntoa ();
8038 return 0;
8040 _ACEOF
8041 if ac_fn_c_try_link "$LINENO"; then :
8042 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8043 else
8044 ac_cv_lib_dnet_stub_dnet_ntoa=no
8046 rm -f core conftest.err conftest.$ac_objext \
8047 conftest$ac_exeext conftest.$ac_ext
8048 LIBS=$ac_check_lib_save_LIBS
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8051 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8052 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8053 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8058 rm -f core conftest.err conftest.$ac_objext \
8059 conftest$ac_exeext conftest.$ac_ext
8060 LIBS="$ac_xsave_LIBS"
8062 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8063 # to get the SysV transport functions.
8064 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8065 # needs -lnsl.
8066 # The nsl library prevents programs from opening the X display
8067 # on Irix 5.2, according to T.E. Dickey.
8068 # The functions gethostbyname, getservbyname, and inet_addr are
8069 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8070 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8071 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8075 if test $ac_cv_func_gethostbyname = no; then
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8077 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8078 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8079 $as_echo_n "(cached) " >&6
8080 else
8081 ac_check_lib_save_LIBS=$LIBS
8082 LIBS="-lnsl $LIBS"
8083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8084 /* end confdefs.h. */
8086 /* Override any GCC internal prototype to avoid an error.
8087 Use char because int might match the return type of a GCC
8088 builtin and then its argument prototype would still apply. */
8089 #ifdef __cplusplus
8090 extern "C"
8091 #endif
8092 char gethostbyname ();
8094 main ()
8096 return gethostbyname ();
8098 return 0;
8100 _ACEOF
8101 if ac_fn_c_try_link "$LINENO"; then :
8102 ac_cv_lib_nsl_gethostbyname=yes
8103 else
8104 ac_cv_lib_nsl_gethostbyname=no
8106 rm -f core conftest.err conftest.$ac_objext \
8107 conftest$ac_exeext conftest.$ac_ext
8108 LIBS=$ac_check_lib_save_LIBS
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8111 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8112 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8113 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8116 if test $ac_cv_lib_nsl_gethostbyname = no; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8118 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8119 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8120 $as_echo_n "(cached) " >&6
8121 else
8122 ac_check_lib_save_LIBS=$LIBS
8123 LIBS="-lbsd $LIBS"
8124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8125 /* end confdefs.h. */
8127 /* Override any GCC internal prototype to avoid an error.
8128 Use char because int might match the return type of a GCC
8129 builtin and then its argument prototype would still apply. */
8130 #ifdef __cplusplus
8131 extern "C"
8132 #endif
8133 char gethostbyname ();
8135 main ()
8137 return gethostbyname ();
8139 return 0;
8141 _ACEOF
8142 if ac_fn_c_try_link "$LINENO"; then :
8143 ac_cv_lib_bsd_gethostbyname=yes
8144 else
8145 ac_cv_lib_bsd_gethostbyname=no
8147 rm -f core conftest.err conftest.$ac_objext \
8148 conftest$ac_exeext conftest.$ac_ext
8149 LIBS=$ac_check_lib_save_LIBS
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8152 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8153 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
8154 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8160 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8161 # socket/setsockopt and other routines are undefined under SCO ODT
8162 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8163 # on later versions), says Simon Leinen: it contains gethostby*
8164 # variants that don't use the name server (or something). -lsocket
8165 # must be given before -lnsl if both are needed. We assume that
8166 # if connect needs -lnsl, so does gethostbyname.
8167 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
8168 if test "x$ac_cv_func_connect" = xyes; then :
8172 if test $ac_cv_func_connect = no; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8174 $as_echo_n "checking for connect in -lsocket... " >&6; }
8175 if ${ac_cv_lib_socket_connect+:} false; then :
8176 $as_echo_n "(cached) " >&6
8177 else
8178 ac_check_lib_save_LIBS=$LIBS
8179 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8181 /* end confdefs.h. */
8183 /* Override any GCC internal prototype to avoid an error.
8184 Use char because int might match the return type of a GCC
8185 builtin and then its argument prototype would still apply. */
8186 #ifdef __cplusplus
8187 extern "C"
8188 #endif
8189 char connect ();
8191 main ()
8193 return connect ();
8195 return 0;
8197 _ACEOF
8198 if ac_fn_c_try_link "$LINENO"; then :
8199 ac_cv_lib_socket_connect=yes
8200 else
8201 ac_cv_lib_socket_connect=no
8203 rm -f core conftest.err conftest.$ac_objext \
8204 conftest$ac_exeext conftest.$ac_ext
8205 LIBS=$ac_check_lib_save_LIBS
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8208 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8209 if test "x$ac_cv_lib_socket_connect" = xyes; then :
8210 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8215 # Guillermo Gomez says -lposix is necessary on A/UX.
8216 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
8217 if test "x$ac_cv_func_remove" = xyes; then :
8221 if test $ac_cv_func_remove = no; then
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8223 $as_echo_n "checking for remove in -lposix... " >&6; }
8224 if ${ac_cv_lib_posix_remove+:} false; then :
8225 $as_echo_n "(cached) " >&6
8226 else
8227 ac_check_lib_save_LIBS=$LIBS
8228 LIBS="-lposix $LIBS"
8229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8230 /* end confdefs.h. */
8232 /* Override any GCC internal prototype to avoid an error.
8233 Use char because int might match the return type of a GCC
8234 builtin and then its argument prototype would still apply. */
8235 #ifdef __cplusplus
8236 extern "C"
8237 #endif
8238 char remove ();
8240 main ()
8242 return remove ();
8244 return 0;
8246 _ACEOF
8247 if ac_fn_c_try_link "$LINENO"; then :
8248 ac_cv_lib_posix_remove=yes
8249 else
8250 ac_cv_lib_posix_remove=no
8252 rm -f core conftest.err conftest.$ac_objext \
8253 conftest$ac_exeext conftest.$ac_ext
8254 LIBS=$ac_check_lib_save_LIBS
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8257 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8258 if test "x$ac_cv_lib_posix_remove" = xyes; then :
8259 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8264 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8265 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8266 if test "x$ac_cv_func_shmat" = xyes; then :
8270 if test $ac_cv_func_shmat = no; then
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8272 $as_echo_n "checking for shmat in -lipc... " >&6; }
8273 if ${ac_cv_lib_ipc_shmat+:} false; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 ac_check_lib_save_LIBS=$LIBS
8277 LIBS="-lipc $LIBS"
8278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8279 /* end confdefs.h. */
8281 /* Override any GCC internal prototype to avoid an error.
8282 Use char because int might match the return type of a GCC
8283 builtin and then its argument prototype would still apply. */
8284 #ifdef __cplusplus
8285 extern "C"
8286 #endif
8287 char shmat ();
8289 main ()
8291 return shmat ();
8293 return 0;
8295 _ACEOF
8296 if ac_fn_c_try_link "$LINENO"; then :
8297 ac_cv_lib_ipc_shmat=yes
8298 else
8299 ac_cv_lib_ipc_shmat=no
8301 rm -f core conftest.err conftest.$ac_objext \
8302 conftest$ac_exeext conftest.$ac_ext
8303 LIBS=$ac_check_lib_save_LIBS
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8306 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8307 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8308 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8314 # Check for libraries that X11R6 Xt/Xaw programs need.
8315 ac_save_LDFLAGS=$LDFLAGS
8316 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8317 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8318 # check for ICE first), but we must link in the order -lSM -lICE or
8319 # we get undefined symbols. So assume we have SM if we have ICE.
8320 # These have to be linked with before -lX11, unlike the other
8321 # libraries we check for below, so use a different variable.
8322 # John Interrante, Karl Berry
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8324 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8325 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8326 $as_echo_n "(cached) " >&6
8327 else
8328 ac_check_lib_save_LIBS=$LIBS
8329 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8333 /* Override any GCC internal prototype to avoid an error.
8334 Use char because int might match the return type of a GCC
8335 builtin and then its argument prototype would still apply. */
8336 #ifdef __cplusplus
8337 extern "C"
8338 #endif
8339 char IceConnectionNumber ();
8341 main ()
8343 return IceConnectionNumber ();
8345 return 0;
8347 _ACEOF
8348 if ac_fn_c_try_link "$LINENO"; then :
8349 ac_cv_lib_ICE_IceConnectionNumber=yes
8350 else
8351 ac_cv_lib_ICE_IceConnectionNumber=no
8353 rm -f core conftest.err conftest.$ac_objext \
8354 conftest$ac_exeext conftest.$ac_ext
8355 LIBS=$ac_check_lib_save_LIBS
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8358 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8359 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8360 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8363 LDFLAGS=$ac_save_LDFLAGS
8368 if test "$have_x" = "yes"
8369 then
8370 XLIB="-lX11"
8371 ac_save_CPPFLAGS="$CPPFLAGS"
8372 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8375 $as_echo_n "checking for -lX11... " >&6; }
8376 if ${ac_cv_lib_soname_X11+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378 else
8379 ac_check_soname_save_LIBS=$LIBS
8380 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8384 /* Override any GCC internal prototype to avoid an error.
8385 Use char because int might match the return type of a GCC
8386 builtin and then its argument prototype would still apply. */
8387 #ifdef __cplusplus
8388 extern "C"
8389 #endif
8390 char XCreateWindow ();
8392 main ()
8394 return XCreateWindow ();
8396 return 0;
8398 _ACEOF
8399 if ac_fn_c_try_link "$LINENO"; then :
8400 case "$LIBEXT" in
8401 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8402 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'` ;;
8403 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8404 if test "x$ac_cv_lib_soname_X11" = x; then :
8405 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8406 fi ;;
8407 esac
8409 rm -f core conftest.err conftest.$ac_objext \
8410 conftest$ac_exeext conftest.$ac_ext
8411 LIBS=$ac_check_soname_save_LIBS
8413 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8415 $as_echo "not found" >&6; }
8417 else
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8419 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8421 cat >>confdefs.h <<_ACEOF
8422 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8423 _ACEOF
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8428 $as_echo_n "checking for -lXext... " >&6; }
8429 if ${ac_cv_lib_soname_Xext+:} false; then :
8430 $as_echo_n "(cached) " >&6
8431 else
8432 ac_check_soname_save_LIBS=$LIBS
8433 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8435 /* end confdefs.h. */
8437 /* Override any GCC internal prototype to avoid an error.
8438 Use char because int might match the return type of a GCC
8439 builtin and then its argument prototype would still apply. */
8440 #ifdef __cplusplus
8441 extern "C"
8442 #endif
8443 char XextCreateExtension ();
8445 main ()
8447 return XextCreateExtension ();
8449 return 0;
8451 _ACEOF
8452 if ac_fn_c_try_link "$LINENO"; then :
8453 case "$LIBEXT" in
8454 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8455 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'` ;;
8456 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8457 if test "x$ac_cv_lib_soname_Xext" = x; then :
8458 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8459 fi ;;
8460 esac
8462 rm -f core conftest.err conftest.$ac_objext \
8463 conftest$ac_exeext conftest.$ac_ext
8464 LIBS=$ac_check_soname_save_LIBS
8466 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8468 $as_echo "not found" >&6; }
8470 else
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8472 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8474 cat >>confdefs.h <<_ACEOF
8475 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8476 _ACEOF
8478 XLIB="-lXext $XLIB"
8481 for ac_header in X11/Xlib.h \
8482 X11/XKBlib.h \
8483 X11/Xutil.h \
8484 X11/Xcursor/Xcursor.h \
8485 X11/extensions/shape.h \
8486 X11/extensions/XInput.h \
8487 X11/extensions/XInput2.h \
8488 X11/extensions/XShm.h \
8489 X11/extensions/Xcomposite.h \
8490 X11/extensions/Xinerama.h \
8491 X11/extensions/Xrandr.h \
8492 X11/extensions/Xrender.h \
8493 X11/extensions/xf86vmode.h \
8494 X11/extensions/xf86vmproto.h
8495 do :
8496 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8497 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8498 # include <X11/Xlib.h>
8499 #endif
8500 #ifdef HAVE_X11_XUTIL_H
8501 # include <X11/Xutil.h>
8502 #endif
8504 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8505 cat >>confdefs.h <<_ACEOF
8506 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8507 _ACEOF
8511 done
8514 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8515 then
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8517 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8518 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8519 $as_echo_n "(cached) " >&6
8520 else
8521 ac_check_lib_save_LIBS=$LIBS
8522 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8524 /* end confdefs.h. */
8526 /* Override any GCC internal prototype to avoid an error.
8527 Use char because int might match the return type of a GCC
8528 builtin and then its argument prototype would still apply. */
8529 #ifdef __cplusplus
8530 extern "C"
8531 #endif
8532 char XkbQueryExtension ();
8534 main ()
8536 return XkbQueryExtension ();
8538 return 0;
8540 _ACEOF
8541 if ac_fn_c_try_link "$LINENO"; then :
8542 ac_cv_lib_X11_XkbQueryExtension=yes
8543 else
8544 ac_cv_lib_X11_XkbQueryExtension=no
8546 rm -f core conftest.err conftest.$ac_objext \
8547 conftest$ac_exeext conftest.$ac_ext
8548 LIBS=$ac_check_lib_save_LIBS
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8551 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8552 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8554 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8560 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8561 then
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8563 $as_echo_n "checking for -lXcursor... " >&6; }
8564 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8565 $as_echo_n "(cached) " >&6
8566 else
8567 ac_check_soname_save_LIBS=$LIBS
8568 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8570 /* end confdefs.h. */
8572 /* Override any GCC internal prototype to avoid an error.
8573 Use char because int might match the return type of a GCC
8574 builtin and then its argument prototype would still apply. */
8575 #ifdef __cplusplus
8576 extern "C"
8577 #endif
8578 char XcursorImageLoadCursor ();
8580 main ()
8582 return XcursorImageLoadCursor ();
8584 return 0;
8586 _ACEOF
8587 if ac_fn_c_try_link "$LINENO"; then :
8588 case "$LIBEXT" in
8589 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8590 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'` ;;
8591 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8592 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
8593 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8594 fi ;;
8595 esac
8597 rm -f core conftest.err conftest.$ac_objext \
8598 conftest$ac_exeext conftest.$ac_ext
8599 LIBS=$ac_check_soname_save_LIBS
8601 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8603 $as_echo "not found" >&6; }
8605 else
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8607 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8609 cat >>confdefs.h <<_ACEOF
8610 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8611 _ACEOF
8616 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8617 case "x$with_xcursor" in
8618 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8619 xno) ;;
8620 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8621 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8622 esac
8625 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8626 then
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8628 $as_echo_n "checking for -lXi... " >&6; }
8629 if ${ac_cv_lib_soname_Xi+:} false; then :
8630 $as_echo_n "(cached) " >&6
8631 else
8632 ac_check_soname_save_LIBS=$LIBS
8633 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 /* end confdefs.h. */
8637 /* Override any GCC internal prototype to avoid an error.
8638 Use char because int might match the return type of a GCC
8639 builtin and then its argument prototype would still apply. */
8640 #ifdef __cplusplus
8641 extern "C"
8642 #endif
8643 char XOpenDevice ();
8645 main ()
8647 return XOpenDevice ();
8649 return 0;
8651 _ACEOF
8652 if ac_fn_c_try_link "$LINENO"; then :
8653 case "$LIBEXT" in
8654 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8655 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'` ;;
8656 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8657 if test "x$ac_cv_lib_soname_Xi" = x; then :
8658 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8659 fi ;;
8660 esac
8662 rm -f core conftest.err conftest.$ac_objext \
8663 conftest$ac_exeext conftest.$ac_ext
8664 LIBS=$ac_check_soname_save_LIBS
8666 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8668 $as_echo "not found" >&6; }
8670 else
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8672 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8674 cat >>confdefs.h <<_ACEOF
8675 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8676 _ACEOF
8681 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8682 case "x$with_xinput" in
8683 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8684 xno) ;;
8685 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8686 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8687 esac
8690 if test "x$ac_cv_lib_soname_Xi" != x
8691 then
8692 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8693 case "x$with_xinput2" in
8694 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8695 xno) ;;
8696 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8697 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8698 esac
8702 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8703 then
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8705 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8706 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8707 $as_echo_n "(cached) " >&6
8708 else
8709 ac_check_lib_save_LIBS=$LIBS
8710 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8714 /* Override any GCC internal prototype to avoid an error.
8715 Use char because int might match the return type of a GCC
8716 builtin and then its argument prototype would still apply. */
8717 #ifdef __cplusplus
8718 extern "C"
8719 #endif
8720 char XShmQueryExtension ();
8722 main ()
8724 return XShmQueryExtension ();
8726 return 0;
8728 _ACEOF
8729 if ac_fn_c_try_link "$LINENO"; then :
8730 ac_cv_lib_Xext_XShmQueryExtension=yes
8731 else
8732 ac_cv_lib_Xext_XShmQueryExtension=no
8734 rm -f core conftest.err conftest.$ac_objext \
8735 conftest$ac_exeext conftest.$ac_ext
8736 LIBS=$ac_check_lib_save_LIBS
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8739 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8740 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8742 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8747 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8748 case "x$with_xshm" in
8749 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8750 xno) ;;
8751 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8752 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8753 esac
8756 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8757 then
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8759 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8760 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8761 $as_echo_n "(cached) " >&6
8762 else
8763 ac_check_lib_save_LIBS=$LIBS
8764 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8766 /* end confdefs.h. */
8768 /* Override any GCC internal prototype to avoid an error.
8769 Use char because int might match the return type of a GCC
8770 builtin and then its argument prototype would still apply. */
8771 #ifdef __cplusplus
8772 extern "C"
8773 #endif
8774 char XShapeQueryExtension ();
8776 main ()
8778 return XShapeQueryExtension ();
8780 return 0;
8782 _ACEOF
8783 if ac_fn_c_try_link "$LINENO"; then :
8784 ac_cv_lib_Xext_XShapeQueryExtension=yes
8785 else
8786 ac_cv_lib_Xext_XShapeQueryExtension=no
8788 rm -f core conftest.err conftest.$ac_objext \
8789 conftest$ac_exeext conftest.$ac_ext
8790 LIBS=$ac_check_lib_save_LIBS
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8793 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8794 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8796 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8801 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8802 case "x$with_xshape" in
8803 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8804 xno) ;;
8805 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8806 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8807 esac
8810 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8811 then
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8813 $as_echo_n "checking for -lXxf86vm... " >&6; }
8814 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 ac_check_soname_save_LIBS=$LIBS
8818 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8822 /* Override any GCC internal prototype to avoid an error.
8823 Use char because int might match the return type of a GCC
8824 builtin and then its argument prototype would still apply. */
8825 #ifdef __cplusplus
8826 extern "C"
8827 #endif
8828 char XF86VidModeQueryExtension ();
8830 main ()
8832 return XF86VidModeQueryExtension ();
8834 return 0;
8836 _ACEOF
8837 if ac_fn_c_try_link "$LINENO"; then :
8838 case "$LIBEXT" in
8839 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8840 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'` ;;
8841 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8842 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
8843 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8844 fi ;;
8845 esac
8847 rm -f core conftest.err conftest.$ac_objext \
8848 conftest$ac_exeext conftest.$ac_ext
8849 LIBS=$ac_check_soname_save_LIBS
8851 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8853 $as_echo "not found" >&6; }
8855 else
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8857 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8859 cat >>confdefs.h <<_ACEOF
8860 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8861 _ACEOF
8866 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8867 case "x$with_xxf86vm" in
8868 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8869 xno) ;;
8870 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8871 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8872 esac
8875 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"
8876 then
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8878 $as_echo_n "checking for -lXrender... " >&6; }
8879 if ${ac_cv_lib_soname_Xrender+:} false; then :
8880 $as_echo_n "(cached) " >&6
8881 else
8882 ac_check_soname_save_LIBS=$LIBS
8883 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8887 /* Override any GCC internal prototype to avoid an error.
8888 Use char because int might match the return type of a GCC
8889 builtin and then its argument prototype would still apply. */
8890 #ifdef __cplusplus
8891 extern "C"
8892 #endif
8893 char XRenderQueryExtension ();
8895 main ()
8897 return XRenderQueryExtension ();
8899 return 0;
8901 _ACEOF
8902 if ac_fn_c_try_link "$LINENO"; then :
8903 case "$LIBEXT" in
8904 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8905 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'` ;;
8906 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8907 if test "x$ac_cv_lib_soname_Xrender" = x; then :
8908 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8909 fi ;;
8910 esac
8912 rm -f core conftest.err conftest.$ac_objext \
8913 conftest$ac_exeext conftest.$ac_ext
8914 LIBS=$ac_check_soname_save_LIBS
8916 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8918 $as_echo "not found" >&6; }
8920 else
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8922 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8924 cat >>confdefs.h <<_ACEOF
8925 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8926 _ACEOF
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8929 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8930 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 ac_check_lib_save_LIBS=$LIBS
8934 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8936 /* end confdefs.h. */
8938 /* Override any GCC internal prototype to avoid an error.
8939 Use char because int might match the return type of a GCC
8940 builtin and then its argument prototype would still apply. */
8941 #ifdef __cplusplus
8942 extern "C"
8943 #endif
8944 char XRenderSetPictureTransform ();
8946 main ()
8948 return XRenderSetPictureTransform ();
8950 return 0;
8952 _ACEOF
8953 if ac_fn_c_try_link "$LINENO"; then :
8954 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8955 else
8956 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8958 rm -f core conftest.err conftest.$ac_objext \
8959 conftest$ac_exeext conftest.$ac_ext
8960 LIBS=$ac_check_lib_save_LIBS
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8963 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8964 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8966 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8971 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8972 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8973 $as_echo_n "(cached) " >&6
8974 else
8975 ac_check_lib_save_LIBS=$LIBS
8976 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8978 /* end confdefs.h. */
8980 /* Override any GCC internal prototype to avoid an error.
8981 Use char because int might match the return type of a GCC
8982 builtin and then its argument prototype would still apply. */
8983 #ifdef __cplusplus
8984 extern "C"
8985 #endif
8986 char XRenderCreateLinearGradient ();
8988 main ()
8990 return XRenderCreateLinearGradient ();
8992 return 0;
8994 _ACEOF
8995 if ac_fn_c_try_link "$LINENO"; then :
8996 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8997 else
8998 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9000 rm -f core conftest.err conftest.$ac_objext \
9001 conftest$ac_exeext conftest.$ac_ext
9002 LIBS=$ac_check_lib_save_LIBS
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9005 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9006 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9008 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9015 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9016 case "x$with_xrender" in
9017 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9018 xno) ;;
9019 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9020 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9021 esac
9024 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9025 then
9026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9028 #include <X11/Xlib.h>
9029 #include <X11/extensions/Xrandr.h>
9031 main ()
9033 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9035 return 0;
9037 _ACEOF
9038 if ac_fn_c_try_compile "$LINENO"; then :
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9040 $as_echo_n "checking for -lXrandr... " >&6; }
9041 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9042 $as_echo_n "(cached) " >&6
9043 else
9044 ac_check_soname_save_LIBS=$LIBS
9045 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9052 #ifdef __cplusplus
9053 extern "C"
9054 #endif
9055 char XRRQueryExtension ();
9057 main ()
9059 return XRRQueryExtension ();
9061 return 0;
9063 _ACEOF
9064 if ac_fn_c_try_link "$LINENO"; then :
9065 case "$LIBEXT" in
9066 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9067 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'` ;;
9068 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9069 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
9070 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9071 fi ;;
9072 esac
9074 rm -f core conftest.err conftest.$ac_objext \
9075 conftest$ac_exeext conftest.$ac_ext
9076 LIBS=$ac_check_soname_save_LIBS
9078 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9080 $as_echo "not found" >&6; }
9082 else
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9084 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9086 cat >>confdefs.h <<_ACEOF
9087 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9088 _ACEOF
9090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9091 /* end confdefs.h. */
9092 #include <X11/Xlib.h>
9093 #include <X11/extensions/Xrandr.h>
9095 main ()
9097 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9099 return 0;
9101 _ACEOF
9102 if ac_fn_c_try_compile "$LINENO"; then :
9104 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9112 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9113 case "x$with_xrandr" in
9114 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9115 xno) ;;
9116 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9117 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9118 esac
9121 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9122 then
9123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9125 #include <X11/Xlib.h>
9126 #include <X11/extensions/Xinerama.h>
9128 main ()
9130 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9132 return 0;
9134 _ACEOF
9135 if ac_fn_c_try_compile "$LINENO"; then :
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9137 $as_echo_n "checking for -lXinerama... " >&6; }
9138 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9139 $as_echo_n "(cached) " >&6
9140 else
9141 ac_check_soname_save_LIBS=$LIBS
9142 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9146 /* Override any GCC internal prototype to avoid an error.
9147 Use char because int might match the return type of a GCC
9148 builtin and then its argument prototype would still apply. */
9149 #ifdef __cplusplus
9150 extern "C"
9151 #endif
9152 char XineramaQueryScreens ();
9154 main ()
9156 return XineramaQueryScreens ();
9158 return 0;
9160 _ACEOF
9161 if ac_fn_c_try_link "$LINENO"; then :
9162 case "$LIBEXT" in
9163 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9164 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'` ;;
9165 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9166 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
9167 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9168 fi ;;
9169 esac
9171 rm -f core conftest.err conftest.$ac_objext \
9172 conftest$ac_exeext conftest.$ac_ext
9173 LIBS=$ac_check_soname_save_LIBS
9175 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9177 $as_echo "not found" >&6; }
9179 else
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9181 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9183 cat >>confdefs.h <<_ACEOF
9184 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9185 _ACEOF
9190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9192 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9193 case "x$with_xinerama" in
9194 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9195 xno) ;;
9196 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9197 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9198 esac
9201 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9202 then
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9204 $as_echo_n "checking for -lXcomposite... " >&6; }
9205 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
9206 $as_echo_n "(cached) " >&6
9207 else
9208 ac_check_soname_save_LIBS=$LIBS
9209 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9216 #ifdef __cplusplus
9217 extern "C"
9218 #endif
9219 char XCompositeRedirectWindow ();
9221 main ()
9223 return XCompositeRedirectWindow ();
9225 return 0;
9227 _ACEOF
9228 if ac_fn_c_try_link "$LINENO"; then :
9229 case "$LIBEXT" in
9230 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9231 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'` ;;
9232 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9233 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
9234 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9235 fi ;;
9236 esac
9238 rm -f core conftest.err conftest.$ac_objext \
9239 conftest$ac_exeext conftest.$ac_ext
9240 LIBS=$ac_check_soname_save_LIBS
9242 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9244 $as_echo "not found" >&6; }
9246 else
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9248 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9250 cat >>confdefs.h <<_ACEOF
9251 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9252 _ACEOF
9257 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9258 case "x$with_xcomposite" in
9259 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9260 xno) ;;
9261 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9262 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9263 esac
9266 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9267 #include <X11/Xlib.h>
9268 #endif
9270 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9272 cat >>confdefs.h <<_ACEOF
9273 #define HAVE_XICCALLBACK_CALLBACK 1
9274 _ACEOF
9278 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9279 #include <X11/Xlib.h>
9280 #endif
9282 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9284 cat >>confdefs.h <<_ACEOF
9285 #define HAVE_XEVENT_XCOOKIE 1
9286 _ACEOF
9293 opengl_msg=""
9294 if test "x$with_opengl" != "xno"
9295 then
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9297 $as_echo_n "checking for -lGL... " >&6; }
9298 if ${ac_cv_lib_soname_GL+:} false; then :
9299 $as_echo_n "(cached) " >&6
9300 else
9301 ac_check_soname_save_LIBS=$LIBS
9302 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9306 /* Override any GCC internal prototype to avoid an error.
9307 Use char because int might match the return type of a GCC
9308 builtin and then its argument prototype would still apply. */
9309 #ifdef __cplusplus
9310 extern "C"
9311 #endif
9312 char glXCreateContext ();
9314 main ()
9316 return glXCreateContext ();
9318 return 0;
9320 _ACEOF
9321 if ac_fn_c_try_link "$LINENO"; then :
9322 case "$LIBEXT" in
9323 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9324 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'` ;;
9325 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9326 if test "x$ac_cv_lib_soname_GL" = x; then :
9327 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9328 fi ;;
9329 esac
9331 rm -f core conftest.err conftest.$ac_objext \
9332 conftest$ac_exeext conftest.$ac_ext
9333 LIBS=$ac_check_soname_save_LIBS
9335 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9337 $as_echo "not found" >&6; }
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9339 $as_echo_n "checking for -lGL... " >&6; }
9340 if ${ac_cv_lib_soname_GL+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 ac_check_soname_save_LIBS=$LIBS
9344 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"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9348 /* Override any GCC internal prototype to avoid an error.
9349 Use char because int might match the return type of a GCC
9350 builtin and then its argument prototype would still apply. */
9351 #ifdef __cplusplus
9352 extern "C"
9353 #endif
9354 char glXCreateContext ();
9356 main ()
9358 return glXCreateContext ();
9360 return 0;
9362 _ACEOF
9363 if ac_fn_c_try_link "$LINENO"; then :
9364 case "$LIBEXT" in
9365 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9366 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'` ;;
9367 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9368 if test "x$ac_cv_lib_soname_GL" = x; then :
9369 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9370 fi ;;
9371 esac
9373 rm -f core conftest.err conftest.$ac_objext \
9374 conftest$ac_exeext conftest.$ac_ext
9375 LIBS=$ac_check_soname_save_LIBS
9377 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9379 $as_echo "not found" >&6; }
9380 if test -f /usr/X11R6/lib/libGL.a
9381 then
9382 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9383 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9384 else
9385 opengl_msg="No OpenGL library found on this system."
9387 else
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9389 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9391 cat >>confdefs.h <<_ACEOF
9392 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9393 _ACEOF
9395 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"
9397 else
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9399 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9401 cat >>confdefs.h <<_ACEOF
9402 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9403 _ACEOF
9405 OPENGL_LIBS="-lGL"
9407 if test "x$with_glu" != "xno"
9408 then
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9410 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9411 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9412 $as_echo_n "(cached) " >&6
9413 else
9414 ac_check_lib_save_LIBS=$LIBS
9415 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9419 /* Override any GCC internal prototype to avoid an error.
9420 Use char because int might match the return type of a GCC
9421 builtin and then its argument prototype would still apply. */
9422 #ifdef __cplusplus
9423 extern "C"
9424 #endif
9425 char gluLookAt ();
9427 main ()
9429 return gluLookAt ();
9431 return 0;
9433 _ACEOF
9434 if ac_fn_c_try_link "$LINENO"; then :
9435 ac_cv_lib_GLU_gluLookAt=yes
9436 else
9437 ac_cv_lib_GLU_gluLookAt=no
9439 rm -f core conftest.err conftest.$ac_objext \
9440 conftest$ac_exeext conftest.$ac_ext
9441 LIBS=$ac_check_lib_save_LIBS
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9444 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9445 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9449 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9450 case "x$with_glu" in
9451 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9452 xno) ;;
9453 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9454 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9455 esac
9459 if test "x$with_osmesa" != "xno"
9460 then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9462 $as_echo_n "checking for -lOSMesa... " >&6; }
9463 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_check_soname_save_LIBS=$LIBS
9467 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $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 glAccum ();
9479 main ()
9481 return glAccum ();
9483 return 0;
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 case "$LIBEXT" in
9488 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9489 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'` ;;
9490 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9491 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9492 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9493 fi ;;
9494 esac
9496 rm -f core conftest.err conftest.$ac_objext \
9497 conftest$ac_exeext conftest.$ac_ext
9498 LIBS=$ac_check_soname_save_LIBS
9500 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9502 $as_echo "not found" >&6; }
9504 else
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9506 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9508 cat >>confdefs.h <<_ACEOF
9509 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9510 _ACEOF
9514 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9515 case "x$with_osmesa" in
9516 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9517 xno) ;;
9518 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9519 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9520 esac
9524 if test -n "$opengl_msg"; then :
9525 case "x$with_opengl" in
9526 x) as_fn_append wine_warnings "|$opengl_msg
9527 OpenGL and Direct3D won't be supported." ;;
9528 xno) ;;
9529 *) as_fn_error $? "$opengl_msg
9530 OpenGL and Direct3D won't be supported.
9531 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9532 esac
9535 CPPFLAGS="$ac_save_CPPFLAGS"
9536 else
9537 XLIB=""
9538 X_CFLAGS=""
9539 X_LIBS=""
9540 enable_winex11_drv=${enable_winex11_drv:-no}
9542 if test "x$XLIB" = "x"; then :
9543 case "x$with_x" in
9544 xno) ;;
9545 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9546 without X support, which probably isn't what you want. You will need
9547 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9548 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9549 esac
9552 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
9554 if test "$ac_cv_header_CL_cl_h" = "yes"
9555 then
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9557 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9558 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9559 $as_echo_n "(cached) " >&6
9560 else
9561 ac_check_lib_save_LIBS=$LIBS
9562 LIBS="-lOpenCL $LIBS"
9563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9564 /* end confdefs.h. */
9566 /* Override any GCC internal prototype to avoid an error.
9567 Use char because int might match the return type of a GCC
9568 builtin and then its argument prototype would still apply. */
9569 #ifdef __cplusplus
9570 extern "C"
9571 #endif
9572 char clGetPlatformInfo ();
9574 main ()
9576 return clGetPlatformInfo ();
9578 return 0;
9580 _ACEOF
9581 if ac_fn_c_try_link "$LINENO"; then :
9582 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9583 else
9584 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9586 rm -f core conftest.err conftest.$ac_objext \
9587 conftest$ac_exeext conftest.$ac_ext
9588 LIBS=$ac_check_lib_save_LIBS
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9591 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9592 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9593 LIBOPENCL="-lOpenCL"
9598 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9599 case "x$with_opencl" in
9600 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9601 xno) ;;
9602 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9603 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9604 esac
9606 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9609 if test "x$with_xml" != "xno"
9610 then
9611 if test -n "$XML2_CFLAGS"; then :
9613 elif test -n "$PKG_CONFIG"; then :
9614 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9616 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9617 if test -n "$XML2_LIBS"; then :
9619 elif test -n "$PKG_CONFIG"; then :
9620 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9622 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9623 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
9624 ac_save_CPPFLAGS=$CPPFLAGS
9625 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
9626 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9627 do :
9628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9629 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9630 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9631 cat >>confdefs.h <<_ACEOF
9632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9633 _ACEOF
9637 done
9639 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"
9640 then
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9642 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9643 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9644 $as_echo_n "(cached) " >&6
9645 else
9646 ac_check_lib_save_LIBS=$LIBS
9647 LIBS="-lxml2 $XML2_LIBS $LIBS"
9648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9649 /* end confdefs.h. */
9651 /* Override any GCC internal prototype to avoid an error.
9652 Use char because int might match the return type of a GCC
9653 builtin and then its argument prototype would still apply. */
9654 #ifdef __cplusplus
9655 extern "C"
9656 #endif
9657 char xmlParseMemory ();
9659 main ()
9661 return xmlParseMemory ();
9663 return 0;
9665 _ACEOF
9666 if ac_fn_c_try_link "$LINENO"; then :
9667 ac_cv_lib_xml2_xmlParseMemory=yes
9668 else
9669 ac_cv_lib_xml2_xmlParseMemory=no
9671 rm -f core conftest.err conftest.$ac_objext \
9672 conftest$ac_exeext conftest.$ac_ext
9673 LIBS=$ac_check_lib_save_LIBS
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9676 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9677 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9679 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9681 else
9682 XML2_LIBS=""
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9686 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9687 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9688 $as_echo_n "(cached) " >&6
9689 else
9690 ac_check_lib_save_LIBS=$LIBS
9691 LIBS="-lxml2 $XML2_LIBS $LIBS"
9692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9693 /* end confdefs.h. */
9695 /* Override any GCC internal prototype to avoid an error.
9696 Use char because int might match the return type of a GCC
9697 builtin and then its argument prototype would still apply. */
9698 #ifdef __cplusplus
9699 extern "C"
9700 #endif
9701 char xmlReadMemory ();
9703 main ()
9705 return xmlReadMemory ();
9707 return 0;
9709 _ACEOF
9710 if ac_fn_c_try_link "$LINENO"; then :
9711 ac_cv_lib_xml2_xmlReadMemory=yes
9712 else
9713 ac_cv_lib_xml2_xmlReadMemory=no
9715 rm -f core conftest.err conftest.$ac_objext \
9716 conftest$ac_exeext conftest.$ac_ext
9717 LIBS=$ac_check_lib_save_LIBS
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9720 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9721 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9723 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9728 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9729 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9730 $as_echo_n "(cached) " >&6
9731 else
9732 ac_check_lib_save_LIBS=$LIBS
9733 LIBS="-lxml2 $XML2_LIBS $LIBS"
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h. */
9737 /* Override any GCC internal prototype to avoid an error.
9738 Use char because int might match the return type of a GCC
9739 builtin and then its argument prototype would still apply. */
9740 #ifdef __cplusplus
9741 extern "C"
9742 #endif
9743 char xmlNewDocPI ();
9745 main ()
9747 return xmlNewDocPI ();
9749 return 0;
9751 _ACEOF
9752 if ac_fn_c_try_link "$LINENO"; then :
9753 ac_cv_lib_xml2_xmlNewDocPI=yes
9754 else
9755 ac_cv_lib_xml2_xmlNewDocPI=no
9757 rm -f core conftest.err conftest.$ac_objext \
9758 conftest$ac_exeext conftest.$ac_ext
9759 LIBS=$ac_check_lib_save_LIBS
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9762 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9763 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9765 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9770 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9771 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9772 $as_echo_n "(cached) " >&6
9773 else
9774 ac_check_lib_save_LIBS=$LIBS
9775 LIBS="-lxml2 $XML2_LIBS $LIBS"
9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9779 /* Override any GCC internal prototype to avoid an error.
9780 Use char because int might match the return type of a GCC
9781 builtin and then its argument prototype would still apply. */
9782 #ifdef __cplusplus
9783 extern "C"
9784 #endif
9785 char xmlSchemaSetParserStructuredErrors ();
9787 main ()
9789 return xmlSchemaSetParserStructuredErrors ();
9791 return 0;
9793 _ACEOF
9794 if ac_fn_c_try_link "$LINENO"; then :
9795 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9796 else
9797 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9799 rm -f core conftest.err conftest.$ac_objext \
9800 conftest$ac_exeext conftest.$ac_ext
9801 LIBS=$ac_check_lib_save_LIBS
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9804 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9805 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9807 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9812 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9813 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9814 $as_echo_n "(cached) " >&6
9815 else
9816 ac_check_lib_save_LIBS=$LIBS
9817 LIBS="-lxml2 $XML2_LIBS $LIBS"
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9821 /* Override any GCC internal prototype to avoid an error.
9822 Use char because int might match the return type of a GCC
9823 builtin and then its argument prototype would still apply. */
9824 #ifdef __cplusplus
9825 extern "C"
9826 #endif
9827 char xmlSchemaSetValidStructuredErrors ();
9829 main ()
9831 return xmlSchemaSetValidStructuredErrors ();
9833 return 0;
9835 _ACEOF
9836 if ac_fn_c_try_link "$LINENO"; then :
9837 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9838 else
9839 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9841 rm -f core conftest.err conftest.$ac_objext \
9842 conftest$ac_exeext conftest.$ac_ext
9843 LIBS=$ac_check_lib_save_LIBS
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9846 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9847 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9849 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9854 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9855 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9856 $as_echo_n "(cached) " >&6
9857 else
9858 ac_check_lib_save_LIBS=$LIBS
9859 LIBS="-lxml2 $XML2_LIBS $LIBS"
9860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h. */
9863 /* Override any GCC internal prototype to avoid an error.
9864 Use char because int might match the return type of a GCC
9865 builtin and then its argument prototype would still apply. */
9866 #ifdef __cplusplus
9867 extern "C"
9868 #endif
9869 char xmlFirstElementChild ();
9871 main ()
9873 return xmlFirstElementChild ();
9875 return 0;
9877 _ACEOF
9878 if ac_fn_c_try_link "$LINENO"; then :
9879 ac_cv_lib_xml2_xmlFirstElementChild=yes
9880 else
9881 ac_cv_lib_xml2_xmlFirstElementChild=no
9883 rm -f core conftest.err conftest.$ac_objext \
9884 conftest$ac_exeext conftest.$ac_ext
9885 LIBS=$ac_check_lib_save_LIBS
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9888 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9889 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9891 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9895 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9897 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9899 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9903 else
9904 XML2_CFLAGS=""
9905 XML2_LIBS=""
9907 CPPFLAGS=$ac_save_CPPFLAGS
9908 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
9909 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
9912 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9913 case "x$with_xml" in
9914 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9915 xno) ;;
9916 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9917 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9918 esac
9921 if test "x$with_xslt" != "xno"
9922 then
9923 if test -n "$XSLT_CFLAGS"; then :
9925 elif test -n "$PKG_CONFIG"; then :
9926 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9928 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9929 if test -n "$XSLT_LIBS"; then :
9931 elif test -n "$PKG_CONFIG"; then :
9932 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
9934 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
9935 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
9936 ac_save_CPPFLAGS=$CPPFLAGS
9937 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
9938 for ac_header in libxslt/pattern.h libxslt/transform.h
9939 do :
9940 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9941 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9942 # include <libxslt/pattern.h>
9943 #endif
9945 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9946 cat >>confdefs.h <<_ACEOF
9947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9948 _ACEOF
9952 done
9954 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9955 then
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9957 $as_echo_n "checking for -lxslt... " >&6; }
9958 if ${ac_cv_lib_soname_xslt+:} false; then :
9959 $as_echo_n "(cached) " >&6
9960 else
9961 ac_check_soname_save_LIBS=$LIBS
9962 LIBS="-lxslt $XSLT_LIBS $LIBS"
9963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9964 /* end confdefs.h. */
9966 /* Override any GCC internal prototype to avoid an error.
9967 Use char because int might match the return type of a GCC
9968 builtin and then its argument prototype would still apply. */
9969 #ifdef __cplusplus
9970 extern "C"
9971 #endif
9972 char xsltCompilePattern ();
9974 main ()
9976 return xsltCompilePattern ();
9978 return 0;
9980 _ACEOF
9981 if ac_fn_c_try_link "$LINENO"; then :
9982 case "$LIBEXT" in
9983 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9984 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'` ;;
9985 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9986 if test "x$ac_cv_lib_soname_xslt" = x; then :
9987 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9988 fi ;;
9989 esac
9991 rm -f core conftest.err conftest.$ac_objext \
9992 conftest$ac_exeext conftest.$ac_ext
9993 LIBS=$ac_check_soname_save_LIBS
9995 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9997 $as_echo "not found" >&6; }
9999 else
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10001 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10003 cat >>confdefs.h <<_ACEOF
10004 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10005 _ACEOF
10009 else
10010 XSLT_CFLAGS=""
10012 CPPFLAGS=$ac_save_CPPFLAGS
10013 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10014 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10017 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10018 case "x$with_xslt" in
10019 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10020 xno) ;;
10021 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10022 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10023 esac
10026 if test "x$with_dbus" != "xno"
10027 then
10028 if test -n "$DBUS_CFLAGS"; then :
10030 elif test -n "$PKG_CONFIG"; then :
10031 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10034 if test -n "$DBUS_LIBS"; then :
10036 elif test -n "$PKG_CONFIG"; then :
10037 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10041 ac_save_CPPFLAGS=$CPPFLAGS
10042 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10043 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10044 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10046 $as_echo_n "checking for -ldbus-1... " >&6; }
10047 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10048 $as_echo_n "(cached) " >&6
10049 else
10050 ac_check_soname_save_LIBS=$LIBS
10051 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10055 /* Override any GCC internal prototype to avoid an error.
10056 Use char because int might match the return type of a GCC
10057 builtin and then its argument prototype would still apply. */
10058 #ifdef __cplusplus
10059 extern "C"
10060 #endif
10061 char dbus_connection_close ();
10063 main ()
10065 return dbus_connection_close ();
10067 return 0;
10069 _ACEOF
10070 if ac_fn_c_try_link "$LINENO"; then :
10071 case "$LIBEXT" in
10072 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10073 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'` ;;
10074 *) 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'`
10075 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
10076 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10077 fi ;;
10078 esac
10080 rm -f core conftest.err conftest.$ac_objext \
10081 conftest$ac_exeext conftest.$ac_ext
10082 LIBS=$ac_check_soname_save_LIBS
10084 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10086 $as_echo "not found" >&6; }
10087 DBUS_CFLAGS=""
10088 else
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10090 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10092 cat >>confdefs.h <<_ACEOF
10093 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10094 _ACEOF
10098 else
10099 DBUS_CFLAGS=""
10103 CPPFLAGS=$ac_save_CPPFLAGS
10104 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10105 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10108 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10109 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10110 case "x$with_dbus" in
10111 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10112 xno) ;;
10113 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10114 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10115 esac
10118 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10119 then
10120 if test -n "$HAL_CFLAGS"; then :
10122 elif test -n "$PKG_CONFIG"; then :
10123 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10126 if test -n "$HAL_LIBS"; then :
10128 elif test -n "$PKG_CONFIG"; then :
10129 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10132 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10133 ac_save_CPPFLAGS=$CPPFLAGS
10134 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10135 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10136 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10138 $as_echo_n "checking for -lhal... " >&6; }
10139 if ${ac_cv_lib_soname_hal+:} false; then :
10140 $as_echo_n "(cached) " >&6
10141 else
10142 ac_check_soname_save_LIBS=$LIBS
10143 LIBS="-lhal $HAL_LIBS $LIBS"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10147 /* Override any GCC internal prototype to avoid an error.
10148 Use char because int might match the return type of a GCC
10149 builtin and then its argument prototype would still apply. */
10150 #ifdef __cplusplus
10151 extern "C"
10152 #endif
10153 char libhal_ctx_new ();
10155 main ()
10157 return libhal_ctx_new ();
10159 return 0;
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"; then :
10163 case "$LIBEXT" in
10164 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10165 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'` ;;
10166 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10167 if test "x$ac_cv_lib_soname_hal" = x; then :
10168 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10169 fi ;;
10170 esac
10172 rm -f core conftest.err conftest.$ac_objext \
10173 conftest$ac_exeext conftest.$ac_ext
10174 LIBS=$ac_check_soname_save_LIBS
10176 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10178 $as_echo "not found" >&6; }
10179 HAL_CFLAGS=""
10180 else
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10182 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10184 cat >>confdefs.h <<_ACEOF
10185 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10186 _ACEOF
10190 else
10191 HAL_CFLAGS=""
10195 CPPFLAGS=$ac_save_CPPFLAGS
10196 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10197 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10199 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10200 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10201 case "x$with_hal" in
10202 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10203 xno) ;;
10204 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
10205 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10206 esac
10210 if test "x$with_gnutls" != "xno"
10211 then
10212 if test -n "$GNUTLS_CFLAGS"; then :
10214 elif test -n "$PKG_CONFIG"; then :
10215 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10218 if test -n "$GNUTLS_LIBS"; then :
10220 elif test -n "$PKG_CONFIG"; then :
10221 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10225 ac_save_CPPFLAGS=$CPPFLAGS
10226 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
10227 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10228 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h. */
10231 #include <gnutls/gnutls.h>
10232 #include <gnutls/crypto.h>
10234 main ()
10236 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10238 return 0;
10240 _ACEOF
10241 if ac_fn_c_try_compile "$LINENO"; then :
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10243 $as_echo_n "checking for -lgnutls... " >&6; }
10244 if ${ac_cv_lib_soname_gnutls+:} false; then :
10245 $as_echo_n "(cached) " >&6
10246 else
10247 ac_check_soname_save_LIBS=$LIBS
10248 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10252 /* Override any GCC internal prototype to avoid an error.
10253 Use char because int might match the return type of a GCC
10254 builtin and then its argument prototype would still apply. */
10255 #ifdef __cplusplus
10256 extern "C"
10257 #endif
10258 char gnutls_global_init ();
10260 main ()
10262 return gnutls_global_init ();
10264 return 0;
10266 _ACEOF
10267 if ac_fn_c_try_link "$LINENO"; then :
10268 case "$LIBEXT" in
10269 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10270 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'` ;;
10271 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10272 if test "x$ac_cv_lib_soname_gnutls" = x; then :
10273 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10274 fi ;;
10275 esac
10277 rm -f core conftest.err conftest.$ac_objext \
10278 conftest$ac_exeext conftest.$ac_ext
10279 LIBS=$ac_check_soname_save_LIBS
10281 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10283 $as_echo "not found" >&6; }
10284 GNUTLS_CFLAGS=""
10285 else
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10287 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10289 cat >>confdefs.h <<_ACEOF
10290 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10291 _ACEOF
10296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10297 else
10298 GNUTLS_CFLAGS=""
10302 CPPFLAGS=$ac_save_CPPFLAGS
10303 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10304 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10307 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10308 case "x$with_gnutls" in
10309 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10310 xno) ;;
10311 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
10312 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10313 esac
10316 CURSESLIBS=""
10317 if test "$ac_cv_header_ncurses_h" = "yes"
10318 then
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10320 $as_echo_n "checking for -lncurses... " >&6; }
10321 if ${ac_cv_lib_soname_ncurses+:} false; then :
10322 $as_echo_n "(cached) " >&6
10323 else
10324 ac_check_soname_save_LIBS=$LIBS
10325 LIBS="-lncurses $LIBS"
10326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10327 /* end confdefs.h. */
10329 /* Override any GCC internal prototype to avoid an error.
10330 Use char because int might match the return type of a GCC
10331 builtin and then its argument prototype would still apply. */
10332 #ifdef __cplusplus
10333 extern "C"
10334 #endif
10335 char waddch ();
10337 main ()
10339 return waddch ();
10341 return 0;
10343 _ACEOF
10344 if ac_fn_c_try_link "$LINENO"; then :
10345 case "$LIBEXT" in
10346 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10347 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'` ;;
10348 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10349 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10350 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10351 fi ;;
10352 esac
10354 rm -f core conftest.err conftest.$ac_objext \
10355 conftest$ac_exeext conftest.$ac_ext
10356 LIBS=$ac_check_soname_save_LIBS
10358 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10360 $as_echo "not found" >&6; }
10362 else
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10364 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10366 cat >>confdefs.h <<_ACEOF
10367 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10368 _ACEOF
10370 CURSESLIBS="-lncurses"
10372 elif test "$ac_cv_header_curses_h" = "yes"
10373 then
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10375 $as_echo_n "checking for -lcurses... " >&6; }
10376 if ${ac_cv_lib_soname_curses+:} false; then :
10377 $as_echo_n "(cached) " >&6
10378 else
10379 ac_check_soname_save_LIBS=$LIBS
10380 LIBS="-lcurses $LIBS"
10381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h. */
10384 /* Override any GCC internal prototype to avoid an error.
10385 Use char because int might match the return type of a GCC
10386 builtin and then its argument prototype would still apply. */
10387 #ifdef __cplusplus
10388 extern "C"
10389 #endif
10390 char waddch ();
10392 main ()
10394 return waddch ();
10396 return 0;
10398 _ACEOF
10399 if ac_fn_c_try_link "$LINENO"; then :
10400 case "$LIBEXT" in
10401 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10402 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'` ;;
10403 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10404 if test "x$ac_cv_lib_soname_curses" = x; then :
10405 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10406 fi ;;
10407 esac
10409 rm -f core conftest.err conftest.$ac_objext \
10410 conftest$ac_exeext conftest.$ac_ext
10411 LIBS=$ac_check_soname_save_LIBS
10413 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10415 $as_echo "not found" >&6; }
10417 else
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10419 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10421 cat >>confdefs.h <<_ACEOF
10422 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10423 _ACEOF
10425 CURSESLIBS="-lcurses"
10428 ac_save_LIBS="$LIBS"
10429 LIBS="$LIBS $CURSESLIBS"
10430 for ac_func in mousemask
10431 do :
10432 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10433 if test "x$ac_cv_func_mousemask" = xyes; then :
10434 cat >>confdefs.h <<_ACEOF
10435 #define HAVE_MOUSEMASK 1
10436 _ACEOF
10439 done
10441 LIBS="$ac_save_LIBS"
10442 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10443 case "x$with_curses" in
10444 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10445 xno) ;;
10446 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10447 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10448 esac
10451 if test "x$with_sane" != "xno"
10452 then
10453 if test -n "$SANE_CFLAGS"; then :
10455 elif test -n "$PKG_CONFIG"; then :
10456 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10458 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10459 if test -n "$SANE_LIBS"; then :
10461 elif test -n "$PKG_CONFIG"; then :
10462 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
10464 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10466 ac_save_CPPFLAGS=$CPPFLAGS
10467 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
10468 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10469 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10471 $as_echo_n "checking for -lsane... " >&6; }
10472 if ${ac_cv_lib_soname_sane+:} false; then :
10473 $as_echo_n "(cached) " >&6
10474 else
10475 ac_check_soname_save_LIBS=$LIBS
10476 LIBS="-lsane $SANE_LIBS $LIBS"
10477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10480 /* Override any GCC internal prototype to avoid an error.
10481 Use char because int might match the return type of a GCC
10482 builtin and then its argument prototype would still apply. */
10483 #ifdef __cplusplus
10484 extern "C"
10485 #endif
10486 char sane_init ();
10488 main ()
10490 return sane_init ();
10492 return 0;
10494 _ACEOF
10495 if ac_fn_c_try_link "$LINENO"; then :
10496 case "$LIBEXT" in
10497 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10498 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'` ;;
10499 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10500 if test "x$ac_cv_lib_soname_sane" = x; then :
10501 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10502 fi ;;
10503 esac
10505 rm -f core conftest.err conftest.$ac_objext \
10506 conftest$ac_exeext conftest.$ac_ext
10507 LIBS=$ac_check_soname_save_LIBS
10509 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10511 $as_echo "not found" >&6; }
10512 SANE_CFLAGS=""
10513 else
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10515 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10517 cat >>confdefs.h <<_ACEOF
10518 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10519 _ACEOF
10523 else
10524 SANE_CFLAGS=""
10528 CPPFLAGS=$ac_save_CPPFLAGS
10529 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10530 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10533 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10534 case "x$with_sane" in
10535 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10536 xno) ;;
10537 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
10538 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10539 esac
10542 if test "x$with_v4l" != "xno"
10543 then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10545 $as_echo_n "checking for -lv4l1... " >&6; }
10546 if ${ac_cv_lib_soname_v4l1+:} false; then :
10547 $as_echo_n "(cached) " >&6
10548 else
10549 ac_check_soname_save_LIBS=$LIBS
10550 LIBS="-lv4l1 $LIBS"
10551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10552 /* end confdefs.h. */
10554 /* Override any GCC internal prototype to avoid an error.
10555 Use char because int might match the return type of a GCC
10556 builtin and then its argument prototype would still apply. */
10557 #ifdef __cplusplus
10558 extern "C"
10559 #endif
10560 char v4l1_open ();
10562 main ()
10564 return v4l1_open ();
10566 return 0;
10568 _ACEOF
10569 if ac_fn_c_try_link "$LINENO"; then :
10570 case "$LIBEXT" in
10571 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10572 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'` ;;
10573 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10574 if test "x$ac_cv_lib_soname_v4l1" = x; then :
10575 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10576 fi ;;
10577 esac
10579 rm -f core conftest.err conftest.$ac_objext \
10580 conftest$ac_exeext conftest.$ac_ext
10581 LIBS=$ac_check_soname_save_LIBS
10583 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10585 $as_echo "not found" >&6; }
10587 else
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10589 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10591 cat >>confdefs.h <<_ACEOF
10592 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10593 _ACEOF
10598 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10599 case "x$with_v4l" in
10600 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10601 xno) ;;
10602 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10603 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10604 esac
10607 if test "x$with_gphoto" != "xno"
10608 then
10609 if test -n "$GPHOTO2_CFLAGS"; then :
10611 elif test -n "$PKG_CONFIG"; then :
10612 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10614 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
10615 if test -n "$GPHOTO2_LIBS"; then :
10617 elif test -n "$PKG_CONFIG"; then :
10618 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10620 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
10621 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
10622 ac_save_CPPFLAGS=$CPPFLAGS
10623 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
10624 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10625 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10627 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10628 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10629 $as_echo_n "(cached) " >&6
10630 else
10631 ac_check_lib_save_LIBS=$LIBS
10632 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10636 /* Override any GCC internal prototype to avoid an error.
10637 Use char because int might match the return type of a GCC
10638 builtin and then its argument prototype would still apply. */
10639 #ifdef __cplusplus
10640 extern "C"
10641 #endif
10642 char gp_camera_new ();
10644 main ()
10646 return gp_camera_new ();
10648 return 0;
10650 _ACEOF
10651 if ac_fn_c_try_link "$LINENO"; then :
10652 ac_cv_lib_gphoto2_gp_camera_new=yes
10653 else
10654 ac_cv_lib_gphoto2_gp_camera_new=no
10656 rm -f core conftest.err conftest.$ac_objext \
10657 conftest$ac_exeext conftest.$ac_ext
10658 LIBS=$ac_check_lib_save_LIBS
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10661 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10662 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10664 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10666 else
10667 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
10670 else
10671 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
10675 CPPFLAGS=$ac_save_CPPFLAGS
10676 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10677 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10679 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
10681 elif test -n "$PKG_CONFIG"; then :
10682 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
10684 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
10685 if test -n "$GPHOTO2_PORT_LIBS"; then :
10687 elif test -n "$PKG_CONFIG"; then :
10688 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
10690 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
10691 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
10692 ac_save_CPPFLAGS=$CPPFLAGS
10693 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
10694 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
10695 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
10697 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
10698 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
10699 $as_echo_n "(cached) " >&6
10700 else
10701 ac_check_lib_save_LIBS=$LIBS
10702 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10706 /* Override any GCC internal prototype to avoid an error.
10707 Use char because int might match the return type of a GCC
10708 builtin and then its argument prototype would still apply. */
10709 #ifdef __cplusplus
10710 extern "C"
10711 #endif
10712 char gp_port_info_list_new ();
10714 main ()
10716 return gp_port_info_list_new ();
10718 return 0;
10720 _ACEOF
10721 if ac_fn_c_try_link "$LINENO"; then :
10722 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
10723 else
10724 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
10726 rm -f core conftest.err conftest.$ac_objext \
10727 conftest$ac_exeext conftest.$ac_ext
10728 LIBS=$ac_check_lib_save_LIBS
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
10731 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
10732 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
10734 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
10736 else
10737 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
10740 else
10741 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
10745 CPPFLAGS=$ac_save_CPPFLAGS
10746 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10747 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10750 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10751 case "x$with_gphoto" in
10752 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10753 xno) ;;
10754 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10755 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10756 esac
10758 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
10759 case "x$with_gphoto" in
10760 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
10761 xno) ;;
10762 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
10763 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10764 esac
10768 if test "$ac_cv_header_resolv_h" = "yes"
10769 then
10770 ac_save_LIBS="$LIBS"
10771 for lib in '' -lresolv
10773 LIBS="$lib $ac_save_LIBS"
10774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10776 #ifdef HAVE_NETINET_IN_H
10777 #include <netinet/in.h>
10778 #endif
10779 #include <resolv.h>
10781 main ()
10783 res_query("foo",ns_c_in,0,0,0);
10785 return 0;
10787 _ACEOF
10788 if ac_fn_c_try_link "$LINENO"; then :
10790 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10792 RESOLVLIBS="$lib"
10795 rm -f core conftest.err conftest.$ac_objext \
10796 conftest$ac_exeext conftest.$ac_ext
10797 if test "${RESOLVLIBS+set}" = set; then
10798 break
10800 done
10801 LIBS="$ac_save_LIBS"
10804 if test "x$with_lcms2" != "xno"
10805 then
10806 if test -n "$LCMS2_CFLAGS"; then :
10808 elif test -n "$PKG_CONFIG"; then :
10809 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
10812 if test -n "$LCMS2_LIBS"; then :
10814 elif test -n "$PKG_CONFIG"; then :
10815 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
10818 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
10819 ac_save_CPPFLAGS=$CPPFLAGS
10820 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
10821 for ac_header in lcms2.h
10822 do :
10823 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
10824 if test "x$ac_cv_header_lcms2_h" = xyes; then :
10825 cat >>confdefs.h <<_ACEOF
10826 #define HAVE_LCMS2_H 1
10827 _ACEOF
10831 done
10833 if test "$ac_cv_header_lcms2_h" = "yes"
10834 then
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
10836 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
10837 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
10838 $as_echo_n "(cached) " >&6
10839 else
10840 ac_check_lib_save_LIBS=$LIBS
10841 LIBS="-llcms2 $LIBS"
10842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10843 /* end confdefs.h. */
10845 /* Override any GCC internal prototype to avoid an error.
10846 Use char because int might match the return type of a GCC
10847 builtin and then its argument prototype would still apply. */
10848 #ifdef __cplusplus
10849 extern "C"
10850 #endif
10851 char cmsOpenProfileFromFile ();
10853 main ()
10855 return cmsOpenProfileFromFile ();
10857 return 0;
10859 _ACEOF
10860 if ac_fn_c_try_link "$LINENO"; then :
10861 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
10862 else
10863 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
10865 rm -f core conftest.err conftest.$ac_objext \
10866 conftest$ac_exeext conftest.$ac_ext
10867 LIBS=$ac_check_lib_save_LIBS
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
10870 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
10871 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
10873 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
10875 else
10876 LCMS2_LIBS=""
10879 else
10880 LCMS2_CFLAGS=""
10881 LCMS2_LIBS=""
10883 CPPFLAGS=$ac_save_CPPFLAGS
10884 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10885 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10888 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
10889 case "x$with_cms" in
10890 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
10891 xno) ;;
10892 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
10893 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10894 esac
10897 if test "x$with_freetype" != "xno"
10898 then
10899 if test -n "$FREETYPE_CFLAGS"; then :
10901 elif test -n "$PKG_CONFIG"; then :
10902 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10904 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10905 if test -n "$FREETYPE_LIBS"; then :
10907 elif test -n "$PKG_CONFIG"; then :
10908 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10910 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10911 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
10912 ac_save_CPPFLAGS=$CPPFLAGS
10913 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10915 $as_echo_n "checking for -lfreetype... " >&6; }
10916 if ${ac_cv_lib_soname_freetype+:} false; then :
10917 $as_echo_n "(cached) " >&6
10918 else
10919 ac_check_soname_save_LIBS=$LIBS
10920 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10927 #ifdef __cplusplus
10928 extern "C"
10929 #endif
10930 char FT_Init_FreeType ();
10932 main ()
10934 return FT_Init_FreeType ();
10936 return 0;
10938 _ACEOF
10939 if ac_fn_c_try_link "$LINENO"; then :
10940 case "$LIBEXT" in
10941 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10942 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'` ;;
10943 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10944 if test "x$ac_cv_lib_soname_freetype" = x; then :
10945 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10946 fi ;;
10947 esac
10949 rm -f core conftest.err conftest.$ac_objext \
10950 conftest$ac_exeext conftest.$ac_ext
10951 LIBS=$ac_check_soname_save_LIBS
10953 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10955 $as_echo "not found" >&6; }
10956 ft_lib=no
10957 else
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10959 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10961 cat >>confdefs.h <<_ACEOF
10962 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10963 _ACEOF
10965 ft_lib=yes
10967 if test "$ft_lib" = "yes"
10968 then
10969 for ac_header in ft2build.h \
10970 freetype/freetype.h \
10971 freetype/ftglyph.h \
10972 freetype/fttypes.h \
10973 freetype/tttables.h \
10974 freetype/ftsnames.h \
10975 freetype/ttnameid.h \
10976 freetype/ftoutln.h \
10977 freetype/ftwinfnt.h \
10978 freetype/ftmodapi.h \
10979 freetype/ftlcdfil.h
10980 do :
10981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10982 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10983 # include <ft2build.h>
10984 #endif
10986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10987 cat >>confdefs.h <<_ACEOF
10988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10989 _ACEOF
10993 done
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10997 #include <ft2build.h>
10998 #include <freetype/fttrigon.h>
10999 _ACEOF
11000 if ac_fn_c_try_cpp "$LINENO"; then :
11002 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11004 wine_cv_fttrigon=yes
11005 else
11006 wine_cv_fttrigon=no
11008 rm -f conftest.err conftest.i conftest.$ac_ext
11009 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11011 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11013 cat >>confdefs.h <<_ACEOF
11014 #define HAVE_FT_TRUETYPEENGINETYPE 1
11015 _ACEOF
11020 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11021 then
11023 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11025 else
11026 FREETYPE_LIBS=""
11028 else
11029 FREETYPE_LIBS=""
11031 CPPFLAGS=$ac_save_CPPFLAGS
11032 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11033 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11036 if test "x$ac_cv_header_freetype_freetype_h" != xyes -o "x$wine_cv_fttrigon" != xyes; then :
11037 case "x$with_freetype" in
11038 xno) ;;
11039 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11040 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11041 esac
11043 test "x$ac_cv_header_freetype_freetype_h" = xyes -a "x$wine_cv_fttrigon" = xyes || enable_fonts=${enable_fonts:-no}
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11046 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11047 if ${ac_cv_c_ppdev+:} false; then :
11048 $as_echo_n "(cached) " >&6
11049 else
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11052 #ifdef HAVE_SYS_IOCTL_H
11053 # include <sys/ioctl.h>
11054 #endif
11055 #include <linux/ppdev.h>
11057 main ()
11059 ioctl (1,PPCLAIM,0)
11061 return 0;
11063 _ACEOF
11064 if ac_fn_c_try_compile "$LINENO"; then :
11065 ac_cv_c_ppdev="yes"
11066 else
11067 ac_cv_c_ppdev="no"
11069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11072 $as_echo "$ac_cv_c_ppdev" >&6; }
11073 if test "$ac_cv_c_ppdev" = "yes"
11074 then
11076 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11080 ac_wine_check_funcs_save_LIBS="$LIBS"
11081 LIBS="$LIBS $LIBPTHREAD"
11082 for ac_func in \
11083 pthread_attr_get_np \
11084 pthread_getattr_np \
11085 pthread_getthreadid_np \
11086 pthread_get_stackaddr_np \
11087 pthread_get_stacksize_np
11088 do :
11089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11091 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11092 cat >>confdefs.h <<_ACEOF
11093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11094 _ACEOF
11097 done
11099 LIBS="$ac_wine_check_funcs_save_LIBS"
11101 if test "$ac_cv_header_zlib_h" = "yes"
11102 then
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11104 $as_echo_n "checking for inflate in -lz... " >&6; }
11105 if ${ac_cv_lib_z_inflate+:} false; then :
11106 $as_echo_n "(cached) " >&6
11107 else
11108 ac_check_lib_save_LIBS=$LIBS
11109 LIBS="-lz $LIBS"
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11116 #ifdef __cplusplus
11117 extern "C"
11118 #endif
11119 char inflate ();
11121 main ()
11123 return inflate ();
11125 return 0;
11127 _ACEOF
11128 if ac_fn_c_try_link "$LINENO"; then :
11129 ac_cv_lib_z_inflate=yes
11130 else
11131 ac_cv_lib_z_inflate=no
11133 rm -f core conftest.err conftest.$ac_objext \
11134 conftest$ac_exeext conftest.$ac_ext
11135 LIBS=$ac_check_lib_save_LIBS
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11138 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11139 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11141 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11143 ZLIB="-lz"
11148 if test "x$ZLIB" = "x"; then :
11149 case "x$with_zlib" in
11150 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11151 xno) ;;
11152 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11153 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11154 esac
11157 if test "x$enable_tools" != xno
11158 then
11159 if test "$ac_cv_header_gettext_po_h" = "yes"
11160 then
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11162 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11163 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
11164 $as_echo_n "(cached) " >&6
11165 else
11166 ac_check_lib_save_LIBS=$LIBS
11167 LIBS="-lgettextpo $LIBS"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11174 #ifdef __cplusplus
11175 extern "C"
11176 #endif
11177 char po_message_msgctxt ();
11179 main ()
11181 return po_message_msgctxt ();
11183 return 0;
11185 _ACEOF
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 ac_cv_lib_gettextpo_po_message_msgctxt=yes
11188 else
11189 ac_cv_lib_gettextpo_po_message_msgctxt=no
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11196 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11197 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
11199 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11201 LIBGETTEXTPO="-lgettextpo"
11206 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
11207 case "x$with_gettextpo" in
11208 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11209 xno) ;;
11210 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11211 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11212 esac
11216 if test "x$with_gstreamer" != "xno"
11217 then
11218 if test -n "$GSTREAMER_CFLAGS"; then :
11220 elif test -n "$PKG_CONFIG"; then :
11221 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11224 if test -n "$GSTREAMER_LIBS"; then :
11226 elif test -n "$PKG_CONFIG"; then :
11227 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11231 ac_save_CPPFLAGS=$CPPFLAGS
11232 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
11233 ac_gst_incl=""
11234 for i in $GSTREAMER_CFLAGS
11236 case "$i" in
11237 -I*) ac_gst_incl="$ac_gst_incl $i";;
11238 esac
11239 done
11240 GSTREAMER_CFLAGS=$ac_gst_incl
11241 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11242 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11243 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
11244 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11245 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11247 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11250 #include <gst/app/gstappsink.h>
11252 main ()
11254 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11256 return 0;
11258 _ACEOF
11259 if ac_fn_c_try_compile "$LINENO"; then :
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11261 $as_echo "yes" >&6; }
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11263 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11264 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
11265 $as_echo_n "(cached) " >&6
11266 else
11267 ac_check_lib_save_LIBS=$LIBS
11268 LIBS="-lgstreamer-0.10 $LIBS"
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11272 /* Override any GCC internal prototype to avoid an error.
11273 Use char because int might match the return type of a GCC
11274 builtin and then its argument prototype would still apply. */
11275 #ifdef __cplusplus
11276 extern "C"
11277 #endif
11278 char gst_pad_get_caps_reffed ();
11280 main ()
11282 return gst_pad_get_caps_reffed ();
11284 return 0;
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"; then :
11288 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
11289 else
11290 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_lib_save_LIBS
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11297 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11298 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11300 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11301 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 ac_check_lib_save_LIBS=$LIBS
11305 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char gst_app_buffer_new ();
11317 main ()
11319 return gst_app_buffer_new ();
11321 return 0;
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11326 else
11327 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11329 rm -f core conftest.err conftest.$ac_objext \
11330 conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_lib_save_LIBS
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11334 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11335 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11341 else
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11343 $as_echo "no" >&6; }
11345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11349 else
11350 GSTREAMER_CFLAGS=""
11354 CPPFLAGS=$ac_save_CPPFLAGS
11355 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11356 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11359 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11360 case "x$with_gstreamer" in
11361 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11362 xno) ;;
11363 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11364 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11365 esac
11367 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11369 ALSALIBS=""
11371 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11372 then
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11374 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11375 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11376 $as_echo_n "(cached) " >&6
11377 else
11378 ac_check_lib_save_LIBS=$LIBS
11379 LIBS="-lasound $LIBS"
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11386 #ifdef __cplusplus
11387 extern "C"
11388 #endif
11389 char snd_pcm_hw_params_get_access_mask ();
11391 main ()
11393 return snd_pcm_hw_params_get_access_mask ();
11395 return 0;
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"; then :
11399 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11400 else
11401 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11403 rm -f core conftest.err conftest.$ac_objext \
11404 conftest$ac_exeext conftest.$ac_ext
11405 LIBS=$ac_check_lib_save_LIBS
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11408 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11409 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11412 #ifdef HAVE_ALSA_ASOUNDLIB_H
11413 #include <alsa/asoundlib.h>
11414 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11415 #include <sys/asoundlib.h>
11416 #endif
11418 main ()
11420 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11422 return 0;
11424 _ACEOF
11425 if ac_fn_c_try_compile "$LINENO"; then :
11426 ALSALIBS="-lasound"
11428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11433 if test "x$with_oss" != xno
11434 then
11435 ac_save_CPPFLAGS="$CPPFLAGS"
11436 if test -f /etc/oss.conf
11437 then
11438 . /etc/oss.conf
11440 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11441 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11442 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11443 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11444 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11446 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11448 cat >>confdefs.h <<_ACEOF
11449 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11450 _ACEOF
11452 OSS4INCL="$ac_oss_incl"
11459 CPPFLAGS="$ac_save_CPPFLAGS"
11460 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11461 then
11462 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11466 if test "x$with_capi" != "xno"
11467 then
11468 if test -n "$CAPI20_CFLAGS"; then :
11470 elif test -n "$PKG_CONFIG"; then :
11471 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11474 if test -n "$CAPI20_LIBS"; then :
11476 elif test -n "$PKG_CONFIG"; then :
11477 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
11481 ac_save_CPPFLAGS=$CPPFLAGS
11482 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
11483 for ac_header in capi20.h linux/capi.h
11484 do :
11485 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11486 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11488 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11489 cat >>confdefs.h <<_ACEOF
11490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11491 _ACEOF
11495 done
11497 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11498 then
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11500 $as_echo_n "checking for -lcapi20... " >&6; }
11501 if ${ac_cv_lib_soname_capi20+:} false; then :
11502 $as_echo_n "(cached) " >&6
11503 else
11504 ac_check_soname_save_LIBS=$LIBS
11505 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11512 #ifdef __cplusplus
11513 extern "C"
11514 #endif
11515 char capi20_register ();
11517 main ()
11519 return capi20_register ();
11521 return 0;
11523 _ACEOF
11524 if ac_fn_c_try_link "$LINENO"; then :
11525 case "$LIBEXT" in
11526 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11527 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'` ;;
11528 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11529 if test "x$ac_cv_lib_soname_capi20" = x; then :
11530 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11531 fi ;;
11532 esac
11534 rm -f core conftest.err conftest.$ac_objext \
11535 conftest$ac_exeext conftest.$ac_ext
11536 LIBS=$ac_check_soname_save_LIBS
11538 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11540 $as_echo "not found" >&6; }
11542 else
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11544 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11546 cat >>confdefs.h <<_ACEOF
11547 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11548 _ACEOF
11553 CPPFLAGS=$ac_save_CPPFLAGS
11554 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11555 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11558 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11559 case "x$with_capi" in
11560 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11561 xno) ;;
11562 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11563 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11564 esac
11567 CUPSINCL=""
11569 if test "x$with_cups" != "xno"
11570 then
11571 ac_save_CPPFLAGS="$CPPFLAGS"
11572 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11573 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11574 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11575 for ac_header in cups/cups.h
11576 do :
11577 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11578 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11579 cat >>confdefs.h <<_ACEOF
11580 #define HAVE_CUPS_CUPS_H 1
11581 _ACEOF
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11583 $as_echo_n "checking for -lcups... " >&6; }
11584 if ${ac_cv_lib_soname_cups+:} false; then :
11585 $as_echo_n "(cached) " >&6
11586 else
11587 ac_check_soname_save_LIBS=$LIBS
11588 LIBS="-lcups $ac_cups_libs $LIBS"
11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590 /* end confdefs.h. */
11592 /* Override any GCC internal prototype to avoid an error.
11593 Use char because int might match the return type of a GCC
11594 builtin and then its argument prototype would still apply. */
11595 #ifdef __cplusplus
11596 extern "C"
11597 #endif
11598 char cupsGetDefault ();
11600 main ()
11602 return cupsGetDefault ();
11604 return 0;
11606 _ACEOF
11607 if ac_fn_c_try_link "$LINENO"; then :
11608 case "$LIBEXT" in
11609 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11610 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'` ;;
11611 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11612 if test "x$ac_cv_lib_soname_cups" = x; then :
11613 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11614 fi ;;
11615 esac
11617 rm -f core conftest.err conftest.$ac_objext \
11618 conftest$ac_exeext conftest.$ac_ext
11619 LIBS=$ac_check_soname_save_LIBS
11621 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11623 $as_echo "not found" >&6; }
11625 else
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11627 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11629 cat >>confdefs.h <<_ACEOF
11630 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11631 _ACEOF
11633 CUPSINCL="$ac_cups_cflags"
11637 done
11639 CPPFLAGS="$ac_save_CPPFLAGS"
11641 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11642 case "x$with_cups" in
11643 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11644 xno) ;;
11645 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11646 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11647 esac
11650 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11651 then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11653 $as_echo_n "checking for -lfontconfig... " >&6; }
11654 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11655 $as_echo_n "(cached) " >&6
11656 else
11657 ac_check_soname_save_LIBS=$LIBS
11658 LIBS="-lfontconfig $LIBS"
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11665 #ifdef __cplusplus
11666 extern "C"
11667 #endif
11668 char FcInit ();
11670 main ()
11672 return FcInit ();
11674 return 0;
11676 _ACEOF
11677 if ac_fn_c_try_link "$LINENO"; then :
11678 case "$LIBEXT" in
11679 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11680 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'` ;;
11681 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11682 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11683 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11684 fi ;;
11685 esac
11687 rm -f core conftest.err conftest.$ac_objext \
11688 conftest$ac_exeext conftest.$ac_ext
11689 LIBS=$ac_check_soname_save_LIBS
11691 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11693 $as_echo "not found" >&6; }
11695 else
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11697 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11699 cat >>confdefs.h <<_ACEOF
11700 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11701 _ACEOF
11705 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11706 then
11707 ac_save_CPPFLAGS="$CPPFLAGS"
11708 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11709 $as_unset ac_cv_header_fontconfig_fontconfig_h
11710 for ac_header in fontconfig/fontconfig.h
11711 do :
11712 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11713 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11714 cat >>confdefs.h <<_ACEOF
11715 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11716 _ACEOF
11720 done
11722 CPPFLAGS="$ac_save_CPPFLAGS"
11723 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11724 then
11725 FONTCONFIGINCL="$X_CFLAGS"
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11728 $as_echo_n "checking for -lfontconfig... " >&6; }
11729 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11730 $as_echo_n "(cached) " >&6
11731 else
11732 ac_check_soname_save_LIBS=$LIBS
11733 LIBS="-lfontconfig $X_LIBS $LIBS"
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11740 #ifdef __cplusplus
11741 extern "C"
11742 #endif
11743 char FcInit ();
11745 main ()
11747 return FcInit ();
11749 return 0;
11751 _ACEOF
11752 if ac_fn_c_try_link "$LINENO"; then :
11753 case "$LIBEXT" in
11754 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11755 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'` ;;
11756 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11757 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11758 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11759 fi ;;
11760 esac
11762 rm -f core conftest.err conftest.$ac_objext \
11763 conftest$ac_exeext conftest.$ac_ext
11764 LIBS=$ac_check_soname_save_LIBS
11766 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11768 $as_echo "not found" >&6; }
11770 else
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11772 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11774 cat >>confdefs.h <<_ACEOF
11775 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11776 _ACEOF
11782 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11783 case "x$with_fontconfig" in
11784 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11785 xno) ;;
11786 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11787 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11788 esac
11791 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11792 then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11794 $as_echo_n "checking for -lgsm... " >&6; }
11795 if ${ac_cv_lib_soname_gsm+:} false; then :
11796 $as_echo_n "(cached) " >&6
11797 else
11798 ac_check_soname_save_LIBS=$LIBS
11799 LIBS="-lgsm $LIBS"
11800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11803 /* Override any GCC internal prototype to avoid an error.
11804 Use char because int might match the return type of a GCC
11805 builtin and then its argument prototype would still apply. */
11806 #ifdef __cplusplus
11807 extern "C"
11808 #endif
11809 char gsm_create ();
11811 main ()
11813 return gsm_create ();
11815 return 0;
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"; then :
11819 case "$LIBEXT" in
11820 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11821 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'` ;;
11822 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11823 if test "x$ac_cv_lib_soname_gsm" = x; then :
11824 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11825 fi ;;
11826 esac
11828 rm -f core conftest.err conftest.$ac_objext \
11829 conftest$ac_exeext conftest.$ac_ext
11830 LIBS=$ac_check_soname_save_LIBS
11832 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11834 $as_echo "not found" >&6; }
11836 else
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11838 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11840 cat >>confdefs.h <<_ACEOF
11841 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11842 _ACEOF
11847 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11848 case "x$with_gsm" in
11849 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11850 xno) ;;
11851 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11852 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11853 esac
11856 if test "x$with_jpeg" != "xno"
11857 then
11858 if test -n "$JPEG_CFLAGS"; then :
11860 elif test -n "$PKG_CONFIG"; then :
11861 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
11864 if test -n "$JPEG_LIBS"; then :
11866 elif test -n "$PKG_CONFIG"; then :
11867 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
11871 ac_save_CPPFLAGS=$CPPFLAGS
11872 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
11873 for ac_header in jpeglib.h
11874 do :
11875 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
11876 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
11877 cat >>confdefs.h <<_ACEOF
11878 #define HAVE_JPEGLIB_H 1
11879 _ACEOF
11883 done
11885 if test "$ac_cv_header_jpeglib_h" = "yes"
11886 then
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11888 $as_echo_n "checking for -ljpeg... " >&6; }
11889 if ${ac_cv_lib_soname_jpeg+:} false; then :
11890 $as_echo_n "(cached) " >&6
11891 else
11892 ac_check_soname_save_LIBS=$LIBS
11893 LIBS="-ljpeg $JPEG_LIBS $LIBS"
11894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11897 /* Override any GCC internal prototype to avoid an error.
11898 Use char because int might match the return type of a GCC
11899 builtin and then its argument prototype would still apply. */
11900 #ifdef __cplusplus
11901 extern "C"
11902 #endif
11903 char jpeg_start_decompress ();
11905 main ()
11907 return jpeg_start_decompress ();
11909 return 0;
11911 _ACEOF
11912 if ac_fn_c_try_link "$LINENO"; then :
11913 case "$LIBEXT" in
11914 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11915 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'` ;;
11916 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11917 if test "x$ac_cv_lib_soname_jpeg" = x; then :
11918 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11919 fi ;;
11920 esac
11922 rm -f core conftest.err conftest.$ac_objext \
11923 conftest$ac_exeext conftest.$ac_ext
11924 LIBS=$ac_check_soname_save_LIBS
11926 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11928 $as_echo "not found" >&6; }
11929 JPEG_CFLAGS=""
11930 else
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11932 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11934 cat >>confdefs.h <<_ACEOF
11935 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11936 _ACEOF
11940 else
11941 JPEG_CFLAGS=""
11943 CPPFLAGS=$ac_save_CPPFLAGS
11944 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11945 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11948 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11949 case "x$with_jpeg" in
11950 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11951 xno) ;;
11952 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11953 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11954 esac
11957 if test "x$with_png" != "xno"
11958 then
11959 if test -n "$PNG_CFLAGS"; then :
11961 elif test -n "$PKG_CONFIG"; then :
11962 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
11964 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
11965 if test -n "$PNG_LIBS"; then :
11967 elif test -n "$PKG_CONFIG"; then :
11968 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
11970 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
11972 ac_save_CPPFLAGS=$CPPFLAGS
11973 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
11974 for ac_header in png.h
11975 do :
11976 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11977 if test "x$ac_cv_header_png_h" = xyes; then :
11978 cat >>confdefs.h <<_ACEOF
11979 #define HAVE_PNG_H 1
11980 _ACEOF
11984 done
11986 if test "$ac_cv_header_png_h" = "yes"
11987 then
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11989 $as_echo_n "checking for -lpng... " >&6; }
11990 if ${ac_cv_lib_soname_png+:} false; then :
11991 $as_echo_n "(cached) " >&6
11992 else
11993 ac_check_soname_save_LIBS=$LIBS
11994 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11998 /* Override any GCC internal prototype to avoid an error.
11999 Use char because int might match the return type of a GCC
12000 builtin and then its argument prototype would still apply. */
12001 #ifdef __cplusplus
12002 extern "C"
12003 #endif
12004 char png_create_read_struct ();
12006 main ()
12008 return png_create_read_struct ();
12010 return 0;
12012 _ACEOF
12013 if ac_fn_c_try_link "$LINENO"; then :
12014 case "$LIBEXT" in
12015 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12016 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'` ;;
12017 *) 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'`
12018 if test "x$ac_cv_lib_soname_png" = x; then :
12019 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12020 fi ;;
12021 esac
12023 rm -f core conftest.err conftest.$ac_objext \
12024 conftest$ac_exeext conftest.$ac_ext
12025 LIBS=$ac_check_soname_save_LIBS
12027 if test "x$ac_cv_lib_soname_png" = "x"; then :
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12029 $as_echo "not found" >&6; }
12030 PNG_CFLAGS=""
12031 else
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12033 $as_echo "$ac_cv_lib_soname_png" >&6; }
12035 cat >>confdefs.h <<_ACEOF
12036 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12037 _ACEOF
12039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12040 /* end confdefs.h. */
12041 #include <png.h>
12043 main ()
12045 typeof(png_set_expand_gray_1_2_4_to_8) *p
12047 return 0;
12049 _ACEOF
12050 if ac_fn_c_try_compile "$LINENO"; then :
12052 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12057 else
12058 PNG_CFLAGS=""
12060 CPPFLAGS=$ac_save_CPPFLAGS
12061 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12062 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12065 if test "x$ac_cv_lib_soname_png" = "x"; then :
12066 case "x$with_png" in
12067 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12068 xno) ;;
12069 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12070 This is an error since --with-png was requested." "$LINENO" 5 ;;
12071 esac
12074 if test "x$with_tiff" != "xno"
12075 then
12076 if test -n "$TIFF_CFLAGS"; then :
12078 elif test -n "$PKG_CONFIG"; then :
12079 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12082 if test -n "$TIFF_LIBS"; then :
12084 elif test -n "$PKG_CONFIG"; then :
12085 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12089 ac_save_CPPFLAGS=$CPPFLAGS
12090 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12091 for ac_header in tiffio.h
12092 do :
12093 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12094 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12095 cat >>confdefs.h <<_ACEOF
12096 #define HAVE_TIFFIO_H 1
12097 _ACEOF
12101 done
12103 if test "$ac_cv_header_tiffio_h" = "yes"
12104 then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12106 $as_echo_n "checking for -ltiff... " >&6; }
12107 if ${ac_cv_lib_soname_tiff+:} false; then :
12108 $as_echo_n "(cached) " >&6
12109 else
12110 ac_check_soname_save_LIBS=$LIBS
12111 LIBS="-ltiff $TIFF_LIBS $LIBS"
12112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12113 /* end confdefs.h. */
12115 /* Override any GCC internal prototype to avoid an error.
12116 Use char because int might match the return type of a GCC
12117 builtin and then its argument prototype would still apply. */
12118 #ifdef __cplusplus
12119 extern "C"
12120 #endif
12121 char TIFFClientOpen ();
12123 main ()
12125 return TIFFClientOpen ();
12127 return 0;
12129 _ACEOF
12130 if ac_fn_c_try_link "$LINENO"; then :
12131 case "$LIBEXT" in
12132 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12133 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'` ;;
12134 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12135 if test "x$ac_cv_lib_soname_tiff" = x; then :
12136 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12137 fi ;;
12138 esac
12140 rm -f core conftest.err conftest.$ac_objext \
12141 conftest$ac_exeext conftest.$ac_ext
12142 LIBS=$ac_check_soname_save_LIBS
12144 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12146 $as_echo "not found" >&6; }
12148 else
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12150 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12152 cat >>confdefs.h <<_ACEOF
12153 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12154 _ACEOF
12159 CPPFLAGS=$ac_save_CPPFLAGS
12160 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12161 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12164 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12165 case "x$with_tiff" in
12166 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12167 xno) ;;
12168 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12169 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12170 esac
12173 if test "x$with_mpg123" != "xno"
12174 then
12175 if test -n "$MPG123_CFLAGS"; then :
12177 elif test -n "$PKG_CONFIG"; then :
12178 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12181 if test -n "$MPG123_LIBS"; then :
12183 elif test -n "$PKG_CONFIG"; then :
12184 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12187 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
12188 ac_save_CPPFLAGS=$CPPFLAGS
12189 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
12190 for ac_header in mpg123.h
12191 do :
12192 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12193 if test "x$ac_cv_header_mpg123_h" = xyes; then :
12194 cat >>confdefs.h <<_ACEOF
12195 #define HAVE_MPG123_H 1
12196 _ACEOF
12200 done
12202 if test "$ac_cv_header_mpg123_h" = "yes"
12203 then
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12205 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12206 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
12207 $as_echo_n "(cached) " >&6
12208 else
12209 ac_check_lib_save_LIBS=$LIBS
12210 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12214 /* Override any GCC internal prototype to avoid an error.
12215 Use char because int might match the return type of a GCC
12216 builtin and then its argument prototype would still apply. */
12217 #ifdef __cplusplus
12218 extern "C"
12219 #endif
12220 char mpg123_feed ();
12222 main ()
12224 return mpg123_feed ();
12226 return 0;
12228 _ACEOF
12229 if ac_fn_c_try_link "$LINENO"; then :
12230 ac_cv_lib_mpg123_mpg123_feed=yes
12231 else
12232 ac_cv_lib_mpg123_mpg123_feed=no
12234 rm -f core conftest.err conftest.$ac_objext \
12235 conftest$ac_exeext conftest.$ac_ext
12236 LIBS=$ac_check_lib_save_LIBS
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12239 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12240 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12242 else
12243 MPG123_LIBS=""
12246 else
12247 MPG123_CFLAGS=""
12248 MPG123_LIBS=""
12250 CPPFLAGS=$ac_save_CPPFLAGS
12251 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12252 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12255 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12256 case "x$with_mpg123" in
12257 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12258 xno) ;;
12259 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12260 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12261 esac
12263 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}
12265 if test "$ac_cv_header_AL_al_h" = "yes"
12266 then
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12268 $as_echo_n "checking for -lopenal... " >&6; }
12269 if ${ac_cv_lib_soname_openal+:} false; then :
12270 $as_echo_n "(cached) " >&6
12271 else
12272 ac_check_soname_save_LIBS=$LIBS
12273 LIBS="-lopenal $LIBS"
12274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12277 /* Override any GCC internal prototype to avoid an error.
12278 Use char because int might match the return type of a GCC
12279 builtin and then its argument prototype would still apply. */
12280 #ifdef __cplusplus
12281 extern "C"
12282 #endif
12283 char alGetSource3i ();
12285 main ()
12287 return alGetSource3i ();
12289 return 0;
12291 _ACEOF
12292 if ac_fn_c_try_link "$LINENO"; then :
12293 case "$LIBEXT" in
12294 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12295 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'` ;;
12296 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12297 if test "x$ac_cv_lib_soname_openal" = x; then :
12298 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12299 fi ;;
12300 esac
12302 rm -f core conftest.err conftest.$ac_objext \
12303 conftest$ac_exeext conftest.$ac_ext
12304 LIBS=$ac_check_soname_save_LIBS
12306 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12308 $as_echo "not found" >&6; }
12310 else
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12312 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12314 cat >>confdefs.h <<_ACEOF
12315 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12316 _ACEOF
12318 LIBOPENAL="-lopenal"
12320 ac_cv_lib_openal=yes
12322 cat >>confdefs.h <<_ACEOF
12323 #define HAVE_OPENAL 1
12324 _ACEOF
12328 if test "x$ac_cv_lib_openal" != xyes; then :
12329 case "x$with_openal" in
12330 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12331 xno) ;;
12332 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12333 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12334 esac
12336 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12338 if test "$ac_cv_header_kstat_h" = "yes"
12339 then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12341 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12342 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12343 $as_echo_n "(cached) " >&6
12344 else
12345 ac_check_lib_save_LIBS=$LIBS
12346 LIBS="-lkstat $LIBS"
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12350 /* Override any GCC internal prototype to avoid an error.
12351 Use char because int might match the return type of a GCC
12352 builtin and then its argument prototype would still apply. */
12353 #ifdef __cplusplus
12354 extern "C"
12355 #endif
12356 char kstat_open ();
12358 main ()
12360 return kstat_open ();
12362 return 0;
12364 _ACEOF
12365 if ac_fn_c_try_link "$LINENO"; then :
12366 ac_cv_lib_kstat_kstat_open=yes
12367 else
12368 ac_cv_lib_kstat_kstat_open=no
12370 rm -f core conftest.err conftest.$ac_objext \
12371 conftest$ac_exeext conftest.$ac_ext
12372 LIBS=$ac_check_lib_save_LIBS
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12375 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12376 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12378 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12380 LIBKSTAT="-lkstat"
12386 if test "$ac_cv_header_libprocstat_h" = "yes"
12387 then
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12389 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12390 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
12391 $as_echo_n "(cached) " >&6
12392 else
12393 ac_check_lib_save_LIBS=$LIBS
12394 LIBS="-lprocstat $LIBS"
12395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12396 /* end confdefs.h. */
12398 /* Override any GCC internal prototype to avoid an error.
12399 Use char because int might match the return type of a GCC
12400 builtin and then its argument prototype would still apply. */
12401 #ifdef __cplusplus
12402 extern "C"
12403 #endif
12404 char procstat_open_sysctl ();
12406 main ()
12408 return procstat_open_sysctl ();
12410 return 0;
12412 _ACEOF
12413 if ac_fn_c_try_link "$LINENO"; then :
12414 ac_cv_lib_procstat_procstat_open_sysctl=yes
12415 else
12416 ac_cv_lib_procstat_procstat_open_sysctl=no
12418 rm -f core conftest.err conftest.$ac_objext \
12419 conftest$ac_exeext conftest.$ac_ext
12420 LIBS=$ac_check_lib_save_LIBS
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12423 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12424 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
12426 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12428 LIBPROCSTAT="-lprocstat"
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12435 $as_echo_n "checking for -lodbc... " >&6; }
12436 if ${ac_cv_lib_soname_odbc+:} false; then :
12437 $as_echo_n "(cached) " >&6
12438 else
12439 ac_check_soname_save_LIBS=$LIBS
12440 LIBS="-lodbc $LIBS"
12441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12444 /* Override any GCC internal prototype to avoid an error.
12445 Use char because int might match the return type of a GCC
12446 builtin and then its argument prototype would still apply. */
12447 #ifdef __cplusplus
12448 extern "C"
12449 #endif
12450 char SQLConnect ();
12452 main ()
12454 return SQLConnect ();
12456 return 0;
12458 _ACEOF
12459 if ac_fn_c_try_link "$LINENO"; then :
12460 case "$LIBEXT" in
12461 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12462 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'` ;;
12463 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12464 if test "x$ac_cv_lib_soname_odbc" = x; then :
12465 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12466 fi ;;
12467 esac
12469 rm -f core conftest.err conftest.$ac_objext \
12470 conftest$ac_exeext conftest.$ac_ext
12471 LIBS=$ac_check_soname_save_LIBS
12473 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12475 $as_echo "not found" >&6; }
12476 cat >>confdefs.h <<_ACEOF
12477 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12478 _ACEOF
12480 else
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12482 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12484 cat >>confdefs.h <<_ACEOF
12485 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12486 _ACEOF
12491 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12492 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12493 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12494 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12496 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12497 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12498 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12499 then
12500 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12504 EXTRACFLAGS=""
12506 if test "x${GCC}" = "xyes"
12507 then
12508 EXTRACFLAGS="-Wall -pipe"
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12511 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12512 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12513 $as_echo_n "(cached) " >&6
12514 else
12515 if test "$cross_compiling" = yes; then :
12516 ac_cv_c_gcc_strength_bug="yes"
12517 else
12518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12519 /* end confdefs.h. */
12520 int L[4] = {0,1,2,3};
12522 main ()
12524 static int Array[3];
12525 unsigned int B = 3;
12526 int i;
12527 for(i=0; i<B; i++) Array[i] = i - 3;
12528 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12529 L[i] = 4;
12530 return (Array[1] != -2 || L[2] != 3)
12532 return 0;
12534 _ACEOF
12535 if ac_fn_c_try_run "$LINENO"; then :
12536 ac_cv_c_gcc_strength_bug="no"
12537 else
12538 ac_cv_c_gcc_strength_bug="yes"
12540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12541 conftest.$ac_objext conftest.beam conftest.$ac_ext
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12546 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12547 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12548 then
12549 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12553 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12554 if ${ac_cv_cflags__fno_builtin+:} false; then :
12555 $as_echo_n "(cached) " >&6
12556 else
12557 ac_wine_try_cflags_saved=$CFLAGS
12558 CFLAGS="$CFLAGS -fno-builtin"
12559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12561 int main(int argc, char **argv) { return 0; }
12562 _ACEOF
12563 if ac_fn_c_try_link "$LINENO"; then :
12564 ac_cv_cflags__fno_builtin=yes
12565 else
12566 ac_cv_cflags__fno_builtin=no
12568 rm -f core conftest.err conftest.$ac_objext \
12569 conftest$ac_exeext conftest.$ac_ext
12570 CFLAGS=$ac_wine_try_cflags_saved
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12573 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12574 if test $ac_cv_cflags__fno_builtin = yes; then :
12575 BUILTINFLAG="-fno-builtin"
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12579 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12580 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12581 $as_echo_n "(cached) " >&6
12582 else
12583 ac_wine_try_cflags_saved=$CFLAGS
12584 CFLAGS="$CFLAGS -fno-strict-aliasing"
12585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12587 int main(int argc, char **argv) { return 0; }
12588 _ACEOF
12589 if ac_fn_c_try_link "$LINENO"; then :
12590 ac_cv_cflags__fno_strict_aliasing=yes
12591 else
12592 ac_cv_cflags__fno_strict_aliasing=no
12594 rm -f core conftest.err conftest.$ac_objext \
12595 conftest$ac_exeext conftest.$ac_ext
12596 CFLAGS=$ac_wine_try_cflags_saved
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12599 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12600 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12601 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12603 saved_CFLAGS=$CFLAGS
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
12605 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
12606 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
12607 $as_echo_n "(cached) " >&6
12608 else
12609 ac_wine_try_cflags_saved=$CFLAGS
12610 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12613 int main(int argc, char **argv) { return 0; }
12614 _ACEOF
12615 if ac_fn_c_try_link "$LINENO"; then :
12616 ac_cv_cflags__Werror_unknown_warning_option=yes
12617 else
12618 ac_cv_cflags__Werror_unknown_warning_option=no
12620 rm -f core conftest.err conftest.$ac_objext \
12621 conftest$ac_exeext conftest.$ac_ext
12622 CFLAGS=$ac_wine_try_cflags_saved
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
12625 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
12626 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
12627 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12630 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12631 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12632 $as_echo_n "(cached) " >&6
12633 else
12634 ac_wine_try_cflags_saved=$CFLAGS
12635 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12638 int main(int argc, char **argv) { return 0; }
12639 _ACEOF
12640 if ac_fn_c_try_link "$LINENO"; then :
12641 ac_cv_cflags__Wdeclaration_after_statement=yes
12642 else
12643 ac_cv_cflags__Wdeclaration_after_statement=no
12645 rm -f core conftest.err conftest.$ac_objext \
12646 conftest$ac_exeext conftest.$ac_ext
12647 CFLAGS=$ac_wine_try_cflags_saved
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12650 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12651 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12652 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12655 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12656 if ${ac_cv_cflags__Wempty_body+:} false; then :
12657 $as_echo_n "(cached) " >&6
12658 else
12659 ac_wine_try_cflags_saved=$CFLAGS
12660 CFLAGS="$CFLAGS -Wempty-body"
12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12663 int main(int argc, char **argv) { return 0; }
12664 _ACEOF
12665 if ac_fn_c_try_link "$LINENO"; then :
12666 ac_cv_cflags__Wempty_body=yes
12667 else
12668 ac_cv_cflags__Wempty_body=no
12670 rm -f core conftest.err conftest.$ac_objext \
12671 conftest$ac_exeext conftest.$ac_ext
12672 CFLAGS=$ac_wine_try_cflags_saved
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12675 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12676 if test $ac_cv_cflags__Wempty_body = yes; then :
12677 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12680 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12681 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12682 $as_echo_n "(cached) " >&6
12683 else
12684 ac_wine_try_cflags_saved=$CFLAGS
12685 CFLAGS="$CFLAGS -Wignored-qualifiers"
12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12688 int main(int argc, char **argv) { return 0; }
12689 _ACEOF
12690 if ac_fn_c_try_link "$LINENO"; then :
12691 ac_cv_cflags__Wignored_qualifiers=yes
12692 else
12693 ac_cv_cflags__Wignored_qualifiers=no
12695 rm -f core conftest.err conftest.$ac_objext \
12696 conftest$ac_exeext conftest.$ac_ext
12697 CFLAGS=$ac_wine_try_cflags_saved
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12700 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12701 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12702 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12705 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12706 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12707 $as_echo_n "(cached) " >&6
12708 else
12709 ac_wine_try_cflags_saved=$CFLAGS
12710 CFLAGS="$CFLAGS -Wstrict-prototypes"
12711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12712 /* end confdefs.h. */
12713 int main(int argc, char **argv) { return 0; }
12714 _ACEOF
12715 if ac_fn_c_try_link "$LINENO"; then :
12716 ac_cv_cflags__Wstrict_prototypes=yes
12717 else
12718 ac_cv_cflags__Wstrict_prototypes=no
12720 rm -f core conftest.err conftest.$ac_objext \
12721 conftest$ac_exeext conftest.$ac_ext
12722 CFLAGS=$ac_wine_try_cflags_saved
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12725 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12726 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12727 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12730 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12731 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12732 $as_echo_n "(cached) " >&6
12733 else
12734 ac_wine_try_cflags_saved=$CFLAGS
12735 CFLAGS="$CFLAGS -Wtype-limits"
12736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12737 /* end confdefs.h. */
12738 int main(int argc, char **argv) { return 0; }
12739 _ACEOF
12740 if ac_fn_c_try_link "$LINENO"; then :
12741 ac_cv_cflags__Wtype_limits=yes
12742 else
12743 ac_cv_cflags__Wtype_limits=no
12745 rm -f core conftest.err conftest.$ac_objext \
12746 conftest$ac_exeext conftest.$ac_ext
12747 CFLAGS=$ac_wine_try_cflags_saved
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12750 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12751 if test $ac_cv_cflags__Wtype_limits = yes; then :
12752 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12755 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12756 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12757 $as_echo_n "(cached) " >&6
12758 else
12759 ac_wine_try_cflags_saved=$CFLAGS
12760 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12762 /* end confdefs.h. */
12763 int main(int argc, char **argv) { return 0; }
12764 _ACEOF
12765 if ac_fn_c_try_link "$LINENO"; then :
12766 ac_cv_cflags__Wunused_but_set_parameter=yes
12767 else
12768 ac_cv_cflags__Wunused_but_set_parameter=no
12770 rm -f core conftest.err conftest.$ac_objext \
12771 conftest$ac_exeext conftest.$ac_ext
12772 CFLAGS=$ac_wine_try_cflags_saved
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12775 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12776 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12777 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12780 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12781 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12782 $as_echo_n "(cached) " >&6
12783 else
12784 ac_wine_try_cflags_saved=$CFLAGS
12785 CFLAGS="$CFLAGS -Wwrite-strings"
12786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12787 /* end confdefs.h. */
12788 int main(int argc, char **argv) { return 0; }
12789 _ACEOF
12790 if ac_fn_c_try_link "$LINENO"; then :
12791 ac_cv_cflags__Wwrite_strings=yes
12792 else
12793 ac_cv_cflags__Wwrite_strings=no
12795 rm -f core conftest.err conftest.$ac_objext \
12796 conftest$ac_exeext conftest.$ac_ext
12797 CFLAGS=$ac_wine_try_cflags_saved
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12800 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12801 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12802 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
12806 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
12807 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
12808 $as_echo_n "(cached) " >&6
12809 else
12810 ac_wine_try_cflags_saved=$CFLAGS
12811 CFLAGS="$CFLAGS -Wpointer-arith"
12812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12814 int main(int argc, char **argv) { return 0; }
12815 _ACEOF
12816 if ac_fn_c_try_link "$LINENO"; then :
12817 ac_cv_cflags__Wpointer_arith=yes
12818 else
12819 ac_cv_cflags__Wpointer_arith=no
12821 rm -f core conftest.err conftest.$ac_objext \
12822 conftest$ac_exeext conftest.$ac_ext
12823 CFLAGS=$ac_wine_try_cflags_saved
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
12826 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
12827 if test $ac_cv_cflags__Wpointer_arith = yes; then :
12828 saved_string_h_CFLAGS=$CFLAGS
12829 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12831 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12832 if ${ac_cv_c_string_h_warnings+:} false; then :
12833 $as_echo_n "(cached) " >&6
12834 else
12835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12836 /* end confdefs.h. */
12837 #include <string.h>
12839 main ()
12843 return 0;
12845 _ACEOF
12846 if ac_fn_c_try_compile "$LINENO"; then :
12847 ac_cv_c_string_h_warnings=no
12848 else
12849 ac_cv_c_string_h_warnings=yes
12851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12854 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12855 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12856 CFLAGS=$saved_string_h_CFLAGS
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
12860 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
12861 if ${ac_cv_cflags__Wlogical_op+:} false; then :
12862 $as_echo_n "(cached) " >&6
12863 else
12864 ac_wine_try_cflags_saved=$CFLAGS
12865 CFLAGS="$CFLAGS -Wlogical-op"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12868 int main(int argc, char **argv) { return 0; }
12869 _ACEOF
12870 if ac_fn_c_try_link "$LINENO"; then :
12871 ac_cv_cflags__Wlogical_op=yes
12872 else
12873 ac_cv_cflags__Wlogical_op=no
12875 rm -f core conftest.err conftest.$ac_objext \
12876 conftest$ac_exeext conftest.$ac_ext
12877 CFLAGS=$ac_wine_try_cflags_saved
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
12880 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
12881 if test $ac_cv_cflags__Wlogical_op = yes; then :
12882 saved_string_h_CFLAGS=$CFLAGS
12883 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12885 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12886 if ${ac_cv_c_logicalop_noisy+:} false; then :
12887 $as_echo_n "(cached) " >&6
12888 else
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12891 #include <string.h>
12892 char*f(const char *h,char n) {return strchr(h,n);}
12894 main ()
12898 return 0;
12900 _ACEOF
12901 if ac_fn_c_try_compile "$LINENO"; then :
12902 ac_cv_c_logicalop_noisy=no
12903 else
12904 ac_cv_c_logicalop_noisy=yes
12906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12909 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12910 CFLAGS=$saved_string_h_CFLAGS
12911 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12914 CFLAGS=$saved_CFLAGS
12916 for ac_flag in $CFLAGS; do
12917 case $ac_flag in
12918 -g) case $host_os in
12919 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12920 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12921 if ${ac_cv_cflags__gstabsp+:} false; then :
12922 $as_echo_n "(cached) " >&6
12923 else
12924 ac_wine_try_cflags_saved=$CFLAGS
12925 CFLAGS="$CFLAGS -gstabs+"
12926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12928 int main(int argc, char **argv) { return 0; }
12929 _ACEOF
12930 if ac_fn_c_try_link "$LINENO"; then :
12931 ac_cv_cflags__gstabsp=yes
12932 else
12933 ac_cv_cflags__gstabsp=no
12935 rm -f core conftest.err conftest.$ac_objext \
12936 conftest$ac_exeext conftest.$ac_ext
12937 CFLAGS=$ac_wine_try_cflags_saved
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12940 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12941 if test $ac_cv_cflags__gstabsp = yes; then :
12942 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12943 fi ;;
12944 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12945 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12946 if ${ac_cv_cflags__gdwarf_2+:} false; then :
12947 $as_echo_n "(cached) " >&6
12948 else
12949 ac_wine_try_cflags_saved=$CFLAGS
12950 CFLAGS="$CFLAGS -gdwarf-2"
12951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12952 /* end confdefs.h. */
12953 int main(int argc, char **argv) { return 0; }
12954 _ACEOF
12955 if ac_fn_c_try_link "$LINENO"; then :
12956 ac_cv_cflags__gdwarf_2=yes
12957 else
12958 ac_cv_cflags__gdwarf_2=no
12960 rm -f core conftest.err conftest.$ac_objext \
12961 conftest$ac_exeext conftest.$ac_ext
12962 CFLAGS=$ac_wine_try_cflags_saved
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12965 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12966 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12967 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12970 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12971 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
12972 $as_echo_n "(cached) " >&6
12973 else
12974 ac_wine_try_cflags_saved=$CFLAGS
12975 CFLAGS="$CFLAGS -gstrict-dwarf"
12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12978 int main(int argc, char **argv) { return 0; }
12979 _ACEOF
12980 if ac_fn_c_try_link "$LINENO"; then :
12981 ac_cv_cflags__gstrict_dwarf=yes
12982 else
12983 ac_cv_cflags__gstrict_dwarf=no
12985 rm -f core conftest.err conftest.$ac_objext \
12986 conftest$ac_exeext conftest.$ac_ext
12987 CFLAGS=$ac_wine_try_cflags_saved
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12990 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12991 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12992 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
12993 fi ;;
12994 esac ;;
12995 esac
12996 done
12998 case $host_cpu in
12999 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13000 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13001 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13002 $as_echo_n "(cached) " >&6
13003 else
13004 ac_wine_try_cflags_saved=$CFLAGS
13005 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13008 int main(int argc, char **argv) { return 0; }
13009 _ACEOF
13010 if ac_fn_c_try_link "$LINENO"; then :
13011 ac_cv_cflags__fno_omit_frame_pointer=yes
13012 else
13013 ac_cv_cflags__fno_omit_frame_pointer=no
13015 rm -f core conftest.err conftest.$ac_objext \
13016 conftest$ac_exeext conftest.$ac_ext
13017 CFLAGS=$ac_wine_try_cflags_saved
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13020 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13021 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13022 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13023 fi ;;
13024 esac
13026 case $host in
13027 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13028 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13029 if ${ac_cv_cflags__Wno_format+:} false; then :
13030 $as_echo_n "(cached) " >&6
13031 else
13032 ac_wine_try_cflags_saved=$CFLAGS
13033 CFLAGS="$CFLAGS -Wno-format"
13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13036 int main(int argc, char **argv) { return 0; }
13037 _ACEOF
13038 if ac_fn_c_try_link "$LINENO"; then :
13039 ac_cv_cflags__Wno_format=yes
13040 else
13041 ac_cv_cflags__Wno_format=no
13043 rm -f core conftest.err conftest.$ac_objext \
13044 conftest$ac_exeext conftest.$ac_ext
13045 CFLAGS=$ac_wine_try_cflags_saved
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13048 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13049 if test $ac_cv_cflags__Wno_format = yes; then :
13050 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13051 fi ;;
13052 esac
13054 if test "x$enable_maintainer_mode" = "xyes"
13055 then
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13057 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13058 if ${ac_cv_cflags__Werror+:} false; then :
13059 $as_echo_n "(cached) " >&6
13060 else
13061 ac_wine_try_cflags_saved=$CFLAGS
13062 CFLAGS="$CFLAGS -Werror"
13063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13065 int main(int argc, char **argv) { return 0; }
13066 _ACEOF
13067 if ac_fn_c_try_link "$LINENO"; then :
13068 ac_cv_cflags__Werror=yes
13069 else
13070 ac_cv_cflags__Werror=no
13072 rm -f core conftest.err conftest.$ac_objext \
13073 conftest$ac_exeext conftest.$ac_ext
13074 CFLAGS=$ac_wine_try_cflags_saved
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13077 $as_echo "$ac_cv_cflags__Werror" >&6; }
13078 if test $ac_cv_cflags__Werror = yes; then :
13079 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13083 saved_CFLAGS="$CFLAGS"
13084 CFLAGS="$CFLAGS -Werror"
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13086 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13087 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13088 $as_echo_n "(cached) " >&6
13089 else
13090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13092 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13094 main ()
13098 return 0;
13100 _ACEOF
13101 if ac_fn_c_try_compile "$LINENO"; then :
13102 ac_cv_have_ms_hook_prologue="yes"
13103 else
13104 ac_cv_have_ms_hook_prologue="no"
13106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13109 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13110 CFLAGS="$saved_CFLAGS"
13111 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13112 then
13114 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13116 else
13117 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13124 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13125 if ${ac_cv_c_fortify_enabled+:} false; then :
13126 $as_echo_n "(cached) " >&6
13127 else
13128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13130 #include <string.h>
13132 main ()
13134 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13135 #error Fortify enabled
13136 #endif
13138 return 0;
13140 _ACEOF
13141 if ac_fn_c_try_compile "$LINENO"; then :
13142 ac_cv_c_fortify_enabled=no
13143 else
13144 ac_cv_c_fortify_enabled=yes
13146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13149 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13150 if test "$ac_cv_c_fortify_enabled" = yes
13151 then
13152 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13157 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13158 if ${ac_cv_c_extern_prefix+:} false; then :
13159 $as_echo_n "(cached) " >&6
13160 else
13161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13163 extern int ac_test;
13165 main ()
13167 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13169 return 0;
13171 _ACEOF
13172 if ac_fn_c_try_link "$LINENO"; then :
13173 ac_cv_c_extern_prefix="yes"
13174 else
13175 ac_cv_c_extern_prefix="no"
13177 rm -f core conftest.err conftest.$ac_objext \
13178 conftest$ac_exeext conftest.$ac_ext
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13181 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13183 case $host_cpu in
13184 *i[3456789]86*)
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13186 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13187 if ${ac_cv_c_stdcall_suffix+:} false; then :
13188 $as_echo_n "(cached) " >&6
13189 else
13190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13192 #ifndef _MSC_VER
13193 #define __stdcall __attribute__((__stdcall__))
13194 #endif
13195 int __stdcall ac_test(int i) { return i; }
13197 main ()
13199 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13201 return 0;
13203 _ACEOF
13204 if ac_fn_c_try_link "$LINENO"; then :
13205 ac_cv_c_stdcall_suffix="yes"
13206 else
13207 ac_cv_c_stdcall_suffix="no"
13209 rm -f core conftest.err conftest.$ac_objext \
13210 conftest$ac_exeext conftest.$ac_ext
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13213 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13214 *) ac_cv_c_stdcall_suffix="no" ;;
13215 esac
13218 if test "$ac_cv_c_extern_prefix" = "yes"
13219 then
13220 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13222 asm_name_prefix="_"
13223 else
13224 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13226 asm_name_prefix=""
13230 if test "$ac_cv_c_stdcall_suffix" = "yes"
13231 then
13232 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13234 else
13235 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13241 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13242 if ${ac_cv_asm_func_def+:} false; then :
13243 $as_echo_n "(cached) " >&6
13244 else
13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13249 main ()
13251 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13253 return 0;
13255 _ACEOF
13256 if ac_fn_c_try_link "$LINENO"; then :
13257 ac_cv_asm_func_def=".def"
13258 else
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13263 main ()
13265 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13267 return 0;
13269 _ACEOF
13270 if ac_fn_c_try_link "$LINENO"; then :
13271 ac_cv_asm_func_def=".type @function"
13272 else
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13277 main ()
13279 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13281 return 0;
13283 _ACEOF
13284 if ac_fn_c_try_link "$LINENO"; then :
13285 ac_cv_asm_func_def=".type 2"
13286 else
13287 ac_cv_asm_func_def="unknown"
13289 rm -f core conftest.err conftest.$ac_objext \
13290 conftest$ac_exeext conftest.$ac_ext
13292 rm -f core conftest.err conftest.$ac_objext \
13293 conftest$ac_exeext conftest.$ac_ext
13295 rm -f core conftest.err conftest.$ac_objext \
13296 conftest$ac_exeext conftest.$ac_ext
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13299 $as_echo "$ac_cv_asm_func_def" >&6; }
13302 case "$ac_cv_asm_func_def" in
13303 ".def")
13304 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13306 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13307 ".type @function")
13308 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13310 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
13311 ".type 2")
13312 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13314 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
13316 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13318 asm_func_header="" ;;
13319 esac
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13322 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13323 if ${ac_cv_c_asm_outside_funcs+:} false; then :
13324 $as_echo_n "(cached) " >&6
13325 else
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13328 asm(".text\n\t.long 0");
13330 main ()
13334 return 0;
13336 _ACEOF
13337 if ac_fn_c_try_compile "$LINENO"; then :
13338 ac_cv_c_asm_outside_funcs="yes"
13339 else
13340 ac_cv_c_asm_outside_funcs="no"
13342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13345 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13348 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13349 if ${ac_cv_c_dot_previous+:} false; then :
13350 $as_echo_n "(cached) " >&6
13351 else
13352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13356 main ()
13358 asm(".text\nac_test:\t.long 0\n\t.previous");
13360 return 0;
13362 _ACEOF
13363 if ac_fn_c_try_link "$LINENO"; then :
13364 ac_cv_c_dot_previous="yes"
13365 else
13366 ac_cv_c_dot_previous="no"
13368 rm -f core conftest.err conftest.$ac_objext \
13369 conftest$ac_exeext conftest.$ac_ext
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13372 $as_echo "$ac_cv_c_dot_previous" >&6; }
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13375 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13376 if ${ac_cv_c_cfi_support+:} false; then :
13377 $as_echo_n "(cached) " >&6
13378 else
13379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13381 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13383 main ()
13387 return 0;
13389 _ACEOF
13390 if ac_fn_c_try_compile "$LINENO"; then :
13391 ac_cv_c_cfi_support="yes"
13392 else
13393 ac_cv_c_cfi_support="no"
13395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13398 $as_echo "$ac_cv_c_cfi_support" >&6; }
13400 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13401 asm_func_trailer=""
13402 if test "$ac_cv_c_dot_previous" = "yes"
13403 then
13404 asm_func_trailer="\\n\\t.previous"
13406 if test "$ac_cv_c_cfi_support" = "yes"
13407 then
13408 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13409 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13411 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13413 UNWINDFLAGS=-fasynchronous-unwind-tables
13415 else
13416 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13420 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13423 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13424 then
13425 cat >>confdefs.h <<_ACEOF
13426 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13427 _ACEOF
13429 else
13430 cat >>confdefs.h <<_ACEOF
13431 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13432 _ACEOF
13436 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13439 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13443 LDPATH=""
13445 case $build_os in
13446 cygwin*|mingw32*)
13447 TOOLSEXT=".exe"
13449 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13451 darwin*|macosx*)
13454 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13456 esac
13458 MAIN_BINARY="wine"
13460 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
13462 case $host_os in
13463 linux*)
13464 case $host_cpu in
13465 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
13467 x86_64*) EXTRA_BINARIES="wine64-preloader"
13469 esac
13471 esac
13474 ac_save_CFLAGS="$CFLAGS"
13475 CFLAGS="$CFLAGS $BUILTINFLAG"
13476 for ac_func in \
13477 __res_get_state \
13478 __res_getservers \
13479 _finite \
13480 _isnan \
13481 _pclose \
13482 _popen \
13483 _snprintf \
13484 _spawnvp \
13485 _strdup \
13486 _stricmp \
13487 _strnicmp \
13488 _strtoi64 \
13489 _strtoui64 \
13490 _vsnprintf \
13491 asctime_r \
13492 chsize \
13493 dlopen \
13494 epoll_create \
13495 ffs \
13496 finite \
13497 fnmatch \
13498 fork \
13499 fpclass \
13500 fstatfs \
13501 fstatvfs \
13502 ftruncate \
13503 futimens \
13504 futimes \
13505 futimesat \
13506 getattrlist \
13507 getdirentries \
13508 getopt_long_only \
13509 getpwuid \
13510 gettimeofday \
13511 getuid \
13512 if_nameindex \
13513 kqueue \
13514 lstat \
13515 memmove \
13516 mmap \
13517 pclose \
13518 pipe2 \
13519 poll \
13520 popen \
13521 port_create \
13522 prctl \
13523 pread \
13524 proc_pidinfo \
13525 pwrite \
13526 readdir \
13527 readlink \
13528 sched_yield \
13529 select \
13530 setproctitle \
13531 setrlimit \
13532 settimeofday \
13533 sigaltstack \
13534 sigprocmask \
13535 snprintf \
13536 statfs \
13537 statvfs \
13538 strcasecmp \
13539 strdup \
13540 strerror \
13541 strncasecmp \
13542 strtold \
13543 strtoll \
13544 strtoull \
13545 symlink \
13546 tcdrain \
13547 thr_kill2 \
13548 timegm \
13549 usleep \
13550 vsnprintf
13552 do :
13553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13555 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13556 cat >>confdefs.h <<_ACEOF
13557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13558 _ACEOF
13561 done
13563 CFLAGS="$ac_save_CFLAGS"
13565 if test "$ac_cv_func_dlopen" = no
13566 then
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13568 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13569 if ${ac_cv_lib_dl_dlopen+:} false; then :
13570 $as_echo_n "(cached) " >&6
13571 else
13572 ac_check_lib_save_LIBS=$LIBS
13573 LIBS="-ldl $LIBS"
13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13577 /* Override any GCC internal prototype to avoid an error.
13578 Use char because int might match the return type of a GCC
13579 builtin and then its argument prototype would still apply. */
13580 #ifdef __cplusplus
13581 extern "C"
13582 #endif
13583 char dlopen ();
13585 main ()
13587 return dlopen ();
13589 return 0;
13591 _ACEOF
13592 if ac_fn_c_try_link "$LINENO"; then :
13593 ac_cv_lib_dl_dlopen=yes
13594 else
13595 ac_cv_lib_dl_dlopen=no
13597 rm -f core conftest.err conftest.$ac_objext \
13598 conftest$ac_exeext conftest.$ac_ext
13599 LIBS=$ac_check_lib_save_LIBS
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13602 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13603 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13604 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13605 LIBDL="-ldl"
13610 ac_wine_check_funcs_save_LIBS="$LIBS"
13611 LIBS="$LIBS $LIBDL"
13612 for ac_func in dladdr
13613 do :
13614 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13615 if test "x$ac_cv_func_dladdr" = xyes; then :
13616 cat >>confdefs.h <<_ACEOF
13617 #define HAVE_DLADDR 1
13618 _ACEOF
13621 done
13623 LIBS="$ac_wine_check_funcs_save_LIBS"
13625 if test "$ac_cv_func_poll" = no
13626 then
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13628 $as_echo_n "checking for poll in -lpoll... " >&6; }
13629 if ${ac_cv_lib_poll_poll+:} false; then :
13630 $as_echo_n "(cached) " >&6
13631 else
13632 ac_check_lib_save_LIBS=$LIBS
13633 LIBS="-lpoll $LIBS"
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13637 /* Override any GCC internal prototype to avoid an error.
13638 Use char because int might match the return type of a GCC
13639 builtin and then its argument prototype would still apply. */
13640 #ifdef __cplusplus
13641 extern "C"
13642 #endif
13643 char poll ();
13645 main ()
13647 return poll ();
13649 return 0;
13651 _ACEOF
13652 if ac_fn_c_try_link "$LINENO"; then :
13653 ac_cv_lib_poll_poll=yes
13654 else
13655 ac_cv_lib_poll_poll=no
13657 rm -f core conftest.err conftest.$ac_objext \
13658 conftest$ac_exeext conftest.$ac_ext
13659 LIBS=$ac_check_lib_save_LIBS
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13662 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13663 if test "x$ac_cv_lib_poll_poll" = xyes; then :
13664 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13665 LIBPOLL="-lpoll"
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13672 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13673 if ${ac_cv_search_gethostbyname+:} false; then :
13674 $as_echo_n "(cached) " >&6
13675 else
13676 ac_func_search_save_LIBS=$LIBS
13677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13678 /* end confdefs.h. */
13680 /* Override any GCC internal prototype to avoid an error.
13681 Use char because int might match the return type of a GCC
13682 builtin and then its argument prototype would still apply. */
13683 #ifdef __cplusplus
13684 extern "C"
13685 #endif
13686 char gethostbyname ();
13688 main ()
13690 return gethostbyname ();
13692 return 0;
13694 _ACEOF
13695 for ac_lib in '' nsl; do
13696 if test -z "$ac_lib"; then
13697 ac_res="none required"
13698 else
13699 ac_res=-l$ac_lib
13700 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13702 if ac_fn_c_try_link "$LINENO"; then :
13703 ac_cv_search_gethostbyname=$ac_res
13705 rm -f core conftest.err conftest.$ac_objext \
13706 conftest$ac_exeext
13707 if ${ac_cv_search_gethostbyname+:} false; then :
13708 break
13710 done
13711 if ${ac_cv_search_gethostbyname+:} false; then :
13713 else
13714 ac_cv_search_gethostbyname=no
13716 rm conftest.$ac_ext
13717 LIBS=$ac_func_search_save_LIBS
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13720 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13721 ac_res=$ac_cv_search_gethostbyname
13722 if test "$ac_res" != no; then :
13723 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13729 $as_echo_n "checking for library containing connect... " >&6; }
13730 if ${ac_cv_search_connect+:} false; then :
13731 $as_echo_n "(cached) " >&6
13732 else
13733 ac_func_search_save_LIBS=$LIBS
13734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13735 /* end confdefs.h. */
13737 /* Override any GCC internal prototype to avoid an error.
13738 Use char because int might match the return type of a GCC
13739 builtin and then its argument prototype would still apply. */
13740 #ifdef __cplusplus
13741 extern "C"
13742 #endif
13743 char connect ();
13745 main ()
13747 return connect ();
13749 return 0;
13751 _ACEOF
13752 for ac_lib in '' socket; do
13753 if test -z "$ac_lib"; then
13754 ac_res="none required"
13755 else
13756 ac_res=-l$ac_lib
13757 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13759 if ac_fn_c_try_link "$LINENO"; then :
13760 ac_cv_search_connect=$ac_res
13762 rm -f core conftest.err conftest.$ac_objext \
13763 conftest$ac_exeext
13764 if ${ac_cv_search_connect+:} false; then :
13765 break
13767 done
13768 if ${ac_cv_search_connect+:} false; then :
13770 else
13771 ac_cv_search_connect=no
13773 rm conftest.$ac_ext
13774 LIBS=$ac_func_search_save_LIBS
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13777 $as_echo "$ac_cv_search_connect" >&6; }
13778 ac_res=$ac_cv_search_connect
13779 if test "$ac_res" != no; then :
13780 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13786 $as_echo_n "checking for library containing inet_aton... " >&6; }
13787 if ${ac_cv_search_inet_aton+:} false; then :
13788 $as_echo_n "(cached) " >&6
13789 else
13790 ac_func_search_save_LIBS=$LIBS
13791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h. */
13794 /* Override any GCC internal prototype to avoid an error.
13795 Use char because int might match the return type of a GCC
13796 builtin and then its argument prototype would still apply. */
13797 #ifdef __cplusplus
13798 extern "C"
13799 #endif
13800 char inet_aton ();
13802 main ()
13804 return inet_aton ();
13806 return 0;
13808 _ACEOF
13809 for ac_lib in '' resolv; do
13810 if test -z "$ac_lib"; then
13811 ac_res="none required"
13812 else
13813 ac_res=-l$ac_lib
13814 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13816 if ac_fn_c_try_link "$LINENO"; then :
13817 ac_cv_search_inet_aton=$ac_res
13819 rm -f core conftest.err conftest.$ac_objext \
13820 conftest$ac_exeext
13821 if ${ac_cv_search_inet_aton+:} false; then :
13822 break
13824 done
13825 if ${ac_cv_search_inet_aton+:} false; then :
13827 else
13828 ac_cv_search_inet_aton=no
13830 rm conftest.$ac_ext
13831 LIBS=$ac_func_search_save_LIBS
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13834 $as_echo "$ac_cv_search_inet_aton" >&6; }
13835 ac_res=$ac_cv_search_inet_aton
13836 if test "$ac_res" != no; then :
13837 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13842 for ac_func in \
13843 getaddrinfo \
13844 getnameinfo \
13845 getnetbyname \
13846 getprotobyname \
13847 getprotobynumber \
13848 getservbyport \
13849 inet_network \
13850 inet_ntop \
13851 inet_pton \
13852 sendmsg \
13853 socketpair \
13855 do :
13856 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13857 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13858 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13859 cat >>confdefs.h <<_ACEOF
13860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13861 _ACEOF
13864 done
13867 ac_save_LIBS=$LIBS
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13869 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13870 if ${ac_cv_search_clock_gettime+:} false; then :
13871 $as_echo_n "(cached) " >&6
13872 else
13873 ac_func_search_save_LIBS=$LIBS
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13877 /* Override any GCC internal prototype to avoid an error.
13878 Use char because int might match the return type of a GCC
13879 builtin and then its argument prototype would still apply. */
13880 #ifdef __cplusplus
13881 extern "C"
13882 #endif
13883 char clock_gettime ();
13885 main ()
13887 return clock_gettime ();
13889 return 0;
13891 _ACEOF
13892 for ac_lib in '' rt; do
13893 if test -z "$ac_lib"; then
13894 ac_res="none required"
13895 else
13896 ac_res=-l$ac_lib
13897 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13899 if ac_fn_c_try_link "$LINENO"; then :
13900 ac_cv_search_clock_gettime=$ac_res
13902 rm -f core conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext
13904 if ${ac_cv_search_clock_gettime+:} false; then :
13905 break
13907 done
13908 if ${ac_cv_search_clock_gettime+:} false; then :
13910 else
13911 ac_cv_search_clock_gettime=no
13913 rm conftest.$ac_ext
13914 LIBS=$ac_func_search_save_LIBS
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13917 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13918 ac_res=$ac_cv_search_clock_gettime
13919 if test "$ac_res" != no; then :
13920 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13922 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13924 test "$ac_res" = "none required" || LIBRT="$ac_res"
13928 LIBS=$ac_save_LIBS
13930 LDAPLIBS=""
13932 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13933 then
13934 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13936 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13938 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13939 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13940 $as_echo_n "(cached) " >&6
13941 else
13942 ac_check_lib_save_LIBS=$LIBS
13943 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13947 /* Override any GCC internal prototype to avoid an error.
13948 Use char because int might match the return type of a GCC
13949 builtin and then its argument prototype would still apply. */
13950 #ifdef __cplusplus
13951 extern "C"
13952 #endif
13953 char ldap_initialize ();
13955 main ()
13957 return ldap_initialize ();
13959 return 0;
13961 _ACEOF
13962 if ac_fn_c_try_link "$LINENO"; then :
13963 ac_cv_lib_ldap_r_ldap_initialize=yes
13964 else
13965 ac_cv_lib_ldap_r_ldap_initialize=no
13967 rm -f core conftest.err conftest.$ac_objext \
13968 conftest$ac_exeext conftest.$ac_ext
13969 LIBS=$ac_check_lib_save_LIBS
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13972 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13973 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13975 $as_echo_n "checking for ber_init in -llber... " >&6; }
13976 if ${ac_cv_lib_lber_ber_init+:} false; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 ac_check_lib_save_LIBS=$LIBS
13980 LIBS="-llber $LIBPTHREAD $LIBS"
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13984 /* Override any GCC internal prototype to avoid an error.
13985 Use char because int might match the return type of a GCC
13986 builtin and then its argument prototype would still apply. */
13987 #ifdef __cplusplus
13988 extern "C"
13989 #endif
13990 char ber_init ();
13992 main ()
13994 return ber_init ();
13996 return 0;
13998 _ACEOF
13999 if ac_fn_c_try_link "$LINENO"; then :
14000 ac_cv_lib_lber_ber_init=yes
14001 else
14002 ac_cv_lib_lber_ber_init=no
14004 rm -f core conftest.err conftest.$ac_objext \
14005 conftest$ac_exeext conftest.$ac_ext
14006 LIBS=$ac_check_lib_save_LIBS
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14009 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14010 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14012 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14014 LDAPLIBS="-lldap_r -llber"
14021 ac_wine_check_funcs_save_LIBS="$LIBS"
14022 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
14023 for ac_func in \
14024 ldap_count_references \
14025 ldap_first_reference \
14026 ldap_next_reference \
14027 ldap_parse_reference \
14028 ldap_parse_sort_control \
14029 ldap_parse_sortresponse_control \
14030 ldap_parse_vlv_control \
14031 ldap_parse_vlvresponse_control
14032 do :
14033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14035 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14036 cat >>confdefs.h <<_ACEOF
14037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14038 _ACEOF
14041 done
14043 LIBS="$ac_wine_check_funcs_save_LIBS"
14045 if test "x$LDAPLIBS" = "x"; then :
14046 case "x$with_ldap" in
14047 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14048 xno) ;;
14049 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14050 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14051 esac
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14055 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14056 if ${wine_cv_one_arg_mkdir+:} false; then :
14057 $as_echo_n "(cached) " >&6
14058 else
14059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14061 #include <sys/stat.h>
14063 main ()
14065 mkdir("foo");
14067 return 0;
14069 _ACEOF
14070 if ac_fn_c_try_compile "$LINENO"; then :
14071 wine_cv_one_arg_mkdir=yes
14072 else
14073 wine_cv_one_arg_mkdir=no
14075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14078 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14079 if test "$wine_cv_one_arg_mkdir" = "yes"
14080 then
14082 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14087 $as_echo_n "checking for sched_setaffinity... " >&6; }
14088 if ${wine_cv_have_sched_setaffinity+:} false; then :
14089 $as_echo_n "(cached) " >&6
14090 else
14091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14092 /* end confdefs.h. */
14093 #define _GNU_SOURCE
14094 #include <sched.h>
14096 main ()
14098 sched_setaffinity(0, 0, 0);
14100 return 0;
14102 _ACEOF
14103 if ac_fn_c_try_link "$LINENO"; then :
14104 wine_cv_have_sched_setaffinity=yes
14105 else
14106 wine_cv_have_sched_setaffinity=no
14108 rm -f core conftest.err conftest.$ac_objext \
14109 conftest$ac_exeext conftest.$ac_ext
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14112 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14113 if test "$wine_cv_have_sched_setaffinity" = "yes"
14114 then
14116 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14121 $as_echo_n "checking for fallocate... " >&6; }
14122 if ${wine_cv_have_fallocate+:} false; then :
14123 $as_echo_n "(cached) " >&6
14124 else
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 #define _GNU_SOURCE
14128 #include <fcntl.h>
14130 main ()
14132 fallocate(-1, 0, 0, 0);
14134 return 0;
14136 _ACEOF
14137 if ac_fn_c_try_link "$LINENO"; then :
14138 wine_cv_have_fallocate=yes
14139 else
14140 wine_cv_have_fallocate=no
14142 rm -f core conftest.err conftest.$ac_objext \
14143 conftest$ac_exeext conftest.$ac_ext
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14146 $as_echo "$wine_cv_have_fallocate" >&6; }
14147 if test "$wine_cv_have_fallocate" = "yes"
14148 then
14150 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14156 $as_echo_n "checking for inline... " >&6; }
14157 if ${ac_cv_c_inline+:} false; then :
14158 $as_echo_n "(cached) " >&6
14159 else
14160 ac_cv_c_inline=no
14161 for ac_kw in inline __inline__ __inline; do
14162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14164 #ifndef __cplusplus
14165 typedef int foo_t;
14166 static $ac_kw foo_t static_foo () {return 0; }
14167 $ac_kw foo_t foo () {return 0; }
14168 #endif
14170 _ACEOF
14171 if ac_fn_c_try_compile "$LINENO"; then :
14172 ac_cv_c_inline=$ac_kw
14174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14175 test "$ac_cv_c_inline" != no && break
14176 done
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14180 $as_echo "$ac_cv_c_inline" >&6; }
14182 case $ac_cv_c_inline in
14183 inline | yes) ;;
14185 case $ac_cv_c_inline in
14186 no) ac_val=;;
14187 *) ac_val=$ac_cv_c_inline;;
14188 esac
14189 cat >>confdefs.h <<_ACEOF
14190 #ifndef __cplusplus
14191 #define inline $ac_val
14192 #endif
14193 _ACEOF
14195 esac
14197 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14198 if test "x$ac_cv_type_mode_t" = xyes; then :
14200 cat >>confdefs.h <<_ACEOF
14201 #define HAVE_MODE_T 1
14202 _ACEOF
14206 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14207 if test "x$ac_cv_type_off_t" = xyes; then :
14209 cat >>confdefs.h <<_ACEOF
14210 #define HAVE_OFF_T 1
14211 _ACEOF
14215 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14216 if test "x$ac_cv_type_pid_t" = xyes; then :
14218 cat >>confdefs.h <<_ACEOF
14219 #define HAVE_PID_T 1
14220 _ACEOF
14224 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14225 if test "x$ac_cv_type_size_t" = xyes; then :
14227 cat >>confdefs.h <<_ACEOF
14228 #define HAVE_SIZE_T 1
14229 _ACEOF
14233 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14234 if test "x$ac_cv_type_ssize_t" = xyes; then :
14236 cat >>confdefs.h <<_ACEOF
14237 #define HAVE_SSIZE_T 1
14238 _ACEOF
14242 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14243 if test "x$ac_cv_type_long_long" = xyes; then :
14245 cat >>confdefs.h <<_ACEOF
14246 #define HAVE_LONG_LONG 1
14247 _ACEOF
14251 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14252 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
14254 cat >>confdefs.h <<_ACEOF
14255 #define HAVE_FSBLKCNT_T 1
14256 _ACEOF
14260 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14261 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
14263 cat >>confdefs.h <<_ACEOF
14264 #define HAVE_FSFILCNT_T 1
14265 _ACEOF
14270 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14271 #include <signal.h>
14273 if test "x$ac_cv_type_sigset_t" = xyes; then :
14275 cat >>confdefs.h <<_ACEOF
14276 #define HAVE_SIGSET_T 1
14277 _ACEOF
14282 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14284 if test "x$ac_cv_type_request_sense" = xyes; then :
14286 cat >>confdefs.h <<_ACEOF
14287 #define HAVE_REQUEST_SENSE 1
14288 _ACEOF
14294 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14295 #ifdef HAVE_SYS_SOCKET_H
14296 #include <sys/socket.h>
14297 #endif
14298 #ifdef HAVE_SYS_SOCKETVAR_H
14299 #include <sys/socketvar.h>
14300 #endif
14301 #ifdef HAVE_NET_ROUTE_H
14302 #include <net/route.h>
14303 #endif
14304 #ifdef HAVE_NETINET_IN_H
14305 #include <netinet/in.h>
14306 #endif
14307 #ifdef HAVE_NETINET_IN_SYSTM_H
14308 #include <netinet/in_systm.h>
14309 #endif
14310 #ifdef HAVE_NETINET_IP_H
14311 #include <netinet/ip.h>
14312 #endif
14313 #ifdef HAVE_NETINET_IN_PCB_H
14314 #include <netinet/in_pcb.h>
14315 #endif
14317 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
14319 cat >>confdefs.h <<_ACEOF
14320 #define HAVE_STRUCT_XINPGEN 1
14321 _ACEOF
14327 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14328 #include <link.h>
14329 #endif
14330 #ifdef HAVE_SYS_LINK_H
14331 #include <sys/link.h>
14332 #endif
14334 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
14336 cat >>confdefs.h <<_ACEOF
14337 #define HAVE_STRUCT_R_DEBUG 1
14338 _ACEOF
14342 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14343 #include <link.h>
14344 #endif
14345 #ifdef HAVE_SYS_LINK_H
14346 #include <sys/link.h>
14347 #endif
14349 if test "x$ac_cv_type_struct_link_map" = xyes; then :
14351 cat >>confdefs.h <<_ACEOF
14352 #define HAVE_STRUCT_LINK_MAP 1
14353 _ACEOF
14359 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14360 #include <linux/input.h>
14361 #endif
14363 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
14365 cat >>confdefs.h <<_ACEOF
14366 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14367 _ACEOF
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14374 $as_echo_n "checking for sigaddset... " >&6; }
14375 if ${wine_cv_have_sigaddset+:} false; then :
14376 $as_echo_n "(cached) " >&6
14377 else
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14380 #include <signal.h>
14382 main ()
14384 sigset_t set; sigaddset(&set,SIGTERM);
14386 return 0;
14388 _ACEOF
14389 if ac_fn_c_try_link "$LINENO"; then :
14390 wine_cv_have_sigaddset=yes
14391 else
14392 wine_cv_have_sigaddset=no
14394 rm -f core conftest.err conftest.$ac_objext \
14395 conftest$ac_exeext conftest.$ac_ext
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14398 $as_echo "$wine_cv_have_sigaddset" >&6; }
14399 if test "$wine_cv_have_sigaddset" = "yes"
14400 then
14402 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14408 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14409 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14410 $as_echo_n "(cached) " >&6
14411 else
14412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14414 #include <netdb.h>
14416 main ()
14419 char *name=0;
14420 struct hostent he;
14421 struct hostent *result;
14422 char *buf=0;
14423 int bufsize=0;
14424 int errnr;
14425 char *addr=0;
14426 int addrlen=0;
14427 int addrtype=0;
14428 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14429 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14432 return 0;
14434 _ACEOF
14435 if ac_fn_c_try_link "$LINENO"; then :
14436 wine_cv_linux_gethostbyname_r_6=yes
14437 else
14438 wine_cv_linux_gethostbyname_r_6=no
14441 rm -f core conftest.err conftest.$ac_objext \
14442 conftest$ac_exeext conftest.$ac_ext
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14446 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14447 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14448 then
14450 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14454 if test "$ac_cv_header_linux_joystick_h" = "yes"
14455 then
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14457 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14458 if ${wine_cv_linux_joystick_22_api+:} false; then :
14459 $as_echo_n "(cached) " >&6
14460 else
14461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14462 /* end confdefs.h. */
14464 #include <sys/ioctl.h>
14465 #include <sys/types.h>
14466 #include <linux/joystick.h>
14468 struct js_event blub;
14469 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14470 #error "no 2.2 header"
14471 #endif
14474 main ()
14476 /*empty*/
14478 return 0;
14480 _ACEOF
14481 if ac_fn_c_try_compile "$LINENO"; then :
14482 wine_cv_linux_joystick_22_api=yes
14483 else
14484 wine_cv_linux_joystick_22_api=no
14486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14490 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14491 if test "$wine_cv_linux_joystick_22_api" = "yes"
14492 then
14494 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14500 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14501 #ifdef HAVE_SYS_PARAM_H
14502 # include <sys/param.h>
14503 #endif
14504 #ifdef HAVE_SYS_MOUNT_H
14505 # include <sys/mount.h>
14506 #endif
14507 #ifdef HAVE_SYS_VFS_H
14508 # include <sys/vfs.h>
14509 #endif
14510 #ifdef HAVE_SYS_STATFS_H
14511 # include <sys/statfs.h>
14512 #endif
14514 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
14516 cat >>confdefs.h <<_ACEOF
14517 #define HAVE_STRUCT_STATFS_F_BFREE 1
14518 _ACEOF
14522 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14523 #ifdef HAVE_SYS_PARAM_H
14524 # include <sys/param.h>
14525 #endif
14526 #ifdef HAVE_SYS_MOUNT_H
14527 # include <sys/mount.h>
14528 #endif
14529 #ifdef HAVE_SYS_VFS_H
14530 # include <sys/vfs.h>
14531 #endif
14532 #ifdef HAVE_SYS_STATFS_H
14533 # include <sys/statfs.h>
14534 #endif
14536 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
14538 cat >>confdefs.h <<_ACEOF
14539 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14540 _ACEOF
14544 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14545 #ifdef HAVE_SYS_PARAM_H
14546 # include <sys/param.h>
14547 #endif
14548 #ifdef HAVE_SYS_MOUNT_H
14549 # include <sys/mount.h>
14550 #endif
14551 #ifdef HAVE_SYS_VFS_H
14552 # include <sys/vfs.h>
14553 #endif
14554 #ifdef HAVE_SYS_STATFS_H
14555 # include <sys/statfs.h>
14556 #endif
14558 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
14560 cat >>confdefs.h <<_ACEOF
14561 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14562 _ACEOF
14566 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14567 #ifdef HAVE_SYS_PARAM_H
14568 # include <sys/param.h>
14569 #endif
14570 #ifdef HAVE_SYS_MOUNT_H
14571 # include <sys/mount.h>
14572 #endif
14573 #ifdef HAVE_SYS_VFS_H
14574 # include <sys/vfs.h>
14575 #endif
14576 #ifdef HAVE_SYS_STATFS_H
14577 # include <sys/statfs.h>
14578 #endif
14580 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
14582 cat >>confdefs.h <<_ACEOF
14583 #define HAVE_STRUCT_STATFS_F_FFREE 1
14584 _ACEOF
14588 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14589 #ifdef HAVE_SYS_PARAM_H
14590 # include <sys/param.h>
14591 #endif
14592 #ifdef HAVE_SYS_MOUNT_H
14593 # include <sys/mount.h>
14594 #endif
14595 #ifdef HAVE_SYS_VFS_H
14596 # include <sys/vfs.h>
14597 #endif
14598 #ifdef HAVE_SYS_STATFS_H
14599 # include <sys/statfs.h>
14600 #endif
14602 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
14604 cat >>confdefs.h <<_ACEOF
14605 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14606 _ACEOF
14610 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14611 #ifdef HAVE_SYS_PARAM_H
14612 # include <sys/param.h>
14613 #endif
14614 #ifdef HAVE_SYS_MOUNT_H
14615 # include <sys/mount.h>
14616 #endif
14617 #ifdef HAVE_SYS_VFS_H
14618 # include <sys/vfs.h>
14619 #endif
14620 #ifdef HAVE_SYS_STATFS_H
14621 # include <sys/statfs.h>
14622 #endif
14624 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
14626 cat >>confdefs.h <<_ACEOF
14627 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14628 _ACEOF
14634 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14635 #include <sys/statvfs.h>
14636 #endif
14638 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
14640 cat >>confdefs.h <<_ACEOF
14641 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14642 _ACEOF
14648 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14649 #include <dirent.h>
14650 #endif
14652 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
14654 cat >>confdefs.h <<_ACEOF
14655 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14656 _ACEOF
14662 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14663 #ifdef HAVE_SYS_SOCKET_H
14664 # include <sys/socket.h>
14665 #endif
14666 #ifdef HAVE_SYS_UN_H
14667 # include <sys/un.h>
14668 #endif
14670 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
14672 cat >>confdefs.h <<_ACEOF
14673 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14674 _ACEOF
14678 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14679 #ifdef HAVE_SYS_SOCKET_H
14680 # include <sys/socket.h>
14681 #endif
14682 #ifdef HAVE_SYS_UN_H
14683 # include <sys/un.h>
14684 #endif
14686 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14688 cat >>confdefs.h <<_ACEOF
14689 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14690 _ACEOF
14694 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14695 #ifdef HAVE_SYS_SOCKET_H
14696 # include <sys/socket.h>
14697 #endif
14698 #ifdef HAVE_SYS_UN_H
14699 # include <sys/un.h>
14700 #endif
14702 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14704 cat >>confdefs.h <<_ACEOF
14705 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14706 _ACEOF
14712 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14713 #ifdef HAVE_SCSI_SG_H
14714 #include <scsi/sg.h>
14715 #endif
14717 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14719 cat >>confdefs.h <<_ACEOF
14720 #define HAVE_SCSIREQ_T_CMD 1
14721 _ACEOF
14725 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>
14726 #ifdef HAVE_SCSI_SG_H
14727 #include <scsi/sg.h>
14728 #endif
14730 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14732 cat >>confdefs.h <<_ACEOF
14733 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14734 _ACEOF
14740 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14742 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14744 cat >>confdefs.h <<_ACEOF
14745 #define HAVE_SIGINFO_T_SI_FD 1
14746 _ACEOF
14752 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14753 #ifdef HAVE_SYS_MTIO_H
14754 #include <sys/mtio.h>
14755 #endif
14757 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14759 cat >>confdefs.h <<_ACEOF
14760 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14761 _ACEOF
14765 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14766 #ifdef HAVE_SYS_MTIO_H
14767 #include <sys/mtio.h>
14768 #endif
14770 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14772 cat >>confdefs.h <<_ACEOF
14773 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14774 _ACEOF
14778 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14779 #ifdef HAVE_SYS_MTIO_H
14780 #include <sys/mtio.h>
14781 #endif
14783 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14785 cat >>confdefs.h <<_ACEOF
14786 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14787 _ACEOF
14793 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14794 #include <getopt.h>
14795 #endif
14797 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14799 cat >>confdefs.h <<_ACEOF
14800 #define HAVE_STRUCT_OPTION_NAME 1
14801 _ACEOF
14807 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14808 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14810 cat >>confdefs.h <<_ACEOF
14811 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14812 _ACEOF
14816 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14817 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14819 cat >>confdefs.h <<_ACEOF
14820 #define HAVE_STRUCT_STAT_ST_MTIM 1
14821 _ACEOF
14825 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14826 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
14828 cat >>confdefs.h <<_ACEOF
14829 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14830 _ACEOF
14834 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14835 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14837 cat >>confdefs.h <<_ACEOF
14838 #define HAVE_STRUCT_STAT_ST_CTIM 1
14839 _ACEOF
14843 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14844 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
14846 cat >>confdefs.h <<_ACEOF
14847 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14848 _ACEOF
14852 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14853 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14855 cat >>confdefs.h <<_ACEOF
14856 #define HAVE_STRUCT_STAT_ST_ATIM 1
14857 _ACEOF
14861 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14862 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
14864 cat >>confdefs.h <<_ACEOF
14865 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14866 _ACEOF
14870 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14871 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
14873 cat >>confdefs.h <<_ACEOF
14874 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14875 _ACEOF
14879 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14880 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
14882 cat >>confdefs.h <<_ACEOF
14883 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14884 _ACEOF
14888 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14889 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
14891 cat >>confdefs.h <<_ACEOF
14892 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14893 _ACEOF
14897 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14898 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
14900 cat >>confdefs.h <<_ACEOF
14901 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14902 _ACEOF
14906 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14907 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
14909 cat >>confdefs.h <<_ACEOF
14910 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14911 _ACEOF
14917 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
14918 #include <sys/types.h>
14919 #endif
14920 #ifdef HAVE_NETINET_IN_H
14921 #include <netinet/in.h>
14922 #endif
14924 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14926 cat >>confdefs.h <<_ACEOF
14927 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14928 _ACEOF
14934 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
14935 #include <resolv.h>
14936 #endif
14938 if test "x$ac_cv_type_struct___res_state" = xyes; then :
14940 cat >>confdefs.h <<_ACEOF
14941 #define HAVE_STRUCT___RES_STATE 1
14942 _ACEOF
14948 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
14949 #include <resolv.h>
14950 #endif
14952 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
14954 cat >>confdefs.h <<_ACEOF
14955 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
14956 _ACEOF
14962 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14963 #include <sys/types.h>
14964 #endif
14965 #ifdef HAVE_NETINET_IN_H
14966 # include <netinet/in.h>
14967 #endif
14968 #ifdef HAVE_ARPA_NAMESER_H
14969 # include <arpa/nameser.h>
14970 #endif
14972 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14974 cat >>confdefs.h <<_ACEOF
14975 #define HAVE_NS_MSG__MSG_PTR 1
14976 _ACEOF
14982 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14983 #include <sys/types.h>
14984 #endif
14985 #ifdef HAVE_NETINET_IP_H
14986 #include <netinet/ip.h>
14987 #endif
14988 #ifdef HAVE_NETINET_IP_ICMP_H
14989 #include <netinet/ip_icmp.h>
14990 #endif
14991 #ifdef HAVE_NETINET_ICMP_VAR_H
14992 #include <netinet/icmp_var.h>
14993 #endif
14995 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
14997 cat >>confdefs.h <<_ACEOF
14998 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14999 _ACEOF
15005 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15006 #include <sys/types.h>
15007 #endif
15008 #ifdef HAVE_ALIAS_H
15009 #include <alias.h>
15010 #endif
15011 #ifdef HAVE_SYS_SOCKET_H
15012 #include <sys/socket.h>
15013 #endif
15014 #ifdef HAVE_SYS_SOCKETVAR_H
15015 #include <sys/socketvar.h>
15016 #endif
15017 #ifdef HAVE_SYS_TIMEOUT_H
15018 #include <sys/timeout.h>
15019 #endif
15020 #ifdef HAVE_NETINET_IN_H
15021 #include <netinet/in.h>
15022 #endif
15023 #ifdef HAVE_NETINET_IN_SYSTM_H
15024 #include <netinet/in_systm.h>
15025 #endif
15026 #ifdef HAVE_NETINET_IP_H
15027 #include <netinet/ip.h>
15028 #endif
15029 #ifdef HAVE_NETINET_IP_VAR_H
15030 #include <netinet/ip_var.h>
15031 #endif
15032 #ifdef HAVE_NETINET_IP_ICMP_H
15033 #include <netinet/ip_icmp.h>
15034 #endif
15035 #ifdef HAVE_NETINET_ICMP_VAR_H
15036 #include <netinet/icmp_var.h>
15037 #endif
15039 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15041 cat >>confdefs.h <<_ACEOF
15042 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15043 _ACEOF
15049 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15050 #include <sys/types.h>
15051 #endif
15052 #ifdef HAVE_SYS_SOCKETVAR_H
15053 #include <sys/socketvar.h>
15054 #endif
15055 #ifdef HAVE_NETINET_IN_H
15056 #include <netinet/in.h>
15057 #endif
15058 #ifdef HAVE_NETINET_IP_VAR_H
15059 #include <netinet/ip_var.h>
15060 #endif
15062 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15064 cat >>confdefs.h <<_ACEOF
15065 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15066 _ACEOF
15072 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
15073 #include <netinet/ip_var.h>
15074 #endif
15076 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15078 cat >>confdefs.h <<_ACEOF
15079 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15080 _ACEOF
15086 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15087 #include <sys/types.h>
15088 #endif
15089 #ifdef HAVE_SYS_SOCKETVAR_H
15090 #include <sys/socketvar.h>
15091 #endif
15092 #ifdef HAVE_NETINET_IN_H
15093 #include <netinet/in.h>
15094 #endif
15095 #ifdef HAVE_NETINET_TCP_H
15096 #include <netinet/tcp.h>
15097 #endif
15098 #ifdef HAVE_NETINET_TCP_VAR_H
15099 #include <netinet/tcp_var.h>
15100 #endif
15102 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
15104 cat >>confdefs.h <<_ACEOF
15105 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15106 _ACEOF
15112 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
15113 #include <netinet/tcp_var.h>
15114 #endif
15116 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
15118 cat >>confdefs.h <<_ACEOF
15119 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15120 _ACEOF
15126 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15127 #include <sys/types.h>
15128 #endif
15129 #ifdef HAVE_NETINET_IN_H
15130 #include <netinet/in.h>
15131 #endif
15132 #ifdef HAVE_NETINET_IP_VAR_H
15133 #include <netinet/ip_var.h>
15134 #endif
15135 #ifdef HAVE_NETINET_UDP_H
15136 #include <netinet/udp.h>
15137 #endif
15138 #ifdef HAVE_NETINET_UDP_VAR_H
15139 #include <netinet/udp_var.h>
15140 #endif
15142 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
15144 cat >>confdefs.h <<_ACEOF
15145 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15146 _ACEOF
15152 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15153 #include <sys/types.h>
15154 #endif
15155 #ifdef HAVE_NET_IF_H
15156 # include <net/if.h>
15157 #endif
15159 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
15161 cat >>confdefs.h <<_ACEOF
15162 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15163 _ACEOF
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15170 $as_echo_n "checking for timezone variable... " >&6; }
15171 if ${ac_cv_have_timezone+:} false; then :
15172 $as_echo_n "(cached) " >&6
15173 else
15174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15175 /* end confdefs.h. */
15176 #include <time.h>
15178 main ()
15180 timezone = 1
15182 return 0;
15184 _ACEOF
15185 if ac_fn_c_try_link "$LINENO"; then :
15186 ac_cv_have_timezone="yes"
15187 else
15188 ac_cv_have_timezone="no"
15190 rm -f core conftest.err conftest.$ac_objext \
15191 conftest$ac_exeext conftest.$ac_ext
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15194 $as_echo "$ac_cv_have_timezone" >&6; }
15195 if test "$ac_cv_have_timezone" = "yes"
15196 then
15198 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15202 $as_echo_n "checking for daylight variable... " >&6; }
15203 if ${ac_cv_have_daylight+:} false; then :
15204 $as_echo_n "(cached) " >&6
15205 else
15206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15208 #include <time.h>
15210 main ()
15212 daylight = 1
15214 return 0;
15216 _ACEOF
15217 if ac_fn_c_try_link "$LINENO"; then :
15218 ac_cv_have_daylight="yes"
15219 else
15220 ac_cv_have_daylight="no"
15222 rm -f core conftest.err conftest.$ac_objext \
15223 conftest$ac_exeext conftest.$ac_ext
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15226 $as_echo "$ac_cv_have_daylight" >&6; }
15227 if test "$ac_cv_have_daylight" = "yes"
15228 then
15230 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15234 ac_save_LIBS="$LIBS"
15235 LIBS="$LIBS -lm"
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15237 $as_echo_n "checking for isinf... " >&6; }
15238 if ${ac_cv_have_isinf+:} false; then :
15239 $as_echo_n "(cached) " >&6
15240 else
15241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15242 /* end confdefs.h. */
15243 #include <math.h>
15245 main ()
15247 float f = 0.0; return isinf(f)
15249 return 0;
15251 _ACEOF
15252 if ac_fn_c_try_link "$LINENO"; then :
15253 ac_cv_have_isinf="yes"
15254 else
15255 ac_cv_have_isinf="no"
15257 rm -f core conftest.err conftest.$ac_objext \
15258 conftest$ac_exeext conftest.$ac_ext
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15261 $as_echo "$ac_cv_have_isinf" >&6; }
15262 if test "$ac_cv_have_isinf" = "yes"
15263 then
15265 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15270 $as_echo_n "checking for isnan... " >&6; }
15271 if ${ac_cv_have_isnan+:} false; then :
15272 $as_echo_n "(cached) " >&6
15273 else
15274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15275 /* end confdefs.h. */
15276 #include <math.h>
15278 main ()
15280 float f = 0.0; return isnan(f)
15282 return 0;
15284 _ACEOF
15285 if ac_fn_c_try_link "$LINENO"; then :
15286 ac_cv_have_isnan="yes"
15287 else
15288 ac_cv_have_isnan="no"
15290 rm -f core conftest.err conftest.$ac_objext \
15291 conftest$ac_exeext conftest.$ac_ext
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15294 $as_echo "$ac_cv_have_isnan" >&6; }
15295 if test "$ac_cv_have_isnan" = "yes"
15296 then
15298 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15301 LIBS="$ac_save_LIBS"
15304 case $host_cpu in
15305 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15306 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15307 if ${ac_cv_cpp_def___i386__+:} false; then :
15308 $as_echo_n "(cached) " >&6
15309 else
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15312 #ifndef __i386__
15314 #endif
15315 _ACEOF
15316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15317 $EGREP "yes" >/dev/null 2>&1; then :
15318 ac_cv_cpp_def___i386__=yes
15319 else
15320 ac_cv_cpp_def___i386__=no
15322 rm -f conftest*
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15326 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15327 if test $ac_cv_cpp_def___i386__ = yes; then :
15328 CFLAGS="$CFLAGS -D__i386__"
15329 LINTFLAGS="$LINTFLAGS -D__i386__"
15330 fi ;;
15331 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15332 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15333 if ${ac_cv_cpp_def___x86_64__+:} false; then :
15334 $as_echo_n "(cached) " >&6
15335 else
15336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h. */
15338 #ifndef __x86_64__
15340 #endif
15341 _ACEOF
15342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15343 $EGREP "yes" >/dev/null 2>&1; then :
15344 ac_cv_cpp_def___x86_64__=yes
15345 else
15346 ac_cv_cpp_def___x86_64__=no
15348 rm -f conftest*
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15352 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15353 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15354 CFLAGS="$CFLAGS -D__x86_64__"
15355 LINTFLAGS="$LINTFLAGS -D__x86_64__"
15356 fi ;;
15357 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15358 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15359 if ${ac_cv_cpp_def___sparc64__+:} false; then :
15360 $as_echo_n "(cached) " >&6
15361 else
15362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15363 /* end confdefs.h. */
15364 #ifndef __sparc64__
15366 #endif
15367 _ACEOF
15368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15369 $EGREP "yes" >/dev/null 2>&1; then :
15370 ac_cv_cpp_def___sparc64__=yes
15371 else
15372 ac_cv_cpp_def___sparc64__=no
15374 rm -f conftest*
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15378 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15379 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15380 CFLAGS="$CFLAGS -D__sparc64__"
15381 LINTFLAGS="$LINTFLAGS -D__sparc64__"
15382 fi ;;
15383 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15384 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15385 if ${ac_cv_cpp_def___sparc__+:} false; then :
15386 $as_echo_n "(cached) " >&6
15387 else
15388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15389 /* end confdefs.h. */
15390 #ifndef __sparc__
15392 #endif
15393 _ACEOF
15394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15395 $EGREP "yes" >/dev/null 2>&1; then :
15396 ac_cv_cpp_def___sparc__=yes
15397 else
15398 ac_cv_cpp_def___sparc__=no
15400 rm -f conftest*
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15404 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15405 if test $ac_cv_cpp_def___sparc__ = yes; then :
15406 CFLAGS="$CFLAGS -D__sparc__"
15407 LINTFLAGS="$LINTFLAGS -D__sparc__"
15408 fi ;;
15409 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15410 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15411 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15412 $as_echo_n "(cached) " >&6
15413 else
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15416 #ifndef __powerpc64__
15418 #endif
15419 _ACEOF
15420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15421 $EGREP "yes" >/dev/null 2>&1; then :
15422 ac_cv_cpp_def___powerpc64__=yes
15423 else
15424 ac_cv_cpp_def___powerpc64__=no
15426 rm -f conftest*
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15430 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15431 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15432 CFLAGS="$CFLAGS -D__powerpc64__"
15433 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15434 fi ;;
15435 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15436 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15437 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15438 $as_echo_n "(cached) " >&6
15439 else
15440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15441 /* end confdefs.h. */
15442 #ifndef __powerpc__
15444 #endif
15445 _ACEOF
15446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15447 $EGREP "yes" >/dev/null 2>&1; then :
15448 ac_cv_cpp_def___powerpc__=yes
15449 else
15450 ac_cv_cpp_def___powerpc__=no
15452 rm -f conftest*
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15456 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15457 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15458 CFLAGS="$CFLAGS -D__powerpc__"
15459 LINTFLAGS="$LINTFLAGS -D__powerpc__"
15460 fi ;;
15461 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15462 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15463 if ${ac_cv_cpp_def___aarch64__+:} false; then :
15464 $as_echo_n "(cached) " >&6
15465 else
15466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15467 /* end confdefs.h. */
15468 #ifndef __aarch64__
15470 #endif
15471 _ACEOF
15472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15473 $EGREP "yes" >/dev/null 2>&1; then :
15474 ac_cv_cpp_def___aarch64__=yes
15475 else
15476 ac_cv_cpp_def___aarch64__=no
15478 rm -f conftest*
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15482 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15483 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15484 CFLAGS="$CFLAGS -D__aarch64__"
15485 LINTFLAGS="$LINTFLAGS -D__aarch64__"
15486 fi ;;
15487 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15488 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15489 if ${ac_cv_cpp_def___arm__+:} false; then :
15490 $as_echo_n "(cached) " >&6
15491 else
15492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15494 #ifndef __arm__
15496 #endif
15497 _ACEOF
15498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15499 $EGREP "yes" >/dev/null 2>&1; then :
15500 ac_cv_cpp_def___arm__=yes
15501 else
15502 ac_cv_cpp_def___arm__=no
15504 rm -f conftest*
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15508 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15509 if test $ac_cv_cpp_def___arm__ = yes; then :
15510 CFLAGS="$CFLAGS -D__arm__"
15511 LINTFLAGS="$LINTFLAGS -D__arm__"
15512 fi ;;
15513 esac
15515 case $host_vendor in
15516 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15517 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15518 if ${ac_cv_cpp_def___sun__+:} false; then :
15519 $as_echo_n "(cached) " >&6
15520 else
15521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15523 #ifndef __sun__
15525 #endif
15526 _ACEOF
15527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15528 $EGREP "yes" >/dev/null 2>&1; then :
15529 ac_cv_cpp_def___sun__=yes
15530 else
15531 ac_cv_cpp_def___sun__=no
15533 rm -f conftest*
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15537 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15538 if test $ac_cv_cpp_def___sun__ = yes; then :
15539 CFLAGS="$CFLAGS -D__sun__"
15540 LINTFLAGS="$LINTFLAGS -D__sun__"
15541 fi ;;
15542 esac
15548 ac_config_commands="$ac_config_commands include/stamp-h"
15550 $as_echo_n "creating Makefile rules..." >&6
15552 wine_rules_file=conf$$rules.make
15553 rm -f $wine_rules_file
15554 ALL_POT_FILES=""
15555 ALL_TEST_RESOURCES=""
15558 wine_fn_append_file ()
15560 as_fn_append $1 " \\$as_nl $2"
15563 wine_fn_append_rule ()
15565 $as_echo "$1" >>$wine_rules_file
15568 wine_fn_has_flag ()
15570 expr ",$2," : ".*,$1,.*" >/dev/null
15573 wine_fn_all_dir_rules ()
15575 ac_dir=$1
15576 ac_alldeps=$2
15577 ac_makedep="\$(MAKEDEP)"
15578 ac_input=Make.vars.in:$ac_dir/Makefile.in
15579 if test $ac_dir != tools
15580 then
15581 ac_alldeps="$2 $ac_makedep"
15582 else
15583 ac_alldeps="$2 include/config.h"
15585 case $2 in
15586 *.in) ac_input=$ac_input:$2 ;;
15587 *) ac_makedep="$2 $ac_makedep" ;;
15588 esac
15590 wine_fn_append_rule \
15591 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15592 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15593 depend: $ac_dir/__depend__
15594 .PHONY: $ac_dir/__depend__
15595 $ac_dir/__depend__: $ac_makedep dummy
15596 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15599 wine_fn_pot_rules ()
15601 ac_dir=$1
15602 ac_flags=$2
15604 test "x$with_gettextpo" = xyes || return
15606 if wine_fn_has_flag mc $ac_flags
15607 then
15608 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
15609 wine_fn_append_rule \
15610 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15611 @cd $ac_dir && \$(MAKE) msg.pot
15612 $ac_dir/msg.pot: tools/wmc include"
15614 if wine_fn_has_flag po $ac_flags
15615 then
15616 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
15617 wine_fn_append_rule \
15618 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15619 @cd $ac_dir && \$(MAKE) rsrc.pot
15620 $ac_dir/rsrc.pot: tools/wrc include"
15624 wine_fn_config_all_make_rules ()
15626 ac_dir=$1
15627 ac_enable=$2
15628 ac_flags=$3
15629 ac_rules=$4
15630 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15631 return 0
15634 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
15635 wine_fn_append_rule \
15636 "all: $ac_dir
15637 .PHONY: $ac_dir
15638 $ac_dir: $ac_dir/Makefile dummy
15639 @cd $ac_dir && \$(MAKE)"
15641 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
15643 wine_fn_append_rule \
15644 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15645 $ac_dir/__install__:: $ac_dir
15646 @cd $ac_dir && \$(MAKE) install
15647 $ac_dir/__uninstall__:: $ac_dir/Makefile
15648 @cd $ac_dir && \$(MAKE) uninstall
15649 install:: $ac_dir/__install__
15650 __uninstall__: $ac_dir/__uninstall__"
15652 if wine_fn_has_flag install-lib $ac_flags
15653 then
15654 wine_fn_append_rule \
15655 ".PHONY: $ac_dir/__install-lib__
15656 $ac_dir/__install-lib__:: $ac_dir
15657 @cd $ac_dir && \$(MAKE) install-lib
15658 install-lib:: $ac_dir/__install-lib__"
15661 if wine_fn_has_flag install-dev $ac_flags
15662 then
15663 wine_fn_append_rule \
15664 ".PHONY: $ac_dir/__install-dev
15665 $ac_dir/__install-dev__:: $ac_dir
15666 @cd $ac_dir && \$(MAKE) install-dev
15667 install-dev:: $ac_dir/__install-dev__"
15671 wine_fn_clean_rules ()
15673 ac_dir=$1
15674 ac_flags=$2
15675 shift; shift
15676 ac_clean=$@
15678 if wine_fn_has_flag clean $ac_flags
15679 then
15680 wine_fn_append_rule \
15681 "__clean__: $ac_dir/__clean__
15682 .PHONY: $ac_dir/__clean__
15683 $ac_dir/__clean__: $ac_dir/Makefile
15684 @cd $ac_dir && \$(MAKE) clean
15685 \$(RM) $ac_dir/Makefile"
15686 else
15687 wine_fn_append_rule \
15688 "clean::
15689 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
15693 wine_fn_config_makefile ()
15695 ac_dir=$1
15696 ac_enable=$2
15697 ac_flags=$3
15699 wine_fn_config_all_make_rules $ac_dir $ac_enable $ac_flags
15700 wine_fn_clean_rules $ac_dir $ac_flags
15703 wine_fn_config_lib ()
15705 ac_name=$1
15706 ac_flags=$2
15707 ac_dir=dlls/$ac_name
15708 wine_fn_config_all_make_rules $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
15709 wine_fn_clean_rules $ac_dir $ac_flags
15711 if wine_fn_has_flag install-dev $ac_flags
15712 then :
15713 else
15714 wine_fn_append_rule \
15715 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15716 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15717 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15718 $ac_dir/__uninstall__::
15719 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15720 install install-dev:: $ac_dir/__install__
15721 __uninstall__: $ac_dir/__uninstall__"
15724 wine_fn_append_rule \
15725 "__builddeps__: $ac_dir
15726 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
15729 wine_fn_config_dll ()
15731 ac_name=$1
15732 ac_dir=dlls/$ac_name
15733 ac_enable=$2
15734 ac_flags=$3
15735 ac_implib=${4:-$ac_name}
15736 ac_file=$ac_dir/lib$ac_implib
15737 ac_dll=$ac_name
15738 ac_deps="tools/widl tools/winebuild tools/winegcc include"
15739 ac_implibflags=""
15741 case $ac_name in
15742 *16) ac_implibflags=" -m16" ;;
15743 *.*) ;;
15744 *) ac_dll=$ac_dll.dll ;;
15745 esac
15747 wine_fn_config_all_make_rules $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
15749 ac_clean=
15750 wine_fn_has_flag implib $ac_flags && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
15751 wine_fn_has_flag mc $ac_flags && ac_clean="$ac_clean $ac_dir/msg.pot"
15752 wine_fn_has_flag po $ac_flags && ac_clean="$ac_clean $ac_dir/rsrc.pot"
15753 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
15755 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15756 test "$ac_enable" != enable_win16 || return 0
15757 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
15758 else
15759 wine_fn_append_rule \
15760 "$ac_dir: __builddeps__
15761 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15762 @cd $ac_dir && \$(MAKE) \$@"
15764 if wine_fn_has_flag install-lib $ac_flags
15765 then :
15766 else
15767 wine_fn_append_rule \
15768 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15769 install install-lib:: $ac_dir/__install-lib__
15770 __uninstall__: $ac_dir/__uninstall__"
15771 if test -n "$DLLEXT"
15772 then
15773 wine_fn_append_rule \
15774 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15775 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
15776 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15777 $ac_dir/__uninstall__::
15778 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15779 else
15780 wine_fn_append_rule \
15781 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15782 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15783 $ac_dir/__uninstall__::
15784 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15788 wine_fn_pot_rules $ac_dir $ac_flags
15791 if wine_fn_has_flag staticimplib $ac_flags
15792 then
15793 wine_fn_append_rule \
15794 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15795 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15796 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15797 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15798 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15799 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15800 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15801 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15802 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15803 $ac_dir/__uninstall__::
15804 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15805 install install-dev:: $ac_dir/__install-dev__
15806 __uninstall__: $ac_dir/__uninstall__"
15808 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15809 then
15810 wine_fn_append_rule \
15811 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15812 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15813 $ac_dir/__uninstall__::
15814 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15817 if test "x$CROSSTEST_DISABLE" = x
15818 then
15819 wine_fn_append_rule \
15820 "__builddeps__: $ac_file.cross.a
15821 $ac_file.cross.a: $ac_dir/Makefile dummy
15822 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15825 elif wine_fn_has_flag implib $ac_flags
15826 then
15827 wine_fn_append_rule \
15828 "__builddeps__: $ac_file.$IMPLIBEXT
15829 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15830 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15831 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15832 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15833 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15834 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15835 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15836 $ac_dir/__uninstall__::
15837 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15838 install install-dev:: $ac_dir/__install-dev__
15839 __uninstall__: $ac_dir/__uninstall__"
15840 if test "x$CROSSTEST_DISABLE" = x
15841 then
15842 wine_fn_append_rule \
15843 "__builddeps__: $ac_file.cross.a
15844 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15845 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15848 if test "$ac_name" != "$ac_implib"
15849 then
15850 wine_fn_append_rule \
15851 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15852 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15853 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15854 clean::
15855 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15856 if test "x$CROSSTEST_DISABLE" = x
15857 then
15858 wine_fn_append_rule \
15859 "__builddeps__: dlls/lib$ac_implib.cross.a
15860 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15861 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15867 wine_fn_config_program ()
15869 ac_name=$1
15870 ac_dir=programs/$ac_name
15871 ac_enable=$2
15872 ac_flags=$3
15873 ac_program=$ac_name
15875 case $ac_name in
15876 *.*) ;;
15877 *) ac_program=$ac_program.exe ;;
15878 esac
15880 wine_fn_config_all_make_rules $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
15882 ac_clean=
15883 wine_fn_has_flag mc $ac_flags && ac_clean="$ac_clean $ac_dir/msg.pot"
15884 wine_fn_has_flag po $ac_flags && ac_clean="$ac_clean $ac_dir/rsrc.pot"
15885 wine_fn_has_flag manpage $ac_flags && ac_clean="$ac_clean $ac_dir/$ac_name.man"
15886 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
15887 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
15889 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15891 else
15892 wine_fn_append_rule "$ac_dir: __builddeps__"
15894 wine_fn_pot_rules $ac_dir $ac_flags
15896 wine_fn_has_flag install $ac_flags || return
15897 wine_fn_append_rule \
15898 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15899 install install-lib:: $ac_dir/__install__
15900 __uninstall__: $ac_dir/__uninstall__"
15902 if test -n "$DLLEXT"
15903 then
15904 wine_fn_append_rule \
15905 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15906 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
15907 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15908 $ac_dir/__uninstall__::
15909 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15911 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
15912 then
15913 wine_fn_append_rule \
15914 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15915 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15916 $ac_dir/__uninstall__::
15917 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15919 else
15920 wine_fn_append_rule \
15921 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15922 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15923 $ac_dir/__uninstall__::
15924 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15927 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
15928 then
15929 wine_fn_append_rule \
15930 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15931 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15932 $ac_dir/__uninstall__::
15933 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15938 wine_fn_config_test ()
15940 ac_dir=$1
15941 ac_name=$2
15942 ac_flags=$3
15944 ac_clean=
15945 test "x$CROSSTEST_DISABLE" = x && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
15946 test -n "$DLLEXT" || ac_clean=$ac_dir/${ac_name}.exe
15947 ac_clean="$ac_clean $ac_dir/*.ok $ac_dir/testlist.c"
15949 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
15950 wine_fn_all_dir_rules $ac_dir Maketest.rules
15951 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
15953 if test "x$enable_tests" = xno; then :
15955 else
15956 wine_fn_append_rule \
15957 "all: $ac_dir
15958 .PHONY: $ac_dir
15959 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15960 @cd $ac_dir && \$(MAKE)
15961 programs/winetest: $ac_dir
15962 check test: $ac_dir/__test__
15963 .PHONY: $ac_dir/__test__
15964 $ac_dir/__test__: dummy
15965 @cd $ac_dir && \$(MAKE) test
15966 testclean::
15967 \$(RM) $ac_dir/*.ok"
15969 if test "x$CROSSTEST_DISABLE" = x
15970 then
15971 wine_fn_append_rule \
15972 "crosstest: $ac_dir/__crosstest__
15973 .PHONY: $ac_dir/__crosstest__
15974 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15975 @cd $ac_dir && \$(MAKE) crosstest"
15980 wine_fn_config_tool ()
15982 ac_dir=$1
15983 ac_flags=$2
15984 if test "x$enable_tools" = xno; then :
15985 return 0
15988 wine_fn_config_all_make_rules $ac_dir enable_tools $ac_flags
15989 wine_fn_clean_rules $ac_dir $ac_flags
15991 wine_fn_append_rule "__tooldeps__: $ac_dir"
15992 wine_fn_append_rule "$ac_dir: libs/port"
15993 case $ac_dir in
15994 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
15995 esac
15998 wine_fn_config_makerules ()
16000 ac_rules=$1
16001 ac_deps=$2
16002 wine_fn_append_rule \
16003 "$ac_rules: $ac_rules.in $ac_deps config.status
16004 @./config.status $ac_rules
16005 distclean::
16006 \$(RM) $ac_rules"
16009 wine_fn_config_symlink ()
16011 ac_linkdir=
16012 if test "x$1" = "x-d"
16013 then
16014 ac_linkdir=$2
16015 shift; shift
16017 ac_links=$@
16018 wine_fn_append_rule \
16019 "$ac_links:
16020 @./config.status \$@
16021 distclean::
16022 \$(RM) $ac_links"
16023 test -n "$ac_linkdir" || return
16024 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/__depend__: $ac_links"
16027 if test "x$CROSSTEST_DISABLE" != x
16028 then
16029 wine_fn_append_rule \
16030 "crosstest:
16031 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16033 wine_fn_append_rule "
16034 # Rules automatically generated by configure
16036 .INIT: Makefile
16037 .MAKEFILEDEPS:
16038 all: Makefile
16039 Makefile: Makefile.in Make.vars.in Make.rules config.status
16040 @./config.status Make.tmp Makefile"
16042 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16043 wine_fn_config_symlink -d dlls/shell32 dlls/shell32/AUTHORS
16044 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
16045 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
16046 if test "x$enable_fonts" != xno; then
16047 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16048 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16049 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16050 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16051 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16053 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16054 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16055 if test "x$enable_tools" != xno; then
16056 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
16057 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
16059 ac_config_links="$ac_config_links wine:tools/winewrapper"
16060 wine_fn_config_symlink wine
16061 if test "x$enable_win64" != xno; then
16062 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16063 wine_fn_config_symlink wine64
16066 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
16067 wine_fn_append_rule \
16068 "clean::
16069 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16070 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
16071 wine_fn_append_rule \
16072 "clean::
16073 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16074 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
16075 wine_fn_append_rule \
16076 "clean::
16077 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16078 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
16079 wine_fn_append_rule \
16080 "clean::
16081 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16082 ac_config_commands="$ac_config_commands dlls/user32/resources"
16083 wine_fn_append_rule \
16084 "clean::
16085 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16086 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
16087 wine_fn_append_rule \
16088 "clean::
16089 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16090 ac_config_commands="$ac_config_commands include/wine"
16091 wine_fn_append_rule \
16092 "clean::
16093 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16095 wine_fn_config_makerules Make.rules
16096 MAKE_RULES=Make.rules
16097 ac_config_files="$ac_config_files Make.rules"
16099 wine_fn_config_makerules Maketest.rules Make.rules
16100 MAKE_TEST_RULES=Maketest.rules
16101 ac_config_files="$ac_config_files Maketest.rules"
16103 wine_fn_config_makerules dlls/Makedll.rules Make.rules
16104 MAKE_DLL_RULES=dlls/Makedll.rules
16105 ac_config_files="$ac_config_files dlls/Makedll.rules"
16107 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
16108 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
16109 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
16111 wine_fn_config_makerules programs/Makeprog.rules Make.rules
16112 MAKE_PROG_RULES=programs/Makeprog.rules
16113 ac_config_files="$ac_config_files programs/Makeprog.rules"
16116 wine_fn_config_dll acledit enable_acledit
16117 wine_fn_config_dll aclui enable_aclui implib
16118 wine_fn_config_dll activeds enable_activeds implib
16119 wine_fn_config_dll actxprxy enable_actxprxy clean
16120 wine_fn_config_lib adsiid
16121 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16122 wine_fn_config_test dlls/advapi32/tests advapi32_test
16123 wine_fn_config_dll advpack enable_advpack implib
16124 wine_fn_config_test dlls/advpack/tests advpack_test
16125 wine_fn_config_dll amstream enable_amstream clean
16126 wine_fn_config_test dlls/amstream/tests amstream_test
16127 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16128 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16129 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16130 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16131 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16132 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16133 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16134 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16135 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16136 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16137 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16138 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16139 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16140 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16141 wine_fn_config_dll apphelp enable_apphelp
16142 wine_fn_config_test dlls/apphelp/tests apphelp_test
16143 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16144 wine_fn_config_dll atl enable_atl clean,implib
16145 wine_fn_config_test dlls/atl/tests atl_test
16146 wine_fn_config_dll atl100 enable_atl100 implib
16147 wine_fn_config_test dlls/atl100/tests atl100_test
16148 wine_fn_config_dll atl110 enable_atl110
16149 wine_fn_config_dll atl80 enable_atl80 implib
16150 wine_fn_config_test dlls/atl80/tests atl80_test
16151 wine_fn_config_dll authz enable_authz
16152 wine_fn_config_dll avicap32 enable_avicap32 implib
16153 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16154 wine_fn_config_test dlls/avifil32/tests avifil32_test
16155 wine_fn_config_dll avifile.dll16 enable_win16
16156 wine_fn_config_dll avrt enable_avrt implib
16157 wine_fn_config_dll bcrypt enable_bcrypt
16158 wine_fn_config_dll browseui enable_browseui clean,po
16159 wine_fn_config_test dlls/browseui/tests browseui_test
16160 wine_fn_config_dll cabinet enable_cabinet implib
16161 wine_fn_config_test dlls/cabinet/tests cabinet_test
16162 wine_fn_config_dll capi2032 enable_capi2032 implib
16163 wine_fn_config_dll cards enable_cards implib
16164 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16165 wine_fn_config_dll clusapi enable_clusapi implib
16166 wine_fn_config_dll comcat enable_comcat
16167 wine_fn_config_test dlls/comcat/tests comcat_test
16168 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16169 wine_fn_config_test dlls/comctl32/tests comctl32_test
16170 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16171 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16172 wine_fn_config_dll comm.drv16 enable_win16
16173 wine_fn_config_dll commdlg.dll16 enable_win16
16174 wine_fn_config_dll compobj.dll16 enable_win16
16175 wine_fn_config_dll compstui enable_compstui implib
16176 wine_fn_config_dll comsvcs enable_comsvcs implib
16177 wine_fn_config_dll credui enable_credui implib,po
16178 wine_fn_config_test dlls/credui/tests credui_test
16179 wine_fn_config_dll crtdll enable_crtdll implib
16180 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16181 wine_fn_config_test dlls/crypt32/tests crypt32_test
16182 wine_fn_config_dll cryptdlg enable_cryptdlg po
16183 wine_fn_config_dll cryptdll enable_cryptdll implib
16184 wine_fn_config_dll cryptnet enable_cryptnet implib
16185 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16186 wine_fn_config_dll cryptui enable_cryptui implib,po
16187 wine_fn_config_test dlls/cryptui/tests cryptui_test
16188 wine_fn_config_dll ctapi32 enable_ctapi32
16189 wine_fn_config_dll ctl3d.dll16 enable_win16
16190 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16191 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16192 wine_fn_config_dll d3d10 enable_d3d10 implib
16193 wine_fn_config_test dlls/d3d10/tests d3d10_test
16194 wine_fn_config_dll d3d10core enable_d3d10core implib
16195 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16196 wine_fn_config_dll d3d11 enable_d3d11
16197 wine_fn_config_dll d3d8 enable_d3d8 implib
16198 wine_fn_config_test dlls/d3d8/tests d3d8_test
16199 wine_fn_config_dll d3d9 enable_d3d9 implib
16200 wine_fn_config_test dlls/d3d9/tests d3d9_test
16201 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16202 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16203 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16204 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16205 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16206 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16207 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16208 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16209 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16210 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16211 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16212 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16213 wine_fn_config_dll d3dim enable_d3dim implib
16214 wine_fn_config_dll d3drm enable_d3drm implib
16215 wine_fn_config_test dlls/d3drm/tests d3drm_test
16216 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16217 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16218 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16219 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16220 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16221 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16222 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16223 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16224 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16225 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16226 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16227 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16228 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16229 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16230 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16231 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16232 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16233 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16234 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16235 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16236 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16237 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16238 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16239 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16240 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16241 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16242 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16243 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16244 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16245 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16246 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16247 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16248 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16249 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16250 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16251 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16252 wine_fn_config_dll dbgeng enable_dbgeng implib
16253 wine_fn_config_dll dbghelp enable_dbghelp implib
16254 wine_fn_config_dll dciman32 enable_dciman32 implib
16255 wine_fn_config_dll ddeml.dll16 enable_win16
16256 wine_fn_config_dll ddraw enable_ddraw clean,implib
16257 wine_fn_config_test dlls/ddraw/tests ddraw_test
16258 wine_fn_config_dll ddrawex enable_ddrawex clean
16259 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16260 wine_fn_config_dll devenum enable_devenum clean,po
16261 wine_fn_config_test dlls/devenum/tests devenum_test
16262 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16263 wine_fn_config_dll difxapi enable_difxapi
16264 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16265 wine_fn_config_test dlls/dinput/tests dinput_test
16266 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16267 wine_fn_config_test dlls/dinput8/tests dinput8_test
16268 wine_fn_config_dll dispdib.dll16 enable_win16
16269 wine_fn_config_dll dispex enable_dispex clean
16270 wine_fn_config_test dlls/dispex/tests dispex_test
16271 wine_fn_config_dll display.drv16 enable_win16
16272 wine_fn_config_dll dmband enable_dmband clean
16273 wine_fn_config_test dlls/dmband/tests dmband_test
16274 wine_fn_config_dll dmcompos enable_dmcompos clean
16275 wine_fn_config_dll dmime enable_dmime clean
16276 wine_fn_config_test dlls/dmime/tests dmime_test
16277 wine_fn_config_dll dmloader enable_dmloader clean
16278 wine_fn_config_test dlls/dmloader/tests dmloader_test
16279 wine_fn_config_dll dmscript enable_dmscript clean
16280 wine_fn_config_dll dmstyle enable_dmstyle clean
16281 wine_fn_config_dll dmsynth enable_dmsynth clean
16282 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16283 wine_fn_config_dll dmusic enable_dmusic clean
16284 wine_fn_config_test dlls/dmusic/tests dmusic_test
16285 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16286 wine_fn_config_dll dnsapi enable_dnsapi implib
16287 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16288 wine_fn_config_dll dplay enable_dplay implib
16289 wine_fn_config_dll dplayx enable_dplayx clean,implib
16290 wine_fn_config_test dlls/dplayx/tests dplayx_test
16291 wine_fn_config_dll dpnaddr enable_dpnaddr
16292 wine_fn_config_dll dpnet enable_dpnet clean,implib
16293 wine_fn_config_test dlls/dpnet/tests dpnet_test
16294 wine_fn_config_dll dpnhpast enable_dpnhpast
16295 wine_fn_config_dll dpnlobby enable_dpnlobby
16296 wine_fn_config_dll dpwsockx enable_dpwsockx
16297 wine_fn_config_dll drmclien enable_drmclien
16298 wine_fn_config_dll dsound enable_dsound clean,implib
16299 wine_fn_config_test dlls/dsound/tests dsound_test
16300 wine_fn_config_dll dssenh enable_dssenh
16301 wine_fn_config_test dlls/dssenh/tests dssenh_test
16302 wine_fn_config_dll dswave enable_dswave clean
16303 wine_fn_config_dll dwmapi enable_dwmapi implib
16304 wine_fn_config_dll dwrite enable_dwrite implib
16305 wine_fn_config_test dlls/dwrite/tests dwrite_test
16306 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16307 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16308 wine_fn_config_lib dxerr8
16309 wine_fn_config_lib dxerr9
16310 wine_fn_config_dll dxgi enable_dxgi implib
16311 wine_fn_config_test dlls/dxgi/tests dxgi_test
16312 wine_fn_config_lib dxguid
16313 wine_fn_config_dll explorerframe enable_explorerframe clean
16314 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16315 wine_fn_config_dll faultrep enable_faultrep implib
16316 wine_fn_config_test dlls/faultrep/tests faultrep_test
16317 wine_fn_config_dll fltlib enable_fltlib
16318 wine_fn_config_dll fusion enable_fusion
16319 wine_fn_config_test dlls/fusion/tests fusion_test
16320 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16321 wine_fn_config_dll gameux enable_gameux clean
16322 wine_fn_config_test dlls/gameux/tests gameux_test
16323 wine_fn_config_dll gdi.exe16 enable_win16
16324 wine_fn_config_dll gdi32 enable_gdi32 implib,po
16325 wine_fn_config_test dlls/gdi32/tests gdi32_test
16326 wine_fn_config_dll gdiplus enable_gdiplus implib
16327 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16328 wine_fn_config_dll glu32 enable_glu32 implib
16329 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16330 wine_fn_config_dll gpkcsp enable_gpkcsp
16331 wine_fn_config_dll hal enable_hal
16332 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16333 wine_fn_config_dll hid enable_hid implib
16334 wine_fn_config_dll hlink enable_hlink clean,implib
16335 wine_fn_config_test dlls/hlink/tests hlink_test
16336 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16337 wine_fn_config_dll httpapi enable_httpapi
16338 wine_fn_config_dll iccvid enable_iccvid po
16339 wine_fn_config_dll icmp enable_icmp
16340 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16341 wine_fn_config_test dlls/ieframe/tests ieframe_test
16342 wine_fn_config_dll ifsmgr.vxd enable_win16
16343 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16344 wine_fn_config_dll imagehlp enable_imagehlp implib
16345 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16346 wine_fn_config_dll imm.dll16 enable_win16
16347 wine_fn_config_dll imm32 enable_imm32 implib
16348 wine_fn_config_test dlls/imm32/tests imm32_test
16349 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16350 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16351 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16352 wine_fn_config_dll inetmib1 enable_inetmib1
16353 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16354 wine_fn_config_dll infosoft enable_infosoft clean
16355 wine_fn_config_test dlls/infosoft/tests infosoft_test
16356 wine_fn_config_dll initpki enable_initpki
16357 wine_fn_config_dll inkobj enable_inkobj
16358 wine_fn_config_dll inseng enable_inseng clean
16359 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16360 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16361 wine_fn_config_dll itircl enable_itircl
16362 wine_fn_config_dll itss enable_itss clean
16363 wine_fn_config_test dlls/itss/tests itss_test
16364 wine_fn_config_dll joy.cpl enable_joy_cpl po
16365 wine_fn_config_dll jscript enable_jscript clean,po
16366 wine_fn_config_test dlls/jscript/tests jscript_test
16367 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
16368 wine_fn_config_test dlls/kernel32/tests kernel32_test
16369 wine_fn_config_dll keyboard.drv16 enable_win16
16370 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16371 wine_fn_config_dll ktmw32 enable_ktmw32
16372 wine_fn_config_dll loadperf enable_loadperf implib
16373 wine_fn_config_dll localspl enable_localspl po
16374 wine_fn_config_test dlls/localspl/tests localspl_test
16375 wine_fn_config_dll localui enable_localui po
16376 wine_fn_config_test dlls/localui/tests localui_test
16377 wine_fn_config_dll lz32 enable_lz32 implib
16378 wine_fn_config_test dlls/lz32/tests lz32_test
16379 wine_fn_config_dll lzexpand.dll16 enable_win16
16380 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16381 wine_fn_config_test dlls/mapi32/tests mapi32_test
16382 wine_fn_config_dll mapistub enable_mapistub
16383 wine_fn_config_dll mciavi32 enable_mciavi32
16384 wine_fn_config_dll mcicda enable_mcicda
16385 wine_fn_config_dll mciqtz32 enable_mciqtz32
16386 wine_fn_config_dll mciseq enable_mciseq
16387 wine_fn_config_dll mciwave enable_mciwave
16388 wine_fn_config_dll mgmtapi enable_mgmtapi
16389 wine_fn_config_dll midimap enable_midimap
16390 wine_fn_config_dll mlang enable_mlang clean,implib
16391 wine_fn_config_test dlls/mlang/tests mlang_test
16392 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16393 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16394 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16395 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16396 wine_fn_config_dll mmdevldr.vxd enable_win16
16397 wine_fn_config_dll mmsystem.dll16 enable_win16
16398 wine_fn_config_dll monodebg.vxd enable_win16
16399 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16400 wine_fn_config_dll mouse.drv16 enable_win16
16401 wine_fn_config_dll mpr enable_mpr implib,po
16402 wine_fn_config_test dlls/mpr/tests mpr_test
16403 wine_fn_config_dll mprapi enable_mprapi implib
16404 wine_fn_config_dll msacm.dll16 enable_win16
16405 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16406 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16407 wine_fn_config_test dlls/msacm32/tests msacm32_test
16408 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16409 wine_fn_config_dll mscat32 enable_mscat32
16410 wine_fn_config_dll mscms enable_mscms implib
16411 wine_fn_config_test dlls/mscms/tests mscms_test
16412 wine_fn_config_dll mscoree enable_mscoree clean
16413 wine_fn_config_test dlls/mscoree/tests mscoree_test
16414 wine_fn_config_dll msctf enable_msctf clean
16415 wine_fn_config_test dlls/msctf/tests msctf_test
16416 wine_fn_config_dll msdaps enable_msdaps clean
16417 wine_fn_config_dll msdmo enable_msdmo implib
16418 wine_fn_config_dll msftedit enable_msftedit
16419 wine_fn_config_dll msg711.acm enable_msg711_acm
16420 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16421 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16422 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16423 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16424 wine_fn_config_dll msi enable_msi clean,implib,po
16425 wine_fn_config_test dlls/msi/tests msi_test
16426 wine_fn_config_dll msident enable_msident clean
16427 wine_fn_config_dll msimg32 enable_msimg32 implib
16428 wine_fn_config_dll msimsg enable_msimsg
16429 wine_fn_config_dll msimtf enable_msimtf clean
16430 wine_fn_config_dll msisip enable_msisip
16431 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16432 wine_fn_config_dll msls31 enable_msls31
16433 wine_fn_config_dll msnet32 enable_msnet32
16434 wine_fn_config_dll mspatcha enable_mspatcha
16435 wine_fn_config_dll msrle32 enable_msrle32 po
16436 wine_fn_config_dll mssign32 enable_mssign32
16437 wine_fn_config_dll mssip32 enable_mssip32
16438 wine_fn_config_dll mstask enable_mstask clean
16439 wine_fn_config_test dlls/mstask/tests mstask_test
16440 wine_fn_config_dll msvcirt enable_msvcirt
16441 wine_fn_config_dll msvcm80 enable_msvcm80
16442 wine_fn_config_dll msvcm90 enable_msvcm90
16443 wine_fn_config_dll msvcp100 enable_msvcp100
16444 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16445 wine_fn_config_dll msvcp110 enable_msvcp110
16446 wine_fn_config_dll msvcp60 enable_msvcp60
16447 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16448 wine_fn_config_dll msvcp70 enable_msvcp70
16449 wine_fn_config_dll msvcp71 enable_msvcp71
16450 wine_fn_config_dll msvcp80 enable_msvcp80
16451 wine_fn_config_dll msvcp90 enable_msvcp90
16452 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16453 wine_fn_config_dll msvcr100 enable_msvcr100
16454 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16455 wine_fn_config_dll msvcr110 enable_msvcr110
16456 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16457 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16458 wine_fn_config_dll msvcr80 enable_msvcr80
16459 wine_fn_config_dll msvcr90 enable_msvcr90
16460 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16461 wine_fn_config_dll msvcrt enable_msvcrt implib
16462 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16463 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16464 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16465 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16466 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16467 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16468 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16469 wine_fn_config_dll msvidc32 enable_msvidc32 po
16470 wine_fn_config_dll msvideo.dll16 enable_win16
16471 wine_fn_config_dll mswsock enable_mswsock implib
16472 wine_fn_config_dll msxml enable_msxml clean
16473 wine_fn_config_dll msxml2 enable_msxml2 clean
16474 wine_fn_config_dll msxml3 enable_msxml3 clean
16475 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
16476 wine_fn_config_dll msxml4 enable_msxml4 clean
16477 wine_fn_config_dll msxml6 enable_msxml6 clean
16478 wine_fn_config_dll nddeapi enable_nddeapi implib
16479 wine_fn_config_dll netapi32 enable_netapi32 implib
16480 wine_fn_config_test dlls/netapi32/tests netapi32_test
16481 wine_fn_config_dll netcfgx enable_netcfgx
16482 wine_fn_config_dll newdev enable_newdev implib
16483 wine_fn_config_dll normaliz enable_normaliz implib
16484 wine_fn_config_dll npmshtml enable_npmshtml
16485 wine_fn_config_dll ntdll enable_ntdll implib
16486 wine_fn_config_test dlls/ntdll/tests ntdll_test
16487 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16488 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
16489 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16490 wine_fn_config_dll ntprint enable_ntprint
16491 wine_fn_config_test dlls/ntprint/tests ntprint_test
16492 wine_fn_config_dll objsel enable_objsel clean
16493 wine_fn_config_dll odbc32 enable_odbc32 implib
16494 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16495 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
16496 wine_fn_config_dll odbccu32 enable_odbccu32
16497 wine_fn_config_dll ole2.dll16 enable_win16
16498 wine_fn_config_dll ole2conv.dll16 enable_win16
16499 wine_fn_config_dll ole2disp.dll16 enable_win16
16500 wine_fn_config_dll ole2nls.dll16 enable_win16
16501 wine_fn_config_dll ole2prox.dll16 enable_win16
16502 wine_fn_config_dll ole2thk.dll16 enable_win16
16503 wine_fn_config_dll ole32 enable_ole32 clean,implib
16504 wine_fn_config_test dlls/ole32/tests ole32_test
16505 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
16506 wine_fn_config_test dlls/oleacc/tests oleacc_test
16507 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
16508 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
16509 wine_fn_config_dll olecli.dll16 enable_win16
16510 wine_fn_config_dll olecli32 enable_olecli32 implib
16511 wine_fn_config_dll oledb32 enable_oledb32 clean
16512 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
16513 wine_fn_config_dll oledlg enable_oledlg implib,po
16514 wine_fn_config_dll olepro32 enable_olepro32 implib
16515 wine_fn_config_dll olesvr.dll16 enable_win16
16516 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16517 wine_fn_config_dll olethk32 enable_olethk32
16518 wine_fn_config_dll openal32 enable_openal32
16519 wine_fn_config_dll opencl enable_opencl
16520 wine_fn_config_dll opengl32 enable_opengl32 implib
16521 wine_fn_config_test dlls/opengl32/tests opengl32_test
16522 wine_fn_config_dll pdh enable_pdh implib
16523 wine_fn_config_test dlls/pdh/tests pdh_test
16524 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16525 wine_fn_config_dll pidgen enable_pidgen
16526 wine_fn_config_dll powrprof enable_powrprof implib
16527 wine_fn_config_dll printui enable_printui
16528 wine_fn_config_dll propsys enable_propsys clean,implib
16529 wine_fn_config_test dlls/propsys/tests propsys_test
16530 wine_fn_config_dll psapi enable_psapi implib
16531 wine_fn_config_test dlls/psapi/tests psapi_test
16532 wine_fn_config_dll pstorec enable_pstorec clean
16533 wine_fn_config_dll qcap enable_qcap
16534 wine_fn_config_test dlls/qcap/tests qcap_test
16535 wine_fn_config_dll qedit enable_qedit clean
16536 wine_fn_config_test dlls/qedit/tests qedit_test
16537 wine_fn_config_dll qmgr enable_qmgr clean
16538 wine_fn_config_test dlls/qmgr/tests qmgr_test
16539 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
16540 wine_fn_config_dll quartz enable_quartz clean,implib
16541 wine_fn_config_test dlls/quartz/tests quartz_test clean
16542 wine_fn_config_dll query enable_query
16543 wine_fn_config_dll rasapi16.dll16 enable_win16
16544 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16545 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
16546 wine_fn_config_dll rasdlg enable_rasdlg implib
16547 wine_fn_config_dll regapi enable_regapi
16548 wine_fn_config_dll resutils enable_resutils implib
16549 wine_fn_config_dll riched20 enable_riched20 implib
16550 wine_fn_config_test dlls/riched20/tests riched20_test
16551 wine_fn_config_dll riched32 enable_riched32
16552 wine_fn_config_test dlls/riched32/tests riched32_test
16553 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
16554 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
16555 wine_fn_config_dll rsabase enable_rsabase
16556 wine_fn_config_dll rsaenh enable_rsaenh implib
16557 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
16558 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16559 wine_fn_config_dll rtutils enable_rtutils implib
16560 wine_fn_config_dll samlib enable_samlib
16561 wine_fn_config_dll sane.ds enable_sane_ds po
16562 wine_fn_config_dll scarddlg enable_scarddlg
16563 wine_fn_config_dll sccbase enable_sccbase
16564 wine_fn_config_dll schannel enable_schannel
16565 wine_fn_config_test dlls/schannel/tests schannel_test
16566 wine_fn_config_dll scrrun enable_scrrun clean
16567 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
16568 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16569 wine_fn_config_dll secur32 enable_secur32 implib
16570 wine_fn_config_test dlls/secur32/tests secur32_test
16571 wine_fn_config_dll security enable_security
16572 wine_fn_config_dll sensapi enable_sensapi implib
16573 wine_fn_config_dll serialui enable_serialui implib,po
16574 wine_fn_config_test dlls/serialui/tests serialui_test
16575 wine_fn_config_dll setupapi enable_setupapi implib,po
16576 wine_fn_config_test dlls/setupapi/tests setupapi_test
16577 wine_fn_config_dll setupx.dll16 enable_win16
16578 wine_fn_config_dll sfc enable_sfc implib
16579 wine_fn_config_dll sfc_os enable_sfc_os implib
16580 wine_fn_config_dll shdoclc enable_shdoclc po
16581 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
16582 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
16583 wine_fn_config_dll shell.dll16 enable_win16
16584 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
16585 wine_fn_config_test dlls/shell32/tests shell32_test
16586 wine_fn_config_dll shfolder enable_shfolder implib
16587 wine_fn_config_dll shlwapi enable_shlwapi implib,po
16588 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
16589 wine_fn_config_dll slbcsp enable_slbcsp
16590 wine_fn_config_dll slc enable_slc implib
16591 wine_fn_config_dll snmpapi enable_snmpapi implib
16592 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
16593 wine_fn_config_dll softpub enable_softpub
16594 wine_fn_config_dll sound.drv16 enable_win16
16595 wine_fn_config_dll spoolss enable_spoolss implib
16596 wine_fn_config_test dlls/spoolss/tests spoolss_test
16597 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
16598 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
16599 wine_fn_config_dll sti enable_sti clean,implib
16600 wine_fn_config_test dlls/sti/tests sti_test
16601 wine_fn_config_dll storage.dll16 enable_win16
16602 wine_fn_config_dll stress.dll16 enable_win16
16603 wine_fn_config_lib strmbase
16604 wine_fn_config_lib strmiids
16605 wine_fn_config_dll svrapi enable_svrapi
16606 wine_fn_config_dll sxs enable_sxs implib
16607 wine_fn_config_test dlls/sxs/tests sxs_test
16608 wine_fn_config_dll system.drv16 enable_win16
16609 wine_fn_config_dll t2embed enable_t2embed
16610 wine_fn_config_dll tapi32 enable_tapi32 implib
16611 wine_fn_config_dll toolhelp.dll16 enable_win16
16612 wine_fn_config_dll traffic enable_traffic
16613 wine_fn_config_dll twain.dll16 enable_win16
16614 wine_fn_config_dll twain_32 enable_twain_32
16615 wine_fn_config_test dlls/twain_32/tests twain_32_test
16616 wine_fn_config_dll typelib.dll16 enable_win16
16617 wine_fn_config_dll unicows enable_unicows implib
16618 wine_fn_config_dll updspapi enable_updspapi
16619 wine_fn_config_dll url enable_url implib
16620 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
16621 wine_fn_config_test dlls/urlmon/tests urlmon_test
16622 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16623 wine_fn_config_dll user.exe16 enable_win16
16624 wine_fn_config_dll user32 enable_user32 implib,po
16625 wine_fn_config_test dlls/user32/tests user32_test
16626 wine_fn_config_dll userenv enable_userenv implib
16627 wine_fn_config_test dlls/userenv/tests userenv_test
16628 wine_fn_config_dll usp10 enable_usp10 implib
16629 wine_fn_config_test dlls/usp10/tests usp10_test
16630 wine_fn_config_lib uuid
16631 wine_fn_config_dll uxtheme enable_uxtheme implib
16632 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
16633 wine_fn_config_dll vbscript enable_vbscript clean
16634 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
16635 wine_fn_config_dll vcomp enable_vcomp
16636 wine_fn_config_dll vcomp100 enable_vcomp100
16637 wine_fn_config_dll vcomp90 enable_vcomp90
16638 wine_fn_config_dll vdhcp.vxd enable_win16
16639 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16640 wine_fn_config_dll ver.dll16 enable_win16
16641 wine_fn_config_dll version enable_version implib
16642 wine_fn_config_test dlls/version/tests version_test
16643 wine_fn_config_dll vmm.vxd enable_win16
16644 wine_fn_config_dll vnbt.vxd enable_win16
16645 wine_fn_config_dll vnetbios.vxd enable_win16
16646 wine_fn_config_dll vtdapi.vxd enable_win16
16647 wine_fn_config_dll vwin32.vxd enable_win16
16648 wine_fn_config_dll w32skrnl enable_win16
16649 wine_fn_config_dll w32sys.dll16 enable_win16
16650 wine_fn_config_dll wbemdisp enable_wbemdisp clean
16651 wine_fn_config_dll wbemprox enable_wbemprox clean
16652 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
16653 wine_fn_config_dll webservices enable_webservices implib
16654 wine_fn_config_dll wer enable_wer implib
16655 wine_fn_config_test dlls/wer/tests wer_test
16656 wine_fn_config_dll wevtapi enable_wevtapi
16657 wine_fn_config_dll wiaservc enable_wiaservc clean
16658 wine_fn_config_dll win32s16.dll16 enable_win16
16659 wine_fn_config_dll win87em.dll16 enable_win16
16660 wine_fn_config_dll winaspi.dll16 enable_win16
16661 wine_fn_config_dll windebug.dll16 enable_win16
16662 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
16663 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
16664 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16665 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
16666 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16667 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16668 wine_fn_config_lib winecrt0
16669 wine_fn_config_dll wined3d enable_wined3d implib
16670 wine_fn_config_dll winegstreamer enable_winegstreamer
16671 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16672 wine_fn_config_dll winemac.drv enable_winemac_drv
16673 wine_fn_config_dll winemapi enable_winemapi
16674 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16675 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16676 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
16677 wine_fn_config_dll wineps16.drv16 enable_win16
16678 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16679 wine_fn_config_dll winex11.drv enable_winex11_drv
16680 wine_fn_config_dll wing.dll16 enable_win16
16681 wine_fn_config_dll wing32 enable_wing32
16682 wine_fn_config_dll winhttp enable_winhttp clean,implib
16683 wine_fn_config_test dlls/winhttp/tests winhttp_test
16684 wine_fn_config_dll wininet enable_wininet implib,po
16685 wine_fn_config_test dlls/wininet/tests wininet_test
16686 wine_fn_config_dll winmm enable_winmm implib,po
16687 wine_fn_config_test dlls/winmm/tests winmm_test
16688 wine_fn_config_dll winnls.dll16 enable_win16
16689 wine_fn_config_dll winnls32 enable_winnls32 implib
16690 wine_fn_config_dll winscard enable_winscard implib
16691 wine_fn_config_dll winsock.dll16 enable_win16
16692 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
16693 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
16694 wine_fn_config_dll winsta enable_winsta
16695 wine_fn_config_dll wintab.dll16 enable_win16
16696 wine_fn_config_dll wintab32 enable_wintab32 implib
16697 wine_fn_config_test dlls/wintab32/tests wintab32_test
16698 wine_fn_config_dll wintrust enable_wintrust implib
16699 wine_fn_config_test dlls/wintrust/tests wintrust_test
16700 wine_fn_config_dll wlanapi enable_wlanapi
16701 wine_fn_config_dll wldap32 enable_wldap32 implib,po
16702 wine_fn_config_test dlls/wldap32/tests wldap32_test
16703 wine_fn_config_dll wmi enable_wmi
16704 wine_fn_config_dll wmiutils enable_wmiutils clean
16705 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
16706 wine_fn_config_dll wmvcore enable_wmvcore
16707 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16708 wine_fn_config_dll wow32 enable_win16 implib
16709 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16710 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
16711 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
16712 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
16713 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
16714 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
16715 wine_fn_config_dll wsock32 enable_wsock32 implib
16716 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16717 wine_fn_config_dll wuapi enable_wuapi clean
16718 wine_fn_config_dll wuaueng enable_wuaueng
16719 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16720 wine_fn_config_dll xinput1_1 enable_xinput1_1
16721 wine_fn_config_dll xinput1_2 enable_xinput1_2
16722 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16723 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
16724 wine_fn_config_dll xinput1_4 enable_xinput1_4
16725 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16726 wine_fn_config_dll xmllite enable_xmllite
16727 wine_fn_config_test dlls/xmllite/tests xmllite_test
16728 wine_fn_config_dll xolehlp enable_xolehlp
16729 wine_fn_config_dll xpsprint enable_xpsprint
16730 wine_fn_config_dll xpssvcs enable_xpssvcs
16731 wine_fn_config_makefile documentation enable_documentation clean
16732 wine_fn_config_makefile fonts enable_fonts clean,install-lib
16733 wine_fn_config_makefile include enable_include clean,install-dev
16734 wine_fn_config_makefile libs/port enable_libs_port
16735 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
16736 wine_fn_config_makefile libs/wpp enable_libs_wpp
16737 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
16738 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
16739 wine_fn_config_program attrib enable_attrib install,po
16740 wine_fn_config_program cabarc enable_cabarc install
16741 wine_fn_config_program cacls enable_cacls install
16742 wine_fn_config_program clock enable_clock install,po
16743 wine_fn_config_program cmd enable_cmd install,po
16744 wine_fn_config_test programs/cmd/tests cmd.exe_test
16745 wine_fn_config_program conhost enable_conhost install
16746 wine_fn_config_program control enable_control install
16747 wine_fn_config_program cscript enable_cscript install
16748 wine_fn_config_program dxdiag enable_dxdiag install,po
16749 wine_fn_config_program eject enable_eject install
16750 wine_fn_config_program expand enable_expand install
16751 wine_fn_config_program explorer enable_explorer install,po
16752 wine_fn_config_program extrac32 enable_extrac32 install
16753 wine_fn_config_program findstr enable_findstr install
16754 wine_fn_config_program hh enable_hh install
16755 wine_fn_config_program hostname enable_hostname install,po
16756 wine_fn_config_program icinfo enable_icinfo install
16757 wine_fn_config_program iexplore enable_iexplore install
16758 wine_fn_config_program ipconfig enable_ipconfig install,po
16759 wine_fn_config_program lodctr enable_lodctr install
16760 wine_fn_config_program mofcomp enable_mofcomp install
16761 wine_fn_config_program mshta enable_mshta install
16762 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
16763 wine_fn_config_program net enable_net install,po
16764 wine_fn_config_program netsh enable_netsh install
16765 wine_fn_config_program netstat enable_netstat install,po
16766 wine_fn_config_program ngen enable_ngen install
16767 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
16768 wine_fn_config_program oleview enable_oleview install,po
16769 wine_fn_config_program ping enable_ping install
16770 wine_fn_config_program plugplay enable_plugplay install
16771 wine_fn_config_program presentationfontcache enable_presentationfontcache install
16772 wine_fn_config_program progman enable_progman install,po
16773 wine_fn_config_program reg enable_reg install,po
16774 wine_fn_config_program regasm enable_regasm install
16775 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
16776 wine_fn_config_test programs/regedit/tests regedit.exe_test
16777 wine_fn_config_program regsvcs enable_regsvcs install
16778 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
16779 wine_fn_config_program rpcss enable_rpcss clean,install
16780 wine_fn_config_program rundll.exe16 enable_win16 install
16781 wine_fn_config_program rundll32 enable_rundll32 install
16782 wine_fn_config_program sc enable_sc install
16783 wine_fn_config_program schtasks enable_schtasks install
16784 wine_fn_config_program secedit enable_secedit install
16785 wine_fn_config_program servicemodelreg enable_servicemodelreg install
16786 wine_fn_config_program services enable_services clean,install
16787 wine_fn_config_test programs/services/tests services.exe_test
16788 wine_fn_config_program spoolsv enable_spoolsv install
16789 wine_fn_config_program start enable_start install,po
16790 wine_fn_config_program svchost enable_svchost install
16791 wine_fn_config_program taskkill enable_taskkill install,po
16792 wine_fn_config_program tasklist enable_tasklist install
16793 wine_fn_config_program taskmgr enable_taskmgr install,po
16794 wine_fn_config_program termsv enable_termsv install
16795 wine_fn_config_program uninstaller enable_uninstaller install,po
16796 wine_fn_config_program unlodctr enable_unlodctr install
16797 wine_fn_config_program view enable_view install,po
16798 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
16799 wine_fn_config_program winebrowser enable_winebrowser install
16800 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
16801 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
16802 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
16803 wine_fn_config_program winedevice enable_winedevice install
16804 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
16805 wine_fn_config_program winemenubuilder enable_winemenubuilder install
16806 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
16807 wine_fn_config_program winemsibuilder enable_winemsibuilder install
16808 wine_fn_config_program winepath enable_winepath install,installbin,manpage
16809 wine_fn_config_program winetest enable_winetest clean
16810 wine_fn_config_program winevdm enable_win16 install
16811 wine_fn_config_program winhelp.exe16 enable_win16 install
16812 wine_fn_config_program winhlp32 enable_winhlp32 install,po
16813 wine_fn_config_program winoldap.mod16 enable_win16 install
16814 wine_fn_config_program winver enable_winver install
16815 wine_fn_config_program wmic enable_wmic install,po
16816 wine_fn_config_program wordpad enable_wordpad install,po
16817 wine_fn_config_program write enable_write install,po
16818 wine_fn_config_program wscript enable_wscript clean,install
16819 wine_fn_config_test programs/wscript/tests wscript.exe_test
16820 wine_fn_config_program wusa enable_wusa install
16821 wine_fn_config_program xcopy enable_xcopy install,po
16822 wine_fn_config_makefile server enable_server clean,install-lib,manpage
16823 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
16824 wine_fn_config_tool tools/widl clean,install-dev,manpage
16825 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
16826 wine_fn_config_tool tools/winedump clean,install-dev,manpage
16827 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
16828 wine_fn_config_tool tools/wmc clean,install-dev,manpage
16829 wine_fn_config_tool tools/wrc clean,install-dev,manpage
16831 LINGUAS="\
16832 ar \
16833 bg \
16834 ca \
16835 cs \
16836 da \
16837 de \
16838 el \
16839 en \
16840 en_US \
16841 eo \
16842 es \
16843 fa \
16844 fi \
16845 fr \
16846 he \
16847 hi \
16848 hr \
16849 hu \
16850 it \
16851 ja \
16852 ko \
16853 lt \
16854 ml \
16855 nb_NO \
16856 nl \
16857 or \
16858 pa \
16859 pl \
16860 pt_BR \
16861 pt_PT \
16862 rm \
16863 ro \
16864 ru \
16865 sk \
16866 sl \
16867 sr_RS@cyrillic \
16868 sr_RS@latin \
16869 sv \
16870 te \
16871 th \
16872 tr \
16873 uk \
16874 wa \
16875 zh_CN \
16876 zh_TW"
16880 ac_config_commands="$ac_config_commands Makefile"
16883 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16887 if test "x$enable_maintainer_mode" = xyes
16888 then
16889 wine_fn_append_rule "\$(srcdir)/configure: configure.ac aclocal.m4
16890 cd \$(srcdir) && autoconf --warnings=all
16891 \$(srcdir)/include/config.h.in: include/stamp-h.in
16892 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16893 cd \$(srcdir) && autoheader --warnings=all
16894 @echo timestamp > \$@"
16897 if test "x$with_gettextpo" = xyes
16898 then
16899 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16900 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
16901 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16902 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16903 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16904 msgcat -o \$@ \$(ALL_POT_FILES)"
16907 if test "$MSGFMT" != false
16908 then
16909 PORCFLAGS="--po-dir=\$(top_builddir)/po"
16911 wine_fn_append_rule "__builddeps__: \$(ALL_MO_FILES)"
16912 else
16913 LINGUAS=
16916 if test "x$enable_tools" != xno
16917 then
16918 wine_fn_append_rule "\$(MAKEDEP): tools/Makefile
16919 clean:: __clean__
16920 \$(RM) tools/makedep\$(EXEEXT)"
16923 if test -n "$with_wine64"
16924 then
16925 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16926 fonts server tools:
16927 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16928 $with_wine64/loader/wine:
16929 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16930 $with_wine64/loader/wine-preloader:
16931 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16932 clean::
16933 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16936 $as_echo " done" >&6
16937 cat >confcache <<\_ACEOF
16938 # This file is a shell script that caches the results of configure
16939 # tests run on this system so they can be shared between configure
16940 # scripts and configure runs, see configure's option --config-cache.
16941 # It is not useful on other systems. If it contains results you don't
16942 # want to keep, you may remove or edit it.
16944 # config.status only pays attention to the cache file if you give it
16945 # the --recheck option to rerun configure.
16947 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16948 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16949 # following values.
16951 _ACEOF
16953 # The following way of writing the cache mishandles newlines in values,
16954 # but we know of no workaround that is simple, portable, and efficient.
16955 # So, we kill variables containing newlines.
16956 # Ultrix sh set writes to stderr and can't be redirected directly,
16957 # and sets the high bit in the cache file unless we assign to the vars.
16959 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16960 eval ac_val=\$$ac_var
16961 case $ac_val in #(
16962 *${as_nl}*)
16963 case $ac_var in #(
16964 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16965 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16966 esac
16967 case $ac_var in #(
16968 _ | IFS | as_nl) ;; #(
16969 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16970 *) { eval $ac_var=; unset $ac_var;} ;;
16971 esac ;;
16972 esac
16973 done
16975 (set) 2>&1 |
16976 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16977 *${as_nl}ac_space=\ *)
16978 # `set' does not quote correctly, so add quotes: double-quote
16979 # substitution turns \\\\ into \\, and sed turns \\ into \.
16980 sed -n \
16981 "s/'/'\\\\''/g;
16982 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16983 ;; #(
16985 # `set' quotes correctly as required by POSIX, so do not add quotes.
16986 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16988 esac |
16989 sort
16991 sed '
16992 /^ac_cv_env_/b end
16993 t clear
16994 :clear
16995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16996 t end
16997 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16998 :end' >>confcache
16999 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17000 if test -w "$cache_file"; then
17001 if test "x$cache_file" != "x/dev/null"; then
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17003 $as_echo "$as_me: updating cache $cache_file" >&6;}
17004 if test ! -f "$cache_file" || test -h "$cache_file"; then
17005 cat confcache >"$cache_file"
17006 else
17007 case $cache_file in #(
17008 */* | ?:*)
17009 mv -f confcache "$cache_file"$$ &&
17010 mv -f "$cache_file"$$ "$cache_file" ;; #(
17012 mv -f confcache "$cache_file" ;;
17013 esac
17016 else
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17018 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17021 rm -f confcache
17023 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17024 # Let make expand exec_prefix.
17025 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17027 DEFS=-DHAVE_CONFIG_H
17029 ac_libobjs=
17030 ac_ltlibobjs=
17032 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17033 # 1. Remove the extension, and $U if already installed.
17034 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17035 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17036 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17037 # will be set to the directory where LIBOBJS objects are built.
17038 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17039 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17040 done
17041 LIBOBJS=$ac_libobjs
17043 LTLIBOBJS=$ac_ltlibobjs
17047 : "${CONFIG_STATUS=./config.status}"
17048 ac_write_fail=0
17049 ac_clean_files_save=$ac_clean_files
17050 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17052 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17053 as_write_fail=0
17054 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17055 #! $SHELL
17056 # Generated by $as_me.
17057 # Run this file to recreate the current configuration.
17058 # Compiler output produced by configure, useful for debugging
17059 # configure, is in config.log if it exists.
17061 debug=false
17062 ac_cs_recheck=false
17063 ac_cs_silent=false
17065 SHELL=\${CONFIG_SHELL-$SHELL}
17066 export SHELL
17067 _ASEOF
17068 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17069 ## -------------------- ##
17070 ## M4sh Initialization. ##
17071 ## -------------------- ##
17073 # Be more Bourne compatible
17074 DUALCASE=1; export DUALCASE # for MKS sh
17075 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17076 emulate sh
17077 NULLCMD=:
17078 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17079 # is contrary to our usage. Disable this feature.
17080 alias -g '${1+"$@"}'='"$@"'
17081 setopt NO_GLOB_SUBST
17082 else
17083 case `(set -o) 2>/dev/null` in #(
17084 *posix*) :
17085 set -o posix ;; #(
17086 *) :
17088 esac
17092 as_nl='
17094 export as_nl
17095 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17096 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17097 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17098 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17099 # Prefer a ksh shell builtin over an external printf program on Solaris,
17100 # but without wasting forks for bash or zsh.
17101 if test -z "$BASH_VERSION$ZSH_VERSION" \
17102 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17103 as_echo='print -r --'
17104 as_echo_n='print -rn --'
17105 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17106 as_echo='printf %s\n'
17107 as_echo_n='printf %s'
17108 else
17109 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17110 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17111 as_echo_n='/usr/ucb/echo -n'
17112 else
17113 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17114 as_echo_n_body='eval
17115 arg=$1;
17116 case $arg in #(
17117 *"$as_nl"*)
17118 expr "X$arg" : "X\\(.*\\)$as_nl";
17119 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17120 esac;
17121 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17123 export as_echo_n_body
17124 as_echo_n='sh -c $as_echo_n_body as_echo'
17126 export as_echo_body
17127 as_echo='sh -c $as_echo_body as_echo'
17130 # The user is always right.
17131 if test "${PATH_SEPARATOR+set}" != set; then
17132 PATH_SEPARATOR=:
17133 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17134 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17135 PATH_SEPARATOR=';'
17140 # IFS
17141 # We need space, tab and new line, in precisely that order. Quoting is
17142 # there to prevent editors from complaining about space-tab.
17143 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17144 # splitting by setting IFS to empty value.)
17145 IFS=" "" $as_nl"
17147 # Find who we are. Look in the path if we contain no directory separator.
17148 as_myself=
17149 case $0 in #((
17150 *[\\/]* ) as_myself=$0 ;;
17151 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17152 for as_dir in $PATH
17154 IFS=$as_save_IFS
17155 test -z "$as_dir" && as_dir=.
17156 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17157 done
17158 IFS=$as_save_IFS
17161 esac
17162 # We did not find ourselves, most probably we were run as `sh COMMAND'
17163 # in which case we are not to be found in the path.
17164 if test "x$as_myself" = x; then
17165 as_myself=$0
17167 if test ! -f "$as_myself"; then
17168 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17169 exit 1
17172 # Unset variables that we do not need and which cause bugs (e.g. in
17173 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17174 # suppresses any "Segmentation fault" message there. '((' could
17175 # trigger a bug in pdksh 5.2.14.
17176 for as_var in BASH_ENV ENV MAIL MAILPATH
17177 do eval test x\${$as_var+set} = xset \
17178 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17179 done
17180 PS1='$ '
17181 PS2='> '
17182 PS4='+ '
17184 # NLS nuisances.
17185 LC_ALL=C
17186 export LC_ALL
17187 LANGUAGE=C
17188 export LANGUAGE
17190 # CDPATH.
17191 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17194 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17195 # ----------------------------------------
17196 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17197 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17198 # script with STATUS, using 1 if that was 0.
17199 as_fn_error ()
17201 as_status=$1; test $as_status -eq 0 && as_status=1
17202 if test "$4"; then
17203 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17204 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17206 $as_echo "$as_me: error: $2" >&2
17207 as_fn_exit $as_status
17208 } # as_fn_error
17211 # as_fn_set_status STATUS
17212 # -----------------------
17213 # Set $? to STATUS, without forking.
17214 as_fn_set_status ()
17216 return $1
17217 } # as_fn_set_status
17219 # as_fn_exit STATUS
17220 # -----------------
17221 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17222 as_fn_exit ()
17224 set +e
17225 as_fn_set_status $1
17226 exit $1
17227 } # as_fn_exit
17229 # as_fn_unset VAR
17230 # ---------------
17231 # Portably unset VAR.
17232 as_fn_unset ()
17234 { eval $1=; unset $1;}
17236 as_unset=as_fn_unset
17237 # as_fn_append VAR VALUE
17238 # ----------------------
17239 # Append the text in VALUE to the end of the definition contained in VAR. Take
17240 # advantage of any shell optimizations that allow amortized linear growth over
17241 # repeated appends, instead of the typical quadratic growth present in naive
17242 # implementations.
17243 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17244 eval 'as_fn_append ()
17246 eval $1+=\$2
17248 else
17249 as_fn_append ()
17251 eval $1=\$$1\$2
17253 fi # as_fn_append
17255 # as_fn_arith ARG...
17256 # ------------------
17257 # Perform arithmetic evaluation on the ARGs, and store the result in the
17258 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17259 # must be portable across $(()) and expr.
17260 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17261 eval 'as_fn_arith ()
17263 as_val=$(( $* ))
17265 else
17266 as_fn_arith ()
17268 as_val=`expr "$@" || test $? -eq 1`
17270 fi # as_fn_arith
17273 if expr a : '\(a\)' >/dev/null 2>&1 &&
17274 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17275 as_expr=expr
17276 else
17277 as_expr=false
17280 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17281 as_basename=basename
17282 else
17283 as_basename=false
17286 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17287 as_dirname=dirname
17288 else
17289 as_dirname=false
17292 as_me=`$as_basename -- "$0" ||
17293 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17294 X"$0" : 'X\(//\)$' \| \
17295 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17296 $as_echo X/"$0" |
17297 sed '/^.*\/\([^/][^/]*\)\/*$/{
17298 s//\1/
17301 /^X\/\(\/\/\)$/{
17302 s//\1/
17305 /^X\/\(\/\).*/{
17306 s//\1/
17309 s/.*/./; q'`
17311 # Avoid depending upon Character Ranges.
17312 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17313 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17314 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17315 as_cr_digits='0123456789'
17316 as_cr_alnum=$as_cr_Letters$as_cr_digits
17318 ECHO_C= ECHO_N= ECHO_T=
17319 case `echo -n x` in #(((((
17320 -n*)
17321 case `echo 'xy\c'` in
17322 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17323 xy) ECHO_C='\c';;
17324 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17325 ECHO_T=' ';;
17326 esac;;
17328 ECHO_N='-n';;
17329 esac
17331 rm -f conf$$ conf$$.exe conf$$.file
17332 if test -d conf$$.dir; then
17333 rm -f conf$$.dir/conf$$.file
17334 else
17335 rm -f conf$$.dir
17336 mkdir conf$$.dir 2>/dev/null
17338 if (echo >conf$$.file) 2>/dev/null; then
17339 if ln -s conf$$.file conf$$ 2>/dev/null; then
17340 as_ln_s='ln -s'
17341 # ... but there are two gotchas:
17342 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17343 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17344 # In both cases, we have to default to `cp -pR'.
17345 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17346 as_ln_s='cp -pR'
17347 elif ln conf$$.file conf$$ 2>/dev/null; then
17348 as_ln_s=ln
17349 else
17350 as_ln_s='cp -pR'
17352 else
17353 as_ln_s='cp -pR'
17355 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17356 rmdir conf$$.dir 2>/dev/null
17359 # as_fn_mkdir_p
17360 # -------------
17361 # Create "$as_dir" as a directory, including parents if necessary.
17362 as_fn_mkdir_p ()
17365 case $as_dir in #(
17366 -*) as_dir=./$as_dir;;
17367 esac
17368 test -d "$as_dir" || eval $as_mkdir_p || {
17369 as_dirs=
17370 while :; do
17371 case $as_dir in #(
17372 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17373 *) as_qdir=$as_dir;;
17374 esac
17375 as_dirs="'$as_qdir' $as_dirs"
17376 as_dir=`$as_dirname -- "$as_dir" ||
17377 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17378 X"$as_dir" : 'X\(//\)[^/]' \| \
17379 X"$as_dir" : 'X\(//\)$' \| \
17380 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17381 $as_echo X"$as_dir" |
17382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17383 s//\1/
17386 /^X\(\/\/\)[^/].*/{
17387 s//\1/
17390 /^X\(\/\/\)$/{
17391 s//\1/
17394 /^X\(\/\).*/{
17395 s//\1/
17398 s/.*/./; q'`
17399 test -d "$as_dir" && break
17400 done
17401 test -z "$as_dirs" || eval "mkdir $as_dirs"
17402 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17405 } # as_fn_mkdir_p
17406 if mkdir -p . 2>/dev/null; then
17407 as_mkdir_p='mkdir -p "$as_dir"'
17408 else
17409 test -d ./-p && rmdir ./-p
17410 as_mkdir_p=false
17414 # as_fn_executable_p FILE
17415 # -----------------------
17416 # Test if FILE is an executable regular file.
17417 as_fn_executable_p ()
17419 test -f "$1" && test -x "$1"
17420 } # as_fn_executable_p
17421 as_test_x='test -x'
17422 as_executable_p=as_fn_executable_p
17424 # Sed expression to map a string onto a valid CPP name.
17425 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17427 # Sed expression to map a string onto a valid variable name.
17428 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17431 exec 6>&1
17432 ## ----------------------------------- ##
17433 ## Main body of $CONFIG_STATUS script. ##
17434 ## ----------------------------------- ##
17435 _ASEOF
17436 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17439 # Save the log message, to keep $0 and so on meaningful, and to
17440 # report actual input values of CONFIG_FILES etc. instead of their
17441 # values after options handling.
17442 ac_log="
17443 This file was extended by Wine $as_me 1.7.3, which was
17444 generated by GNU Autoconf 2.69. Invocation command line was
17446 CONFIG_FILES = $CONFIG_FILES
17447 CONFIG_HEADERS = $CONFIG_HEADERS
17448 CONFIG_LINKS = $CONFIG_LINKS
17449 CONFIG_COMMANDS = $CONFIG_COMMANDS
17450 $ $0 $@
17452 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17455 _ACEOF
17457 case $ac_config_files in *"
17458 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17459 esac
17461 case $ac_config_headers in *"
17462 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17463 esac
17466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17467 # Files that config.status was made for.
17468 config_files="$ac_config_files"
17469 config_headers="$ac_config_headers"
17470 config_links="$ac_config_links"
17471 config_commands="$ac_config_commands"
17473 _ACEOF
17475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17476 ac_cs_usage="\
17477 \`$as_me' instantiates files and other configuration actions
17478 from templates according to the current configuration. Unless the files
17479 and actions are specified as TAGs, all are instantiated by default.
17481 Usage: $0 [OPTION]... [TAG]...
17483 -h, --help print this help, then exit
17484 -V, --version print version number and configuration settings, then exit
17485 --config print configuration, then exit
17486 -q, --quiet, --silent
17487 do not print progress messages
17488 -d, --debug don't remove temporary files
17489 --recheck update $as_me by reconfiguring in the same conditions
17490 --file=FILE[:TEMPLATE]
17491 instantiate the configuration file FILE
17492 --header=FILE[:TEMPLATE]
17493 instantiate the configuration header FILE
17495 Configuration files:
17496 $config_files
17498 Configuration headers:
17499 $config_headers
17501 Configuration links:
17502 $config_links
17504 Configuration commands:
17505 $config_commands
17507 Report bugs to <wine-devel@winehq.org>.
17508 Wine home page: <http://www.winehq.org>."
17510 _ACEOF
17511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17512 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17513 ac_cs_version="\\
17514 Wine config.status 1.7.3
17515 configured by $0, generated by GNU Autoconf 2.69,
17516 with options \\"\$ac_cs_config\\"
17518 Copyright (C) 2012 Free Software Foundation, Inc.
17519 This config.status script is free software; the Free Software Foundation
17520 gives unlimited permission to copy, distribute and modify it."
17522 ac_pwd='$ac_pwd'
17523 srcdir='$srcdir'
17524 INSTALL='$INSTALL'
17525 test -n "\$AWK" || AWK=awk
17526 _ACEOF
17528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17529 # The default lists apply if the user does not specify any file.
17530 ac_need_defaults=:
17531 while test $# != 0
17533 case $1 in
17534 --*=?*)
17535 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17536 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17537 ac_shift=:
17539 --*=)
17540 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17541 ac_optarg=
17542 ac_shift=:
17545 ac_option=$1
17546 ac_optarg=$2
17547 ac_shift=shift
17549 esac
17551 case $ac_option in
17552 # Handling of the options.
17553 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17554 ac_cs_recheck=: ;;
17555 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17556 $as_echo "$ac_cs_version"; exit ;;
17557 --config | --confi | --conf | --con | --co | --c )
17558 $as_echo "$ac_cs_config"; exit ;;
17559 --debug | --debu | --deb | --de | --d | -d )
17560 debug=: ;;
17561 --file | --fil | --fi | --f )
17562 $ac_shift
17563 case $ac_optarg in
17564 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17565 '') as_fn_error $? "missing file argument" ;;
17566 esac
17567 as_fn_append CONFIG_FILES " '$ac_optarg'"
17568 ac_need_defaults=false;;
17569 --header | --heade | --head | --hea )
17570 $ac_shift
17571 case $ac_optarg in
17572 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17573 esac
17574 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17575 ac_need_defaults=false;;
17576 --he | --h)
17577 # Conflict between --help and --header
17578 as_fn_error $? "ambiguous option: \`$1'
17579 Try \`$0 --help' for more information.";;
17580 --help | --hel | -h )
17581 $as_echo "$ac_cs_usage"; exit ;;
17582 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17583 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17584 ac_cs_silent=: ;;
17586 # This is an error.
17587 -*) as_fn_error $? "unrecognized option: \`$1'
17588 Try \`$0 --help' for more information." ;;
17590 *) as_fn_append ac_config_targets " $1"
17591 ac_need_defaults=false ;;
17593 esac
17594 shift
17595 done
17597 ac_configure_extra_args=
17599 if $ac_cs_silent; then
17600 exec 6>/dev/null
17601 ac_configure_extra_args="$ac_configure_extra_args --silent"
17604 _ACEOF
17605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17606 if \$ac_cs_recheck; then
17607 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17608 shift
17609 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17610 CONFIG_SHELL='$SHELL'
17611 export CONFIG_SHELL
17612 exec "\$@"
17615 _ACEOF
17616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17617 exec 5>>config.log
17619 echo
17620 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17621 ## Running $as_me. ##
17622 _ASBOX
17623 $as_echo "$ac_log"
17624 } >&5
17626 _ACEOF
17627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17629 # INIT-COMMANDS
17631 wine_fn_output_makefile ()
17633 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17634 `cat $wine_rules_file`
17635 _WINE_EOF
17636 as_fn_error $? "could not create Makefile" "$LINENO" 5
17639 _ACEOF
17641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17643 # Handling of arguments.
17644 for ac_config_target in $ac_config_targets
17646 case $ac_config_target in
17647 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
17648 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
17649 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17650 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17651 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17652 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17653 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17654 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17655 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17656 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17657 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
17658 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17659 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17660 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17661 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17662 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17663 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
17664 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17665 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
17666 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
17667 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
17668 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
17669 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17670 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
17671 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
17672 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17674 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17675 esac
17676 done
17679 # If the user did not use the arguments to specify the items to instantiate,
17680 # then the envvar interface is used. Set only those that are not.
17681 # We use the long form for the default assignment because of an extremely
17682 # bizarre bug on SunOS 4.1.3.
17683 if $ac_need_defaults; then
17684 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17685 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17686 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
17687 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17690 # Have a temporary directory for convenience. Make it in the build tree
17691 # simply because there is no reason against having it here, and in addition,
17692 # creating and moving files from /tmp can sometimes cause problems.
17693 # Hook for its removal unless debugging.
17694 # Note that there is a small window in which the directory will not be cleaned:
17695 # after its creation but before its name has been assigned to `$tmp'.
17696 $debug ||
17698 tmp= ac_tmp=
17699 trap 'exit_status=$?
17700 : "${ac_tmp:=$tmp}"
17701 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17703 trap 'as_fn_exit 1' 1 2 13 15
17705 # Create a (secure) tmp directory for tmp files.
17708 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17709 test -d "$tmp"
17710 } ||
17712 tmp=./conf$$-$RANDOM
17713 (umask 077 && mkdir "$tmp")
17714 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17715 ac_tmp=$tmp
17717 # Set up the scripts for CONFIG_FILES section.
17718 # No need to generate them if there are no CONFIG_FILES.
17719 # This happens for instance with `./config.status config.h'.
17720 if test -n "$CONFIG_FILES"; then
17722 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
17723 ac_cs_awk_getline=:
17724 ac_cs_awk_pipe_init=
17725 ac_cs_awk_read_file='
17726 while ((getline aline < (F[key])) > 0)
17727 print(aline)
17728 close(F[key])'
17729 ac_cs_awk_pipe_fini=
17730 else
17731 ac_cs_awk_getline=false
17732 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
17733 ac_cs_awk_read_file='
17734 print "|#_!!_#|"
17735 print "cat " F[key] " &&"
17736 '$ac_cs_awk_pipe_init
17737 # The final `:' finishes the AND list.
17738 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
17740 ac_cr=`echo X | tr X '\015'`
17741 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17742 # But we know of no other shell where ac_cr would be empty at this
17743 # point, so we can use a bashism as a fallback.
17744 if test "x$ac_cr" = x; then
17745 eval ac_cr=\$\'\\r\'
17747 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17748 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17749 ac_cs_awk_cr='\\r'
17750 else
17751 ac_cs_awk_cr=$ac_cr
17754 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17755 _ACEOF
17757 # Create commands to substitute file output variables.
17759 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17760 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17761 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
17762 echo "_ACAWK" &&
17763 echo "_ACEOF"
17764 } >conf$$files.sh &&
17765 . ./conf$$files.sh ||
17766 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17767 rm -f conf$$files.sh
17770 echo "cat >conf$$subs.awk <<_ACEOF" &&
17771 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17772 echo "_ACEOF"
17773 } >conf$$subs.sh ||
17774 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17775 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17776 ac_delim='%!_!# '
17777 for ac_last_try in false false false false false :; do
17778 . ./conf$$subs.sh ||
17779 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17781 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17782 if test $ac_delim_n = $ac_delim_num; then
17783 break
17784 elif $ac_last_try; then
17785 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17786 else
17787 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17789 done
17790 rm -f conf$$subs.sh
17792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17793 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17794 _ACEOF
17795 sed -n '
17797 s/^/S["/; s/!.*/"]=/
17800 s/^[^!]*!//
17801 :repl
17802 t repl
17803 s/'"$ac_delim"'$//
17804 t delim
17807 s/\(.\{148\}\)..*/\1/
17808 t more1
17809 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17812 b repl
17813 :more1
17814 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17817 s/.\{148\}//
17818 t nl
17819 :delim
17821 s/\(.\{148\}\)..*/\1/
17822 t more2
17823 s/["\\]/\\&/g; s/^/"/; s/$/"/
17826 :more2
17827 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17830 s/.\{148\}//
17831 t delim
17832 ' <conf$$subs.awk | sed '
17833 /^[^""]/{
17835 s/\n//
17837 ' >>$CONFIG_STATUS || ac_write_fail=1
17838 rm -f conf$$subs.awk
17839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17840 _ACAWK
17841 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17842 for (key in S) S_is_set[key] = 1
17843 FS = "\a"
17844 \$ac_cs_awk_pipe_init
17847 line = $ 0
17848 nfields = split(line, field, "@")
17849 substed = 0
17850 len = length(field[1])
17851 for (i = 2; i < nfields; i++) {
17852 key = field[i]
17853 keylen = length(key)
17854 if (S_is_set[key]) {
17855 value = S[key]
17856 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17857 len += length(value) + length(field[++i])
17858 substed = 1
17859 } else
17860 len += 1 + keylen
17862 if (nfields == 3 && !substed) {
17863 key = field[2]
17864 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17865 \$ac_cs_awk_read_file
17866 next
17869 print line
17871 \$ac_cs_awk_pipe_fini
17872 _ACAWK
17873 _ACEOF
17874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17875 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17876 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17877 else
17879 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17880 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17881 _ACEOF
17883 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17884 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17885 # trailing colons and then remove the whole line if VPATH becomes empty
17886 # (actually we leave an empty line to preserve line numbers).
17887 if test "x$srcdir" = x.; then
17888 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17890 s///
17891 s/^/:/
17892 s/[ ]*$/:/
17893 s/:\$(srcdir):/:/g
17894 s/:\${srcdir}:/:/g
17895 s/:@srcdir@:/:/g
17896 s/^:*//
17897 s/:*$//
17899 s/\(=[ ]*\).*/\1/
17901 s/\n//
17902 s/^[^=]*=[ ]*$//
17906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17907 fi # test -n "$CONFIG_FILES"
17909 # Set up the scripts for CONFIG_HEADERS section.
17910 # No need to generate them if there are no CONFIG_HEADERS.
17911 # This happens for instance with `./config.status Makefile'.
17912 if test -n "$CONFIG_HEADERS"; then
17913 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17914 BEGIN {
17915 _ACEOF
17917 # Transform confdefs.h into an awk script `defines.awk', embedded as
17918 # here-document in config.status, that substitutes the proper values into
17919 # config.h.in to produce config.h.
17921 # Create a delimiter string that does not exist in confdefs.h, to ease
17922 # handling of long lines.
17923 ac_delim='%!_!# '
17924 for ac_last_try in false false :; do
17925 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17926 if test -z "$ac_tt"; then
17927 break
17928 elif $ac_last_try; then
17929 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17930 else
17931 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17933 done
17935 # For the awk script, D is an array of macro values keyed by name,
17936 # likewise P contains macro parameters if any. Preserve backslash
17937 # newline sequences.
17939 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17940 sed -n '
17941 s/.\{148\}/&'"$ac_delim"'/g
17942 t rset
17943 :rset
17944 s/^[ ]*#[ ]*define[ ][ ]*/ /
17945 t def
17947 :def
17948 s/\\$//
17949 t bsnl
17950 s/["\\]/\\&/g
17951 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17952 D["\1"]=" \3"/p
17953 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17955 :bsnl
17956 s/["\\]/\\&/g
17957 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17958 D["\1"]=" \3\\\\\\n"\\/p
17959 t cont
17960 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17961 t cont
17963 :cont
17965 s/.\{148\}/&'"$ac_delim"'/g
17966 t clear
17967 :clear
17968 s/\\$//
17969 t bsnlc
17970 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17972 :bsnlc
17973 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17974 b cont
17975 ' <confdefs.h | sed '
17976 s/'"$ac_delim"'/"\\\
17977 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17980 for (key in D) D_is_set[key] = 1
17981 FS = "\a"
17983 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17984 line = \$ 0
17985 split(line, arg, " ")
17986 if (arg[1] == "#") {
17987 defundef = arg[2]
17988 mac1 = arg[3]
17989 } else {
17990 defundef = substr(arg[1], 2)
17991 mac1 = arg[2]
17993 split(mac1, mac2, "(") #)
17994 macro = mac2[1]
17995 prefix = substr(line, 1, index(line, defundef) - 1)
17996 if (D_is_set[macro]) {
17997 # Preserve the white space surrounding the "#".
17998 print prefix "define", macro P[macro] D[macro]
17999 next
18000 } else {
18001 # Replace #undef with comments. This is necessary, for example,
18002 # in the case of _POSIX_SOURCE, which is predefined and required
18003 # on some systems where configure will not decide to define it.
18004 if (defundef == "undef") {
18005 print "/*", prefix defundef, macro, "*/"
18006 next
18010 { print }
18011 _ACAWK
18012 _ACEOF
18013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18014 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18015 fi # test -n "$CONFIG_HEADERS"
18018 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18019 shift
18020 for ac_tag
18022 case $ac_tag in
18023 :[FHLC]) ac_mode=$ac_tag; continue;;
18024 esac
18025 case $ac_mode$ac_tag in
18026 :[FHL]*:*);;
18027 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18028 :[FH]-) ac_tag=-:-;;
18029 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18030 esac
18031 ac_save_IFS=$IFS
18032 IFS=:
18033 set x $ac_tag
18034 IFS=$ac_save_IFS
18035 shift
18036 ac_file=$1
18037 shift
18039 case $ac_mode in
18040 :L) ac_source=$1;;
18041 :[FH])
18042 ac_file_inputs=
18043 for ac_f
18045 case $ac_f in
18046 -) ac_f="$ac_tmp/stdin";;
18047 *) # Look for the file first in the build tree, then in the source tree
18048 # (if the path is not absolute). The absolute path cannot be DOS-style,
18049 # because $ac_f cannot contain `:'.
18050 test -f "$ac_f" ||
18051 case $ac_f in
18052 [\\/$]*) false;;
18053 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18054 esac ||
18055 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18056 esac
18057 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18058 as_fn_append ac_file_inputs " '$ac_f'"
18059 done
18061 # Let's still pretend it is `configure' which instantiates (i.e., don't
18062 # use $as_me), people would be surprised to read:
18063 # /* config.h. Generated by config.status. */
18064 configure_input='Generated from '`
18065 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18066 `' by configure.'
18067 if test x"$ac_file" != x-; then
18068 configure_input="$ac_file. $configure_input"
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18070 $as_echo "$as_me: creating $ac_file" >&6;}
18072 # Neutralize special characters interpreted by sed in replacement strings.
18073 case $configure_input in #(
18074 *\&* | *\|* | *\\* )
18075 ac_sed_conf_input=`$as_echo "$configure_input" |
18076 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18077 *) ac_sed_conf_input=$configure_input;;
18078 esac
18080 case $ac_tag in
18081 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18083 esac
18085 esac
18087 ac_dir=`$as_dirname -- "$ac_file" ||
18088 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18089 X"$ac_file" : 'X\(//\)[^/]' \| \
18090 X"$ac_file" : 'X\(//\)$' \| \
18091 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18092 $as_echo X"$ac_file" |
18093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18094 s//\1/
18097 /^X\(\/\/\)[^/].*/{
18098 s//\1/
18101 /^X\(\/\/\)$/{
18102 s//\1/
18105 /^X\(\/\).*/{
18106 s//\1/
18109 s/.*/./; q'`
18110 as_dir="$ac_dir"; as_fn_mkdir_p
18111 ac_builddir=.
18113 case "$ac_dir" in
18114 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18116 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18117 # A ".." for each directory in $ac_dir_suffix.
18118 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18119 case $ac_top_builddir_sub in
18120 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18121 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18122 esac ;;
18123 esac
18124 ac_abs_top_builddir=$ac_pwd
18125 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18126 # for backward compatibility:
18127 ac_top_builddir=$ac_top_build_prefix
18129 case $srcdir in
18130 .) # We are building in place.
18131 ac_srcdir=.
18132 ac_top_srcdir=$ac_top_builddir_sub
18133 ac_abs_top_srcdir=$ac_pwd ;;
18134 [\\/]* | ?:[\\/]* ) # Absolute name.
18135 ac_srcdir=$srcdir$ac_dir_suffix;
18136 ac_top_srcdir=$srcdir
18137 ac_abs_top_srcdir=$srcdir ;;
18138 *) # Relative name.
18139 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18140 ac_top_srcdir=$ac_top_build_prefix$srcdir
18141 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18142 esac
18143 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18146 case $ac_mode in
18149 # CONFIG_FILE
18152 case $INSTALL in
18153 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18154 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18155 esac
18156 _ACEOF
18158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18159 # If the template does not know about datarootdir, expand it.
18160 # FIXME: This hack should be removed a few years after 2.60.
18161 ac_datarootdir_hack=; ac_datarootdir_seen=
18162 ac_sed_dataroot='
18163 /datarootdir/ {
18167 /@datadir@/p
18168 /@docdir@/p
18169 /@infodir@/p
18170 /@localedir@/p
18171 /@mandir@/p'
18172 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18173 *datarootdir*) ac_datarootdir_seen=yes;;
18174 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18176 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18177 _ACEOF
18178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18179 ac_datarootdir_hack='
18180 s&@datadir@&$datadir&g
18181 s&@docdir@&$docdir&g
18182 s&@infodir@&$infodir&g
18183 s&@localedir@&$localedir&g
18184 s&@mandir@&$mandir&g
18185 s&\\\${datarootdir}&$datarootdir&g' ;;
18186 esac
18187 _ACEOF
18189 # Neutralize VPATH when `$srcdir' = `.'.
18190 # Shell code in configure.ac might set extrasub.
18191 # FIXME: do we really want to maintain this feature?
18192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18193 ac_sed_extra="$ac_vpsub
18194 $extrasub
18195 _ACEOF
18196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18198 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18199 s|@configure_input@|$ac_sed_conf_input|;t t
18200 s&@top_builddir@&$ac_top_builddir_sub&;t t
18201 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18202 s&@srcdir@&$ac_srcdir&;t t
18203 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18204 s&@top_srcdir@&$ac_top_srcdir&;t t
18205 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18206 s&@builddir@&$ac_builddir&;t t
18207 s&@abs_builddir@&$ac_abs_builddir&;t t
18208 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18209 s&@INSTALL@&$ac_INSTALL&;t t
18210 $ac_datarootdir_hack
18212 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18213 if $ac_cs_awk_getline; then
18214 $AWK -f "$ac_tmp/subs.awk"
18215 else
18216 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18217 fi \
18218 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18220 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18221 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18222 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18223 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18225 which seems to be undefined. Please make sure it is defined" >&5
18226 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18227 which seems to be undefined. Please make sure it is defined" >&2;}
18229 rm -f "$ac_tmp/stdin"
18230 case $ac_file in
18231 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18232 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18233 esac \
18234 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18238 # CONFIG_HEADER
18240 if test x"$ac_file" != x-; then
18242 $as_echo "/* $configure_input */" \
18243 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18244 } >"$ac_tmp/config.h" \
18245 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18246 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18248 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18249 else
18250 rm -f "$ac_file"
18251 mv "$ac_tmp/config.h" "$ac_file" \
18252 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18254 else
18255 $as_echo "/* $configure_input */" \
18256 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18257 || as_fn_error $? "could not create -" "$LINENO" 5
18262 # CONFIG_LINK
18265 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18267 else
18268 # Prefer the file from the source tree if names are identical.
18269 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18270 ac_source=$srcdir/$ac_source
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18274 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18276 if test ! -r "$ac_source"; then
18277 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18279 rm -f "$ac_file"
18281 # Try a relative symlink, then a hard link, then a copy.
18282 case $ac_source in
18283 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18284 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18285 esac
18286 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18287 ln "$ac_source" "$ac_file" 2>/dev/null ||
18288 cp -p "$ac_source" "$ac_file" ||
18289 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18292 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18293 $as_echo "$as_me: executing $ac_file commands" >&6;}
18295 esac
18298 case $ac_file$ac_mode in
18299 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18300 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18301 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18302 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18303 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18304 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18305 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18306 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18307 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18308 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18309 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18310 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18311 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18312 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18313 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18314 "Makefile":C) wine_fn_output_makefile Makefile ;;
18316 esac
18317 done # for ac_tag
18320 as_fn_exit 0
18321 _ACEOF
18322 ac_clean_files=$ac_clean_files_save
18324 test $ac_write_fail = 0 ||
18325 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18328 # configure is writing to config.log, and then calls config.status.
18329 # config.status does its own redirection, appending to config.log.
18330 # Unfortunately, on DOS this fails, as config.log is still kept open
18331 # by configure, so config.status won't be able to write to it; its
18332 # output is simply discarded. So we exec the FD to /dev/null,
18333 # effectively closing config.log, so it can be properly (re)opened and
18334 # appended to by config.status. When coming back to configure, we
18335 # need to make the FD available again.
18336 if test "$no_create" != yes; then
18337 ac_cs_success=:
18338 ac_config_status_args=
18339 test "$silent" = yes &&
18340 ac_config_status_args="$ac_config_status_args --quiet"
18341 exec 5>/dev/null
18342 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18343 exec 5>>config.log
18344 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18345 # would make configure fail if this is the last instruction.
18346 $ac_cs_success || as_fn_exit 1
18348 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18350 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18354 if test "$no_create" = "yes"
18355 then
18356 exit 0
18359 ac_save_IFS="$IFS"
18360 if test "x$wine_notices != "x; then
18361 echo >&6
18362 IFS="|"
18363 for msg in $wine_notices; do
18364 IFS="$ac_save_IFS"
18365 if test -n "$msg"; then
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18367 $as_echo "$as_me: $msg" >&6;}
18369 done
18371 IFS="|"
18372 for msg in $wine_warnings; do
18373 IFS="$ac_save_IFS"
18374 if test -n "$msg"; then
18375 echo >&2
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18377 $as_echo "$as_me: WARNING: $msg" >&2;}
18379 done
18380 IFS="$ac_save_IFS"
18382 $as_echo "
18383 $as_me: Finished. Do '${ac_make}' to compile Wine.
18384 " >&6