msvcrt: Added _swprintf_s_l implementation.
[wine.git] / configure
blobd102316b24c29743ff6f7de610e054072790b9e9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.6.
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.6'
584 PACKAGE_STRING='Wine 1.6'
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 LIBKSTAT
642 LIBOPENAL
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIGINCL
652 CUPSINCL
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4INCL
656 ALSALIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 LIBGETTEXTPO
660 ZLIB
661 FREETYPE_LIBS
662 FREETYPE_CFLAGS
663 LCMS2_LIBS
664 LCMS2_CFLAGS
665 RESOLVLIBS
666 GPHOTO2_PORT_LIBS
667 GPHOTO2_PORT_CFLAGS
668 GPHOTO2_LIBS
669 GPHOTO2_CFLAGS
670 SANE_LIBS
671 SANE_CFLAGS
672 GNUTLS_LIBS
673 GNUTLS_CFLAGS
674 HAL_LIBS
675 HAL_CFLAGS
676 DBUS_LIBS
677 DBUS_CFLAGS
678 XSLT_LIBS
679 XSLT_CFLAGS
680 XML2_LIBS
681 XML2_CFLAGS
682 X_EXTRA_LIBS
683 X_LIBS
684 X_PRE_LIBS
685 X_CFLAGS
686 XMKMF
687 LIBPTHREAD
688 CROSSTARGET
689 CROSSCC
690 CROSSTEST_DISABLE
691 PRELINK
692 CARBONLIB
693 QUICKTIMELIB
694 LIBOPENCL
695 FRAMEWORK_OPENAL
696 COREAUDIO
697 SECURITYLIB
698 DISKARBITRATIONLIB
699 LDEXECFLAGS
700 CORESERVICESLIB
701 APPLICATIONSERVICESLIB
702 FORCEFEEDBACKLIB
703 IOKITLIB
704 COREFOUNDATIONLIB
705 LIBWINE_RULES
706 SOCKETLIBS
707 DLLTOOL
708 READELF
710 LDRPATH_LOCAL
711 LDRPATH_INSTALL
712 IMPLIBEXT
713 LDDLLFLAGS
714 DLLFLAGS
715 DLLEXT
717 OPENGL_LIBS
718 XLIB
719 MAINTAINER_MODE
720 PKG_CONFIG
721 MSGFMT
722 ICOTOOL
723 CONVERT
724 RSVG
725 FONTFORGE
726 LINTFLAGS
727 LINT
728 INSTALL_DATA
729 INSTALL_SCRIPT
730 INSTALL_PROGRAM
731 LDCONFIG
732 EGREP
733 GREP
734 LN_S
735 RANLIB
736 ARFLAGS
737 ac_ct_AR
739 BISON
740 FLEX
741 TOOLSDIR
742 WOW64_DISABLE
743 TARGETFLAGS
744 CPPBIN
745 ac_ct_CXX
746 CXXFLAGS
748 OBJEXT
749 EXEEXT
750 ac_ct_CC
751 CPPFLAGS
752 LDFLAGS
753 CFLAGS
755 SET_MAKE
756 host_os
757 host_vendor
758 host_cpu
759 host
760 build_os
761 build_vendor
762 build_cpu
763 build
764 target_alias
765 host_alias
766 build_alias
767 LIBS
768 ECHO_T
769 ECHO_N
770 ECHO_C
771 DEFS
772 mandir
773 localedir
774 libdir
775 psdir
776 pdfdir
777 dvidir
778 htmldir
779 infodir
780 docdir
781 oldincludedir
782 includedir
783 localstatedir
784 sharedstatedir
785 sysconfdir
786 datadir
787 datarootdir
788 libexecdir
789 sbindir
790 bindir
791 program_transform_name
792 prefix
793 exec_prefix
794 PACKAGE_URL
795 PACKAGE_BUGREPORT
796 PACKAGE_STRING
797 PACKAGE_VERSION
798 PACKAGE_TARNAME
799 PACKAGE_NAME
800 PATH_SEPARATOR
801 SHELL'
802 ac_subst_files='MAKE_RULES
803 MAKE_TEST_RULES
804 MAKE_DLL_RULES
805 MAKE_IMPLIB_RULES
806 MAKE_PROG_RULES'
807 ac_user_opts='
808 enable_option_checking
809 enable_win16
810 enable_win64
811 enable_tests
812 enable_maintainer_mode
813 with_alsa
814 with_capi
815 with_cms
816 with_coreaudio
817 with_cups
818 with_curses
819 with_dbus
820 with_fontconfig
821 with_freetype
822 with_gettext
823 with_gettextpo
824 with_gphoto
825 with_glu
826 with_gnutls
827 with_gsm
828 with_gstreamer
829 with_hal
830 with_jpeg
831 with_ldap
832 with_mpg123
833 with_openal
834 with_opencl
835 with_opengl
836 with_osmesa
837 with_oss
838 with_png
839 with_pthread
840 with_sane
841 with_tiff
842 with_v4l
843 with_xcomposite
844 with_xcursor
845 with_xinerama
846 with_xinput
847 with_xinput2
848 with_xml
849 with_xrandr
850 with_xrender
851 with_xshape
852 with_xshm
853 with_xslt
854 with_xxf86vm
855 with_zlib
856 with_wine_tools
857 with_wine64
858 enable_largefile
859 with_x
861 ac_precious_vars='build_alias
862 host_alias
863 target_alias
865 CFLAGS
866 LDFLAGS
867 LIBS
868 CPPFLAGS
870 CXXFLAGS
873 XMKMF
874 XML2_CFLAGS
875 XML2_LIBS
876 XSLT_CFLAGS
877 XSLT_LIBS
878 DBUS_CFLAGS
879 DBUS_LIBS
880 HAL_CFLAGS
881 HAL_LIBS
882 GNUTLS_CFLAGS
883 GNUTLS_LIBS
884 SANE_CFLAGS
885 SANE_LIBS
886 GPHOTO2_CFLAGS
887 GPHOTO2_LIBS
888 GPHOTO2_PORT_CFLAGS
889 GPHOTO2_PORT_LIBS
890 LCMS2_CFLAGS
891 LCMS2_LIBS
892 FREETYPE_CFLAGS
893 FREETYPE_LIBS
894 GSTREAMER_CFLAGS
895 GSTREAMER_LIBS
896 CAPI20_CFLAGS
897 CAPI20_LIBS
898 JPEG_CFLAGS
899 JPEG_LIBS
900 PNG_CFLAGS
901 PNG_LIBS
902 TIFF_CFLAGS
903 TIFF_LIBS
904 MPG123_CFLAGS
905 MPG123_LIBS'
908 # Initialize some variables set by options.
909 ac_init_help=
910 ac_init_version=false
911 ac_unrecognized_opts=
912 ac_unrecognized_sep=
913 # The variables have the same names as the options, with
914 # dashes changed to underlines.
915 cache_file=/dev/null
916 exec_prefix=NONE
917 no_create=
918 no_recursion=
919 prefix=NONE
920 program_prefix=NONE
921 program_suffix=NONE
922 program_transform_name=s,x,x,
923 silent=
924 site=
925 srcdir=
926 verbose=
927 x_includes=NONE
928 x_libraries=NONE
930 # Installation directory options.
931 # These are left unexpanded so users can "make install exec_prefix=/foo"
932 # and all the variables that are supposed to be based on exec_prefix
933 # by default will actually change.
934 # Use braces instead of parens because sh, perl, etc. also accept them.
935 # (The list follows the same order as the GNU Coding Standards.)
936 bindir='${exec_prefix}/bin'
937 sbindir='${exec_prefix}/sbin'
938 libexecdir='${exec_prefix}/libexec'
939 datarootdir='${prefix}/share'
940 datadir='${datarootdir}'
941 sysconfdir='${prefix}/etc'
942 sharedstatedir='${prefix}/com'
943 localstatedir='${prefix}/var'
944 includedir='${prefix}/include'
945 oldincludedir='/usr/include'
946 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
947 infodir='${datarootdir}/info'
948 htmldir='${docdir}'
949 dvidir='${docdir}'
950 pdfdir='${docdir}'
951 psdir='${docdir}'
952 libdir='${exec_prefix}/lib'
953 localedir='${datarootdir}/locale'
954 mandir='${datarootdir}/man'
956 ac_prev=
957 ac_dashdash=
958 for ac_option
960 # If the previous option needs an argument, assign it.
961 if test -n "$ac_prev"; then
962 eval $ac_prev=\$ac_option
963 ac_prev=
964 continue
967 case $ac_option in
968 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
969 *=) ac_optarg= ;;
970 *) ac_optarg=yes ;;
971 esac
973 # Accept the important Cygnus configure options, so we can diagnose typos.
975 case $ac_dashdash$ac_option in
977 ac_dashdash=yes ;;
979 -bindir | --bindir | --bindi | --bind | --bin | --bi)
980 ac_prev=bindir ;;
981 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
982 bindir=$ac_optarg ;;
984 -build | --build | --buil | --bui | --bu)
985 ac_prev=build_alias ;;
986 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
987 build_alias=$ac_optarg ;;
989 -cache-file | --cache-file | --cache-fil | --cache-fi \
990 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
991 ac_prev=cache_file ;;
992 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
993 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
994 cache_file=$ac_optarg ;;
996 --config-cache | -C)
997 cache_file=config.cache ;;
999 -datadir | --datadir | --datadi | --datad)
1000 ac_prev=datadir ;;
1001 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1002 datadir=$ac_optarg ;;
1004 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1005 | --dataroo | --dataro | --datar)
1006 ac_prev=datarootdir ;;
1007 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1008 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1009 datarootdir=$ac_optarg ;;
1011 -disable-* | --disable-*)
1012 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015 as_fn_error $? "invalid feature name: $ac_useropt"
1016 ac_useropt_orig=$ac_useropt
1017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "enable_$ac_useropt"
1021 "*) ;;
1022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1023 ac_unrecognized_sep=', ';;
1024 esac
1025 eval enable_$ac_useropt=no ;;
1027 -docdir | --docdir | --docdi | --doc | --do)
1028 ac_prev=docdir ;;
1029 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1030 docdir=$ac_optarg ;;
1032 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1033 ac_prev=dvidir ;;
1034 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1035 dvidir=$ac_optarg ;;
1037 -enable-* | --enable-*)
1038 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041 as_fn_error $? "invalid feature name: $ac_useropt"
1042 ac_useropt_orig=$ac_useropt
1043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1046 "enable_$ac_useropt"
1047 "*) ;;
1048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1049 ac_unrecognized_sep=', ';;
1050 esac
1051 eval enable_$ac_useropt=\$ac_optarg ;;
1053 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1054 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1055 | --exec | --exe | --ex)
1056 ac_prev=exec_prefix ;;
1057 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1058 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1059 | --exec=* | --exe=* | --ex=*)
1060 exec_prefix=$ac_optarg ;;
1062 -gas | --gas | --ga | --g)
1063 # Obsolete; use --with-gas.
1064 with_gas=yes ;;
1066 -help | --help | --hel | --he | -h)
1067 ac_init_help=long ;;
1068 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1069 ac_init_help=recursive ;;
1070 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1071 ac_init_help=short ;;
1073 -host | --host | --hos | --ho)
1074 ac_prev=host_alias ;;
1075 -host=* | --host=* | --hos=* | --ho=*)
1076 host_alias=$ac_optarg ;;
1078 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1079 ac_prev=htmldir ;;
1080 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1081 | --ht=*)
1082 htmldir=$ac_optarg ;;
1084 -includedir | --includedir | --includedi | --included | --include \
1085 | --includ | --inclu | --incl | --inc)
1086 ac_prev=includedir ;;
1087 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1088 | --includ=* | --inclu=* | --incl=* | --inc=*)
1089 includedir=$ac_optarg ;;
1091 -infodir | --infodir | --infodi | --infod | --info | --inf)
1092 ac_prev=infodir ;;
1093 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1094 infodir=$ac_optarg ;;
1096 -libdir | --libdir | --libdi | --libd)
1097 ac_prev=libdir ;;
1098 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1099 libdir=$ac_optarg ;;
1101 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1102 | --libexe | --libex | --libe)
1103 ac_prev=libexecdir ;;
1104 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1105 | --libexe=* | --libex=* | --libe=*)
1106 libexecdir=$ac_optarg ;;
1108 -localedir | --localedir | --localedi | --localed | --locale)
1109 ac_prev=localedir ;;
1110 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1111 localedir=$ac_optarg ;;
1113 -localstatedir | --localstatedir | --localstatedi | --localstated \
1114 | --localstate | --localstat | --localsta | --localst | --locals)
1115 ac_prev=localstatedir ;;
1116 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1117 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1118 localstatedir=$ac_optarg ;;
1120 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1121 ac_prev=mandir ;;
1122 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1123 mandir=$ac_optarg ;;
1125 -nfp | --nfp | --nf)
1126 # Obsolete; use --without-fp.
1127 with_fp=no ;;
1129 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1130 | --no-cr | --no-c | -n)
1131 no_create=yes ;;
1133 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1134 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1135 no_recursion=yes ;;
1137 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1138 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1139 | --oldin | --oldi | --old | --ol | --o)
1140 ac_prev=oldincludedir ;;
1141 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1142 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1143 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1144 oldincludedir=$ac_optarg ;;
1146 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1147 ac_prev=prefix ;;
1148 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1149 prefix=$ac_optarg ;;
1151 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1152 | --program-pre | --program-pr | --program-p)
1153 ac_prev=program_prefix ;;
1154 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1155 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1156 program_prefix=$ac_optarg ;;
1158 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1159 | --program-suf | --program-su | --program-s)
1160 ac_prev=program_suffix ;;
1161 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1162 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1163 program_suffix=$ac_optarg ;;
1165 -program-transform-name | --program-transform-name \
1166 | --program-transform-nam | --program-transform-na \
1167 | --program-transform-n | --program-transform- \
1168 | --program-transform | --program-transfor \
1169 | --program-transfo | --program-transf \
1170 | --program-trans | --program-tran \
1171 | --progr-tra | --program-tr | --program-t)
1172 ac_prev=program_transform_name ;;
1173 -program-transform-name=* | --program-transform-name=* \
1174 | --program-transform-nam=* | --program-transform-na=* \
1175 | --program-transform-n=* | --program-transform-=* \
1176 | --program-transform=* | --program-transfor=* \
1177 | --program-transfo=* | --program-transf=* \
1178 | --program-trans=* | --program-tran=* \
1179 | --progr-tra=* | --program-tr=* | --program-t=*)
1180 program_transform_name=$ac_optarg ;;
1182 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1183 ac_prev=pdfdir ;;
1184 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1185 pdfdir=$ac_optarg ;;
1187 -psdir | --psdir | --psdi | --psd | --ps)
1188 ac_prev=psdir ;;
1189 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1190 psdir=$ac_optarg ;;
1192 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1193 | -silent | --silent | --silen | --sile | --sil)
1194 silent=yes ;;
1196 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1197 ac_prev=sbindir ;;
1198 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1199 | --sbi=* | --sb=*)
1200 sbindir=$ac_optarg ;;
1202 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1203 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1204 | --sharedst | --shareds | --shared | --share | --shar \
1205 | --sha | --sh)
1206 ac_prev=sharedstatedir ;;
1207 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1208 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1209 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1210 | --sha=* | --sh=*)
1211 sharedstatedir=$ac_optarg ;;
1213 -site | --site | --sit)
1214 ac_prev=site ;;
1215 -site=* | --site=* | --sit=*)
1216 site=$ac_optarg ;;
1218 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1219 ac_prev=srcdir ;;
1220 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1221 srcdir=$ac_optarg ;;
1223 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1224 | --syscon | --sysco | --sysc | --sys | --sy)
1225 ac_prev=sysconfdir ;;
1226 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1227 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1228 sysconfdir=$ac_optarg ;;
1230 -target | --target | --targe | --targ | --tar | --ta | --t)
1231 ac_prev=target_alias ;;
1232 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1233 target_alias=$ac_optarg ;;
1235 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1236 verbose=yes ;;
1238 -version | --version | --versio | --versi | --vers | -V)
1239 ac_init_version=: ;;
1241 -with-* | --with-*)
1242 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1245 as_fn_error $? "invalid package name: $ac_useropt"
1246 ac_useropt_orig=$ac_useropt
1247 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248 case $ac_user_opts in
1250 "with_$ac_useropt"
1251 "*) ;;
1252 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1253 ac_unrecognized_sep=', ';;
1254 esac
1255 eval with_$ac_useropt=\$ac_optarg ;;
1257 -without-* | --without-*)
1258 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1261 as_fn_error $? "invalid package name: $ac_useropt"
1262 ac_useropt_orig=$ac_useropt
1263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1266 "with_$ac_useropt"
1267 "*) ;;
1268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1269 ac_unrecognized_sep=', ';;
1270 esac
1271 eval with_$ac_useropt=no ;;
1273 --x)
1274 # Obsolete; use --with-x.
1275 with_x=yes ;;
1277 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1278 | --x-incl | --x-inc | --x-in | --x-i)
1279 ac_prev=x_includes ;;
1280 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1281 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1282 x_includes=$ac_optarg ;;
1284 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1285 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1286 ac_prev=x_libraries ;;
1287 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1288 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1289 x_libraries=$ac_optarg ;;
1291 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1292 Try \`$0 --help' for more information"
1295 *=*)
1296 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1297 # Reject names that are not valid shell variable names.
1298 case $ac_envvar in #(
1299 '' | [0-9]* | *[!_$as_cr_alnum]* )
1300 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1301 esac
1302 eval $ac_envvar=\$ac_optarg
1303 export $ac_envvar ;;
1306 # FIXME: should be removed in autoconf 3.0.
1307 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1308 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1309 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1310 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1313 esac
1314 done
1316 if test -n "$ac_prev"; then
1317 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1318 as_fn_error $? "missing argument to $ac_option"
1321 if test -n "$ac_unrecognized_opts"; then
1322 case $enable_option_checking in
1323 no) ;;
1324 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1325 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1326 esac
1329 # Check all directory arguments for consistency.
1330 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1331 datadir sysconfdir sharedstatedir localstatedir includedir \
1332 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1333 libdir localedir mandir
1335 eval ac_val=\$$ac_var
1336 # Remove trailing slashes.
1337 case $ac_val in
1338 */ )
1339 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1340 eval $ac_var=\$ac_val;;
1341 esac
1342 # Be sure to have absolute directory names.
1343 case $ac_val in
1344 [\\/$]* | ?:[\\/]* ) continue;;
1345 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1346 esac
1347 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1348 done
1350 # There might be people who depend on the old broken behavior: `$host'
1351 # used to hold the argument of --host etc.
1352 # FIXME: To remove some day.
1353 build=$build_alias
1354 host=$host_alias
1355 target=$target_alias
1357 # FIXME: To remove some day.
1358 if test "x$host_alias" != x; then
1359 if test "x$build_alias" = x; then
1360 cross_compiling=maybe
1361 elif test "x$build_alias" != "x$host_alias"; then
1362 cross_compiling=yes
1366 ac_tool_prefix=
1367 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1369 test "$silent" = yes && exec 6>/dev/null
1372 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1373 ac_ls_di=`ls -di .` &&
1374 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1375 as_fn_error $? "working directory cannot be determined"
1376 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1377 as_fn_error $? "pwd does not report name of working directory"
1380 # Find the source files, if location was not specified.
1381 if test -z "$srcdir"; then
1382 ac_srcdir_defaulted=yes
1383 # Try the directory containing this script, then the parent directory.
1384 ac_confdir=`$as_dirname -- "$as_myself" ||
1385 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1386 X"$as_myself" : 'X\(//\)[^/]' \| \
1387 X"$as_myself" : 'X\(//\)$' \| \
1388 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1389 $as_echo X"$as_myself" |
1390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1391 s//\1/
1394 /^X\(\/\/\)[^/].*/{
1395 s//\1/
1398 /^X\(\/\/\)$/{
1399 s//\1/
1402 /^X\(\/\).*/{
1403 s//\1/
1406 s/.*/./; q'`
1407 srcdir=$ac_confdir
1408 if test ! -r "$srcdir/$ac_unique_file"; then
1409 srcdir=..
1411 else
1412 ac_srcdir_defaulted=no
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1415 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1416 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1418 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1419 ac_abs_confdir=`(
1420 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1421 pwd)`
1422 # When building in place, set srcdir=.
1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
1424 srcdir=.
1426 # Remove unnecessary trailing slashes from srcdir.
1427 # Double slashes in file names in object file debugging info
1428 # mess up M-x gdb in Emacs.
1429 case $srcdir in
1430 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1431 esac
1432 for ac_var in $ac_precious_vars; do
1433 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1434 eval ac_env_${ac_var}_value=\$${ac_var}
1435 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1436 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1437 done
1440 # Report the --help message.
1442 if test "$ac_init_help" = "long"; then
1443 # Omit some internal or obsolete options to make the list less imposing.
1444 # This message is too long to be a string in the A/UX 3.1 sh.
1445 cat <<_ACEOF
1446 \`configure' configures Wine 1.6 to adapt to many kinds of systems.
1448 Usage: $0 [OPTION]... [VAR=VALUE]...
1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1451 VAR=VALUE. See below for descriptions of some of the useful variables.
1453 Defaults for the options are specified in brackets.
1455 Configuration:
1456 -h, --help display this help and exit
1457 --help=short display options specific to this package
1458 --help=recursive display the short help of all the included packages
1459 -V, --version display version information and exit
1460 -q, --quiet, --silent do not print \`checking ...' messages
1461 --cache-file=FILE cache test results in FILE [disabled]
1462 -C, --config-cache alias for \`--cache-file=config.cache'
1463 -n, --no-create do not create output files
1464 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1466 Installation directories:
1467 --prefix=PREFIX install architecture-independent files in PREFIX
1468 [$ac_default_prefix]
1469 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1470 [PREFIX]
1472 By default, \`make install' will install all the files in
1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1475 for instance \`--prefix=\$HOME'.
1477 For better control, use the options below.
1479 Fine tuning of the installation directories:
1480 --bindir=DIR user executables [EPREFIX/bin]
1481 --sbindir=DIR system admin executables [EPREFIX/sbin]
1482 --libexecdir=DIR program executables [EPREFIX/libexec]
1483 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1484 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1485 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1486 --libdir=DIR object code libraries [EPREFIX/lib]
1487 --includedir=DIR C header files [PREFIX/include]
1488 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1489 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1490 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1491 --infodir=DIR info documentation [DATAROOTDIR/info]
1492 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1493 --mandir=DIR man documentation [DATAROOTDIR/man]
1494 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1495 --htmldir=DIR html documentation [DOCDIR]
1496 --dvidir=DIR dvi documentation [DOCDIR]
1497 --pdfdir=DIR pdf documentation [DOCDIR]
1498 --psdir=DIR ps documentation [DOCDIR]
1499 _ACEOF
1501 cat <<\_ACEOF
1503 X features:
1504 --x-includes=DIR X include files are in DIR
1505 --x-libraries=DIR X library files are in DIR
1507 System types:
1508 --build=BUILD configure for building on BUILD [guessed]
1509 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1510 _ACEOF
1513 if test -n "$ac_init_help"; then
1514 case $ac_init_help in
1515 short | recursive ) echo "Configuration of Wine 1.6:";;
1516 esac
1517 cat <<\_ACEOF
1519 Optional Features:
1520 --disable-option-checking ignore unrecognized --enable/--with options
1521 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1522 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1523 --disable-win16 do not include Win16 support
1524 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1525 binaries)
1526 --disable-tests do not build the regression tests
1527 --enable-maintainer-mode
1528 enable maintainer-specific build rules
1529 --disable-largefile omit support for large files
1531 Optional Packages:
1532 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1533 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1534 --without-alsa do not use the Alsa sound support
1535 --without-capi do not use CAPI (ISDN support)
1536 --without-cms do not use CMS (color management support)
1537 --without-coreaudio do not use the CoreAudio sound support
1538 --without-cups do not use CUPS
1539 --without-curses do not use (n)curses
1540 --without-dbus do not use DBus (dynamic device support)
1541 --without-fontconfig do not use fontconfig
1542 --without-freetype do not use the FreeType library
1543 --without-gettext do not use gettext
1544 --with-gettextpo use the GetTextPO library to rebuild po files
1545 --without-gphoto do not use gphoto (Digital Camera support)
1546 --without-glu do not use the GLU library
1547 --without-gnutls do not use GnuTLS (schannel support)
1548 --without-gsm do not use libgsm (GSM 06.10 codec support)
1549 --without-gstreamer do not use GStreamer (codecs support)
1550 --without-hal do not use HAL (dynamic device support)
1551 --without-jpeg do not use JPEG
1552 --without-ldap do not use LDAP
1553 --without-mpg123 do not use the mpg123 library
1554 --without-openal do not use OpenAL
1555 --without-opencl do not use OpenCL
1556 --without-opengl do not use OpenGL
1557 --without-osmesa do not use the OSMesa library
1558 --without-oss do not use the OSS sound support
1559 --without-png do not use PNG
1560 --without-pthread do not use the pthread library
1561 --without-sane do not use SANE (scanner support)
1562 --without-tiff do not use TIFF
1563 --without-v4l do not use v4l1 (v4l support)
1564 --without-xcomposite do not use the Xcomposite extension
1565 --without-xcursor do not use the Xcursor extension
1566 --without-xinerama do not use Xinerama (multi-monitor support)
1567 --without-xinput do not use the Xinput extension
1568 --without-xinput2 do not use the Xinput 2 extension
1569 --without-xml do not use XML
1570 --without-xrandr do not use Xrandr (resolution changes)
1571 --without-xrender do not use the Xrender extension
1572 --without-xshape do not use the Xshape extension
1573 --without-xshm do not use XShm (shared memory extension)
1574 --without-xslt do not use XSLT
1575 --without-xxf86vm do not use XFree video mode extension
1576 --without-zlib do not use Zlib (data compression)
1577 --with-wine-tools=DIR use Wine tools from directory DIR
1578 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1579 --with-x use the X Window System
1581 Some influential environment variables:
1582 CC C compiler command
1583 CFLAGS C compiler flags
1584 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1585 nonstandard directory <lib dir>
1586 LIBS libraries to pass to the linker, e.g. -l<library>
1587 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1588 you have headers in a nonstandard directory <include dir>
1589 CXX C++ compiler command
1590 CXXFLAGS C++ compiler flags
1591 CPP C preprocessor
1592 XMKMF Path to xmkmf, Makefile generator for X Window System
1593 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1594 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1595 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1596 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1597 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1598 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1599 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1600 HAL_LIBS Linker flags for hal, overriding pkg-config
1601 GNUTLS_CFLAGS
1602 C compiler flags for gnutls, overriding pkg-config
1603 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1604 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1605 SANE_LIBS Linker flags for libsane, overriding pkg-config
1606 GPHOTO2_CFLAGS
1607 C compiler flags for libgphoto2, overriding pkg-config
1608 GPHOTO2_LIBS
1609 Linker flags for libgphoto2, overriding pkg-config
1610 GPHOTO2_PORT_CFLAGS
1611 C compiler flags for libgphoto2_port, overriding pkg-config
1612 GPHOTO2_PORT_LIBS
1613 Linker flags for libgphoto2_port, overriding pkg-config
1614 LCMS2_CFLAGS
1615 C compiler flags for lcms2, overriding pkg-config
1616 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
1617 FREETYPE_CFLAGS
1618 C compiler flags for freetype2, overriding pkg-config
1619 FREETYPE_LIBS
1620 Linker flags for freetype2, overriding pkg-config
1621 GSTREAMER_CFLAGS
1622 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1623 GSTREAMER_LIBS
1624 Linker flags for gstreamer-app-0.10, overriding pkg-config
1625 CAPI20_CFLAGS
1626 C compiler flags for capi20, overriding pkg-config
1627 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
1628 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
1629 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
1630 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
1631 PNG_LIBS Linker flags for libpng, overriding pkg-config
1632 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
1633 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
1634 MPG123_CFLAGS
1635 C compiler flags for libmpg123, overriding pkg-config
1636 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
1638 Use these variables to override the choices made by `configure' or to help
1639 it to find libraries and programs with nonstandard names/locations.
1641 Report bugs to <wine-devel@winehq.org>.
1642 Wine home page: <http://www.winehq.org>.
1643 _ACEOF
1644 ac_status=$?
1647 if test "$ac_init_help" = "recursive"; then
1648 # If there are subdirs, report their specific --help.
1649 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1650 test -d "$ac_dir" ||
1651 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1652 continue
1653 ac_builddir=.
1655 case "$ac_dir" in
1656 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1659 # A ".." for each directory in $ac_dir_suffix.
1660 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1661 case $ac_top_builddir_sub in
1662 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1663 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1664 esac ;;
1665 esac
1666 ac_abs_top_builddir=$ac_pwd
1667 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1668 # for backward compatibility:
1669 ac_top_builddir=$ac_top_build_prefix
1671 case $srcdir in
1672 .) # We are building in place.
1673 ac_srcdir=.
1674 ac_top_srcdir=$ac_top_builddir_sub
1675 ac_abs_top_srcdir=$ac_pwd ;;
1676 [\\/]* | ?:[\\/]* ) # Absolute name.
1677 ac_srcdir=$srcdir$ac_dir_suffix;
1678 ac_top_srcdir=$srcdir
1679 ac_abs_top_srcdir=$srcdir ;;
1680 *) # Relative name.
1681 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1682 ac_top_srcdir=$ac_top_build_prefix$srcdir
1683 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1684 esac
1685 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1687 cd "$ac_dir" || { ac_status=$?; continue; }
1688 # Check for guested configure.
1689 if test -f "$ac_srcdir/configure.gnu"; then
1690 echo &&
1691 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1692 elif test -f "$ac_srcdir/configure"; then
1693 echo &&
1694 $SHELL "$ac_srcdir/configure" --help=recursive
1695 else
1696 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1697 fi || ac_status=$?
1698 cd "$ac_pwd" || { ac_status=$?; break; }
1699 done
1702 test -n "$ac_init_help" && exit $ac_status
1703 if $ac_init_version; then
1704 cat <<\_ACEOF
1705 Wine configure 1.6
1706 generated by GNU Autoconf 2.69
1708 Copyright (C) 2012 Free Software Foundation, Inc.
1709 This configure script is free software; the Free Software Foundation
1710 gives unlimited permission to copy, distribute and modify it.
1711 _ACEOF
1712 exit
1715 ## ------------------------ ##
1716 ## Autoconf initialization. ##
1717 ## ------------------------ ##
1719 # ac_fn_c_try_compile LINENO
1720 # --------------------------
1721 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1722 ac_fn_c_try_compile ()
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 rm -f conftest.$ac_objext
1726 if { { ac_try="$ac_compile"
1727 case "(($ac_try" in
1728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1730 esac
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_compile") 2>conftest.err
1734 ac_status=$?
1735 if test -s conftest.err; then
1736 grep -v '^ *+' conftest.err >conftest.er1
1737 cat conftest.er1 >&5
1738 mv -f conftest.er1 conftest.err
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && {
1742 test -z "$ac_c_werror_flag" ||
1743 test ! -s conftest.err
1744 } && test -s conftest.$ac_objext; then :
1745 ac_retval=0
1746 else
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1750 ac_retval=1
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 as_fn_set_status $ac_retval
1755 } # ac_fn_c_try_compile
1757 # ac_fn_cxx_try_compile LINENO
1758 # ----------------------------
1759 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1760 ac_fn_cxx_try_compile ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 rm -f conftest.$ac_objext
1764 if { { ac_try="$ac_compile"
1765 case "(($ac_try" in
1766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1768 esac
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_compile") 2>conftest.err
1772 ac_status=$?
1773 if test -s conftest.err; then
1774 grep -v '^ *+' conftest.err >conftest.er1
1775 cat conftest.er1 >&5
1776 mv -f conftest.er1 conftest.err
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } && {
1780 test -z "$ac_cxx_werror_flag" ||
1781 test ! -s conftest.err
1782 } && test -s conftest.$ac_objext; then :
1783 ac_retval=0
1784 else
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1788 ac_retval=1
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status $ac_retval
1793 } # ac_fn_cxx_try_compile
1795 # ac_fn_c_try_link LINENO
1796 # -----------------------
1797 # Try to link conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_c_try_link ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 rm -f conftest.$ac_objext conftest$ac_exeext
1802 if { { ac_try="$ac_link"
1803 case "(($ac_try" in
1804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1805 *) ac_try_echo=$ac_try;;
1806 esac
1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_link") 2>conftest.err
1810 ac_status=$?
1811 if test -s conftest.err; then
1812 grep -v '^ *+' conftest.err >conftest.er1
1813 cat conftest.er1 >&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_c_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest$ac_exeext && {
1821 test "$cross_compiling" = yes ||
1822 test -x conftest$ac_exeext
1823 }; then :
1824 ac_retval=0
1825 else
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1829 ac_retval=1
1831 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1832 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1833 # interfere with the next link command; also delete a directory that is
1834 # left behind by Apple's compiler. We do this before executing the actions.
1835 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837 as_fn_set_status $ac_retval
1839 } # ac_fn_c_try_link
1841 # ac_fn_c_try_cpp LINENO
1842 # ----------------------
1843 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1844 ac_fn_c_try_cpp ()
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 if { { ac_try="$ac_cpp conftest.$ac_ext"
1848 case "(($ac_try" in
1849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1851 esac
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1855 ac_status=$?
1856 if test -s conftest.err; then
1857 grep -v '^ *+' conftest.err >conftest.er1
1858 cat conftest.er1 >&5
1859 mv -f conftest.er1 conftest.err
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } > conftest.i && {
1863 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1864 test ! -s conftest.err
1865 }; then :
1866 ac_retval=0
1867 else
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.$ac_ext >&5
1871 ac_retval=1
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874 as_fn_set_status $ac_retval
1876 } # ac_fn_c_try_cpp
1878 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1879 # -------------------------------------------------------
1880 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1881 # the include files in INCLUDES and setting the cache variable VAR
1882 # accordingly.
1883 ac_fn_c_check_header_mongrel ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 if eval \${$3+:} false; then :
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888 $as_echo_n "checking for $2... " >&6; }
1889 if eval \${$3+:} false; then :
1890 $as_echo_n "(cached) " >&6
1892 eval ac_res=\$$3
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894 $as_echo "$ac_res" >&6; }
1895 else
1896 # Is the header compilable?
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1898 $as_echo_n "checking $2 usability... " >&6; }
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1902 #include <$2>
1903 _ACEOF
1904 if ac_fn_c_try_compile "$LINENO"; then :
1905 ac_header_compiler=yes
1906 else
1907 ac_header_compiler=no
1909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1911 $as_echo "$ac_header_compiler" >&6; }
1913 # Is the header present?
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1915 $as_echo_n "checking $2 presence... " >&6; }
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1918 #include <$2>
1919 _ACEOF
1920 if ac_fn_c_try_cpp "$LINENO"; then :
1921 ac_header_preproc=yes
1922 else
1923 ac_header_preproc=no
1925 rm -f conftest.err conftest.i conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1927 $as_echo "$ac_header_preproc" >&6; }
1929 # So? What about this header?
1930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1931 yes:no: )
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1933 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1937 no:yes:* )
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1939 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1941 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1943 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1945 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1947 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1948 ( $as_echo "## ------------------------------------ ##
1949 ## Report this to wine-devel@winehq.org ##
1950 ## ------------------------------------ ##"
1951 ) | sed "s/^/$as_me: WARNING: /" >&2
1953 esac
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1955 $as_echo_n "checking for $2... " >&6; }
1956 if eval \${$3+:} false; then :
1957 $as_echo_n "(cached) " >&6
1958 else
1959 eval "$3=\$ac_header_compiler"
1961 eval ac_res=\$$3
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1963 $as_echo "$ac_res" >&6; }
1965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1967 } # ac_fn_c_check_header_mongrel
1969 # ac_fn_c_try_run LINENO
1970 # ----------------------
1971 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1972 # that executables *can* be run.
1973 ac_fn_c_try_run ()
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 if { { ac_try="$ac_link"
1977 case "(($ac_try" in
1978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1979 *) ac_try_echo=$ac_try;;
1980 esac
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983 (eval "$ac_link") 2>&5
1984 ac_status=$?
1985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1986 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1987 { { case "(($ac_try" in
1988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1989 *) ac_try_echo=$ac_try;;
1990 esac
1991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1992 $as_echo "$ac_try_echo"; } >&5
1993 (eval "$ac_try") 2>&5
1994 ac_status=$?
1995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996 test $ac_status = 0; }; }; then :
1997 ac_retval=0
1998 else
1999 $as_echo "$as_me: program exited with status $ac_status" >&5
2000 $as_echo "$as_me: failed program was:" >&5
2001 sed 's/^/| /' conftest.$ac_ext >&5
2003 ac_retval=$ac_status
2005 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007 as_fn_set_status $ac_retval
2009 } # ac_fn_c_try_run
2011 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2012 # -------------------------------------------------------
2013 # Tests whether HEADER exists and can be compiled using the include files in
2014 # INCLUDES, setting the cache variable VAR accordingly.
2015 ac_fn_c_check_header_compile ()
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2019 $as_echo_n "checking for $2... " >&6; }
2020 if eval \${$3+:} false; then :
2021 $as_echo_n "(cached) " >&6
2022 else
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2026 #include <$2>
2027 _ACEOF
2028 if ac_fn_c_try_compile "$LINENO"; then :
2029 eval "$3=yes"
2030 else
2031 eval "$3=no"
2033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2035 eval ac_res=\$$3
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037 $as_echo "$ac_res" >&6; }
2038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040 } # ac_fn_c_check_header_compile
2042 # ac_fn_c_check_func LINENO FUNC VAR
2043 # ----------------------------------
2044 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2045 ac_fn_c_check_func ()
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049 $as_echo_n "checking for $2... " >&6; }
2050 if eval \${$3+:} false; then :
2051 $as_echo_n "(cached) " >&6
2052 else
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2055 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2057 #define $2 innocuous_$2
2059 /* System header to define __stub macros and hopefully few prototypes,
2060 which can conflict with char $2 (); below.
2061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2062 <limits.h> exists even on freestanding compilers. */
2064 #ifdef __STDC__
2065 # include <limits.h>
2066 #else
2067 # include <assert.h>
2068 #endif
2070 #undef $2
2072 /* Override any GCC internal prototype to avoid an error.
2073 Use char because int might match the return type of a GCC
2074 builtin and then its argument prototype would still apply. */
2075 #ifdef __cplusplus
2076 extern "C"
2077 #endif
2078 char $2 ();
2079 /* The GNU C library defines this for functions which it implements
2080 to always fail with ENOSYS. Some functions are actually named
2081 something starting with __ and the normal name is an alias. */
2082 #if defined __stub_$2 || defined __stub___$2
2083 choke me
2084 #endif
2087 main ()
2089 return $2 ();
2091 return 0;
2093 _ACEOF
2094 if ac_fn_c_try_link "$LINENO"; then :
2095 eval "$3=yes"
2096 else
2097 eval "$3=no"
2099 rm -f core conftest.err conftest.$ac_objext \
2100 conftest$ac_exeext conftest.$ac_ext
2102 eval ac_res=\$$3
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2104 $as_echo "$ac_res" >&6; }
2105 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2107 } # ac_fn_c_check_func
2109 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2110 # ----------------------------------------------------
2111 # Tries to find if the field MEMBER exists in type AGGR, after including
2112 # INCLUDES, setting cache variable VAR accordingly.
2113 ac_fn_c_check_member ()
2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2117 $as_echo_n "checking for $2.$3... " >&6; }
2118 if eval \${$4+:} false; then :
2119 $as_echo_n "(cached) " >&6
2120 else
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2125 main ()
2127 static $2 ac_aggr;
2128 if (ac_aggr.$3)
2129 return 0;
2131 return 0;
2133 _ACEOF
2134 if ac_fn_c_try_compile "$LINENO"; then :
2135 eval "$4=yes"
2136 else
2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2141 main ()
2143 static $2 ac_aggr;
2144 if (sizeof ac_aggr.$3)
2145 return 0;
2147 return 0;
2149 _ACEOF
2150 if ac_fn_c_try_compile "$LINENO"; then :
2151 eval "$4=yes"
2152 else
2153 eval "$4=no"
2155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159 eval ac_res=\$$4
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2162 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2164 } # ac_fn_c_check_member
2166 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2167 # -------------------------------------------
2168 # Tests whether TYPE exists after having included INCLUDES, setting cache
2169 # variable VAR accordingly.
2170 ac_fn_c_check_type ()
2172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2174 $as_echo_n "checking for $2... " >&6; }
2175 if eval \${$3+:} false; then :
2176 $as_echo_n "(cached) " >&6
2177 else
2178 eval "$3=no"
2179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h. */
2183 main ()
2185 if (sizeof ($2))
2186 return 0;
2188 return 0;
2190 _ACEOF
2191 if ac_fn_c_try_compile "$LINENO"; then :
2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193 /* end confdefs.h. */
2196 main ()
2198 if (sizeof (($2)))
2199 return 0;
2201 return 0;
2203 _ACEOF
2204 if ac_fn_c_try_compile "$LINENO"; then :
2206 else
2207 eval "$3=yes"
2209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2213 eval ac_res=\$$3
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2215 $as_echo "$ac_res" >&6; }
2216 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2218 } # ac_fn_c_check_type
2219 cat >config.log <<_ACEOF
2220 This file contains any messages produced by compilers while
2221 running configure, to aid debugging if configure makes a mistake.
2223 It was created by Wine $as_me 1.6, which was
2224 generated by GNU Autoconf 2.69. Invocation command line was
2226 $ $0 $@
2228 _ACEOF
2229 exec 5>>config.log
2231 cat <<_ASUNAME
2232 ## --------- ##
2233 ## Platform. ##
2234 ## --------- ##
2236 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2237 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2238 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2239 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2240 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2242 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2243 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2245 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2246 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2247 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2248 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2249 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2250 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2251 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2253 _ASUNAME
2255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 for as_dir in $PATH
2258 IFS=$as_save_IFS
2259 test -z "$as_dir" && as_dir=.
2260 $as_echo "PATH: $as_dir"
2261 done
2262 IFS=$as_save_IFS
2264 } >&5
2266 cat >&5 <<_ACEOF
2269 ## ----------- ##
2270 ## Core tests. ##
2271 ## ----------- ##
2273 _ACEOF
2276 # Keep a trace of the command line.
2277 # Strip out --no-create and --no-recursion so they do not pile up.
2278 # Strip out --silent because we don't want to record it for future runs.
2279 # Also quote any args containing shell meta-characters.
2280 # Make two passes to allow for proper duplicate-argument suppression.
2281 ac_configure_args=
2282 ac_configure_args0=
2283 ac_configure_args1=
2284 ac_must_keep_next=false
2285 for ac_pass in 1 2
2287 for ac_arg
2289 case $ac_arg in
2290 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2292 | -silent | --silent | --silen | --sile | --sil)
2293 continue ;;
2294 *\'*)
2295 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2296 esac
2297 case $ac_pass in
2298 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2300 as_fn_append ac_configure_args1 " '$ac_arg'"
2301 if test $ac_must_keep_next = true; then
2302 ac_must_keep_next=false # Got value, back to normal.
2303 else
2304 case $ac_arg in
2305 *=* | --config-cache | -C | -disable-* | --disable-* \
2306 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2307 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2308 | -with-* | --with-* | -without-* | --without-* | --x)
2309 case "$ac_configure_args0 " in
2310 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2311 esac
2313 -* ) ac_must_keep_next=true ;;
2314 esac
2316 as_fn_append ac_configure_args " '$ac_arg'"
2318 esac
2319 done
2320 done
2321 { ac_configure_args0=; unset ac_configure_args0;}
2322 { ac_configure_args1=; unset ac_configure_args1;}
2324 # When interrupted or exit'd, cleanup temporary files, and complete
2325 # config.log. We remove comments because anyway the quotes in there
2326 # would cause problems or look ugly.
2327 # WARNING: Use '\'' to represent an apostrophe within the trap.
2328 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2329 trap 'exit_status=$?
2330 # Save into config.log some information that might help in debugging.
2332 echo
2334 $as_echo "## ---------------- ##
2335 ## Cache variables. ##
2336 ## ---------------- ##"
2337 echo
2338 # The following way of writing the cache mishandles newlines in values,
2340 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2341 eval ac_val=\$$ac_var
2342 case $ac_val in #(
2343 *${as_nl}*)
2344 case $ac_var in #(
2345 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2346 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2347 esac
2348 case $ac_var in #(
2349 _ | IFS | as_nl) ;; #(
2350 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2351 *) { eval $ac_var=; unset $ac_var;} ;;
2352 esac ;;
2353 esac
2354 done
2355 (set) 2>&1 |
2356 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2357 *${as_nl}ac_space=\ *)
2358 sed -n \
2359 "s/'\''/'\''\\\\'\'''\''/g;
2360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2361 ;; #(
2363 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2365 esac |
2366 sort
2368 echo
2370 $as_echo "## ----------------- ##
2371 ## Output variables. ##
2372 ## ----------------- ##"
2373 echo
2374 for ac_var in $ac_subst_vars
2376 eval ac_val=\$$ac_var
2377 case $ac_val in
2378 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2379 esac
2380 $as_echo "$ac_var='\''$ac_val'\''"
2381 done | sort
2382 echo
2384 if test -n "$ac_subst_files"; then
2385 $as_echo "## ------------------- ##
2386 ## File substitutions. ##
2387 ## ------------------- ##"
2388 echo
2389 for ac_var in $ac_subst_files
2391 eval ac_val=\$$ac_var
2392 case $ac_val in
2393 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2394 esac
2395 $as_echo "$ac_var='\''$ac_val'\''"
2396 done | sort
2397 echo
2400 if test -s confdefs.h; then
2401 $as_echo "## ----------- ##
2402 ## confdefs.h. ##
2403 ## ----------- ##"
2404 echo
2405 cat confdefs.h
2406 echo
2408 test "$ac_signal" != 0 &&
2409 $as_echo "$as_me: caught signal $ac_signal"
2410 $as_echo "$as_me: exit $exit_status"
2411 } >&5
2412 rm -f core *.core core.conftest.* &&
2413 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2414 exit $exit_status
2416 for ac_signal in 1 2 13 15; do
2417 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2418 done
2419 ac_signal=0
2421 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2422 rm -f -r conftest* confdefs.h
2424 $as_echo "/* confdefs.h */" > confdefs.h
2426 # Predefined preprocessor variables.
2428 cat >>confdefs.h <<_ACEOF
2429 #define PACKAGE_NAME "$PACKAGE_NAME"
2430 _ACEOF
2432 cat >>confdefs.h <<_ACEOF
2433 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2434 _ACEOF
2436 cat >>confdefs.h <<_ACEOF
2437 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2438 _ACEOF
2440 cat >>confdefs.h <<_ACEOF
2441 #define PACKAGE_STRING "$PACKAGE_STRING"
2442 _ACEOF
2444 cat >>confdefs.h <<_ACEOF
2445 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2446 _ACEOF
2448 cat >>confdefs.h <<_ACEOF
2449 #define PACKAGE_URL "$PACKAGE_URL"
2450 _ACEOF
2453 # Let the site file select an alternate cache file if it wants to.
2454 # Prefer an explicitly selected file to automatically selected ones.
2455 ac_site_file1=NONE
2456 ac_site_file2=NONE
2457 if test -n "$CONFIG_SITE"; then
2458 # We do not want a PATH search for config.site.
2459 case $CONFIG_SITE in #((
2460 -*) ac_site_file1=./$CONFIG_SITE;;
2461 */*) ac_site_file1=$CONFIG_SITE;;
2462 *) ac_site_file1=./$CONFIG_SITE;;
2463 esac
2464 elif test "x$prefix" != xNONE; then
2465 ac_site_file1=$prefix/share/config.site
2466 ac_site_file2=$prefix/etc/config.site
2467 else
2468 ac_site_file1=$ac_default_prefix/share/config.site
2469 ac_site_file2=$ac_default_prefix/etc/config.site
2471 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2473 test "x$ac_site_file" = xNONE && continue
2474 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2476 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2477 sed 's/^/| /' "$ac_site_file" >&5
2478 . "$ac_site_file" \
2479 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2481 as_fn_error $? "failed to load site script $ac_site_file
2482 See \`config.log' for more details" "$LINENO" 5; }
2484 done
2486 if test -r "$cache_file"; then
2487 # Some versions of bash will fail to source /dev/null (special files
2488 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2489 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2491 $as_echo "$as_me: loading cache $cache_file" >&6;}
2492 case $cache_file in
2493 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2494 *) . "./$cache_file";;
2495 esac
2497 else
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2499 $as_echo "$as_me: creating cache $cache_file" >&6;}
2500 >$cache_file
2503 # Check that the precious variables saved in the cache have kept the same
2504 # value.
2505 ac_cache_corrupted=false
2506 for ac_var in $ac_precious_vars; do
2507 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2508 eval ac_new_set=\$ac_env_${ac_var}_set
2509 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2510 eval ac_new_val=\$ac_env_${ac_var}_value
2511 case $ac_old_set,$ac_new_set in
2512 set,)
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2514 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2515 ac_cache_corrupted=: ;;
2516 ,set)
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2518 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2519 ac_cache_corrupted=: ;;
2520 ,);;
2522 if test "x$ac_old_val" != "x$ac_new_val"; then
2523 # differences in whitespace do not lead to failure.
2524 ac_old_val_w=`echo x $ac_old_val`
2525 ac_new_val_w=`echo x $ac_new_val`
2526 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2528 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2529 ac_cache_corrupted=:
2530 else
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2532 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2533 eval $ac_var=\$ac_old_val
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2536 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2538 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2539 fi;;
2540 esac
2541 # Pass precious variables to config.status.
2542 if test "$ac_new_set" = set; then
2543 case $ac_new_val in
2544 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2545 *) ac_arg=$ac_var=$ac_new_val ;;
2546 esac
2547 case " $ac_configure_args " in
2548 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2549 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2550 esac
2552 done
2553 if $ac_cache_corrupted; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2557 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2558 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2560 ## -------------------- ##
2561 ## Main body of script. ##
2562 ## -------------------- ##
2564 ac_ext=c
2565 ac_cpp='$CPP $CPPFLAGS'
2566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2572 ac_config_headers="$ac_config_headers include/config.h"
2574 ac_aux_dir=
2575 for ac_dir in tools "$srcdir"/tools; do
2576 if test -f "$ac_dir/install-sh"; then
2577 ac_aux_dir=$ac_dir
2578 ac_install_sh="$ac_aux_dir/install-sh -c"
2579 break
2580 elif 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/shtool"; then
2585 ac_aux_dir=$ac_dir
2586 ac_install_sh="$ac_aux_dir/shtool install -c"
2587 break
2589 done
2590 if test -z "$ac_aux_dir"; then
2591 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2594 # These three variables are undocumented and unsupported,
2595 # and are intended to be withdrawn in a future Autoconf release.
2596 # They can cause serious problems if a builder's source tree is in a directory
2597 # whose full name contains unusual characters.
2598 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2599 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2600 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2606 # Check whether --enable-win16 was given.
2607 if test "${enable_win16+set}" = set; then :
2608 enableval=$enable_win16;
2611 # Check whether --enable-win64 was given.
2612 if test "${enable_win64+set}" = set; then :
2613 enableval=$enable_win64;
2616 # Check whether --enable-tests was given.
2617 if test "${enable_tests+set}" = set; then :
2618 enableval=$enable_tests;
2621 # Check whether --enable-maintainer-mode was given.
2622 if test "${enable_maintainer_mode+set}" = set; then :
2623 enableval=$enable_maintainer_mode;
2628 # Check whether --with-alsa was given.
2629 if test "${with_alsa+set}" = set; then :
2630 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2634 # Check whether --with-capi was given.
2635 if test "${with_capi+set}" = set; then :
2636 withval=$with_capi;
2640 # Check whether --with-cms was given.
2641 if test "${with_cms+set}" = set; then :
2642 withval=$with_cms;
2646 # Check whether --with-coreaudio was given.
2647 if test "${with_coreaudio+set}" = set; then :
2648 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2652 # Check whether --with-cups was given.
2653 if test "${with_cups+set}" = set; then :
2654 withval=$with_cups;
2658 # Check whether --with-curses was given.
2659 if test "${with_curses+set}" = set; then :
2660 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2664 # Check whether --with-dbus was given.
2665 if test "${with_dbus+set}" = set; then :
2666 withval=$with_dbus;
2670 # Check whether --with-fontconfig was given.
2671 if test "${with_fontconfig+set}" = set; then :
2672 withval=$with_fontconfig;
2676 # Check whether --with-freetype was given.
2677 if test "${with_freetype+set}" = set; then :
2678 withval=$with_freetype;
2682 # Check whether --with-gettext was given.
2683 if test "${with_gettext+set}" = set; then :
2684 withval=$with_gettext;
2688 # Check whether --with-gettextpo was given.
2689 if test "${with_gettextpo+set}" = set; then :
2690 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2694 # Check whether --with-gphoto was given.
2695 if test "${with_gphoto+set}" = set; then :
2696 withval=$with_gphoto;
2700 # Check whether --with-glu was given.
2701 if test "${with_glu+set}" = set; then :
2702 withval=$with_glu;
2706 # Check whether --with-gnutls was given.
2707 if test "${with_gnutls+set}" = set; then :
2708 withval=$with_gnutls;
2712 # Check whether --with-gsm was given.
2713 if test "${with_gsm+set}" = set; then :
2714 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2718 # Check whether --with-gstreamer was given.
2719 if test "${with_gstreamer+set}" = set; then :
2720 withval=$with_gstreamer;
2724 # Check whether --with-hal was given.
2725 if test "${with_hal+set}" = set; then :
2726 withval=$with_hal;
2730 # Check whether --with-jpeg was given.
2731 if test "${with_jpeg+set}" = set; then :
2732 withval=$with_jpeg;
2736 # Check whether --with-ldap was given.
2737 if test "${with_ldap+set}" = set; then :
2738 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2742 # Check whether --with-mpg123 was given.
2743 if test "${with_mpg123+set}" = set; then :
2744 withval=$with_mpg123;
2748 # Check whether --with-openal was given.
2749 if test "${with_openal+set}" = set; then :
2750 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2754 # Check whether --with-opencl was given.
2755 if test "${with_opencl+set}" = set; then :
2756 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2760 # Check whether --with-opengl was given.
2761 if test "${with_opengl+set}" = set; then :
2762 withval=$with_opengl;
2766 # Check whether --with-osmesa was given.
2767 if test "${with_osmesa+set}" = set; then :
2768 withval=$with_osmesa;
2772 # Check whether --with-oss was given.
2773 if test "${with_oss+set}" = set; then :
2774 withval=$with_oss;
2778 # Check whether --with-png was given.
2779 if test "${with_png+set}" = set; then :
2780 withval=$with_png;
2784 # Check whether --with-pthread was given.
2785 if test "${with_pthread+set}" = set; then :
2786 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2790 # Check whether --with-sane was given.
2791 if test "${with_sane+set}" = set; then :
2792 withval=$with_sane;
2796 # Check whether --with-tiff was given.
2797 if test "${with_tiff+set}" = set; then :
2798 withval=$with_tiff;
2802 # Check whether --with-v4l was given.
2803 if test "${with_v4l+set}" = set; then :
2804 withval=$with_v4l;
2808 # Check whether --with-xcomposite was given.
2809 if test "${with_xcomposite+set}" = set; then :
2810 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2814 # Check whether --with-xcursor was given.
2815 if test "${with_xcursor+set}" = set; then :
2816 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2820 # Check whether --with-xinerama was given.
2821 if test "${with_xinerama+set}" = set; then :
2822 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2826 # Check whether --with-xinput was given.
2827 if test "${with_xinput+set}" = set; then :
2828 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2832 # Check whether --with-xinput2 was given.
2833 if test "${with_xinput2+set}" = set; then :
2834 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2838 # Check whether --with-xml was given.
2839 if test "${with_xml+set}" = set; then :
2840 withval=$with_xml;
2844 # Check whether --with-xrandr was given.
2845 if test "${with_xrandr+set}" = set; then :
2846 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2850 # Check whether --with-xrender was given.
2851 if test "${with_xrender+set}" = set; then :
2852 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2856 # Check whether --with-xshape was given.
2857 if test "${with_xshape+set}" = set; then :
2858 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2862 # Check whether --with-xshm was given.
2863 if test "${with_xshm+set}" = set; then :
2864 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2868 # Check whether --with-xslt was given.
2869 if test "${with_xslt+set}" = set; then :
2870 withval=$with_xslt;
2874 # Check whether --with-xxf86vm was given.
2875 if test "${with_xxf86vm+set}" = set; then :
2876 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
2880 # Check whether --with-zlib was given.
2881 if test "${with_zlib+set}" = set; then :
2882 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2887 # Check whether --with-wine-tools was given.
2888 if test "${with_wine_tools+set}" = set; then :
2889 withval=$with_wine_tools;
2893 # Check whether --with-wine64 was given.
2894 if test "${with_wine64+set}" = set; then :
2895 withval=$with_wine64;
2899 # Make sure we can run config.sub.
2900 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2901 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2904 $as_echo_n "checking build system type... " >&6; }
2905 if ${ac_cv_build+:} false; then :
2906 $as_echo_n "(cached) " >&6
2907 else
2908 ac_build_alias=$build_alias
2909 test "x$ac_build_alias" = x &&
2910 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2911 test "x$ac_build_alias" = x &&
2912 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2913 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2914 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2918 $as_echo "$ac_cv_build" >&6; }
2919 case $ac_cv_build in
2920 *-*-*) ;;
2921 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2922 esac
2923 build=$ac_cv_build
2924 ac_save_IFS=$IFS; IFS='-'
2925 set x $ac_cv_build
2926 shift
2927 build_cpu=$1
2928 build_vendor=$2
2929 shift; shift
2930 # Remember, the first character of IFS is used to create $*,
2931 # except with old shells:
2932 build_os=$*
2933 IFS=$ac_save_IFS
2934 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2938 $as_echo_n "checking host system type... " >&6; }
2939 if ${ac_cv_host+:} false; then :
2940 $as_echo_n "(cached) " >&6
2941 else
2942 if test "x$host_alias" = x; then
2943 ac_cv_host=$ac_cv_build
2944 else
2945 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2946 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2951 $as_echo "$ac_cv_host" >&6; }
2952 case $ac_cv_host in
2953 *-*-*) ;;
2954 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2955 esac
2956 host=$ac_cv_host
2957 ac_save_IFS=$IFS; IFS='-'
2958 set x $ac_cv_host
2959 shift
2960 host_cpu=$1
2961 host_vendor=$2
2962 shift; shift
2963 # Remember, the first character of IFS is used to create $*,
2964 # except with old shells:
2965 host_os=$*
2966 IFS=$ac_save_IFS
2967 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2971 case "$srcdir" in
2972 .) ;;
2973 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2974 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2975 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2976 fi ;;
2977 esac
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2981 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2982 set x ${MAKE-make}
2983 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2984 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2985 $as_echo_n "(cached) " >&6
2986 else
2987 cat >conftest.make <<\_ACEOF
2988 SHELL = /bin/sh
2989 all:
2990 @echo '@@@%%%=$(MAKE)=@@@%%%'
2991 _ACEOF
2992 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2993 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2994 *@@@%%%=?*=@@@%%%*)
2995 eval ac_cv_prog_make_${ac_make}_set=yes;;
2997 eval ac_cv_prog_make_${ac_make}_set=no;;
2998 esac
2999 rm -f conftest.make
3001 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3003 $as_echo "yes" >&6; }
3004 SET_MAKE=
3005 else
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007 $as_echo "no" >&6; }
3008 SET_MAKE="MAKE=${MAKE-make}"
3011 ac_ext=c
3012 ac_cpp='$CPP $CPPFLAGS'
3013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3016 if test -n "$ac_tool_prefix"; then
3017 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3018 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_CC+:} false; then :
3022 $as_echo_n "(cached) " >&6
3023 else
3024 if test -n "$CC"; then
3025 ac_cv_prog_CC="$CC" # Let the user override the test.
3026 else
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 for as_dir in $PATH
3030 IFS=$as_save_IFS
3031 test -z "$as_dir" && as_dir=.
3032 for ac_exec_ext in '' $ac_executable_extensions; do
3033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3034 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 break 2
3038 done
3039 done
3040 IFS=$as_save_IFS
3044 CC=$ac_cv_prog_CC
3045 if test -n "$CC"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3047 $as_echo "$CC" >&6; }
3048 else
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3055 if test -z "$ac_cv_prog_CC"; then
3056 ac_ct_CC=$CC
3057 # Extract the first word of "gcc", so it can be a program name with args.
3058 set dummy gcc; ac_word=$2
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3062 $as_echo_n "(cached) " >&6
3063 else
3064 if test -n "$ac_ct_CC"; then
3065 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3066 else
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 for as_dir in $PATH
3070 IFS=$as_save_IFS
3071 test -z "$as_dir" && as_dir=.
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3074 ac_cv_prog_ac_ct_CC="gcc"
3075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076 break 2
3078 done
3079 done
3080 IFS=$as_save_IFS
3084 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3085 if test -n "$ac_ct_CC"; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3087 $as_echo "$ac_ct_CC" >&6; }
3088 else
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3093 if test "x$ac_ct_CC" = x; then
3094 CC=""
3095 else
3096 case $cross_compiling:$ac_tool_warned in
3097 yes:)
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3100 ac_tool_warned=yes ;;
3101 esac
3102 CC=$ac_ct_CC
3104 else
3105 CC="$ac_cv_prog_CC"
3108 if test -z "$CC"; then
3109 if test -n "$ac_tool_prefix"; then
3110 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3111 set dummy ${ac_tool_prefix}cc; ac_word=$2
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113 $as_echo_n "checking for $ac_word... " >&6; }
3114 if ${ac_cv_prog_CC+:} false; then :
3115 $as_echo_n "(cached) " >&6
3116 else
3117 if test -n "$CC"; then
3118 ac_cv_prog_CC="$CC" # Let the user override the test.
3119 else
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121 for as_dir in $PATH
3123 IFS=$as_save_IFS
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127 ac_cv_prog_CC="${ac_tool_prefix}cc"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 break 2
3131 done
3132 done
3133 IFS=$as_save_IFS
3137 CC=$ac_cv_prog_CC
3138 if test -n "$CC"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3140 $as_echo "$CC" >&6; }
3141 else
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3149 if test -z "$CC"; then
3150 # Extract the first word of "cc", so it can be a program name with args.
3151 set dummy cc; ac_word=$2
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3153 $as_echo_n "checking for $ac_word... " >&6; }
3154 if ${ac_cv_prog_CC+:} false; then :
3155 $as_echo_n "(cached) " >&6
3156 else
3157 if test -n "$CC"; then
3158 ac_cv_prog_CC="$CC" # Let the user override the test.
3159 else
3160 ac_prog_rejected=no
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3162 for as_dir in $PATH
3164 IFS=$as_save_IFS
3165 test -z "$as_dir" && as_dir=.
3166 for ac_exec_ext in '' $ac_executable_extensions; do
3167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3168 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3169 ac_prog_rejected=yes
3170 continue
3172 ac_cv_prog_CC="cc"
3173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3174 break 2
3176 done
3177 done
3178 IFS=$as_save_IFS
3180 if test $ac_prog_rejected = yes; then
3181 # We found a bogon in the path, so make sure we never use it.
3182 set dummy $ac_cv_prog_CC
3183 shift
3184 if test $# != 0; then
3185 # We chose a different compiler from the bogus one.
3186 # However, it has the same basename, so the bogon will be chosen
3187 # first if we set CC to just the basename; use the full file name.
3188 shift
3189 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3194 CC=$ac_cv_prog_CC
3195 if test -n "$CC"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3197 $as_echo "$CC" >&6; }
3198 else
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200 $as_echo "no" >&6; }
3205 if test -z "$CC"; then
3206 if test -n "$ac_tool_prefix"; then
3207 for ac_prog in cl.exe
3209 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3210 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 $as_echo_n "checking for $ac_word... " >&6; }
3213 if ${ac_cv_prog_CC+:} false; then :
3214 $as_echo_n "(cached) " >&6
3215 else
3216 if test -n "$CC"; then
3217 ac_cv_prog_CC="$CC" # Let the user override the test.
3218 else
3219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 for as_dir in $PATH
3222 IFS=$as_save_IFS
3223 test -z "$as_dir" && as_dir=.
3224 for ac_exec_ext in '' $ac_executable_extensions; do
3225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3226 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3228 break 2
3230 done
3231 done
3232 IFS=$as_save_IFS
3236 CC=$ac_cv_prog_CC
3237 if test -n "$CC"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3239 $as_echo "$CC" >&6; }
3240 else
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3246 test -n "$CC" && break
3247 done
3249 if test -z "$CC"; then
3250 ac_ct_CC=$CC
3251 for ac_prog in cl.exe
3253 # Extract the first word of "$ac_prog", so it can be a program name with args.
3254 set dummy $ac_prog; ac_word=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3258 $as_echo_n "(cached) " >&6
3259 else
3260 if test -n "$ac_ct_CC"; then
3261 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3262 else
3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264 for as_dir in $PATH
3266 IFS=$as_save_IFS
3267 test -z "$as_dir" && as_dir=.
3268 for ac_exec_ext in '' $ac_executable_extensions; do
3269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3270 ac_cv_prog_ac_ct_CC="$ac_prog"
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272 break 2
3274 done
3275 done
3276 IFS=$as_save_IFS
3280 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3281 if test -n "$ac_ct_CC"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3283 $as_echo "$ac_ct_CC" >&6; }
3284 else
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3290 test -n "$ac_ct_CC" && break
3291 done
3293 if test "x$ac_ct_CC" = x; then
3294 CC=""
3295 else
3296 case $cross_compiling:$ac_tool_warned in
3297 yes:)
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3300 ac_tool_warned=yes ;;
3301 esac
3302 CC=$ac_ct_CC
3309 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3311 as_fn_error $? "no acceptable C compiler found in \$PATH
3312 See \`config.log' for more details" "$LINENO" 5; }
3314 # Provide some information about the compiler.
3315 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3316 set X $ac_compile
3317 ac_compiler=$2
3318 for ac_option in --version -v -V -qversion; do
3319 { { ac_try="$ac_compiler $ac_option >&5"
3320 case "(($ac_try" in
3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3323 esac
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3327 ac_status=$?
3328 if test -s conftest.err; then
3329 sed '10a\
3330 ... rest of stderr output deleted ...
3331 10q' conftest.err >conftest.er1
3332 cat conftest.er1 >&5
3334 rm -f conftest.er1 conftest.err
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; }
3337 done
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3343 main ()
3347 return 0;
3349 _ACEOF
3350 ac_clean_files_save=$ac_clean_files
3351 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3352 # Try to create an executable without -o first, disregard a.out.
3353 # It will help us diagnose broken compilers, and finding out an intuition
3354 # of exeext.
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3356 $as_echo_n "checking whether the C compiler works... " >&6; }
3357 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3359 # The possible output files:
3360 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3362 ac_rmfiles=
3363 for ac_file in $ac_files
3365 case $ac_file in
3366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3367 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3368 esac
3369 done
3370 rm -f $ac_rmfiles
3372 if { { ac_try="$ac_link_default"
3373 case "(($ac_try" in
3374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3375 *) ac_try_echo=$ac_try;;
3376 esac
3377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3378 $as_echo "$ac_try_echo"; } >&5
3379 (eval "$ac_link_default") 2>&5
3380 ac_status=$?
3381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3382 test $ac_status = 0; }; then :
3383 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3384 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3385 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3386 # so that the user can short-circuit this test for compilers unknown to
3387 # Autoconf.
3388 for ac_file in $ac_files ''
3390 test -f "$ac_file" || continue
3391 case $ac_file in
3392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3394 [ab].out )
3395 # We found the default executable, but exeext='' is most
3396 # certainly right.
3397 break;;
3398 *.* )
3399 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3400 then :; else
3401 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3403 # We set ac_cv_exeext here because the later test for it is not
3404 # safe: cross compilers may not add the suffix if given an `-o'
3405 # argument, so we may need to know it at that point already.
3406 # Even if this section looks crufty: it has the advantage of
3407 # actually working.
3408 break;;
3410 break;;
3411 esac
3412 done
3413 test "$ac_cv_exeext" = no && ac_cv_exeext=
3415 else
3416 ac_file=''
3418 if test -z "$ac_file"; then :
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3420 $as_echo "no" >&6; }
3421 $as_echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3426 as_fn_error 77 "C compiler cannot create executables
3427 See \`config.log' for more details" "$LINENO" 5; }
3428 else
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3430 $as_echo "yes" >&6; }
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3433 $as_echo_n "checking for C compiler default output file name... " >&6; }
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3435 $as_echo "$ac_file" >&6; }
3436 ac_exeext=$ac_cv_exeext
3438 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3439 ac_clean_files=$ac_clean_files_save
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3441 $as_echo_n "checking for suffix of executables... " >&6; }
3442 if { { ac_try="$ac_link"
3443 case "(($ac_try" in
3444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445 *) ac_try_echo=$ac_try;;
3446 esac
3447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3448 $as_echo "$ac_try_echo"; } >&5
3449 (eval "$ac_link") 2>&5
3450 ac_status=$?
3451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452 test $ac_status = 0; }; then :
3453 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3454 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3455 # work properly (i.e., refer to `conftest.exe'), while it won't with
3456 # `rm'.
3457 for ac_file in conftest.exe conftest conftest.*; do
3458 test -f "$ac_file" || continue
3459 case $ac_file in
3460 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3461 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3462 break;;
3463 * ) break;;
3464 esac
3465 done
3466 else
3467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3469 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3470 See \`config.log' for more details" "$LINENO" 5; }
3472 rm -f conftest conftest$ac_cv_exeext
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3474 $as_echo "$ac_cv_exeext" >&6; }
3476 rm -f conftest.$ac_ext
3477 EXEEXT=$ac_cv_exeext
3478 ac_exeext=$EXEEXT
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3481 #include <stdio.h>
3483 main ()
3485 FILE *f = fopen ("conftest.out", "w");
3486 return ferror (f) || fclose (f) != 0;
3489 return 0;
3491 _ACEOF
3492 ac_clean_files="$ac_clean_files conftest.out"
3493 # Check that the compiler produces executables we can run. If not, either
3494 # the compiler is broken, or we cross compile.
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3496 $as_echo_n "checking whether we are cross compiling... " >&6; }
3497 if test "$cross_compiling" != yes; then
3498 { { ac_try="$ac_link"
3499 case "(($ac_try" in
3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501 *) ac_try_echo=$ac_try;;
3502 esac
3503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3504 $as_echo "$ac_try_echo"; } >&5
3505 (eval "$ac_link") 2>&5
3506 ac_status=$?
3507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3508 test $ac_status = 0; }
3509 if { ac_try='./conftest$ac_cv_exeext'
3510 { { case "(($ac_try" in
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3513 esac
3514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515 $as_echo "$ac_try_echo"; } >&5
3516 (eval "$ac_try") 2>&5
3517 ac_status=$?
3518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519 test $ac_status = 0; }; }; then
3520 cross_compiling=no
3521 else
3522 if test "$cross_compiling" = maybe; then
3523 cross_compiling=yes
3524 else
3525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527 as_fn_error $? "cannot run C compiled programs.
3528 If you meant to cross compile, use \`--host'.
3529 See \`config.log' for more details" "$LINENO" 5; }
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3534 $as_echo "$cross_compiling" >&6; }
3536 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3537 ac_clean_files=$ac_clean_files_save
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3539 $as_echo_n "checking for suffix of object files... " >&6; }
3540 if ${ac_cv_objext+:} false; then :
3541 $as_echo_n "(cached) " >&6
3542 else
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3547 main ()
3551 return 0;
3553 _ACEOF
3554 rm -f conftest.o conftest.obj
3555 if { { ac_try="$ac_compile"
3556 case "(($ac_try" in
3557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3558 *) ac_try_echo=$ac_try;;
3559 esac
3560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3561 $as_echo "$ac_try_echo"; } >&5
3562 (eval "$ac_compile") 2>&5
3563 ac_status=$?
3564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3565 test $ac_status = 0; }; then :
3566 for ac_file in conftest.o conftest.obj conftest.*; do
3567 test -f "$ac_file" || continue;
3568 case $ac_file in
3569 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3570 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3571 break;;
3572 esac
3573 done
3574 else
3575 $as_echo "$as_me: failed program was:" >&5
3576 sed 's/^/| /' conftest.$ac_ext >&5
3578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 as_fn_error $? "cannot compute suffix of object files: cannot compile
3581 See \`config.log' for more details" "$LINENO" 5; }
3583 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3586 $as_echo "$ac_cv_objext" >&6; }
3587 OBJEXT=$ac_cv_objext
3588 ac_objext=$OBJEXT
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3590 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3591 if ${ac_cv_c_compiler_gnu+:} false; then :
3592 $as_echo_n "(cached) " >&6
3593 else
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3598 main ()
3600 #ifndef __GNUC__
3601 choke me
3602 #endif
3605 return 0;
3607 _ACEOF
3608 if ac_fn_c_try_compile "$LINENO"; then :
3609 ac_compiler_gnu=yes
3610 else
3611 ac_compiler_gnu=no
3613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3614 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3618 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3619 if test $ac_compiler_gnu = yes; then
3620 GCC=yes
3621 else
3622 GCC=
3624 ac_test_CFLAGS=${CFLAGS+set}
3625 ac_save_CFLAGS=$CFLAGS
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3627 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3628 if ${ac_cv_prog_cc_g+:} false; then :
3629 $as_echo_n "(cached) " >&6
3630 else
3631 ac_save_c_werror_flag=$ac_c_werror_flag
3632 ac_c_werror_flag=yes
3633 ac_cv_prog_cc_g=no
3634 CFLAGS="-g"
3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3639 main ()
3643 return 0;
3645 _ACEOF
3646 if ac_fn_c_try_compile "$LINENO"; then :
3647 ac_cv_prog_cc_g=yes
3648 else
3649 CFLAGS=""
3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3654 main ()
3658 return 0;
3660 _ACEOF
3661 if ac_fn_c_try_compile "$LINENO"; then :
3663 else
3664 ac_c_werror_flag=$ac_save_c_werror_flag
3665 CFLAGS="-g"
3666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3667 /* end confdefs.h. */
3670 main ()
3674 return 0;
3676 _ACEOF
3677 if ac_fn_c_try_compile "$LINENO"; then :
3678 ac_cv_prog_cc_g=yes
3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3685 ac_c_werror_flag=$ac_save_c_werror_flag
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3688 $as_echo "$ac_cv_prog_cc_g" >&6; }
3689 if test "$ac_test_CFLAGS" = set; then
3690 CFLAGS=$ac_save_CFLAGS
3691 elif test $ac_cv_prog_cc_g = yes; then
3692 if test "$GCC" = yes; then
3693 CFLAGS="-g -O2"
3694 else
3695 CFLAGS="-g"
3697 else
3698 if test "$GCC" = yes; then
3699 CFLAGS="-O2"
3700 else
3701 CFLAGS=
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3705 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3706 if ${ac_cv_prog_cc_c89+:} false; then :
3707 $as_echo_n "(cached) " >&6
3708 else
3709 ac_cv_prog_cc_c89=no
3710 ac_save_CC=$CC
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3713 #include <stdarg.h>
3714 #include <stdio.h>
3715 struct stat;
3716 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3717 struct buf { int x; };
3718 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3719 static char *e (p, i)
3720 char **p;
3721 int i;
3723 return p[i];
3725 static char *f (char * (*g) (char **, int), char **p, ...)
3727 char *s;
3728 va_list v;
3729 va_start (v,p);
3730 s = g (p, va_arg (v,int));
3731 va_end (v);
3732 return s;
3735 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3736 function prototypes and stuff, but not '\xHH' hex character constants.
3737 These don't provoke an error unfortunately, instead are silently treated
3738 as 'x'. The following induces an error, until -std is added to get
3739 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3740 array size at least. It's necessary to write '\x00'==0 to get something
3741 that's true only with -std. */
3742 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3744 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3745 inside strings and character constants. */
3746 #define FOO(x) 'x'
3747 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3749 int test (int i, double x);
3750 struct s1 {int (*f) (int a);};
3751 struct s2 {int (*f) (double a);};
3752 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3753 int argc;
3754 char **argv;
3756 main ()
3758 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3760 return 0;
3762 _ACEOF
3763 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3764 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3766 CC="$ac_save_CC $ac_arg"
3767 if ac_fn_c_try_compile "$LINENO"; then :
3768 ac_cv_prog_cc_c89=$ac_arg
3770 rm -f core conftest.err conftest.$ac_objext
3771 test "x$ac_cv_prog_cc_c89" != "xno" && break
3772 done
3773 rm -f conftest.$ac_ext
3774 CC=$ac_save_CC
3777 # AC_CACHE_VAL
3778 case "x$ac_cv_prog_cc_c89" in
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3781 $as_echo "none needed" >&6; } ;;
3782 xno)
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3784 $as_echo "unsupported" >&6; } ;;
3786 CC="$CC $ac_cv_prog_cc_c89"
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3788 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3789 esac
3790 if test "x$ac_cv_prog_cc_c89" != xno; then :
3794 ac_ext=c
3795 ac_cpp='$CPP $CPPFLAGS'
3796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3800 ac_ext=cpp
3801 ac_cpp='$CXXCPP $CPPFLAGS'
3802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3805 if test -z "$CXX"; then
3806 if test -n "$CCC"; then
3807 CXX=$CCC
3808 else
3809 if test -n "$ac_tool_prefix"; then
3810 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3812 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3813 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_CXX+:} false; then :
3817 $as_echo_n "(cached) " >&6
3818 else
3819 if test -n "$CXX"; then
3820 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3821 else
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3823 for as_dir in $PATH
3825 IFS=$as_save_IFS
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 break 2
3833 done
3834 done
3835 IFS=$as_save_IFS
3839 CXX=$ac_cv_prog_CXX
3840 if test -n "$CXX"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3842 $as_echo "$CXX" >&6; }
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3849 test -n "$CXX" && break
3850 done
3852 if test -z "$CXX"; then
3853 ac_ct_CXX=$CXX
3854 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3856 # Extract the first word of "$ac_prog", so it can be a program name with args.
3857 set dummy $ac_prog; ac_word=$2
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3859 $as_echo_n "checking for $ac_word... " >&6; }
3860 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3861 $as_echo_n "(cached) " >&6
3862 else
3863 if test -n "$ac_ct_CXX"; then
3864 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3865 else
3866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3867 for as_dir in $PATH
3869 IFS=$as_save_IFS
3870 test -z "$as_dir" && as_dir=.
3871 for ac_exec_ext in '' $ac_executable_extensions; do
3872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3873 ac_cv_prog_ac_ct_CXX="$ac_prog"
3874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3875 break 2
3877 done
3878 done
3879 IFS=$as_save_IFS
3883 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3884 if test -n "$ac_ct_CXX"; then
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3886 $as_echo "$ac_ct_CXX" >&6; }
3887 else
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3889 $as_echo "no" >&6; }
3893 test -n "$ac_ct_CXX" && break
3894 done
3896 if test "x$ac_ct_CXX" = x; then
3897 CXX="g++"
3898 else
3899 case $cross_compiling:$ac_tool_warned in
3900 yes:)
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3903 ac_tool_warned=yes ;;
3904 esac
3905 CXX=$ac_ct_CXX
3911 # Provide some information about the compiler.
3912 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3913 set X $ac_compile
3914 ac_compiler=$2
3915 for ac_option in --version -v -V -qversion; do
3916 { { ac_try="$ac_compiler $ac_option >&5"
3917 case "(($ac_try" in
3918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3919 *) ac_try_echo=$ac_try;;
3920 esac
3921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3922 $as_echo "$ac_try_echo"; } >&5
3923 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3924 ac_status=$?
3925 if test -s conftest.err; then
3926 sed '10a\
3927 ... rest of stderr output deleted ...
3928 10q' conftest.err >conftest.er1
3929 cat conftest.er1 >&5
3931 rm -f conftest.er1 conftest.err
3932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3933 test $ac_status = 0; }
3934 done
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3937 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3938 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3939 $as_echo_n "(cached) " >&6
3940 else
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3945 main ()
3947 #ifndef __GNUC__
3948 choke me
3949 #endif
3952 return 0;
3954 _ACEOF
3955 if ac_fn_cxx_try_compile "$LINENO"; then :
3956 ac_compiler_gnu=yes
3957 else
3958 ac_compiler_gnu=no
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3965 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3966 if test $ac_compiler_gnu = yes; then
3967 GXX=yes
3968 else
3969 GXX=
3971 ac_test_CXXFLAGS=${CXXFLAGS+set}
3972 ac_save_CXXFLAGS=$CXXFLAGS
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3974 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3975 if ${ac_cv_prog_cxx_g+:} false; then :
3976 $as_echo_n "(cached) " >&6
3977 else
3978 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3979 ac_cxx_werror_flag=yes
3980 ac_cv_prog_cxx_g=no
3981 CXXFLAGS="-g"
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3986 main ()
3990 return 0;
3992 _ACEOF
3993 if ac_fn_cxx_try_compile "$LINENO"; then :
3994 ac_cv_prog_cxx_g=yes
3995 else
3996 CXXFLAGS=""
3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h. */
4001 main ()
4005 return 0;
4007 _ACEOF
4008 if ac_fn_cxx_try_compile "$LINENO"; then :
4010 else
4011 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4012 CXXFLAGS="-g"
4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h. */
4017 main ()
4021 return 0;
4023 _ACEOF
4024 if ac_fn_cxx_try_compile "$LINENO"; then :
4025 ac_cv_prog_cxx_g=yes
4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4035 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4036 if test "$ac_test_CXXFLAGS" = set; then
4037 CXXFLAGS=$ac_save_CXXFLAGS
4038 elif test $ac_cv_prog_cxx_g = yes; then
4039 if test "$GXX" = yes; then
4040 CXXFLAGS="-g -O2"
4041 else
4042 CXXFLAGS="-g"
4044 else
4045 if test "$GXX" = yes; then
4046 CXXFLAGS="-O2"
4047 else
4048 CXXFLAGS=
4051 ac_ext=c
4052 ac_cpp='$CPP $CPPFLAGS'
4053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4057 if test -n "$ac_tool_prefix"; then
4058 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4059 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_CPPBIN+:} false; then :
4063 $as_echo_n "(cached) " >&6
4064 else
4065 if test -n "$CPPBIN"; then
4066 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4067 else
4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 for as_dir in $PATH
4071 IFS=$as_save_IFS
4072 test -z "$as_dir" && as_dir=.
4073 for ac_exec_ext in '' $ac_executable_extensions; do
4074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4077 break 2
4079 done
4080 done
4081 IFS=$as_save_IFS
4085 CPPBIN=$ac_cv_prog_CPPBIN
4086 if test -n "$CPPBIN"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4088 $as_echo "$CPPBIN" >&6; }
4089 else
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4096 if test -z "$ac_cv_prog_CPPBIN"; then
4097 ac_ct_CPPBIN=$CPPBIN
4098 # Extract the first word of "cpp", so it can be a program name with args.
4099 set dummy cpp; ac_word=$2
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4101 $as_echo_n "checking for $ac_word... " >&6; }
4102 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4103 $as_echo_n "(cached) " >&6
4104 else
4105 if test -n "$ac_ct_CPPBIN"; then
4106 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4107 else
4108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109 for as_dir in $PATH
4111 IFS=$as_save_IFS
4112 test -z "$as_dir" && as_dir=.
4113 for ac_exec_ext in '' $ac_executable_extensions; do
4114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4115 ac_cv_prog_ac_ct_CPPBIN="cpp"
4116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 break 2
4119 done
4120 done
4121 IFS=$as_save_IFS
4125 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4126 if test -n "$ac_ct_CPPBIN"; then
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4128 $as_echo "$ac_ct_CPPBIN" >&6; }
4129 else
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4131 $as_echo "no" >&6; }
4134 if test "x$ac_ct_CPPBIN" = x; then
4135 CPPBIN="cpp"
4136 else
4137 case $cross_compiling:$ac_tool_warned in
4138 yes:)
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4141 ac_tool_warned=yes ;;
4142 esac
4143 CPPBIN=$ac_ct_CPPBIN
4145 else
4146 CPPBIN="$ac_cv_prog_CPPBIN"
4150 cat >>confdefs.h <<_ACEOF
4151 #define EXEEXT "$ac_exeext"
4152 _ACEOF
4155 case $host in
4156 *-darwin*)
4157 if test "x$enable_win64" = "xyes"
4158 then
4159 CC="$CC -m64"
4160 CXX="$CXX -m64"
4161 host_cpu="x86_64"
4162 notice_platform="64-bit "
4163 TARGETFLAGS="-m64"
4165 else
4166 CC="$CC -m32"
4167 CXX="$CXX -m32"
4168 host_cpu="i386"
4169 notice_platform="32-bit "
4170 TARGETFLAGS="-m32"
4172 enable_win16=${enable_win16:-yes}
4174 with_fontconfig=${with_fontconfig:-no}
4176 x86_64*)
4177 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4178 then
4179 CC="$CC -m32"
4180 CXX="$CXX -m32"
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4182 $as_echo_n "checking whether $CC works... " >&6; }
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4188 main ()
4192 return 0;
4194 _ACEOF
4195 if ac_fn_c_try_link "$LINENO"; then :
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4197 $as_echo "yes" >&6; }
4198 else
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4200 $as_echo "no" >&6; }
4201 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4203 rm -f core conftest.err conftest.$ac_objext \
4204 conftest$ac_exeext conftest.$ac_ext
4205 host_cpu="i386"
4206 notice_platform="32-bit "
4207 TARGETFLAGS="-m32"
4209 enable_win16=${enable_win16:-yes}
4210 else
4211 if test "x${GCC}" = "xyes"
4212 then
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4214 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4217 #include <stdarg.h>
4219 main ()
4221 void func(__builtin_ms_va_list *args);
4223 return 0;
4225 _ACEOF
4226 if ac_fn_c_try_compile "$LINENO"; then :
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4228 $as_echo "yes" >&6; }
4229 else
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4232 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 TARGETFLAGS="-m64"
4240 arm*)
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4242 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4245 int ac_test(int i) { return i; }
4247 main ()
4249 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4251 return 0;
4253 _ACEOF
4254 if ac_fn_c_try_link "$LINENO"; then :
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4256 $as_echo "yes" >&6; }
4257 else
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4260 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4262 rm -f core conftest.err conftest.$ac_objext \
4263 conftest$ac_exeext conftest.$ac_ext
4264 CFLAGS="$CFLAGS -marm"
4266 *-mingw32*|*-cygwin*)
4267 enable_win16=${enable_win16:-no}
4268 CFLAGS="$CFLAGS -D_WIN32"
4270 i[3456789]86*)
4271 enable_win16=${enable_win16:-yes}
4273 esac
4275 enable_win16=${enable_win16:-no}
4276 enable_win64=${enable_win64:-no}
4278 enable_winetest=${enable_winetest:-$enable_tests}
4280 if test -n "$with_wine64"
4281 then
4282 if test "x$enable_win64" = "xyes"
4283 then
4284 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4285 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4287 WOW64_DISABLE=\#
4289 enable_fonts=${enable_fonts:-no}
4290 enable_server=${enable_server:-no}
4291 enable_tools=${enable_tools:-no}
4292 elif test "x$enable_win64" = "xyes"
4293 then
4294 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4298 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4299 if ${wine_cv_toolsdir+:} false; then :
4300 $as_echo_n "(cached) " >&6
4301 else
4302 wine_cv_toolsdir="$with_wine_tools"
4303 if test -z "$with_wine_tools"; then
4304 if test "$cross_compiling" = "yes"; then
4305 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4306 elif test -n "$with_wine64"; then
4307 wine_cv_toolsdir="$with_wine64"
4310 if test -z "$wine_cv_toolsdir"; then
4311 wine_cv_toolsdir="\$(top_builddir)"
4312 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4313 case "$wine_cv_toolsdir" in
4314 /*) ;;
4315 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4316 esac
4317 else
4318 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4322 $as_echo "$wine_cv_toolsdir" >&6; }
4323 TOOLSDIR=$wine_cv_toolsdir
4325 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4326 then
4327 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4331 for ac_prog in flex
4333 # Extract the first word of "$ac_prog", so it can be a program name with args.
4334 set dummy $ac_prog; ac_word=$2
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4336 $as_echo_n "checking for $ac_word... " >&6; }
4337 if ${ac_cv_prog_FLEX+:} false; then :
4338 $as_echo_n "(cached) " >&6
4339 else
4340 if test -n "$FLEX"; then
4341 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4342 else
4343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344 for as_dir in $PATH
4346 IFS=$as_save_IFS
4347 test -z "$as_dir" && as_dir=.
4348 for ac_exec_ext in '' $ac_executable_extensions; do
4349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4350 ac_cv_prog_FLEX="$ac_prog"
4351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 break 2
4354 done
4355 done
4356 IFS=$as_save_IFS
4360 FLEX=$ac_cv_prog_FLEX
4361 if test -n "$FLEX"; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4363 $as_echo "$FLEX" >&6; }
4364 else
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4366 $as_echo "no" >&6; }
4370 test -n "$FLEX" && break
4371 done
4372 test -n "$FLEX" || FLEX="none"
4374 if test "$FLEX" = "none"
4375 then
4376 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4379 $as_echo_n "checking whether flex is recent enough... " >&6; }
4380 cat >conftest.l <<EOF
4381 %top{
4382 #include "prediluvian.h"
4386 if $FLEX -t conftest.l >/dev/null 2>&5
4387 then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4389 $as_echo "yes" >&6; }
4390 else
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 $as_echo "no" >&6; }
4393 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4396 for ac_prog in bison
4398 # Extract the first word of "$ac_prog", so it can be a program name with args.
4399 set dummy $ac_prog; ac_word=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_BISON+:} false; then :
4403 $as_echo_n "(cached) " >&6
4404 else
4405 if test -n "$BISON"; then
4406 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4407 else
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 for as_dir in $PATH
4411 IFS=$as_save_IFS
4412 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_BISON="$ac_prog"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 break 2
4419 done
4420 done
4421 IFS=$as_save_IFS
4425 BISON=$ac_cv_prog_BISON
4426 if test -n "$BISON"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4428 $as_echo "$BISON" >&6; }
4429 else
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4435 test -n "$BISON" && break
4436 done
4437 test -n "$BISON" || BISON="none"
4439 if test "$BISON" = "none"
4440 then
4441 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4444 if test -n "$ac_tool_prefix"; then
4445 for ac_prog in ar gar
4447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4448 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4450 $as_echo_n "checking for $ac_word... " >&6; }
4451 if ${ac_cv_prog_AR+:} false; then :
4452 $as_echo_n "(cached) " >&6
4453 else
4454 if test -n "$AR"; then
4455 ac_cv_prog_AR="$AR" # Let the user override the test.
4456 else
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4458 for as_dir in $PATH
4460 IFS=$as_save_IFS
4461 test -z "$as_dir" && as_dir=.
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4464 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 break 2
4468 done
4469 done
4470 IFS=$as_save_IFS
4474 AR=$ac_cv_prog_AR
4475 if test -n "$AR"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4477 $as_echo "$AR" >&6; }
4478 else
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4484 test -n "$AR" && break
4485 done
4487 if test -z "$AR"; then
4488 ac_ct_AR=$AR
4489 for ac_prog in ar gar
4491 # Extract the first word of "$ac_prog", so it can be a program name with args.
4492 set dummy $ac_prog; ac_word=$2
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494 $as_echo_n "checking for $ac_word... " >&6; }
4495 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4496 $as_echo_n "(cached) " >&6
4497 else
4498 if test -n "$ac_ct_AR"; then
4499 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4500 else
4501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4502 for as_dir in $PATH
4504 IFS=$as_save_IFS
4505 test -z "$as_dir" && as_dir=.
4506 for ac_exec_ext in '' $ac_executable_extensions; do
4507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4508 ac_cv_prog_ac_ct_AR="$ac_prog"
4509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4510 break 2
4512 done
4513 done
4514 IFS=$as_save_IFS
4518 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4519 if test -n "$ac_ct_AR"; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4521 $as_echo "$ac_ct_AR" >&6; }
4522 else
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524 $as_echo "no" >&6; }
4528 test -n "$ac_ct_AR" && break
4529 done
4531 if test "x$ac_ct_AR" = x; then
4532 AR="ar"
4533 else
4534 case $cross_compiling:$ac_tool_warned in
4535 yes:)
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4538 ac_tool_warned=yes ;;
4539 esac
4540 AR=$ac_ct_AR
4544 ARFLAGS=rc
4546 if test -n "$ac_tool_prefix"; then
4547 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4548 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4550 $as_echo_n "checking for $ac_word... " >&6; }
4551 if ${ac_cv_prog_RANLIB+:} false; then :
4552 $as_echo_n "(cached) " >&6
4553 else
4554 if test -n "$RANLIB"; then
4555 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4556 else
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 for as_dir in $PATH
4560 IFS=$as_save_IFS
4561 test -z "$as_dir" && as_dir=.
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4564 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 break 2
4568 done
4569 done
4570 IFS=$as_save_IFS
4574 RANLIB=$ac_cv_prog_RANLIB
4575 if test -n "$RANLIB"; then
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4577 $as_echo "$RANLIB" >&6; }
4578 else
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 $as_echo "no" >&6; }
4585 if test -z "$ac_cv_prog_RANLIB"; then
4586 ac_ct_RANLIB=$RANLIB
4587 # Extract the first word of "ranlib", so it can be a program name with args.
4588 set dummy ranlib; ac_word=$2
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590 $as_echo_n "checking for $ac_word... " >&6; }
4591 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4592 $as_echo_n "(cached) " >&6
4593 else
4594 if test -n "$ac_ct_RANLIB"; then
4595 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4596 else
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 for as_dir in $PATH
4600 IFS=$as_save_IFS
4601 test -z "$as_dir" && as_dir=.
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604 ac_cv_prog_ac_ct_RANLIB="ranlib"
4605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 break 2
4608 done
4609 done
4610 IFS=$as_save_IFS
4614 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4615 if test -n "$ac_ct_RANLIB"; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4617 $as_echo "$ac_ct_RANLIB" >&6; }
4618 else
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4620 $as_echo "no" >&6; }
4623 if test "x$ac_ct_RANLIB" = x; then
4624 RANLIB=":"
4625 else
4626 case $cross_compiling:$ac_tool_warned in
4627 yes:)
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4630 ac_tool_warned=yes ;;
4631 esac
4632 RANLIB=$ac_ct_RANLIB
4634 else
4635 RANLIB="$ac_cv_prog_RANLIB"
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4639 $as_echo_n "checking whether ln -s works... " >&6; }
4640 LN_S=$as_ln_s
4641 if test "$LN_S" = "ln -s"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4643 $as_echo "yes" >&6; }
4644 else
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4646 $as_echo "no, using $LN_S" >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4650 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4651 if ${ac_cv_path_GREP+:} false; then :
4652 $as_echo_n "(cached) " >&6
4653 else
4654 if test -z "$GREP"; then
4655 ac_path_GREP_found=false
4656 # Loop through the user's path and test for each of PROGNAME-LIST
4657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4658 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4660 IFS=$as_save_IFS
4661 test -z "$as_dir" && as_dir=.
4662 for ac_prog in grep ggrep; do
4663 for ac_exec_ext in '' $ac_executable_extensions; do
4664 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4665 as_fn_executable_p "$ac_path_GREP" || continue
4666 # Check for GNU ac_path_GREP and select it if it is found.
4667 # Check for GNU $ac_path_GREP
4668 case `"$ac_path_GREP" --version 2>&1` in
4669 *GNU*)
4670 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4672 ac_count=0
4673 $as_echo_n 0123456789 >"conftest.in"
4674 while :
4676 cat "conftest.in" "conftest.in" >"conftest.tmp"
4677 mv "conftest.tmp" "conftest.in"
4678 cp "conftest.in" "conftest.nl"
4679 $as_echo 'GREP' >> "conftest.nl"
4680 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4681 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4682 as_fn_arith $ac_count + 1 && ac_count=$as_val
4683 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4684 # Best one so far, save it but keep looking for a better one
4685 ac_cv_path_GREP="$ac_path_GREP"
4686 ac_path_GREP_max=$ac_count
4688 # 10*(2^10) chars as input seems more than enough
4689 test $ac_count -gt 10 && break
4690 done
4691 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4692 esac
4694 $ac_path_GREP_found && break 3
4695 done
4696 done
4697 done
4698 IFS=$as_save_IFS
4699 if test -z "$ac_cv_path_GREP"; then
4700 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4702 else
4703 ac_cv_path_GREP=$GREP
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4708 $as_echo "$ac_cv_path_GREP" >&6; }
4709 GREP="$ac_cv_path_GREP"
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4713 $as_echo_n "checking for egrep... " >&6; }
4714 if ${ac_cv_path_EGREP+:} false; then :
4715 $as_echo_n "(cached) " >&6
4716 else
4717 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4718 then ac_cv_path_EGREP="$GREP -E"
4719 else
4720 if test -z "$EGREP"; then
4721 ac_path_EGREP_found=false
4722 # Loop through the user's path and test for each of PROGNAME-LIST
4723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4724 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4726 IFS=$as_save_IFS
4727 test -z "$as_dir" && as_dir=.
4728 for ac_prog in egrep; do
4729 for ac_exec_ext in '' $ac_executable_extensions; do
4730 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4731 as_fn_executable_p "$ac_path_EGREP" || continue
4732 # Check for GNU ac_path_EGREP and select it if it is found.
4733 # Check for GNU $ac_path_EGREP
4734 case `"$ac_path_EGREP" --version 2>&1` in
4735 *GNU*)
4736 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4738 ac_count=0
4739 $as_echo_n 0123456789 >"conftest.in"
4740 while :
4742 cat "conftest.in" "conftest.in" >"conftest.tmp"
4743 mv "conftest.tmp" "conftest.in"
4744 cp "conftest.in" "conftest.nl"
4745 $as_echo 'EGREP' >> "conftest.nl"
4746 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4747 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4748 as_fn_arith $ac_count + 1 && ac_count=$as_val
4749 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4750 # Best one so far, save it but keep looking for a better one
4751 ac_cv_path_EGREP="$ac_path_EGREP"
4752 ac_path_EGREP_max=$ac_count
4754 # 10*(2^10) chars as input seems more than enough
4755 test $ac_count -gt 10 && break
4756 done
4757 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4758 esac
4760 $ac_path_EGREP_found && break 3
4761 done
4762 done
4763 done
4764 IFS=$as_save_IFS
4765 if test -z "$ac_cv_path_EGREP"; then
4766 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4768 else
4769 ac_cv_path_EGREP=$EGREP
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4775 $as_echo "$ac_cv_path_EGREP" >&6; }
4776 EGREP="$ac_cv_path_EGREP"
4779 # Extract the first word of "ldconfig", so it can be a program name with args.
4780 set dummy ldconfig; ac_word=$2
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4782 $as_echo_n "checking for $ac_word... " >&6; }
4783 if ${ac_cv_path_LDCONFIG+:} false; then :
4784 $as_echo_n "(cached) " >&6
4785 else
4786 case $LDCONFIG in
4787 [\\/]* | ?:[\\/]*)
4788 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 for as_dir in /sbin /usr/sbin $PATH
4794 IFS=$as_save_IFS
4795 test -z "$as_dir" && as_dir=.
4796 for ac_exec_ext in '' $ac_executable_extensions; do
4797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4798 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4800 break 2
4802 done
4803 done
4804 IFS=$as_save_IFS
4806 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4808 esac
4810 LDCONFIG=$ac_cv_path_LDCONFIG
4811 if test -n "$LDCONFIG"; then
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4813 $as_echo "$LDCONFIG" >&6; }
4814 else
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4820 # Find a good install program. We prefer a C program (faster),
4821 # so one script is as good as another. But avoid the broken or
4822 # incompatible versions:
4823 # SysV /etc/install, /usr/sbin/install
4824 # SunOS /usr/etc/install
4825 # IRIX /sbin/install
4826 # AIX /bin/install
4827 # AmigaOS /C/install, which installs bootblocks on floppy discs
4828 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4829 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4830 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4831 # OS/2's system install, which has a completely different semantic
4832 # ./install, which can be erroneously created by make from ./install.sh.
4833 # Reject install programs that cannot install multiple files.
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4835 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4836 if test -z "$INSTALL"; then
4837 if ${ac_cv_path_install+:} false; then :
4838 $as_echo_n "(cached) " >&6
4839 else
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 for as_dir in $PATH
4843 IFS=$as_save_IFS
4844 test -z "$as_dir" && as_dir=.
4845 # Account for people who put trailing slashes in PATH elements.
4846 case $as_dir/ in #((
4847 ./ | .// | /[cC]/* | \
4848 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4849 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4850 /usr/ucb/* ) ;;
4852 # OSF1 and SCO ODT 3.0 have their own names for install.
4853 # Don't use installbsd from OSF since it installs stuff as root
4854 # by default.
4855 for ac_prog in ginstall scoinst install; do
4856 for ac_exec_ext in '' $ac_executable_extensions; do
4857 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4858 if test $ac_prog = install &&
4859 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4860 # AIX install. It has an incompatible calling convention.
4862 elif test $ac_prog = install &&
4863 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4864 # program-specific install script used by HP pwplus--don't use.
4866 else
4867 rm -rf conftest.one conftest.two conftest.dir
4868 echo one > conftest.one
4869 echo two > conftest.two
4870 mkdir conftest.dir
4871 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4872 test -s conftest.one && test -s conftest.two &&
4873 test -s conftest.dir/conftest.one &&
4874 test -s conftest.dir/conftest.two
4875 then
4876 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4877 break 3
4881 done
4882 done
4884 esac
4886 done
4887 IFS=$as_save_IFS
4889 rm -rf conftest.one conftest.two conftest.dir
4892 if test "${ac_cv_path_install+set}" = set; then
4893 INSTALL=$ac_cv_path_install
4894 else
4895 # As a last resort, use the slow shell script. Don't cache a
4896 # value for INSTALL within a source directory, because that will
4897 # break other packages using the cache if that directory is
4898 # removed, or if the value is a relative name.
4899 INSTALL=$ac_install_sh
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4903 $as_echo "$INSTALL" >&6; }
4905 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4906 # It thinks the first close brace ends the variable substitution.
4907 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4909 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4911 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4913 case "$INSTALL" in
4914 [\\/$]* | ?:[\\/]* ) ;;
4915 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4916 esac
4918 for ac_prog in lclint lint
4920 # Extract the first word of "$ac_prog", so it can be a program name with args.
4921 set dummy $ac_prog; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if ${ac_cv_prog_LINT+:} false; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 if test -n "$LINT"; then
4928 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4929 else
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931 for as_dir in $PATH
4933 IFS=$as_save_IFS
4934 test -z "$as_dir" && as_dir=.
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4937 ac_cv_prog_LINT="$ac_prog"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 break 2
4941 done
4942 done
4943 IFS=$as_save_IFS
4947 LINT=$ac_cv_prog_LINT
4948 if test -n "$LINT"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4950 $as_echo "$LINT" >&6; }
4951 else
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4957 test -n "$LINT" && break
4958 done
4960 if test "$LINT" = "lint"
4961 then
4962 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4966 for ac_prog in fontforge
4968 # Extract the first word of "$ac_prog", so it can be a program name with args.
4969 set dummy $ac_prog; ac_word=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if ${ac_cv_prog_FONTFORGE+:} false; then :
4973 $as_echo_n "(cached) " >&6
4974 else
4975 if test -n "$FONTFORGE"; then
4976 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4977 else
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 for as_dir in $PATH
4981 IFS=$as_save_IFS
4982 test -z "$as_dir" && as_dir=.
4983 for ac_exec_ext in '' $ac_executable_extensions; do
4984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4985 ac_cv_prog_FONTFORGE="$ac_prog"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4987 break 2
4989 done
4990 done
4991 IFS=$as_save_IFS
4995 FONTFORGE=$ac_cv_prog_FONTFORGE
4996 if test -n "$FONTFORGE"; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4998 $as_echo "$FONTFORGE" >&6; }
4999 else
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5005 test -n "$FONTFORGE" && break
5006 done
5007 test -n "$FONTFORGE" || FONTFORGE="false"
5009 for ac_prog in rsvg
5011 # Extract the first word of "$ac_prog", so it can be a program name with args.
5012 set dummy $ac_prog; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if ${ac_cv_prog_RSVG+:} false; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$RSVG"; then
5019 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_RSVG="$ac_prog"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5032 done
5033 done
5034 IFS=$as_save_IFS
5038 RSVG=$ac_cv_prog_RSVG
5039 if test -n "$RSVG"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5041 $as_echo "$RSVG" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5048 test -n "$RSVG" && break
5049 done
5050 test -n "$RSVG" || RSVG="false"
5052 for ac_prog in convert
5054 # Extract the first word of "$ac_prog", so it can be a program name with args.
5055 set dummy $ac_prog; ac_word=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if ${ac_cv_prog_CONVERT+:} false; then :
5059 $as_echo_n "(cached) " >&6
5060 else
5061 if test -n "$CONVERT"; then
5062 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5063 else
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 for as_dir in $PATH
5067 IFS=$as_save_IFS
5068 test -z "$as_dir" && as_dir=.
5069 for ac_exec_ext in '' $ac_executable_extensions; do
5070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5071 ac_cv_prog_CONVERT="$ac_prog"
5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 break 2
5075 done
5076 done
5077 IFS=$as_save_IFS
5081 CONVERT=$ac_cv_prog_CONVERT
5082 if test -n "$CONVERT"; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5084 $as_echo "$CONVERT" >&6; }
5085 else
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5091 test -n "$CONVERT" && break
5092 done
5093 test -n "$CONVERT" || CONVERT="false"
5095 for ac_prog in icotool
5097 # Extract the first word of "$ac_prog", so it can be a program name with args.
5098 set dummy $ac_prog; ac_word=$2
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5100 $as_echo_n "checking for $ac_word... " >&6; }
5101 if ${ac_cv_prog_ICOTOOL+:} false; then :
5102 $as_echo_n "(cached) " >&6
5103 else
5104 if test -n "$ICOTOOL"; then
5105 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5106 else
5107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 for as_dir in $PATH
5110 IFS=$as_save_IFS
5111 test -z "$as_dir" && as_dir=.
5112 for ac_exec_ext in '' $ac_executable_extensions; do
5113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5114 ac_cv_prog_ICOTOOL="$ac_prog"
5115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 break 2
5118 done
5119 done
5120 IFS=$as_save_IFS
5124 ICOTOOL=$ac_cv_prog_ICOTOOL
5125 if test -n "$ICOTOOL"; then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5127 $as_echo "$ICOTOOL" >&6; }
5128 else
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5130 $as_echo "no" >&6; }
5134 test -n "$ICOTOOL" && break
5135 done
5136 test -n "$ICOTOOL" || ICOTOOL="false"
5138 for ac_prog in msgfmt
5140 # Extract the first word of "$ac_prog", so it can be a program name with args.
5141 set dummy $ac_prog; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_MSGFMT+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$MSGFMT"; then
5148 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_MSGFMT="$ac_prog"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5161 done
5162 done
5163 IFS=$as_save_IFS
5167 MSGFMT=$ac_cv_prog_MSGFMT
5168 if test -n "$MSGFMT"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5170 $as_echo "$MSGFMT" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5177 test -n "$MSGFMT" && break
5178 done
5179 test -n "$MSGFMT" || MSGFMT="false"
5181 if test -n "$ac_tool_prefix"; then
5182 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5183 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5187 $as_echo_n "(cached) " >&6
5188 else
5189 if test -n "$PKG_CONFIG"; then
5190 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5191 else
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 for as_dir in $PATH
5195 IFS=$as_save_IFS
5196 test -z "$as_dir" && as_dir=.
5197 for ac_exec_ext in '' $ac_executable_extensions; do
5198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5199 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201 break 2
5203 done
5204 done
5205 IFS=$as_save_IFS
5209 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5210 if test -n "$PKG_CONFIG"; then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5212 $as_echo "$PKG_CONFIG" >&6; }
5213 else
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5220 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5221 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5222 elif test "$cross_compiling" != yes; then
5223 unset ac_cv_prog_PKG_CONFIG
5224 # Extract the first word of "pkg-config", so it can be a program name with args.
5225 set dummy pkg-config; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -n "$PKG_CONFIG"; then
5232 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_PKG_CONFIG="pkg-config"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 break 2
5245 done
5246 done
5247 IFS=$as_save_IFS
5251 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5252 if test -n "$PKG_CONFIG"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5254 $as_echo "$PKG_CONFIG" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5263 if test "x$enable_maintainer_mode" != "xyes"
5264 then
5265 MAINTAINER_MODE=\#
5267 else
5268 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5269 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5271 if test "$CONVERT" = false
5272 then
5273 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5274 else
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5276 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5277 convert_version=`convert --version | head -n1`
5278 if test "x$convert_version" != "x"
5279 then
5280 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5281 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5282 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5283 then
5284 CONVERT=false
5287 if test "$CONVERT" = false
5288 then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5290 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5291 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5292 else
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5294 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5298 if test "$ICOTOOL" = false
5299 then
5300 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5301 else
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5303 $as_echo_n "checking for recent enough icotool... " >&6; }
5304 icotool_version=`icotool --version | head -n1`
5305 if test "x$icotool_version" != "x"
5306 then
5307 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5308 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5309 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5310 then
5311 ICOTOOL=false
5312 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5315 if test "$ICOTOOL" = false
5316 then
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5318 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5319 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5320 else
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5322 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5326 with_gettext=yes
5327 with_gettextpo=yes
5328 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5331 test "x$with_gettext" != xno || MSGFMT=false
5332 if test "$MSGFMT" != "false"
5333 then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5335 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5336 cat >conftest.po <<EOF
5337 # comment
5338 msgctxt "ctxt"
5339 msgid "id"
5340 msgstr "str"
5342 if $MSGFMT -o /dev/null conftest.po 2>&5
5343 then
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5345 $as_echo "yes" >&6; }
5346 else
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348 $as_echo "no" >&6; }
5349 MSGFMT=false
5352 if test "$MSGFMT" = false; then :
5353 case "x$with_gettext" in
5354 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5355 xno) ;;
5356 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5357 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5358 esac
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5363 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5364 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 ac_check_lib_save_LIBS=$LIBS
5368 LIBS="-li386 $LIBS"
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5372 /* Override any GCC internal prototype to avoid an error.
5373 Use char because int might match the return type of a GCC
5374 builtin and then its argument prototype would still apply. */
5375 #ifdef __cplusplus
5376 extern "C"
5377 #endif
5378 char i386_set_ldt ();
5380 main ()
5382 return i386_set_ldt ();
5384 return 0;
5386 _ACEOF
5387 if ac_fn_c_try_link "$LINENO"; then :
5388 ac_cv_lib_i386_i386_set_ldt=yes
5389 else
5390 ac_cv_lib_i386_i386_set_ldt=no
5392 rm -f core conftest.err conftest.$ac_objext \
5393 conftest$ac_exeext conftest.$ac_ext
5394 LIBS=$ac_check_lib_save_LIBS
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5397 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5398 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5399 cat >>confdefs.h <<_ACEOF
5400 #define HAVE_LIBI386 1
5401 _ACEOF
5403 LIBS="-li386 $LIBS"
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5408 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5409 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5410 $as_echo_n "(cached) " >&6
5411 else
5412 ac_check_lib_save_LIBS=$LIBS
5413 LIBS="-lossaudio $LIBS"
5414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5415 /* end confdefs.h. */
5417 /* Override any GCC internal prototype to avoid an error.
5418 Use char because int might match the return type of a GCC
5419 builtin and then its argument prototype would still apply. */
5420 #ifdef __cplusplus
5421 extern "C"
5422 #endif
5423 char _oss_ioctl ();
5425 main ()
5427 return _oss_ioctl ();
5429 return 0;
5431 _ACEOF
5432 if ac_fn_c_try_link "$LINENO"; then :
5433 ac_cv_lib_ossaudio__oss_ioctl=yes
5434 else
5435 ac_cv_lib_ossaudio__oss_ioctl=no
5437 rm -f core conftest.err conftest.$ac_objext \
5438 conftest$ac_exeext conftest.$ac_ext
5439 LIBS=$ac_check_lib_save_LIBS
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5442 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5443 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5444 cat >>confdefs.h <<_ACEOF
5445 #define HAVE_LIBOSSAUDIO 1
5446 _ACEOF
5448 LIBS="-lossaudio $LIBS"
5453 XLIB=""
5455 OPENGL_LIBS=""
5459 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5461 # Check whether --enable-largefile was given.
5462 if test "${enable_largefile+set}" = set; then :
5463 enableval=$enable_largefile;
5466 if test "$enable_largefile" != no; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5469 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5470 if ${ac_cv_sys_largefile_CC+:} false; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 ac_cv_sys_largefile_CC=no
5474 if test "$GCC" != yes; then
5475 ac_save_CC=$CC
5476 while :; do
5477 # IRIX 6.2 and later do not support large files by default,
5478 # so use the C compiler's -n32 option if that helps.
5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5481 #include <sys/types.h>
5482 /* Check that off_t can represent 2**63 - 1 correctly.
5483 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5484 since some C++ compilers masquerading as C compilers
5485 incorrectly reject 9223372036854775807. */
5486 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5487 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5488 && LARGE_OFF_T % 2147483647 == 1)
5489 ? 1 : -1];
5491 main ()
5495 return 0;
5497 _ACEOF
5498 if ac_fn_c_try_compile "$LINENO"; then :
5499 break
5501 rm -f core conftest.err conftest.$ac_objext
5502 CC="$CC -n32"
5503 if ac_fn_c_try_compile "$LINENO"; then :
5504 ac_cv_sys_largefile_CC=' -n32'; break
5506 rm -f core conftest.err conftest.$ac_objext
5507 break
5508 done
5509 CC=$ac_save_CC
5510 rm -f conftest.$ac_ext
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5514 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5515 if test "$ac_cv_sys_largefile_CC" != no; then
5516 CC=$CC$ac_cv_sys_largefile_CC
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5520 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5521 if ${ac_cv_sys_file_offset_bits+:} false; then :
5522 $as_echo_n "(cached) " >&6
5523 else
5524 while :; do
5525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5526 /* end confdefs.h. */
5527 #include <sys/types.h>
5528 /* Check that off_t can represent 2**63 - 1 correctly.
5529 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5530 since some C++ compilers masquerading as C compilers
5531 incorrectly reject 9223372036854775807. */
5532 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5533 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5534 && LARGE_OFF_T % 2147483647 == 1)
5535 ? 1 : -1];
5537 main ()
5541 return 0;
5543 _ACEOF
5544 if ac_fn_c_try_compile "$LINENO"; then :
5545 ac_cv_sys_file_offset_bits=no; break
5547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5549 /* end confdefs.h. */
5550 #define _FILE_OFFSET_BITS 64
5551 #include <sys/types.h>
5552 /* Check that off_t can represent 2**63 - 1 correctly.
5553 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5554 since some C++ compilers masquerading as C compilers
5555 incorrectly reject 9223372036854775807. */
5556 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5557 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5558 && LARGE_OFF_T % 2147483647 == 1)
5559 ? 1 : -1];
5561 main ()
5565 return 0;
5567 _ACEOF
5568 if ac_fn_c_try_compile "$LINENO"; then :
5569 ac_cv_sys_file_offset_bits=64; break
5571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5572 ac_cv_sys_file_offset_bits=unknown
5573 break
5574 done
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5577 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5578 case $ac_cv_sys_file_offset_bits in #(
5579 no | unknown) ;;
5581 cat >>confdefs.h <<_ACEOF
5582 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5583 _ACEOF
5585 esac
5586 rm -rf conftest*
5587 if test $ac_cv_sys_file_offset_bits = unknown; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5589 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5590 if ${ac_cv_sys_large_files+:} false; then :
5591 $as_echo_n "(cached) " >&6
5592 else
5593 while :; do
5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5595 /* end confdefs.h. */
5596 #include <sys/types.h>
5597 /* Check that off_t can represent 2**63 - 1 correctly.
5598 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5599 since some C++ compilers masquerading as C compilers
5600 incorrectly reject 9223372036854775807. */
5601 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5602 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5603 && LARGE_OFF_T % 2147483647 == 1)
5604 ? 1 : -1];
5606 main ()
5610 return 0;
5612 _ACEOF
5613 if ac_fn_c_try_compile "$LINENO"; then :
5614 ac_cv_sys_large_files=no; break
5616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5618 /* end confdefs.h. */
5619 #define _LARGE_FILES 1
5620 #include <sys/types.h>
5621 /* Check that off_t can represent 2**63 - 1 correctly.
5622 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5623 since some C++ compilers masquerading as C compilers
5624 incorrectly reject 9223372036854775807. */
5625 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5626 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5627 && LARGE_OFF_T % 2147483647 == 1)
5628 ? 1 : -1];
5630 main ()
5634 return 0;
5636 _ACEOF
5637 if ac_fn_c_try_compile "$LINENO"; then :
5638 ac_cv_sys_large_files=1; break
5640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5641 ac_cv_sys_large_files=unknown
5642 break
5643 done
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5646 $as_echo "$ac_cv_sys_large_files" >&6; }
5647 case $ac_cv_sys_large_files in #(
5648 no | unknown) ;;
5650 cat >>confdefs.h <<_ACEOF
5651 #define _LARGE_FILES $ac_cv_sys_large_files
5652 _ACEOF
5654 esac
5655 rm -rf conftest*
5662 ac_ext=c
5663 ac_cpp='$CPP $CPPFLAGS'
5664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5668 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5669 # On Suns, sometimes $CPP names a directory.
5670 if test -n "$CPP" && test -d "$CPP"; then
5671 CPP=
5673 if test -z "$CPP"; then
5674 if ${ac_cv_prog_CPP+:} false; then :
5675 $as_echo_n "(cached) " >&6
5676 else
5677 # Double quotes because CPP needs to be expanded
5678 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5680 ac_preproc_ok=false
5681 for ac_c_preproc_warn_flag in '' yes
5683 # Use a header file that comes with gcc, so configuring glibc
5684 # with a fresh cross-compiler works.
5685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5686 # <limits.h> exists even on freestanding compilers.
5687 # On the NeXT, cc -E runs the code through the compiler's parser,
5688 # not just through cpp. "Syntax error" is here to catch this case.
5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5691 #ifdef __STDC__
5692 # include <limits.h>
5693 #else
5694 # include <assert.h>
5695 #endif
5696 Syntax error
5697 _ACEOF
5698 if ac_fn_c_try_cpp "$LINENO"; then :
5700 else
5701 # Broken: fails on valid input.
5702 continue
5704 rm -f conftest.err conftest.i conftest.$ac_ext
5706 # OK, works on sane cases. Now check whether nonexistent headers
5707 # can be detected and how.
5708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5709 /* end confdefs.h. */
5710 #include <ac_nonexistent.h>
5711 _ACEOF
5712 if ac_fn_c_try_cpp "$LINENO"; then :
5713 # Broken: success on invalid input.
5714 continue
5715 else
5716 # Passes both tests.
5717 ac_preproc_ok=:
5718 break
5720 rm -f conftest.err conftest.i conftest.$ac_ext
5722 done
5723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5724 rm -f conftest.i conftest.err conftest.$ac_ext
5725 if $ac_preproc_ok; then :
5726 break
5729 done
5730 ac_cv_prog_CPP=$CPP
5733 CPP=$ac_cv_prog_CPP
5734 else
5735 ac_cv_prog_CPP=$CPP
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5738 $as_echo "$CPP" >&6; }
5739 ac_preproc_ok=false
5740 for ac_c_preproc_warn_flag in '' yes
5742 # Use a header file that comes with gcc, so configuring glibc
5743 # with a fresh cross-compiler works.
5744 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5745 # <limits.h> exists even on freestanding compilers.
5746 # On the NeXT, cc -E runs the code through the compiler's parser,
5747 # not just through cpp. "Syntax error" is here to catch this case.
5748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5749 /* end confdefs.h. */
5750 #ifdef __STDC__
5751 # include <limits.h>
5752 #else
5753 # include <assert.h>
5754 #endif
5755 Syntax error
5756 _ACEOF
5757 if ac_fn_c_try_cpp "$LINENO"; then :
5759 else
5760 # Broken: fails on valid input.
5761 continue
5763 rm -f conftest.err conftest.i conftest.$ac_ext
5765 # OK, works on sane cases. Now check whether nonexistent headers
5766 # can be detected and how.
5767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5768 /* end confdefs.h. */
5769 #include <ac_nonexistent.h>
5770 _ACEOF
5771 if ac_fn_c_try_cpp "$LINENO"; then :
5772 # Broken: success on invalid input.
5773 continue
5774 else
5775 # Passes both tests.
5776 ac_preproc_ok=:
5777 break
5779 rm -f conftest.err conftest.i conftest.$ac_ext
5781 done
5782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5783 rm -f conftest.i conftest.err conftest.$ac_ext
5784 if $ac_preproc_ok; then :
5786 else
5787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5789 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5790 See \`config.log' for more details" "$LINENO" 5; }
5793 ac_ext=c
5794 ac_cpp='$CPP $CPPFLAGS'
5795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5801 $as_echo_n "checking for ANSI C header files... " >&6; }
5802 if ${ac_cv_header_stdc+:} false; then :
5803 $as_echo_n "(cached) " >&6
5804 else
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5807 #include <stdlib.h>
5808 #include <stdarg.h>
5809 #include <string.h>
5810 #include <float.h>
5813 main ()
5817 return 0;
5819 _ACEOF
5820 if ac_fn_c_try_compile "$LINENO"; then :
5821 ac_cv_header_stdc=yes
5822 else
5823 ac_cv_header_stdc=no
5825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5827 if test $ac_cv_header_stdc = yes; then
5828 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5830 /* end confdefs.h. */
5831 #include <string.h>
5833 _ACEOF
5834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5835 $EGREP "memchr" >/dev/null 2>&1; then :
5837 else
5838 ac_cv_header_stdc=no
5840 rm -f conftest*
5844 if test $ac_cv_header_stdc = yes; then
5845 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5847 /* end confdefs.h. */
5848 #include <stdlib.h>
5850 _ACEOF
5851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5852 $EGREP "free" >/dev/null 2>&1; then :
5854 else
5855 ac_cv_header_stdc=no
5857 rm -f conftest*
5861 if test $ac_cv_header_stdc = yes; then
5862 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5863 if test "$cross_compiling" = yes; then :
5865 else
5866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5868 #include <ctype.h>
5869 #include <stdlib.h>
5870 #if ((' ' & 0x0FF) == 0x020)
5871 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5872 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5873 #else
5874 # define ISLOWER(c) \
5875 (('a' <= (c) && (c) <= 'i') \
5876 || ('j' <= (c) && (c) <= 'r') \
5877 || ('s' <= (c) && (c) <= 'z'))
5878 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5879 #endif
5881 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5883 main ()
5885 int i;
5886 for (i = 0; i < 256; i++)
5887 if (XOR (islower (i), ISLOWER (i))
5888 || toupper (i) != TOUPPER (i))
5889 return 2;
5890 return 0;
5892 _ACEOF
5893 if ac_fn_c_try_run "$LINENO"; then :
5895 else
5896 ac_cv_header_stdc=no
5898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5899 conftest.$ac_objext conftest.beam conftest.$ac_ext
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5905 $as_echo "$ac_cv_header_stdc" >&6; }
5906 if test $ac_cv_header_stdc = yes; then
5908 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5912 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5913 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5914 inttypes.h stdint.h unistd.h
5915 do :
5916 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5917 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5920 cat >>confdefs.h <<_ACEOF
5921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5922 _ACEOF
5926 done
5929 for ac_header in \
5930 AL/al.h \
5931 ApplicationServices/ApplicationServices.h \
5932 AudioToolbox/AudioConverter.h \
5933 AudioUnit/AudioUnit.h \
5934 AudioUnit/AudioComponent.h \
5935 CL/cl.h \
5936 Carbon/Carbon.h \
5937 CoreAudio/CoreAudio.h \
5938 CoreServices/CoreServices.h \
5939 DiskArbitration/DiskArbitration.h \
5940 IOKit/IOKitLib.h \
5941 IOKit/hid/IOHIDLib.h \
5942 OpenAL/al.h \
5943 OpenCL/opencl.h \
5944 QuickTime/ImageCompression.h \
5945 Security/Security.h \
5946 alias.h \
5947 alsa/asoundlib.h \
5948 arpa/inet.h \
5949 arpa/nameser.h \
5950 asm/types.h \
5951 curses.h \
5952 direct.h \
5953 dirent.h \
5954 dlfcn.h \
5955 elf.h \
5956 float.h \
5957 fnmatch.h \
5958 fontconfig/fontconfig.h \
5959 getopt.h \
5960 gettext-po.h \
5961 grp.h \
5962 gsm.h \
5963 gsm/gsm.h \
5964 ieeefp.h \
5965 inet/mib2.h \
5966 io.h \
5967 kstat.h \
5968 lber.h \
5969 ldap.h \
5970 link.h \
5971 linux/cdrom.h \
5972 linux/compiler.h \
5973 linux/filter.h \
5974 linux/hdreg.h \
5975 linux/input.h \
5976 linux/ioctl.h \
5977 linux/joystick.h \
5978 linux/major.h \
5979 linux/param.h \
5980 linux/serial.h \
5981 linux/types.h \
5982 linux/ucdrom.h \
5983 lwp.h \
5984 mach-o/nlist.h \
5985 mach-o/loader.h \
5986 mach/mach.h \
5987 mach/machine.h \
5988 machine/cpu.h \
5989 machine/limits.h \
5990 machine/sysarch.h \
5991 mntent.h \
5992 ncurses.h \
5993 netdb.h \
5994 netinet/in.h \
5995 netinet/in_systm.h \
5996 netinet/tcp.h \
5997 netinet/tcp_fsm.h \
5998 poll.h \
5999 port.h \
6000 process.h \
6001 pthread.h \
6002 pwd.h \
6003 sched.h \
6004 scsi/scsi.h \
6005 scsi/scsi_ioctl.h \
6006 scsi/sg.h \
6007 stdbool.h \
6008 stdint.h \
6009 stropts.h \
6010 sys/asoundlib.h \
6011 sys/attr.h \
6012 sys/cdio.h \
6013 sys/elf32.h \
6014 sys/epoll.h \
6015 sys/event.h \
6016 sys/exec_elf.h \
6017 sys/filio.h \
6018 sys/inotify.h \
6019 sys/ioctl.h \
6020 sys/ipc.h \
6021 sys/limits.h \
6022 sys/link.h \
6023 sys/mman.h \
6024 sys/modem.h \
6025 sys/msg.h \
6026 sys/mtio.h \
6027 sys/param.h \
6028 sys/poll.h \
6029 sys/prctl.h \
6030 sys/protosw.h \
6031 sys/ptrace.h \
6032 sys/resource.h \
6033 sys/scsiio.h \
6034 sys/shm.h \
6035 sys/signal.h \
6036 sys/socket.h \
6037 sys/socketvar.h \
6038 sys/sockio.h \
6039 sys/statvfs.h \
6040 sys/strtio.h \
6041 sys/syscall.h \
6042 sys/tihdr.h \
6043 sys/time.h \
6044 sys/timeout.h \
6045 sys/times.h \
6046 sys/uio.h \
6047 sys/utsname.h \
6048 sys/vm86.h \
6049 sys/wait.h \
6050 syscall.h \
6051 termios.h \
6052 unistd.h \
6053 utime.h \
6054 valgrind/memcheck.h \
6055 valgrind/valgrind.h \
6056 zlib.h
6058 do :
6059 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6060 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6061 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6062 cat >>confdefs.h <<_ACEOF
6063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6064 _ACEOF
6068 done
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6071 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6072 if ${ac_cv_header_stat_broken+:} false; then :
6073 $as_echo_n "(cached) " >&6
6074 else
6075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6076 /* end confdefs.h. */
6077 #include <sys/types.h>
6078 #include <sys/stat.h>
6080 #if defined S_ISBLK && defined S_IFDIR
6081 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6082 #endif
6084 #if defined S_ISBLK && defined S_IFCHR
6085 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6086 #endif
6088 #if defined S_ISLNK && defined S_IFREG
6089 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6090 #endif
6092 #if defined S_ISSOCK && defined S_IFREG
6093 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6094 #endif
6096 _ACEOF
6097 if ac_fn_c_try_compile "$LINENO"; then :
6098 ac_cv_header_stat_broken=no
6099 else
6100 ac_cv_header_stat_broken=yes
6102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6105 $as_echo "$ac_cv_header_stat_broken" >&6; }
6106 if test $ac_cv_header_stat_broken = yes; then
6108 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6114 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6115 do :
6116 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6117 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6118 #ifdef HAVE_SYS_PARAM_H
6119 # include <sys/param.h>
6120 #endif
6122 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6123 cat >>confdefs.h <<_ACEOF
6124 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6125 _ACEOF
6129 done
6132 for ac_header in \
6133 netinet/ip.h \
6134 net/if.h \
6135 net/if_arp.h \
6136 net/if_dl.h \
6137 net/if_types.h \
6138 net/route.h \
6139 netinet/if_ether.h \
6140 netinet/if_inarp.h \
6141 netinet/in_pcb.h \
6142 netinet/ip_icmp.h \
6143 netinet/ip_var.h \
6144 netinet/udp.h \
6145 netipx/ipx.h \
6146 sys/un.h \
6148 do :
6149 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6150 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6151 #ifdef HAVE_SYS_SOCKET_H
6152 # include <sys/socket.h>
6153 #endif
6154 #ifdef HAVE_SYS_SOCKETVAR_H
6155 # include <sys/socketvar.h>
6156 #endif
6157 #ifdef HAVE_NET_ROUTE_H
6158 # include <net/route.h>
6159 #endif
6160 #ifdef HAVE_NETINET_IN_H
6161 # include <netinet/in.h>
6162 #endif
6163 #ifdef HAVE_NETINET_IN_SYSTM_H
6164 # include <netinet/in_systm.h>
6165 #endif
6166 #ifdef HAVE_NET_IF_H
6167 # include <net/if.h>
6168 #endif
6169 #ifdef HAVE_NETINET_IP_H
6170 # include <netinet/ip.h>
6171 #endif
6173 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6174 cat >>confdefs.h <<_ACEOF
6175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6176 _ACEOF
6180 done
6183 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6184 do :
6185 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6186 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6187 #ifdef HAVE_ALIAS_H
6188 # include <alias.h>
6189 #endif
6190 #ifdef HAVE_SYS_SOCKET_H
6191 # include <sys/socket.h>
6192 #endif
6193 #ifdef HAVE_SYS_SOCKETVAR_H
6194 # include <sys/socketvar.h>
6195 #endif
6196 #ifdef HAVE_SYS_TIMEOUT_H
6197 # include <sys/timeout.h>
6198 #endif
6199 #ifdef HAVE_NETINET_IN_H
6200 # include <netinet/in.h>
6201 #endif
6202 #ifdef HAVE_NETINET_IN_SYSTM_H
6203 # include <netinet/in_systm.h>
6204 #endif
6205 #ifdef HAVE_NETINET_IP_H
6206 # include <netinet/ip.h>
6207 #endif
6208 #ifdef HAVE_NETINET_IP_VAR_H
6209 # include <netinet/ip_var.h>
6210 #endif
6211 #ifdef HAVE_NETINET_IP_ICMP_H
6212 # include <netinet/ip_icmp.h>
6213 #endif
6214 #ifdef HAVE_NETINET_UDP_H
6215 # include <netinet/udp.h>
6216 #endif
6217 #ifdef HAVE_NETINET_TCP_H
6218 # include <netinet/tcp.h>
6219 #endif
6220 #ifdef HAVE_NETINET_TCP_TIMER_H
6221 #include <netinet/tcp_timer.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 linux/ipx.h linux/irda.h
6235 do :
6236 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6237 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6238 #ifdef HAVE_ASM_TYPES_H
6239 # include <asm/types.h>
6240 #endif
6241 #ifdef HAVE_SYS_SOCKET_H
6242 # include <sys/socket.h>
6243 #endif
6244 #ifdef HAVE_LINUX_TYPES_H
6245 # include <linux/types.h>
6246 #endif
6248 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6249 cat >>confdefs.h <<_ACEOF
6250 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6251 _ACEOF
6255 done
6258 for ac_header in mach-o/dyld_images.h
6259 do :
6260 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6261 # include <stdbool.h>
6262 #endif
6263 #ifdef HAVE_STDINT_H
6264 # include <stdint.h>
6265 #endif
6267 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6268 cat >>confdefs.h <<_ACEOF
6269 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6270 _ACEOF
6274 done
6277 for ac_header in resolv.h
6278 do :
6279 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6280 #ifdef HAVE_SYS_SOCKET_H
6281 # include <sys/socket.h>
6282 #endif
6283 #ifdef HAVE_NETINET_IN_H
6284 # include <netinet/in.h>
6285 #endif
6286 #ifdef HAVE_ARPA_NAMESER_H
6287 # include <arpa/nameser.h>
6288 #endif
6290 if test "x$ac_cv_header_resolv_h" = xyes; then :
6291 cat >>confdefs.h <<_ACEOF
6292 #define HAVE_RESOLV_H 1
6293 _ACEOF
6297 done
6300 for ac_header in ifaddrs.h
6301 do :
6302 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6304 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6305 cat >>confdefs.h <<_ACEOF
6306 #define HAVE_IFADDRS_H 1
6307 _ACEOF
6311 done
6314 for ac_header in ucontext.h
6315 do :
6316 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6318 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6319 cat >>confdefs.h <<_ACEOF
6320 #define HAVE_UCONTEXT_H 1
6321 _ACEOF
6325 done
6328 for ac_header in sys/thr.h
6329 do :
6330 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6331 #ifdef HAVE_UCONTEXT_H
6332 #include <ucontext.h>
6333 #endif
6335 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6336 cat >>confdefs.h <<_ACEOF
6337 #define HAVE_SYS_THR_H 1
6338 _ACEOF
6342 done
6345 for ac_header in pthread_np.h
6346 do :
6347 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6348 #include <pthread.h>
6349 #endif
6351 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6352 cat >>confdefs.h <<_ACEOF
6353 #define HAVE_PTHREAD_NP_H 1
6354 _ACEOF
6358 done
6361 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6362 do :
6363 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6364 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6365 #include <sys/time.h>
6366 #endif
6367 #include <sys/types.h>
6368 #ifdef HAVE_ASM_TYPES_H
6369 #include <asm/types.h>
6370 #endif
6372 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6373 cat >>confdefs.h <<_ACEOF
6374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6375 _ACEOF
6379 done
6383 DLLEXT=""
6385 DLLFLAGS="-D_REENTRANT"
6387 LDDLLFLAGS=""
6389 IMPLIBEXT="def"
6391 LDRPATH_INSTALL=""
6393 LDRPATH_LOCAL=""
6395 LIBEXT="so"
6396 STATIC_IMPLIBEXT="def.a"
6397 # Extract the first word of "ldd", so it can be a program name with args.
6398 set dummy ldd; ac_word=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if ${ac_cv_path_LDD+:} false; then :
6402 $as_echo_n "(cached) " >&6
6403 else
6404 case $LDD in
6405 [\\/]* | ?:[\\/]*)
6406 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6410 as_dummy="/sbin:/usr/sbin:$PATH"
6411 for as_dir in $as_dummy
6413 IFS=$as_save_IFS
6414 test -z "$as_dir" && as_dir=.
6415 for ac_exec_ext in '' $ac_executable_extensions; do
6416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6417 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6419 break 2
6421 done
6422 done
6423 IFS=$as_save_IFS
6425 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6427 esac
6429 LDD=$ac_cv_path_LDD
6430 if test -n "$LDD"; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6432 $as_echo "$LDD" >&6; }
6433 else
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6439 if test -n "$ac_tool_prefix"; then
6440 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6441 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443 $as_echo_n "checking for $ac_word... " >&6; }
6444 if ${ac_cv_prog_READELF+:} false; then :
6445 $as_echo_n "(cached) " >&6
6446 else
6447 if test -n "$READELF"; then
6448 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6449 else
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451 for as_dir in $PATH
6453 IFS=$as_save_IFS
6454 test -z "$as_dir" && as_dir=.
6455 for ac_exec_ext in '' $ac_executable_extensions; do
6456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6457 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 break 2
6461 done
6462 done
6463 IFS=$as_save_IFS
6467 READELF=$ac_cv_prog_READELF
6468 if test -n "$READELF"; then
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6470 $as_echo "$READELF" >&6; }
6471 else
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473 $as_echo "no" >&6; }
6478 if test -z "$ac_cv_prog_READELF"; then
6479 ac_ct_READELF=$READELF
6480 # Extract the first word of "readelf", so it can be a program name with args.
6481 set dummy readelf; ac_word=$2
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483 $as_echo_n "checking for $ac_word... " >&6; }
6484 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6485 $as_echo_n "(cached) " >&6
6486 else
6487 if test -n "$ac_ct_READELF"; then
6488 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
6489 else
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 for as_dir in $PATH
6493 IFS=$as_save_IFS
6494 test -z "$as_dir" && as_dir=.
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_ac_ct_READELF="readelf"
6498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 break 2
6501 done
6502 done
6503 IFS=$as_save_IFS
6507 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
6508 if test -n "$ac_ct_READELF"; then
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6510 $as_echo "$ac_ct_READELF" >&6; }
6511 else
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 $as_echo "no" >&6; }
6516 if test "x$ac_ct_READELF" = x; then
6517 READELF="true"
6518 else
6519 case $cross_compiling:$ac_tool_warned in
6520 yes:)
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6523 ac_tool_warned=yes ;;
6524 esac
6525 READELF=$ac_ct_READELF
6527 else
6528 READELF="$ac_cv_prog_READELF"
6532 case $host_os in
6533 cygwin*|mingw32*)
6534 if test -n "$ac_tool_prefix"; then
6535 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6536 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 $as_echo_n "checking for $ac_word... " >&6; }
6539 if ${ac_cv_prog_DLLTOOL+:} false; then :
6540 $as_echo_n "(cached) " >&6
6541 else
6542 if test -n "$DLLTOOL"; then
6543 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6544 else
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 for as_dir in $PATH
6548 IFS=$as_save_IFS
6549 test -z "$as_dir" && as_dir=.
6550 for ac_exec_ext in '' $ac_executable_extensions; do
6551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6552 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6554 break 2
6556 done
6557 done
6558 IFS=$as_save_IFS
6562 DLLTOOL=$ac_cv_prog_DLLTOOL
6563 if test -n "$DLLTOOL"; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6565 $as_echo "$DLLTOOL" >&6; }
6566 else
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 $as_echo "no" >&6; }
6573 if test -z "$ac_cv_prog_DLLTOOL"; then
6574 ac_ct_DLLTOOL=$DLLTOOL
6575 # Extract the first word of "dlltool", so it can be a program name with args.
6576 set dummy dlltool; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 if test -n "$ac_ct_DLLTOOL"; then
6583 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6588 IFS=$as_save_IFS
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 break 2
6596 done
6597 done
6598 IFS=$as_save_IFS
6602 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6603 if test -n "$ac_ct_DLLTOOL"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6605 $as_echo "$ac_ct_DLLTOOL" >&6; }
6606 else
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6611 if test "x$ac_ct_DLLTOOL" = x; then
6612 DLLTOOL="false"
6613 else
6614 case $cross_compiling:$ac_tool_warned in
6615 yes:)
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6618 ac_tool_warned=yes ;;
6619 esac
6620 DLLTOOL=$ac_ct_DLLTOOL
6622 else
6623 DLLTOOL="$ac_cv_prog_DLLTOOL"
6626 LIBEXT="dll"
6627 IMPLIBEXT="a"
6628 STATIC_IMPLIBEXT="a"
6629 enable_iphlpapi=${enable_iphlpapi:-no}
6630 enable_kernel32=${enable_kernel32:-no}
6631 enable_msvcrt=${enable_msvcrt:-no}
6632 enable_ntdll=${enable_ntdll:-no}
6633 enable_ws2_32=${enable_ws2_32:-no}
6634 enable_loader=${enable_loader:-no}
6635 enable_server=${enable_server:-no}
6636 with_x=${with_x:-no}
6637 with_pthread=${with_pthread:-no}
6639 crtlibs=""
6640 case $host_os in
6641 mingw32*)
6642 crtlibs="-lmsvcrt"
6643 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6645 esac
6647 LIBWINE_RULES="
6648 all: libwine.dll libwine.a
6650 libwine.a: wine.def
6651 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6653 libwine.dll: \$(OBJS) wine.def Makefile.in
6654 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6656 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6657 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6659 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6660 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6662 uninstall::
6663 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6665 clean::
6666 \$(RM) libwine.dll version.c
6671 darwin*|macosx*)
6672 DLLEXT=".so"
6673 LIBEXT="dylib"
6674 DLLFLAGS="$DLLFLAGS -fPIC"
6675 LDDLLFLAGS="-bundle -multiply_defined suppress"
6676 LIBWINE_LDFLAGS="-multiply_defined suppress"
6677 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6678 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6679 COREFOUNDATIONLIB="-framework CoreFoundation"
6681 IOKITLIB="-framework IOKit -framework CoreFoundation"
6683 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
6685 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6687 CORESERVICESLIB="-framework CoreServices"
6689 case $host_os in
6690 darwin11*)
6691 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"
6694 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6696 esac
6697 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6698 then
6699 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6702 if test "$ac_cv_header_Security_Security_h" = "yes"
6703 then
6704 SECURITYLIB="-framework Security -framework CoreFoundation"
6706 ac_save_LIBS="$LIBS"
6707 LIBS="$LIBS $SECURITYLIB"
6708 for ac_func in SSLCopyPeerCertificates
6709 do :
6710 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6711 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6712 cat >>confdefs.h <<_ACEOF
6713 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6714 _ACEOF
6717 done
6719 LIBS="$ac_save_LIBS"
6720 with_gnutls=${with_gnutls:-no}
6722 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6723 then
6724 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6725 then
6726 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6728 else
6729 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6732 ac_save_LIBS="$LIBS"
6733 LIBS="$LIBS $COREAUDIO"
6734 for ac_func in AUGraphAddNode
6735 do :
6736 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6737 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6738 cat >>confdefs.h <<_ACEOF
6739 #define HAVE_AUGRAPHADDNODE 1
6740 _ACEOF
6743 done
6745 LIBS="$ac_save_LIBS"
6747 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6748 then
6749 FRAMEWORK_OPENAL="-framework OpenAL"
6752 cat >>confdefs.h <<_ACEOF
6753 #define HAVE_OPENAL 1
6754 _ACEOF
6756 ac_cv_lib_openal=yes
6758 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6759 then
6760 LIBOPENCL="-framework OpenCL"
6762 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6764 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6765 then
6766 ac_save_LIBS="$LIBS"
6767 LIBS="$LIBS $IOKITLIB"
6768 for ac_func in IOHIDManagerCreate
6769 do :
6770 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6771 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6772 cat >>confdefs.h <<_ACEOF
6773 #define HAVE_IOHIDMANAGERCREATE 1
6774 _ACEOF
6777 done
6779 LIBS="$ac_save_LIBS"
6781 case $host_cpu in
6782 *powerpc*)
6783 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6784 esac
6785 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6786 then
6787 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6789 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6790 else
6791 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6793 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6794 then
6795 CARBONLIB="-framework Carbon"
6799 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6800 then
6801 ac_save_LIBS="$LIBS"
6802 LIBS="$LIBS $APPLICATIONSERVICESLIB"
6803 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6804 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
6805 enable_winemac_drv=${enable_winemac_drv:-yes}
6808 LIBS="$ac_save_LIBS"
6811 if test "x$enable_win16" = "xyes"
6812 then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6814 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6815 if test "$cross_compiling" = yes; then :
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6817 $as_echo "cross-compiling, assuming yes" >&6; }
6818 else
6819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6820 /* end confdefs.h. */
6821 asm(".text\n"
6822 "bad:\tnop;nop\n"
6823 "good:\tnop;nop\n\t"
6824 ".globl _testfunc\n"
6825 "_testfunc:\tcallw good");
6826 extern void testfunc();
6828 main ()
6830 unsigned short *p = (unsigned short *)testfunc;
6831 return p[0] != 0xe866 || p[1] != 0xfffa
6833 return 0;
6835 _ACEOF
6836 if ac_fn_c_try_run "$LINENO"; then :
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6838 $as_echo "yes" >&6; }
6839 else
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 $as_echo "no" >&6; }
6842 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
6844 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6845 conftest.$ac_objext conftest.beam conftest.$ac_ext
6850 LIBWINE_RULES="
6851 all: libwine.dylib
6853 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6854 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6856 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6857 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6859 libwine.dylib: libwine.\$(SOVERSION).dylib
6860 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6862 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6863 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6864 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6866 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6867 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6869 uninstall::
6870 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6872 clean::
6873 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6878 linux-android*)
6879 DLLFLAGS="$DLLFLAGS -fPIC"
6880 DLLEXT=".so"
6881 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6883 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6884 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6885 $as_echo_n "(cached) " >&6
6886 else
6887 ac_wine_try_cflags_saved=$CFLAGS
6888 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h. */
6891 int main(int argc, char **argv) { return 0; }
6892 _ACEOF
6893 if ac_fn_c_try_link "$LINENO"; then :
6894 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6895 else
6896 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6898 rm -f core conftest.err conftest.$ac_objext \
6899 conftest$ac_exeext conftest.$ac_ext
6900 CFLAGS=$ac_wine_try_cflags_saved
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6903 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6904 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6905 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
6908 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6909 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6910 $as_echo_n "(cached) " >&6
6911 else
6912 ac_wine_try_cflags_saved=$CFLAGS
6913 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h. */
6916 int main(int argc, char **argv) { return 0; }
6917 _ACEOF
6918 if ac_fn_c_try_link "$LINENO"; then :
6919 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6920 else
6921 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6923 rm -f core conftest.err conftest.$ac_objext \
6924 conftest$ac_exeext conftest.$ac_ext
6925 CFLAGS=$ac_wine_try_cflags_saved
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6928 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6929 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6930 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6933 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6934 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6935 $as_echo_n "(cached) " >&6
6936 else
6937 ac_wine_try_cflags_saved=$CFLAGS
6938 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6941 int main(int argc, char **argv) { return 0; }
6942 _ACEOF
6943 if ac_fn_c_try_link "$LINENO"; then :
6944 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6945 else
6946 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6948 rm -f core conftest.err conftest.$ac_objext \
6949 conftest$ac_exeext conftest.$ac_ext
6950 CFLAGS=$ac_wine_try_cflags_saved
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6953 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6954 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6955 LDEXECFLAGS="-Wl,--export-dynamic"
6958 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6960 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6961 if eval \${$as_ac_var+:} false; then :
6962 $as_echo_n "(cached) " >&6
6963 else
6964 ac_wine_try_cflags_saved=$CFLAGS
6965 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6967 /* end confdefs.h. */
6968 int main(int argc, char **argv) { return 0; }
6969 _ACEOF
6970 if ac_fn_c_try_link "$LINENO"; then :
6971 eval "$as_ac_var=yes"
6972 else
6973 eval "$as_ac_var=no"
6975 rm -f core conftest.err conftest.$ac_objext \
6976 conftest$ac_exeext conftest.$ac_ext
6977 CFLAGS=$ac_wine_try_cflags_saved
6979 eval ac_res=\$$as_ac_var
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6981 $as_echo "$ac_res" >&6; }
6982 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6983 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6984 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6985 else
6986 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6988 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6989 if eval \${$as_ac_var+:} false; then :
6990 $as_echo_n "(cached) " >&6
6991 else
6992 ac_wine_try_cflags_saved=$CFLAGS
6993 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6995 /* end confdefs.h. */
6996 int main(int argc, char **argv) { return 0; }
6997 _ACEOF
6998 if ac_fn_c_try_link "$LINENO"; then :
6999 eval "$as_ac_var=yes"
7000 else
7001 eval "$as_ac_var=no"
7003 rm -f core conftest.err conftest.$ac_objext \
7004 conftest$ac_exeext conftest.$ac_ext
7005 CFLAGS=$ac_wine_try_cflags_saved
7007 eval ac_res=\$$as_ac_var
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7009 $as_echo "$ac_res" >&6; }
7010 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7011 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7012 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7017 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7018 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7019 $as_echo_n "(cached) " >&6
7020 else
7021 ac_wine_try_cflags_saved=$CFLAGS
7022 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7024 /* end confdefs.h. */
7025 int main(int argc, char **argv) { return 0; }
7026 _ACEOF
7027 if ac_fn_c_try_link "$LINENO"; then :
7028 ac_cv_cflags__Wl___enable_new_dtags=yes
7029 else
7030 ac_cv_cflags__Wl___enable_new_dtags=no
7032 rm -f core conftest.err conftest.$ac_objext \
7033 conftest$ac_exeext conftest.$ac_ext
7034 CFLAGS=$ac_wine_try_cflags_saved
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7037 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7038 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7039 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7042 case $host_cpu in
7043 *i[3456789]86* | x86_64)
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7045 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7046 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7047 $as_echo_n "(cached) " >&6
7048 else
7049 ac_wine_try_cflags_saved=$CFLAGS
7050 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7052 /* end confdefs.h. */
7053 int main(int argc, char **argv) { return 0; }
7054 _ACEOF
7055 if ac_fn_c_try_link "$LINENO"; then :
7056 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7057 else
7058 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7060 rm -f core conftest.err conftest.$ac_objext \
7061 conftest$ac_exeext conftest.$ac_ext
7062 CFLAGS=$ac_wine_try_cflags_saved
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7065 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7066 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7067 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7070 esac
7072 LIBWINE_RULES="
7073 all: libwine.so
7075 libwine.so: \$(OBJS) Makefile.in
7076 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7078 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7079 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7081 uninstall::
7082 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7084 clean::
7085 \$(RM) libwine.so version.c
7091 DLLFLAGS="$DLLFLAGS -fPIC"
7092 DLLEXT=".so"
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7094 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7095 if ${ac_cv_c_dll_gnuelf+:} false; then :
7096 $as_echo_n "(cached) " >&6
7097 else
7098 ac_wine_try_cflags_saved=$CFLAGS
7099 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h. */
7102 void myfunc() {}
7103 _ACEOF
7104 if ac_fn_c_try_link "$LINENO"; then :
7105 ac_cv_c_dll_gnuelf="yes"
7106 else
7107 ac_cv_c_dll_gnuelf="no"
7109 rm -f core conftest.err conftest.$ac_objext \
7110 conftest$ac_exeext conftest.$ac_ext
7111 CFLAGS=$ac_wine_try_cflags_saved
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7114 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7115 if test "$ac_cv_c_dll_gnuelf" = "yes"
7116 then
7117 LDSHARED="\$(CC) -shared"
7118 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7120 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7121 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
7122 $as_echo_n "(cached) " >&6
7123 else
7124 ac_wine_try_cflags_saved=$CFLAGS
7125 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7128 int main(int argc, char **argv) { return 0; }
7129 _ACEOF
7130 if ac_fn_c_try_link "$LINENO"; then :
7131 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
7132 else
7133 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7135 rm -f core conftest.err conftest.$ac_objext \
7136 conftest$ac_exeext conftest.$ac_ext
7137 CFLAGS=$ac_wine_try_cflags_saved
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7140 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7141 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7142 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7143 else
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7145 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7146 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
7147 $as_echo_n "(cached) " >&6
7148 else
7149 ac_wine_try_cflags_saved=$CFLAGS
7150 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7153 int main(int argc, char **argv) { return 0; }
7154 _ACEOF
7155 if ac_fn_c_try_link "$LINENO"; then :
7156 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
7157 else
7158 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
7160 rm -f core conftest.err conftest.$ac_objext \
7161 conftest$ac_exeext conftest.$ac_ext
7162 CFLAGS=$ac_wine_try_cflags_saved
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7165 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7166 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7167 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
7172 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
7173 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
7174 $as_echo_n "(cached) " >&6
7175 else
7176 ac_wine_try_cflags_saved=$CFLAGS
7177 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
7178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h. */
7180 int main(int argc, char **argv) { return 0; }
7181 _ACEOF
7182 if ac_fn_c_try_link "$LINENO"; then :
7183 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
7184 else
7185 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
7187 rm -f core conftest.err conftest.$ac_objext \
7188 conftest$ac_exeext conftest.$ac_ext
7189 CFLAGS=$ac_wine_try_cflags_saved
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
7192 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
7193 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
7194 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
7198 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
7199 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
7200 $as_echo_n "(cached) " >&6
7201 else
7202 ac_wine_try_cflags_saved=$CFLAGS
7203 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
7204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7205 /* end confdefs.h. */
7206 int main(int argc, char **argv) { return 0; }
7207 _ACEOF
7208 if ac_fn_c_try_link "$LINENO"; then :
7209 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
7210 else
7211 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
7213 rm -f core conftest.err conftest.$ac_objext \
7214 conftest$ac_exeext conftest.$ac_ext
7215 CFLAGS=$ac_wine_try_cflags_saved
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
7218 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
7219 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
7220 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
7223 echo '{ global: *; };' >conftest.map
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7225 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7226 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
7227 $as_echo_n "(cached) " >&6
7228 else
7229 ac_wine_try_cflags_saved=$CFLAGS
7230 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7233 int main(int argc, char **argv) { return 0; }
7234 _ACEOF
7235 if ac_fn_c_try_link "$LINENO"; then :
7236 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
7237 else
7238 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
7240 rm -f core conftest.err conftest.$ac_objext \
7241 conftest$ac_exeext conftest.$ac_ext
7242 CFLAGS=$ac_wine_try_cflags_saved
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7245 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7246 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7247 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7249 rm -f conftest.map
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7252 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7253 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7254 $as_echo_n "(cached) " >&6
7255 else
7256 ac_wine_try_cflags_saved=$CFLAGS
7257 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h. */
7260 int main(int argc, char **argv) { return 0; }
7261 _ACEOF
7262 if ac_fn_c_try_link "$LINENO"; then :
7263 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7264 else
7265 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7267 rm -f core conftest.err conftest.$ac_objext \
7268 conftest$ac_exeext conftest.$ac_ext
7269 CFLAGS=$ac_wine_try_cflags_saved
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7272 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7273 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7274 LDEXECFLAGS="-Wl,--export-dynamic"
7278 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7280 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7281 if eval \${$as_ac_var+:} false; then :
7282 $as_echo_n "(cached) " >&6
7283 else
7284 ac_wine_try_cflags_saved=$CFLAGS
7285 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7288 int main(int argc, char **argv) { return 0; }
7289 _ACEOF
7290 if ac_fn_c_try_link "$LINENO"; then :
7291 eval "$as_ac_var=yes"
7292 else
7293 eval "$as_ac_var=no"
7295 rm -f core conftest.err conftest.$ac_objext \
7296 conftest$ac_exeext conftest.$ac_ext
7297 CFLAGS=$ac_wine_try_cflags_saved
7299 eval ac_res=\$$as_ac_var
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7301 $as_echo "$ac_res" >&6; }
7302 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7303 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7304 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7305 else
7306 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7308 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7309 if eval \${$as_ac_var+:} false; then :
7310 $as_echo_n "(cached) " >&6
7311 else
7312 ac_wine_try_cflags_saved=$CFLAGS
7313 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7315 /* end confdefs.h. */
7316 int main(int argc, char **argv) { return 0; }
7317 _ACEOF
7318 if ac_fn_c_try_link "$LINENO"; then :
7319 eval "$as_ac_var=yes"
7320 else
7321 eval "$as_ac_var=no"
7323 rm -f core conftest.err conftest.$ac_objext \
7324 conftest$ac_exeext conftest.$ac_ext
7325 CFLAGS=$ac_wine_try_cflags_saved
7327 eval ac_res=\$$as_ac_var
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7329 $as_echo "$ac_res" >&6; }
7330 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7331 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7332 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7337 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7338 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7339 $as_echo_n "(cached) " >&6
7340 else
7341 ac_wine_try_cflags_saved=$CFLAGS
7342 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7344 /* end confdefs.h. */
7345 int main(int argc, char **argv) { return 0; }
7346 _ACEOF
7347 if ac_fn_c_try_link "$LINENO"; then :
7348 ac_cv_cflags__Wl___enable_new_dtags=yes
7349 else
7350 ac_cv_cflags__Wl___enable_new_dtags=no
7352 rm -f core conftest.err conftest.$ac_objext \
7353 conftest$ac_exeext conftest.$ac_ext
7354 CFLAGS=$ac_wine_try_cflags_saved
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7357 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7358 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7359 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7362 case $host_cpu in
7363 *i[3456789]86* | x86_64)
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7365 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7366 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7367 $as_echo_n "(cached) " >&6
7368 else
7369 ac_wine_try_cflags_saved=$CFLAGS
7370 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7372 /* end confdefs.h. */
7373 int main(int argc, char **argv) { return 0; }
7374 _ACEOF
7375 if ac_fn_c_try_link "$LINENO"; then :
7376 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7377 else
7378 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7380 rm -f core conftest.err conftest.$ac_objext \
7381 conftest$ac_exeext conftest.$ac_ext
7382 CFLAGS=$ac_wine_try_cflags_saved
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7385 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7386 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7387 case $host_os in
7388 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7389 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7390 esac
7393 # Extract the first word of "prelink", so it can be a program name with args.
7394 set dummy prelink; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_path_PRELINK+:} false; then :
7398 $as_echo_n "(cached) " >&6
7399 else
7400 case $PRELINK in
7401 [\\/]* | ?:[\\/]*)
7402 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 for as_dir in /sbin /usr/sbin $PATH
7408 IFS=$as_save_IFS
7409 test -z "$as_dir" && as_dir=.
7410 for ac_exec_ext in '' $ac_executable_extensions; do
7411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7412 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 break 2
7416 done
7417 done
7418 IFS=$as_save_IFS
7420 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7422 esac
7424 PRELINK=$ac_cv_path_PRELINK
7425 if test -n "$PRELINK"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7427 $as_echo "$PRELINK" >&6; }
7428 else
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7434 if test "x$PRELINK" = xfalse
7435 then
7436 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7439 esac
7441 else
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7443 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7444 if ${ac_cv_c_dll_unixware+:} false; then :
7445 $as_echo_n "(cached) " >&6
7446 else
7447 ac_wine_try_cflags_saved=$CFLAGS
7448 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7450 /* end confdefs.h. */
7451 void myfunc() {}
7452 _ACEOF
7453 if ac_fn_c_try_link "$LINENO"; then :
7454 ac_cv_c_dll_unixware="yes"
7455 else
7456 ac_cv_c_dll_unixware="no"
7458 rm -f core conftest.err conftest.$ac_objext \
7459 conftest$ac_exeext conftest.$ac_ext
7460 CFLAGS=$ac_wine_try_cflags_saved
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7463 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7464 if test "$ac_cv_c_dll_unixware" = "yes"
7465 then
7466 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7467 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7470 LIBWINE_RULES="
7471 all: libwine.so
7473 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7474 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7476 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7477 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7479 libwine.so: libwine.so.\$(SOVERSION)
7480 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7482 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7483 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7484 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7486 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7487 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7489 uninstall::
7490 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7492 clean::
7493 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7497 esac
7499 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7500 enable_winemac_drv=${enable_winemac_drv:-no}
7502 CROSSTEST_DISABLE=\#
7504 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7505 then
7506 case "$host_cpu" in
7507 i[3456789]86*)
7508 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
7509 mingw32-gcc" ;;
7510 x86_64)
7511 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 " ;;
7513 ac_prefix_list="" ;;
7514 esac
7515 for ac_prog in $ac_prefix_list
7517 # Extract the first word of "$ac_prog", so it can be a program name with args.
7518 set dummy $ac_prog; ac_word=$2
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7520 $as_echo_n "checking for $ac_word... " >&6; }
7521 if ${ac_cv_prog_CROSSCC+:} false; then :
7522 $as_echo_n "(cached) " >&6
7523 else
7524 if test -n "$CROSSCC"; then
7525 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7526 else
7527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528 for as_dir in $PATH
7530 IFS=$as_save_IFS
7531 test -z "$as_dir" && as_dir=.
7532 for ac_exec_ext in '' $ac_executable_extensions; do
7533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7534 ac_cv_prog_CROSSCC="$ac_prog"
7535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7536 break 2
7538 done
7539 done
7540 IFS=$as_save_IFS
7544 CROSSCC=$ac_cv_prog_CROSSCC
7545 if test -n "$CROSSCC"; then
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7547 $as_echo "$CROSSCC" >&6; }
7548 else
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550 $as_echo "no" >&6; }
7554 test -n "$CROSSCC" && break
7555 done
7556 test -n "$CROSSCC" || CROSSCC="false"
7558 if test "$CROSSCC" != "false"
7559 then
7560 ac_save_CC="$CC"
7561 CC="$CROSSCC"
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7563 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7565 /* end confdefs.h. */
7568 main ()
7572 return 0;
7574 _ACEOF
7575 if ac_fn_c_try_compile "$LINENO"; then :
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7577 $as_echo "yes" >&6; }
7578 set x $CROSSCC
7579 shift
7580 target=""
7581 while test $# -ge 1
7583 case "$1" in
7584 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7585 esac
7586 shift
7587 done
7588 if test -n "$target"
7589 then
7590 CROSSTEST_DISABLE=""
7591 CROSSTARGET="$target"
7594 else
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7599 CC="$ac_save_CC"
7604 if test "$ac_cv_header_pthread_h" = "yes"
7605 then
7606 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7607 if test "x$ac_cv_func_pthread_create" = xyes; then :
7609 else
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7611 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7612 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7613 $as_echo_n "(cached) " >&6
7614 else
7615 ac_check_lib_save_LIBS=$LIBS
7616 LIBS="-lpthread $LIBS"
7617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h. */
7620 /* Override any GCC internal prototype to avoid an error.
7621 Use char because int might match the return type of a GCC
7622 builtin and then its argument prototype would still apply. */
7623 #ifdef __cplusplus
7624 extern "C"
7625 #endif
7626 char pthread_create ();
7628 main ()
7630 return pthread_create ();
7632 return 0;
7634 _ACEOF
7635 if ac_fn_c_try_link "$LINENO"; then :
7636 ac_cv_lib_pthread_pthread_create=yes
7637 else
7638 ac_cv_lib_pthread_pthread_create=no
7640 rm -f core conftest.err conftest.$ac_objext \
7641 conftest$ac_exeext conftest.$ac_ext
7642 LIBS=$ac_check_lib_save_LIBS
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7645 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7646 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7647 LIBPTHREAD="-lpthread"
7654 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
7655 case "x$with_pthread" in
7656 xno) ;;
7657 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7658 Wine cannot support threads without libpthread.
7659 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7660 esac
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7665 $as_echo_n "checking for X... " >&6; }
7668 # Check whether --with-x was given.
7669 if test "${with_x+set}" = set; then :
7670 withval=$with_x;
7673 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7674 if test "x$with_x" = xno; then
7675 # The user explicitly disabled X.
7676 have_x=disabled
7677 else
7678 case $x_includes,$x_libraries in #(
7679 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7680 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7681 $as_echo_n "(cached) " >&6
7682 else
7683 # One or both of the vars are not set, and there is no cached value.
7684 ac_x_includes=no ac_x_libraries=no
7685 rm -f -r conftest.dir
7686 if mkdir conftest.dir; then
7687 cd conftest.dir
7688 cat >Imakefile <<'_ACEOF'
7689 incroot:
7690 @echo incroot='${INCROOT}'
7691 usrlibdir:
7692 @echo usrlibdir='${USRLIBDIR}'
7693 libdir:
7694 @echo libdir='${LIBDIR}'
7695 _ACEOF
7696 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7697 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7698 for ac_var in incroot usrlibdir libdir; do
7699 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7700 done
7701 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7702 for ac_extension in a so sl dylib la dll; do
7703 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7704 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7705 ac_im_usrlibdir=$ac_im_libdir; break
7707 done
7708 # Screen out bogus values from the imake configuration. They are
7709 # bogus both because they are the default anyway, and because
7710 # using them would break gcc on systems where it needs fixed includes.
7711 case $ac_im_incroot in
7712 /usr/include) ac_x_includes= ;;
7713 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7714 esac
7715 case $ac_im_usrlibdir in
7716 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7717 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7718 esac
7720 cd ..
7721 rm -f -r conftest.dir
7724 # Standard set of common directories for X headers.
7725 # Check X11 before X11Rn because it is often a symlink to the current release.
7726 ac_x_header_dirs='
7727 /usr/X11/include
7728 /usr/X11R7/include
7729 /usr/X11R6/include
7730 /usr/X11R5/include
7731 /usr/X11R4/include
7733 /usr/include/X11
7734 /usr/include/X11R7
7735 /usr/include/X11R6
7736 /usr/include/X11R5
7737 /usr/include/X11R4
7739 /usr/local/X11/include
7740 /usr/local/X11R7/include
7741 /usr/local/X11R6/include
7742 /usr/local/X11R5/include
7743 /usr/local/X11R4/include
7745 /usr/local/include/X11
7746 /usr/local/include/X11R7
7747 /usr/local/include/X11R6
7748 /usr/local/include/X11R5
7749 /usr/local/include/X11R4
7751 /usr/X386/include
7752 /usr/x386/include
7753 /usr/XFree86/include/X11
7755 /usr/include
7756 /usr/local/include
7757 /usr/unsupported/include
7758 /usr/athena/include
7759 /usr/local/x11r5/include
7760 /usr/lpp/Xamples/include
7762 /usr/openwin/include
7763 /usr/openwin/share/include'
7765 if test "$ac_x_includes" = no; then
7766 # Guess where to find include files, by looking for Xlib.h.
7767 # First, try using that file with no special directory specified.
7768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h. */
7770 #include <X11/Xlib.h>
7771 _ACEOF
7772 if ac_fn_c_try_cpp "$LINENO"; then :
7773 # We can compile using X headers with no special include directory.
7774 ac_x_includes=
7775 else
7776 for ac_dir in $ac_x_header_dirs; do
7777 if test -r "$ac_dir/X11/Xlib.h"; then
7778 ac_x_includes=$ac_dir
7779 break
7781 done
7783 rm -f conftest.err conftest.i conftest.$ac_ext
7784 fi # $ac_x_includes = no
7786 if test "$ac_x_libraries" = no; then
7787 # Check for the libraries.
7788 # See if we find them without any special options.
7789 # Don't add to $LIBS permanently.
7790 ac_save_LIBS=$LIBS
7791 LIBS="-lX11 $LIBS"
7792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7793 /* end confdefs.h. */
7794 #include <X11/Xlib.h>
7796 main ()
7798 XrmInitialize ()
7800 return 0;
7802 _ACEOF
7803 if ac_fn_c_try_link "$LINENO"; then :
7804 LIBS=$ac_save_LIBS
7805 # We can link X programs with no special library path.
7806 ac_x_libraries=
7807 else
7808 LIBS=$ac_save_LIBS
7809 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7811 # Don't even attempt the hair of trying to link an X program!
7812 for ac_extension in a so sl dylib la dll; do
7813 if test -r "$ac_dir/libX11.$ac_extension"; then
7814 ac_x_libraries=$ac_dir
7815 break 2
7817 done
7818 done
7820 rm -f core conftest.err conftest.$ac_objext \
7821 conftest$ac_exeext conftest.$ac_ext
7822 fi # $ac_x_libraries = no
7824 case $ac_x_includes,$ac_x_libraries in #(
7825 no,* | *,no | *\'*)
7826 # Didn't find X, or a directory has "'" in its name.
7827 ac_cv_have_x="have_x=no";; #(
7829 # Record where we found X for the cache.
7830 ac_cv_have_x="have_x=yes\
7831 ac_x_includes='$ac_x_includes'\
7832 ac_x_libraries='$ac_x_libraries'"
7833 esac
7835 ;; #(
7836 *) have_x=yes;;
7837 esac
7838 eval "$ac_cv_have_x"
7839 fi # $with_x != no
7841 if test "$have_x" != yes; then
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7843 $as_echo "$have_x" >&6; }
7844 no_x=yes
7845 else
7846 # If each of the values was on the command line, it overrides each guess.
7847 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7848 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7849 # Update the cache value to reflect the command line values.
7850 ac_cv_have_x="have_x=yes\
7851 ac_x_includes='$x_includes'\
7852 ac_x_libraries='$x_libraries'"
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7854 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7857 if test "$no_x" = yes; then
7858 # Not all programs may use this symbol, but it does not hurt to define it.
7860 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7862 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7863 else
7864 if test -n "$x_includes"; then
7865 X_CFLAGS="$X_CFLAGS -I$x_includes"
7868 # It would also be nice to do this for all -L options, not just this one.
7869 if test -n "$x_libraries"; then
7870 X_LIBS="$X_LIBS -L$x_libraries"
7871 # For Solaris; some versions of Sun CC require a space after -R and
7872 # others require no space. Words are not sufficient . . . .
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7874 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7875 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7876 ac_xsave_c_werror_flag=$ac_c_werror_flag
7877 ac_c_werror_flag=yes
7878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7879 /* end confdefs.h. */
7882 main ()
7886 return 0;
7888 _ACEOF
7889 if ac_fn_c_try_link "$LINENO"; then :
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891 $as_echo "no" >&6; }
7892 X_LIBS="$X_LIBS -R$x_libraries"
7893 else
7894 LIBS="$ac_xsave_LIBS -R $x_libraries"
7895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7896 /* end confdefs.h. */
7899 main ()
7903 return 0;
7905 _ACEOF
7906 if ac_fn_c_try_link "$LINENO"; then :
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7908 $as_echo "yes" >&6; }
7909 X_LIBS="$X_LIBS -R $x_libraries"
7910 else
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7912 $as_echo "neither works" >&6; }
7914 rm -f core conftest.err conftest.$ac_objext \
7915 conftest$ac_exeext conftest.$ac_ext
7917 rm -f core conftest.err conftest.$ac_objext \
7918 conftest$ac_exeext conftest.$ac_ext
7919 ac_c_werror_flag=$ac_xsave_c_werror_flag
7920 LIBS=$ac_xsave_LIBS
7923 # Check for system-dependent libraries X programs must link with.
7924 # Do this before checking for the system-independent R6 libraries
7925 # (-lICE), since we may need -lsocket or whatever for X linking.
7927 if test "$ISC" = yes; then
7928 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7929 else
7930 # Martyn Johnson says this is needed for Ultrix, if the X
7931 # libraries were built with DECnet support. And Karl Berry says
7932 # the Alpha needs dnet_stub (dnet does not exist).
7933 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7935 /* end confdefs.h. */
7937 /* Override any GCC internal prototype to avoid an error.
7938 Use char because int might match the return type of a GCC
7939 builtin and then its argument prototype would still apply. */
7940 #ifdef __cplusplus
7941 extern "C"
7942 #endif
7943 char XOpenDisplay ();
7945 main ()
7947 return XOpenDisplay ();
7949 return 0;
7951 _ACEOF
7952 if ac_fn_c_try_link "$LINENO"; then :
7954 else
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7956 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7957 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7958 $as_echo_n "(cached) " >&6
7959 else
7960 ac_check_lib_save_LIBS=$LIBS
7961 LIBS="-ldnet $LIBS"
7962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7963 /* end confdefs.h. */
7965 /* Override any GCC internal prototype to avoid an error.
7966 Use char because int might match the return type of a GCC
7967 builtin and then its argument prototype would still apply. */
7968 #ifdef __cplusplus
7969 extern "C"
7970 #endif
7971 char dnet_ntoa ();
7973 main ()
7975 return dnet_ntoa ();
7977 return 0;
7979 _ACEOF
7980 if ac_fn_c_try_link "$LINENO"; then :
7981 ac_cv_lib_dnet_dnet_ntoa=yes
7982 else
7983 ac_cv_lib_dnet_dnet_ntoa=no
7985 rm -f core conftest.err conftest.$ac_objext \
7986 conftest$ac_exeext conftest.$ac_ext
7987 LIBS=$ac_check_lib_save_LIBS
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7990 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7991 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7992 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7995 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7997 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7998 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7999 $as_echo_n "(cached) " >&6
8000 else
8001 ac_check_lib_save_LIBS=$LIBS
8002 LIBS="-ldnet_stub $LIBS"
8003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8006 /* Override any GCC internal prototype to avoid an error.
8007 Use char because int might match the return type of a GCC
8008 builtin and then its argument prototype would still apply. */
8009 #ifdef __cplusplus
8010 extern "C"
8011 #endif
8012 char dnet_ntoa ();
8014 main ()
8016 return dnet_ntoa ();
8018 return 0;
8020 _ACEOF
8021 if ac_fn_c_try_link "$LINENO"; then :
8022 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8023 else
8024 ac_cv_lib_dnet_stub_dnet_ntoa=no
8026 rm -f core conftest.err conftest.$ac_objext \
8027 conftest$ac_exeext conftest.$ac_ext
8028 LIBS=$ac_check_lib_save_LIBS
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8031 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8032 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8033 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8038 rm -f core conftest.err conftest.$ac_objext \
8039 conftest$ac_exeext conftest.$ac_ext
8040 LIBS="$ac_xsave_LIBS"
8042 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8043 # to get the SysV transport functions.
8044 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8045 # needs -lnsl.
8046 # The nsl library prevents programs from opening the X display
8047 # on Irix 5.2, according to T.E. Dickey.
8048 # The functions gethostbyname, getservbyname, and inet_addr are
8049 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8050 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8051 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8055 if test $ac_cv_func_gethostbyname = no; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8057 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8058 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8059 $as_echo_n "(cached) " >&6
8060 else
8061 ac_check_lib_save_LIBS=$LIBS
8062 LIBS="-lnsl $LIBS"
8063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8064 /* end confdefs.h. */
8066 /* Override any GCC internal prototype to avoid an error.
8067 Use char because int might match the return type of a GCC
8068 builtin and then its argument prototype would still apply. */
8069 #ifdef __cplusplus
8070 extern "C"
8071 #endif
8072 char gethostbyname ();
8074 main ()
8076 return gethostbyname ();
8078 return 0;
8080 _ACEOF
8081 if ac_fn_c_try_link "$LINENO"; then :
8082 ac_cv_lib_nsl_gethostbyname=yes
8083 else
8084 ac_cv_lib_nsl_gethostbyname=no
8086 rm -f core conftest.err conftest.$ac_objext \
8087 conftest$ac_exeext conftest.$ac_ext
8088 LIBS=$ac_check_lib_save_LIBS
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8091 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8092 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8093 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8096 if test $ac_cv_lib_nsl_gethostbyname = no; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8098 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8099 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8100 $as_echo_n "(cached) " >&6
8101 else
8102 ac_check_lib_save_LIBS=$LIBS
8103 LIBS="-lbsd $LIBS"
8104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8105 /* end confdefs.h. */
8107 /* Override any GCC internal prototype to avoid an error.
8108 Use char because int might match the return type of a GCC
8109 builtin and then its argument prototype would still apply. */
8110 #ifdef __cplusplus
8111 extern "C"
8112 #endif
8113 char gethostbyname ();
8115 main ()
8117 return gethostbyname ();
8119 return 0;
8121 _ACEOF
8122 if ac_fn_c_try_link "$LINENO"; then :
8123 ac_cv_lib_bsd_gethostbyname=yes
8124 else
8125 ac_cv_lib_bsd_gethostbyname=no
8127 rm -f core conftest.err conftest.$ac_objext \
8128 conftest$ac_exeext conftest.$ac_ext
8129 LIBS=$ac_check_lib_save_LIBS
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8132 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8133 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
8134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8140 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8141 # socket/setsockopt and other routines are undefined under SCO ODT
8142 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8143 # on later versions), says Simon Leinen: it contains gethostby*
8144 # variants that don't use the name server (or something). -lsocket
8145 # must be given before -lnsl if both are needed. We assume that
8146 # if connect needs -lnsl, so does gethostbyname.
8147 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
8148 if test "x$ac_cv_func_connect" = xyes; then :
8152 if test $ac_cv_func_connect = no; then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8154 $as_echo_n "checking for connect in -lsocket... " >&6; }
8155 if ${ac_cv_lib_socket_connect+:} false; then :
8156 $as_echo_n "(cached) " >&6
8157 else
8158 ac_check_lib_save_LIBS=$LIBS
8159 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8163 /* Override any GCC internal prototype to avoid an error.
8164 Use char because int might match the return type of a GCC
8165 builtin and then its argument prototype would still apply. */
8166 #ifdef __cplusplus
8167 extern "C"
8168 #endif
8169 char connect ();
8171 main ()
8173 return connect ();
8175 return 0;
8177 _ACEOF
8178 if ac_fn_c_try_link "$LINENO"; then :
8179 ac_cv_lib_socket_connect=yes
8180 else
8181 ac_cv_lib_socket_connect=no
8183 rm -f core conftest.err conftest.$ac_objext \
8184 conftest$ac_exeext conftest.$ac_ext
8185 LIBS=$ac_check_lib_save_LIBS
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8188 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8189 if test "x$ac_cv_lib_socket_connect" = xyes; then :
8190 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8195 # Guillermo Gomez says -lposix is necessary on A/UX.
8196 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
8197 if test "x$ac_cv_func_remove" = xyes; then :
8201 if test $ac_cv_func_remove = no; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8203 $as_echo_n "checking for remove in -lposix... " >&6; }
8204 if ${ac_cv_lib_posix_remove+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 ac_check_lib_save_LIBS=$LIBS
8208 LIBS="-lposix $LIBS"
8209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8210 /* end confdefs.h. */
8212 /* Override any GCC internal prototype to avoid an error.
8213 Use char because int might match the return type of a GCC
8214 builtin and then its argument prototype would still apply. */
8215 #ifdef __cplusplus
8216 extern "C"
8217 #endif
8218 char remove ();
8220 main ()
8222 return remove ();
8224 return 0;
8226 _ACEOF
8227 if ac_fn_c_try_link "$LINENO"; then :
8228 ac_cv_lib_posix_remove=yes
8229 else
8230 ac_cv_lib_posix_remove=no
8232 rm -f core conftest.err conftest.$ac_objext \
8233 conftest$ac_exeext conftest.$ac_ext
8234 LIBS=$ac_check_lib_save_LIBS
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8237 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8238 if test "x$ac_cv_lib_posix_remove" = xyes; then :
8239 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8244 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8245 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8246 if test "x$ac_cv_func_shmat" = xyes; then :
8250 if test $ac_cv_func_shmat = no; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8252 $as_echo_n "checking for shmat in -lipc... " >&6; }
8253 if ${ac_cv_lib_ipc_shmat+:} false; then :
8254 $as_echo_n "(cached) " >&6
8255 else
8256 ac_check_lib_save_LIBS=$LIBS
8257 LIBS="-lipc $LIBS"
8258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8261 /* Override any GCC internal prototype to avoid an error.
8262 Use char because int might match the return type of a GCC
8263 builtin and then its argument prototype would still apply. */
8264 #ifdef __cplusplus
8265 extern "C"
8266 #endif
8267 char shmat ();
8269 main ()
8271 return shmat ();
8273 return 0;
8275 _ACEOF
8276 if ac_fn_c_try_link "$LINENO"; then :
8277 ac_cv_lib_ipc_shmat=yes
8278 else
8279 ac_cv_lib_ipc_shmat=no
8281 rm -f core conftest.err conftest.$ac_objext \
8282 conftest$ac_exeext conftest.$ac_ext
8283 LIBS=$ac_check_lib_save_LIBS
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8286 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8287 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8288 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8294 # Check for libraries that X11R6 Xt/Xaw programs need.
8295 ac_save_LDFLAGS=$LDFLAGS
8296 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8297 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8298 # check for ICE first), but we must link in the order -lSM -lICE or
8299 # we get undefined symbols. So assume we have SM if we have ICE.
8300 # These have to be linked with before -lX11, unlike the other
8301 # libraries we check for below, so use a different variable.
8302 # John Interrante, Karl Berry
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8304 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8305 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8306 $as_echo_n "(cached) " >&6
8307 else
8308 ac_check_lib_save_LIBS=$LIBS
8309 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8313 /* Override any GCC internal prototype to avoid an error.
8314 Use char because int might match the return type of a GCC
8315 builtin and then its argument prototype would still apply. */
8316 #ifdef __cplusplus
8317 extern "C"
8318 #endif
8319 char IceConnectionNumber ();
8321 main ()
8323 return IceConnectionNumber ();
8325 return 0;
8327 _ACEOF
8328 if ac_fn_c_try_link "$LINENO"; then :
8329 ac_cv_lib_ICE_IceConnectionNumber=yes
8330 else
8331 ac_cv_lib_ICE_IceConnectionNumber=no
8333 rm -f core conftest.err conftest.$ac_objext \
8334 conftest$ac_exeext conftest.$ac_ext
8335 LIBS=$ac_check_lib_save_LIBS
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8338 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8339 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8340 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8343 LDFLAGS=$ac_save_LDFLAGS
8348 if test "$have_x" = "yes"
8349 then
8350 XLIB="-lX11"
8351 ac_save_CPPFLAGS="$CPPFLAGS"
8352 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8355 $as_echo_n "checking for -lX11... " >&6; }
8356 if ${ac_cv_lib_soname_X11+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 ac_check_soname_save_LIBS=$LIBS
8360 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8364 /* Override any GCC internal prototype to avoid an error.
8365 Use char because int might match the return type of a GCC
8366 builtin and then its argument prototype would still apply. */
8367 #ifdef __cplusplus
8368 extern "C"
8369 #endif
8370 char XCreateWindow ();
8372 main ()
8374 return XCreateWindow ();
8376 return 0;
8378 _ACEOF
8379 if ac_fn_c_try_link "$LINENO"; then :
8380 case "$LIBEXT" in
8381 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8382 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'` ;;
8383 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8384 if test "x$ac_cv_lib_soname_X11" = x; then :
8385 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8386 fi ;;
8387 esac
8389 rm -f core conftest.err conftest.$ac_objext \
8390 conftest$ac_exeext conftest.$ac_ext
8391 LIBS=$ac_check_soname_save_LIBS
8393 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8395 $as_echo "not found" >&6; }
8397 else
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8399 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8401 cat >>confdefs.h <<_ACEOF
8402 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8403 _ACEOF
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8408 $as_echo_n "checking for -lXext... " >&6; }
8409 if ${ac_cv_lib_soname_Xext+:} false; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 ac_check_soname_save_LIBS=$LIBS
8413 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8417 /* Override any GCC internal prototype to avoid an error.
8418 Use char because int might match the return type of a GCC
8419 builtin and then its argument prototype would still apply. */
8420 #ifdef __cplusplus
8421 extern "C"
8422 #endif
8423 char XextCreateExtension ();
8425 main ()
8427 return XextCreateExtension ();
8429 return 0;
8431 _ACEOF
8432 if ac_fn_c_try_link "$LINENO"; then :
8433 case "$LIBEXT" in
8434 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8435 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'` ;;
8436 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8437 if test "x$ac_cv_lib_soname_Xext" = x; then :
8438 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8439 fi ;;
8440 esac
8442 rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8444 LIBS=$ac_check_soname_save_LIBS
8446 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8448 $as_echo "not found" >&6; }
8450 else
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8452 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8454 cat >>confdefs.h <<_ACEOF
8455 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8456 _ACEOF
8458 XLIB="-lXext $XLIB"
8461 for ac_header in X11/Xlib.h \
8462 X11/XKBlib.h \
8463 X11/Xutil.h \
8464 X11/Xcursor/Xcursor.h \
8465 X11/extensions/shape.h \
8466 X11/extensions/XInput.h \
8467 X11/extensions/XInput2.h \
8468 X11/extensions/XShm.h \
8469 X11/extensions/Xcomposite.h \
8470 X11/extensions/Xinerama.h \
8471 X11/extensions/Xrandr.h \
8472 X11/extensions/Xrender.h \
8473 X11/extensions/xf86vmode.h \
8474 X11/extensions/xf86vmproto.h
8475 do :
8476 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8477 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8478 # include <X11/Xlib.h>
8479 #endif
8480 #ifdef HAVE_X11_XUTIL_H
8481 # include <X11/Xutil.h>
8482 #endif
8484 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8485 cat >>confdefs.h <<_ACEOF
8486 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8487 _ACEOF
8491 done
8494 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8495 then
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8497 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8498 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8499 $as_echo_n "(cached) " >&6
8500 else
8501 ac_check_lib_save_LIBS=$LIBS
8502 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8506 /* Override any GCC internal prototype to avoid an error.
8507 Use char because int might match the return type of a GCC
8508 builtin and then its argument prototype would still apply. */
8509 #ifdef __cplusplus
8510 extern "C"
8511 #endif
8512 char XkbQueryExtension ();
8514 main ()
8516 return XkbQueryExtension ();
8518 return 0;
8520 _ACEOF
8521 if ac_fn_c_try_link "$LINENO"; then :
8522 ac_cv_lib_X11_XkbQueryExtension=yes
8523 else
8524 ac_cv_lib_X11_XkbQueryExtension=no
8526 rm -f core conftest.err conftest.$ac_objext \
8527 conftest$ac_exeext conftest.$ac_ext
8528 LIBS=$ac_check_lib_save_LIBS
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8531 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8532 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8534 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8540 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8541 then
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8543 $as_echo_n "checking for -lXcursor... " >&6; }
8544 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8545 $as_echo_n "(cached) " >&6
8546 else
8547 ac_check_soname_save_LIBS=$LIBS
8548 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8552 /* Override any GCC internal prototype to avoid an error.
8553 Use char because int might match the return type of a GCC
8554 builtin and then its argument prototype would still apply. */
8555 #ifdef __cplusplus
8556 extern "C"
8557 #endif
8558 char XcursorImageLoadCursor ();
8560 main ()
8562 return XcursorImageLoadCursor ();
8564 return 0;
8566 _ACEOF
8567 if ac_fn_c_try_link "$LINENO"; then :
8568 case "$LIBEXT" in
8569 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8570 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'` ;;
8571 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8572 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
8573 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8574 fi ;;
8575 esac
8577 rm -f core conftest.err conftest.$ac_objext \
8578 conftest$ac_exeext conftest.$ac_ext
8579 LIBS=$ac_check_soname_save_LIBS
8581 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8583 $as_echo "not found" >&6; }
8585 else
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8587 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8589 cat >>confdefs.h <<_ACEOF
8590 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8591 _ACEOF
8596 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8597 case "x$with_xcursor" in
8598 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8599 xno) ;;
8600 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8601 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8602 esac
8605 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8606 then
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8608 $as_echo_n "checking for -lXi... " >&6; }
8609 if ${ac_cv_lib_soname_Xi+:} false; then :
8610 $as_echo_n "(cached) " >&6
8611 else
8612 ac_check_soname_save_LIBS=$LIBS
8613 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8617 /* Override any GCC internal prototype to avoid an error.
8618 Use char because int might match the return type of a GCC
8619 builtin and then its argument prototype would still apply. */
8620 #ifdef __cplusplus
8621 extern "C"
8622 #endif
8623 char XOpenDevice ();
8625 main ()
8627 return XOpenDevice ();
8629 return 0;
8631 _ACEOF
8632 if ac_fn_c_try_link "$LINENO"; then :
8633 case "$LIBEXT" in
8634 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8635 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'` ;;
8636 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8637 if test "x$ac_cv_lib_soname_Xi" = x; then :
8638 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8639 fi ;;
8640 esac
8642 rm -f core conftest.err conftest.$ac_objext \
8643 conftest$ac_exeext conftest.$ac_ext
8644 LIBS=$ac_check_soname_save_LIBS
8646 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8648 $as_echo "not found" >&6; }
8650 else
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8652 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8654 cat >>confdefs.h <<_ACEOF
8655 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8656 _ACEOF
8661 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8662 case "x$with_xinput" in
8663 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8664 xno) ;;
8665 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8666 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8667 esac
8670 if test "x$ac_cv_lib_soname_Xi" != x
8671 then
8672 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8673 case "x$with_xinput2" in
8674 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8675 xno) ;;
8676 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8677 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8678 esac
8682 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8683 then
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8685 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8686 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8687 $as_echo_n "(cached) " >&6
8688 else
8689 ac_check_lib_save_LIBS=$LIBS
8690 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8694 /* Override any GCC internal prototype to avoid an error.
8695 Use char because int might match the return type of a GCC
8696 builtin and then its argument prototype would still apply. */
8697 #ifdef __cplusplus
8698 extern "C"
8699 #endif
8700 char XShmQueryExtension ();
8702 main ()
8704 return XShmQueryExtension ();
8706 return 0;
8708 _ACEOF
8709 if ac_fn_c_try_link "$LINENO"; then :
8710 ac_cv_lib_Xext_XShmQueryExtension=yes
8711 else
8712 ac_cv_lib_Xext_XShmQueryExtension=no
8714 rm -f core conftest.err conftest.$ac_objext \
8715 conftest$ac_exeext conftest.$ac_ext
8716 LIBS=$ac_check_lib_save_LIBS
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8719 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8720 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8722 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8727 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8728 case "x$with_xshm" in
8729 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8730 xno) ;;
8731 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8732 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8733 esac
8736 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8737 then
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8739 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8740 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8741 $as_echo_n "(cached) " >&6
8742 else
8743 ac_check_lib_save_LIBS=$LIBS
8744 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8748 /* Override any GCC internal prototype to avoid an error.
8749 Use char because int might match the return type of a GCC
8750 builtin and then its argument prototype would still apply. */
8751 #ifdef __cplusplus
8752 extern "C"
8753 #endif
8754 char XShapeQueryExtension ();
8756 main ()
8758 return XShapeQueryExtension ();
8760 return 0;
8762 _ACEOF
8763 if ac_fn_c_try_link "$LINENO"; then :
8764 ac_cv_lib_Xext_XShapeQueryExtension=yes
8765 else
8766 ac_cv_lib_Xext_XShapeQueryExtension=no
8768 rm -f core conftest.err conftest.$ac_objext \
8769 conftest$ac_exeext conftest.$ac_ext
8770 LIBS=$ac_check_lib_save_LIBS
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8773 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8774 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8776 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8781 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8782 case "x$with_xshape" in
8783 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8784 xno) ;;
8785 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8786 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8787 esac
8790 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8791 then
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8793 $as_echo_n "checking for -lXxf86vm... " >&6; }
8794 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8795 $as_echo_n "(cached) " >&6
8796 else
8797 ac_check_soname_save_LIBS=$LIBS
8798 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8802 /* Override any GCC internal prototype to avoid an error.
8803 Use char because int might match the return type of a GCC
8804 builtin and then its argument prototype would still apply. */
8805 #ifdef __cplusplus
8806 extern "C"
8807 #endif
8808 char XF86VidModeQueryExtension ();
8810 main ()
8812 return XF86VidModeQueryExtension ();
8814 return 0;
8816 _ACEOF
8817 if ac_fn_c_try_link "$LINENO"; then :
8818 case "$LIBEXT" in
8819 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8820 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'` ;;
8821 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8822 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
8823 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8824 fi ;;
8825 esac
8827 rm -f core conftest.err conftest.$ac_objext \
8828 conftest$ac_exeext conftest.$ac_ext
8829 LIBS=$ac_check_soname_save_LIBS
8831 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8833 $as_echo "not found" >&6; }
8835 else
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8837 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8839 cat >>confdefs.h <<_ACEOF
8840 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8841 _ACEOF
8846 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8847 case "x$with_xxf86vm" in
8848 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8849 xno) ;;
8850 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8851 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8852 esac
8855 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"
8856 then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8858 $as_echo_n "checking for -lXrender... " >&6; }
8859 if ${ac_cv_lib_soname_Xrender+:} false; then :
8860 $as_echo_n "(cached) " >&6
8861 else
8862 ac_check_soname_save_LIBS=$LIBS
8863 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8865 /* end confdefs.h. */
8867 /* Override any GCC internal prototype to avoid an error.
8868 Use char because int might match the return type of a GCC
8869 builtin and then its argument prototype would still apply. */
8870 #ifdef __cplusplus
8871 extern "C"
8872 #endif
8873 char XRenderQueryExtension ();
8875 main ()
8877 return XRenderQueryExtension ();
8879 return 0;
8881 _ACEOF
8882 if ac_fn_c_try_link "$LINENO"; then :
8883 case "$LIBEXT" in
8884 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8885 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'` ;;
8886 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8887 if test "x$ac_cv_lib_soname_Xrender" = x; then :
8888 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8889 fi ;;
8890 esac
8892 rm -f core conftest.err conftest.$ac_objext \
8893 conftest$ac_exeext conftest.$ac_ext
8894 LIBS=$ac_check_soname_save_LIBS
8896 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8898 $as_echo "not found" >&6; }
8900 else
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8902 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8904 cat >>confdefs.h <<_ACEOF
8905 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8906 _ACEOF
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8909 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8910 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8911 $as_echo_n "(cached) " >&6
8912 else
8913 ac_check_lib_save_LIBS=$LIBS
8914 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8916 /* end confdefs.h. */
8918 /* Override any GCC internal prototype to avoid an error.
8919 Use char because int might match the return type of a GCC
8920 builtin and then its argument prototype would still apply. */
8921 #ifdef __cplusplus
8922 extern "C"
8923 #endif
8924 char XRenderSetPictureTransform ();
8926 main ()
8928 return XRenderSetPictureTransform ();
8930 return 0;
8932 _ACEOF
8933 if ac_fn_c_try_link "$LINENO"; then :
8934 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8935 else
8936 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8938 rm -f core conftest.err conftest.$ac_objext \
8939 conftest$ac_exeext conftest.$ac_ext
8940 LIBS=$ac_check_lib_save_LIBS
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8943 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8944 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8946 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8951 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8952 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8953 $as_echo_n "(cached) " >&6
8954 else
8955 ac_check_lib_save_LIBS=$LIBS
8956 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8958 /* end confdefs.h. */
8960 /* Override any GCC internal prototype to avoid an error.
8961 Use char because int might match the return type of a GCC
8962 builtin and then its argument prototype would still apply. */
8963 #ifdef __cplusplus
8964 extern "C"
8965 #endif
8966 char XRenderCreateLinearGradient ();
8968 main ()
8970 return XRenderCreateLinearGradient ();
8972 return 0;
8974 _ACEOF
8975 if ac_fn_c_try_link "$LINENO"; then :
8976 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8977 else
8978 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8980 rm -f core conftest.err conftest.$ac_objext \
8981 conftest$ac_exeext conftest.$ac_ext
8982 LIBS=$ac_check_lib_save_LIBS
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8985 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8986 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8988 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8995 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8996 case "x$with_xrender" in
8997 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8998 xno) ;;
8999 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9000 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9001 esac
9004 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9005 then
9006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9007 /* end confdefs.h. */
9008 #include <X11/Xlib.h>
9009 #include <X11/extensions/Xrandr.h>
9011 main ()
9013 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9015 return 0;
9017 _ACEOF
9018 if ac_fn_c_try_compile "$LINENO"; then :
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9020 $as_echo_n "checking for -lXrandr... " >&6; }
9021 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9022 $as_echo_n "(cached) " >&6
9023 else
9024 ac_check_soname_save_LIBS=$LIBS
9025 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9029 /* Override any GCC internal prototype to avoid an error.
9030 Use char because int might match the return type of a GCC
9031 builtin and then its argument prototype would still apply. */
9032 #ifdef __cplusplus
9033 extern "C"
9034 #endif
9035 char XRRQueryExtension ();
9037 main ()
9039 return XRRQueryExtension ();
9041 return 0;
9043 _ACEOF
9044 if ac_fn_c_try_link "$LINENO"; then :
9045 case "$LIBEXT" in
9046 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9047 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'` ;;
9048 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9049 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
9050 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9051 fi ;;
9052 esac
9054 rm -f core conftest.err conftest.$ac_objext \
9055 conftest$ac_exeext conftest.$ac_ext
9056 LIBS=$ac_check_soname_save_LIBS
9058 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9060 $as_echo "not found" >&6; }
9062 else
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9064 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9066 cat >>confdefs.h <<_ACEOF
9067 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9068 _ACEOF
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 #include <X11/Xlib.h>
9073 #include <X11/extensions/Xrandr.h>
9075 main ()
9077 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9079 return 0;
9081 _ACEOF
9082 if ac_fn_c_try_compile "$LINENO"; then :
9084 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9092 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9093 case "x$with_xrandr" in
9094 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9095 xno) ;;
9096 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9097 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9098 esac
9101 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9102 then
9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9105 #include <X11/Xlib.h>
9106 #include <X11/extensions/Xinerama.h>
9108 main ()
9110 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9112 return 0;
9114 _ACEOF
9115 if ac_fn_c_try_compile "$LINENO"; then :
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9117 $as_echo_n "checking for -lXinerama... " >&6; }
9118 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9119 $as_echo_n "(cached) " >&6
9120 else
9121 ac_check_soname_save_LIBS=$LIBS
9122 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9126 /* Override any GCC internal prototype to avoid an error.
9127 Use char because int might match the return type of a GCC
9128 builtin and then its argument prototype would still apply. */
9129 #ifdef __cplusplus
9130 extern "C"
9131 #endif
9132 char XineramaQueryScreens ();
9134 main ()
9136 return XineramaQueryScreens ();
9138 return 0;
9140 _ACEOF
9141 if ac_fn_c_try_link "$LINENO"; then :
9142 case "$LIBEXT" in
9143 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9144 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'` ;;
9145 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9146 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
9147 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9148 fi ;;
9149 esac
9151 rm -f core conftest.err conftest.$ac_objext \
9152 conftest$ac_exeext conftest.$ac_ext
9153 LIBS=$ac_check_soname_save_LIBS
9155 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9157 $as_echo "not found" >&6; }
9159 else
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9161 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9163 cat >>confdefs.h <<_ACEOF
9164 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9165 _ACEOF
9170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9172 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9173 case "x$with_xinerama" in
9174 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9175 xno) ;;
9176 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9177 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9178 esac
9181 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9182 then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9184 $as_echo_n "checking for -lXcomposite... " >&6; }
9185 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
9186 $as_echo_n "(cached) " >&6
9187 else
9188 ac_check_soname_save_LIBS=$LIBS
9189 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9191 /* end confdefs.h. */
9193 /* Override any GCC internal prototype to avoid an error.
9194 Use char because int might match the return type of a GCC
9195 builtin and then its argument prototype would still apply. */
9196 #ifdef __cplusplus
9197 extern "C"
9198 #endif
9199 char XCompositeRedirectWindow ();
9201 main ()
9203 return XCompositeRedirectWindow ();
9205 return 0;
9207 _ACEOF
9208 if ac_fn_c_try_link "$LINENO"; then :
9209 case "$LIBEXT" in
9210 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9211 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'` ;;
9212 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9213 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
9214 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9215 fi ;;
9216 esac
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9220 LIBS=$ac_check_soname_save_LIBS
9222 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9224 $as_echo "not found" >&6; }
9226 else
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9228 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9230 cat >>confdefs.h <<_ACEOF
9231 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9232 _ACEOF
9237 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9238 case "x$with_xcomposite" in
9239 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9240 xno) ;;
9241 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9242 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9243 esac
9246 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9247 #include <X11/Xlib.h>
9248 #endif
9250 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9252 cat >>confdefs.h <<_ACEOF
9253 #define HAVE_XICCALLBACK_CALLBACK 1
9254 _ACEOF
9258 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9259 #include <X11/Xlib.h>
9260 #endif
9262 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9264 cat >>confdefs.h <<_ACEOF
9265 #define HAVE_XEVENT_XCOOKIE 1
9266 _ACEOF
9273 opengl_msg=""
9274 if test "x$with_opengl" != "xno"
9275 then
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9277 $as_echo_n "checking for -lGL... " >&6; }
9278 if ${ac_cv_lib_soname_GL+:} false; then :
9279 $as_echo_n "(cached) " >&6
9280 else
9281 ac_check_soname_save_LIBS=$LIBS
9282 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9286 /* Override any GCC internal prototype to avoid an error.
9287 Use char because int might match the return type of a GCC
9288 builtin and then its argument prototype would still apply. */
9289 #ifdef __cplusplus
9290 extern "C"
9291 #endif
9292 char glXCreateContext ();
9294 main ()
9296 return glXCreateContext ();
9298 return 0;
9300 _ACEOF
9301 if ac_fn_c_try_link "$LINENO"; then :
9302 case "$LIBEXT" in
9303 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9304 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'` ;;
9305 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9306 if test "x$ac_cv_lib_soname_GL" = x; then :
9307 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9308 fi ;;
9309 esac
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 LIBS=$ac_check_soname_save_LIBS
9315 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9317 $as_echo "not found" >&6; }
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9319 $as_echo_n "checking for -lGL... " >&6; }
9320 if ${ac_cv_lib_soname_GL+:} false; then :
9321 $as_echo_n "(cached) " >&6
9322 else
9323 ac_check_soname_save_LIBS=$LIBS
9324 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"
9325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9328 /* Override any GCC internal prototype to avoid an error.
9329 Use char because int might match the return type of a GCC
9330 builtin and then its argument prototype would still apply. */
9331 #ifdef __cplusplus
9332 extern "C"
9333 #endif
9334 char glXCreateContext ();
9336 main ()
9338 return glXCreateContext ();
9340 return 0;
9342 _ACEOF
9343 if ac_fn_c_try_link "$LINENO"; then :
9344 case "$LIBEXT" in
9345 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9346 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'` ;;
9347 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9348 if test "x$ac_cv_lib_soname_GL" = x; then :
9349 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9350 fi ;;
9351 esac
9353 rm -f core conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9355 LIBS=$ac_check_soname_save_LIBS
9357 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9359 $as_echo "not found" >&6; }
9360 if test -f /usr/X11R6/lib/libGL.a
9361 then
9362 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9363 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9364 else
9365 opengl_msg="No OpenGL library found on this system."
9367 else
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9369 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9371 cat >>confdefs.h <<_ACEOF
9372 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9373 _ACEOF
9375 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"
9377 else
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9379 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9381 cat >>confdefs.h <<_ACEOF
9382 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9383 _ACEOF
9385 OPENGL_LIBS="-lGL"
9387 if test "x$with_glu" != "xno"
9388 then
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9390 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9391 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9392 $as_echo_n "(cached) " >&6
9393 else
9394 ac_check_lib_save_LIBS=$LIBS
9395 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9399 /* Override any GCC internal prototype to avoid an error.
9400 Use char because int might match the return type of a GCC
9401 builtin and then its argument prototype would still apply. */
9402 #ifdef __cplusplus
9403 extern "C"
9404 #endif
9405 char gluLookAt ();
9407 main ()
9409 return gluLookAt ();
9411 return 0;
9413 _ACEOF
9414 if ac_fn_c_try_link "$LINENO"; then :
9415 ac_cv_lib_GLU_gluLookAt=yes
9416 else
9417 ac_cv_lib_GLU_gluLookAt=no
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 LIBS=$ac_check_lib_save_LIBS
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9424 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9425 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9429 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9430 case "x$with_glu" in
9431 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9432 xno) ;;
9433 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9434 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9435 esac
9439 if test "x$with_osmesa" != "xno"
9440 then
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9442 $as_echo_n "checking for -lOSMesa... " >&6; }
9443 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9444 $as_echo_n "(cached) " >&6
9445 else
9446 ac_check_soname_save_LIBS=$LIBS
9447 LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9451 /* Override any GCC internal prototype to avoid an error.
9452 Use char because int might match the return type of a GCC
9453 builtin and then its argument prototype would still apply. */
9454 #ifdef __cplusplus
9455 extern "C"
9456 #endif
9457 char glAccum ();
9459 main ()
9461 return glAccum ();
9463 return 0;
9465 _ACEOF
9466 if ac_fn_c_try_link "$LINENO"; then :
9467 case "$LIBEXT" in
9468 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9469 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'` ;;
9470 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9471 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9472 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9473 fi ;;
9474 esac
9476 rm -f core conftest.err conftest.$ac_objext \
9477 conftest$ac_exeext conftest.$ac_ext
9478 LIBS=$ac_check_soname_save_LIBS
9480 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9482 $as_echo "not found" >&6; }
9484 else
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9486 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9488 cat >>confdefs.h <<_ACEOF
9489 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9490 _ACEOF
9494 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9495 case "x$with_osmesa" in
9496 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9497 xno) ;;
9498 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9499 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9500 esac
9504 if test -n "$opengl_msg"; then :
9505 case "x$with_opengl" in
9506 x) as_fn_append wine_warnings "|$opengl_msg
9507 OpenGL and Direct3D won't be supported." ;;
9508 xno) ;;
9509 *) as_fn_error $? "$opengl_msg
9510 OpenGL and Direct3D won't be supported.
9511 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9512 esac
9515 CPPFLAGS="$ac_save_CPPFLAGS"
9516 else
9517 XLIB=""
9518 X_CFLAGS=""
9519 X_LIBS=""
9520 enable_winex11_drv=${enable_winex11_drv:-no}
9522 if test "x$XLIB" = "x"; then :
9523 case "x$with_x" in
9524 xno) ;;
9525 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9526 without X support, which probably isn't what you want. You will need
9527 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9528 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9529 esac
9532 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
9534 if test "$ac_cv_header_CL_cl_h" = "yes"
9535 then
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9537 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9538 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9539 $as_echo_n "(cached) " >&6
9540 else
9541 ac_check_lib_save_LIBS=$LIBS
9542 LIBS="-lOpenCL $LIBS"
9543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9544 /* end confdefs.h. */
9546 /* Override any GCC internal prototype to avoid an error.
9547 Use char because int might match the return type of a GCC
9548 builtin and then its argument prototype would still apply. */
9549 #ifdef __cplusplus
9550 extern "C"
9551 #endif
9552 char clGetPlatformInfo ();
9554 main ()
9556 return clGetPlatformInfo ();
9558 return 0;
9560 _ACEOF
9561 if ac_fn_c_try_link "$LINENO"; then :
9562 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9563 else
9564 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9566 rm -f core conftest.err conftest.$ac_objext \
9567 conftest$ac_exeext conftest.$ac_ext
9568 LIBS=$ac_check_lib_save_LIBS
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9571 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9572 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9573 LIBOPENCL="-lOpenCL"
9578 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9579 case "x$with_opencl" in
9580 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9581 xno) ;;
9582 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9583 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9584 esac
9586 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9589 if test "x$with_xml" != "xno"
9590 then
9591 if test -n "$XML2_CFLAGS"; then :
9593 elif test -n "$PKG_CONFIG"; then :
9594 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9596 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9597 if test -n "$XML2_LIBS"; then :
9599 elif test -n "$PKG_CONFIG"; then :
9600 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9602 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9603 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
9604 ac_save_CPPFLAGS=$CPPFLAGS
9605 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
9606 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9607 do :
9608 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9609 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9610 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9611 cat >>confdefs.h <<_ACEOF
9612 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9613 _ACEOF
9617 done
9619 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"
9620 then
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9622 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9623 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9624 $as_echo_n "(cached) " >&6
9625 else
9626 ac_check_lib_save_LIBS=$LIBS
9627 LIBS="-lxml2 $XML2_LIBS $LIBS"
9628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9631 /* Override any GCC internal prototype to avoid an error.
9632 Use char because int might match the return type of a GCC
9633 builtin and then its argument prototype would still apply. */
9634 #ifdef __cplusplus
9635 extern "C"
9636 #endif
9637 char xmlParseMemory ();
9639 main ()
9641 return xmlParseMemory ();
9643 return 0;
9645 _ACEOF
9646 if ac_fn_c_try_link "$LINENO"; then :
9647 ac_cv_lib_xml2_xmlParseMemory=yes
9648 else
9649 ac_cv_lib_xml2_xmlParseMemory=no
9651 rm -f core conftest.err conftest.$ac_objext \
9652 conftest$ac_exeext conftest.$ac_ext
9653 LIBS=$ac_check_lib_save_LIBS
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9656 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9657 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9659 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9661 else
9662 XML2_LIBS=""
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9666 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9667 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9668 $as_echo_n "(cached) " >&6
9669 else
9670 ac_check_lib_save_LIBS=$LIBS
9671 LIBS="-lxml2 $XML2_LIBS $LIBS"
9672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9675 /* Override any GCC internal prototype to avoid an error.
9676 Use char because int might match the return type of a GCC
9677 builtin and then its argument prototype would still apply. */
9678 #ifdef __cplusplus
9679 extern "C"
9680 #endif
9681 char xmlReadMemory ();
9683 main ()
9685 return xmlReadMemory ();
9687 return 0;
9689 _ACEOF
9690 if ac_fn_c_try_link "$LINENO"; then :
9691 ac_cv_lib_xml2_xmlReadMemory=yes
9692 else
9693 ac_cv_lib_xml2_xmlReadMemory=no
9695 rm -f core conftest.err conftest.$ac_objext \
9696 conftest$ac_exeext conftest.$ac_ext
9697 LIBS=$ac_check_lib_save_LIBS
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9700 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9701 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9703 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9708 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9709 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9710 $as_echo_n "(cached) " >&6
9711 else
9712 ac_check_lib_save_LIBS=$LIBS
9713 LIBS="-lxml2 $XML2_LIBS $LIBS"
9714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9715 /* end confdefs.h. */
9717 /* Override any GCC internal prototype to avoid an error.
9718 Use char because int might match the return type of a GCC
9719 builtin and then its argument prototype would still apply. */
9720 #ifdef __cplusplus
9721 extern "C"
9722 #endif
9723 char xmlNewDocPI ();
9725 main ()
9727 return xmlNewDocPI ();
9729 return 0;
9731 _ACEOF
9732 if ac_fn_c_try_link "$LINENO"; then :
9733 ac_cv_lib_xml2_xmlNewDocPI=yes
9734 else
9735 ac_cv_lib_xml2_xmlNewDocPI=no
9737 rm -f core conftest.err conftest.$ac_objext \
9738 conftest$ac_exeext conftest.$ac_ext
9739 LIBS=$ac_check_lib_save_LIBS
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9742 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9743 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9745 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9750 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9751 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9752 $as_echo_n "(cached) " >&6
9753 else
9754 ac_check_lib_save_LIBS=$LIBS
9755 LIBS="-lxml2 $XML2_LIBS $LIBS"
9756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9757 /* end confdefs.h. */
9759 /* Override any GCC internal prototype to avoid an error.
9760 Use char because int might match the return type of a GCC
9761 builtin and then its argument prototype would still apply. */
9762 #ifdef __cplusplus
9763 extern "C"
9764 #endif
9765 char xmlSchemaSetParserStructuredErrors ();
9767 main ()
9769 return xmlSchemaSetParserStructuredErrors ();
9771 return 0;
9773 _ACEOF
9774 if ac_fn_c_try_link "$LINENO"; then :
9775 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9776 else
9777 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9779 rm -f core conftest.err conftest.$ac_objext \
9780 conftest$ac_exeext conftest.$ac_ext
9781 LIBS=$ac_check_lib_save_LIBS
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9784 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9785 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9787 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9792 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9793 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9794 $as_echo_n "(cached) " >&6
9795 else
9796 ac_check_lib_save_LIBS=$LIBS
9797 LIBS="-lxml2 $XML2_LIBS $LIBS"
9798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9801 /* Override any GCC internal prototype to avoid an error.
9802 Use char because int might match the return type of a GCC
9803 builtin and then its argument prototype would still apply. */
9804 #ifdef __cplusplus
9805 extern "C"
9806 #endif
9807 char xmlSchemaSetValidStructuredErrors ();
9809 main ()
9811 return xmlSchemaSetValidStructuredErrors ();
9813 return 0;
9815 _ACEOF
9816 if ac_fn_c_try_link "$LINENO"; then :
9817 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9818 else
9819 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9821 rm -f core conftest.err conftest.$ac_objext \
9822 conftest$ac_exeext conftest.$ac_ext
9823 LIBS=$ac_check_lib_save_LIBS
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9826 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9827 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9829 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9834 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9835 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9836 $as_echo_n "(cached) " >&6
9837 else
9838 ac_check_lib_save_LIBS=$LIBS
9839 LIBS="-lxml2 $XML2_LIBS $LIBS"
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9843 /* Override any GCC internal prototype to avoid an error.
9844 Use char because int might match the return type of a GCC
9845 builtin and then its argument prototype would still apply. */
9846 #ifdef __cplusplus
9847 extern "C"
9848 #endif
9849 char xmlFirstElementChild ();
9851 main ()
9853 return xmlFirstElementChild ();
9855 return 0;
9857 _ACEOF
9858 if ac_fn_c_try_link "$LINENO"; then :
9859 ac_cv_lib_xml2_xmlFirstElementChild=yes
9860 else
9861 ac_cv_lib_xml2_xmlFirstElementChild=no
9863 rm -f core conftest.err conftest.$ac_objext \
9864 conftest$ac_exeext conftest.$ac_ext
9865 LIBS=$ac_check_lib_save_LIBS
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9868 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9869 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9871 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9875 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9877 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9879 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9883 else
9884 XML2_CFLAGS=""
9885 XML2_LIBS=""
9887 CPPFLAGS=$ac_save_CPPFLAGS
9888 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
9889 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
9892 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9893 case "x$with_xml" in
9894 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9895 xno) ;;
9896 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9897 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9898 esac
9901 if test "x$with_xslt" != "xno"
9902 then
9903 if test -n "$XSLT_CFLAGS"; then :
9905 elif test -n "$PKG_CONFIG"; then :
9906 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9908 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9909 if test -n "$XSLT_LIBS"; then :
9911 elif test -n "$PKG_CONFIG"; then :
9912 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
9914 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
9915 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
9916 ac_save_CPPFLAGS=$CPPFLAGS
9917 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
9918 for ac_header in libxslt/pattern.h libxslt/transform.h
9919 do :
9920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9921 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9922 # include <libxslt/pattern.h>
9923 #endif
9925 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9926 cat >>confdefs.h <<_ACEOF
9927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9928 _ACEOF
9932 done
9934 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9935 then
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9937 $as_echo_n "checking for -lxslt... " >&6; }
9938 if ${ac_cv_lib_soname_xslt+:} false; then :
9939 $as_echo_n "(cached) " >&6
9940 else
9941 ac_check_soname_save_LIBS=$LIBS
9942 LIBS="-lxslt $XSLT_LIBS $LIBS"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9949 #ifdef __cplusplus
9950 extern "C"
9951 #endif
9952 char xsltCompilePattern ();
9954 main ()
9956 return xsltCompilePattern ();
9958 return 0;
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"; then :
9962 case "$LIBEXT" in
9963 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9964 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'` ;;
9965 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9966 if test "x$ac_cv_lib_soname_xslt" = x; then :
9967 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9968 fi ;;
9969 esac
9971 rm -f core conftest.err conftest.$ac_objext \
9972 conftest$ac_exeext conftest.$ac_ext
9973 LIBS=$ac_check_soname_save_LIBS
9975 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9977 $as_echo "not found" >&6; }
9979 else
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9981 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9983 cat >>confdefs.h <<_ACEOF
9984 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9985 _ACEOF
9989 else
9990 XSLT_CFLAGS=""
9992 CPPFLAGS=$ac_save_CPPFLAGS
9993 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
9994 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
9997 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9998 case "x$with_xslt" in
9999 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10000 xno) ;;
10001 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10002 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10003 esac
10006 if test "x$with_dbus" != "xno"
10007 then
10008 if test -n "$DBUS_CFLAGS"; then :
10010 elif test -n "$PKG_CONFIG"; then :
10011 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10014 if test -n "$DBUS_LIBS"; then :
10016 elif test -n "$PKG_CONFIG"; then :
10017 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10021 ac_save_CPPFLAGS=$CPPFLAGS
10022 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10023 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10024 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10026 $as_echo_n "checking for -ldbus-1... " >&6; }
10027 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10028 $as_echo_n "(cached) " >&6
10029 else
10030 ac_check_soname_save_LIBS=$LIBS
10031 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10035 /* Override any GCC internal prototype to avoid an error.
10036 Use char because int might match the return type of a GCC
10037 builtin and then its argument prototype would still apply. */
10038 #ifdef __cplusplus
10039 extern "C"
10040 #endif
10041 char dbus_connection_close ();
10043 main ()
10045 return dbus_connection_close ();
10047 return 0;
10049 _ACEOF
10050 if ac_fn_c_try_link "$LINENO"; then :
10051 case "$LIBEXT" in
10052 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10053 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'` ;;
10054 *) 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'`
10055 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
10056 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10057 fi ;;
10058 esac
10060 rm -f core conftest.err conftest.$ac_objext \
10061 conftest$ac_exeext conftest.$ac_ext
10062 LIBS=$ac_check_soname_save_LIBS
10064 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10066 $as_echo "not found" >&6; }
10067 DBUS_CFLAGS=""
10068 else
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10070 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10072 cat >>confdefs.h <<_ACEOF
10073 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10074 _ACEOF
10078 else
10079 DBUS_CFLAGS=""
10083 CPPFLAGS=$ac_save_CPPFLAGS
10084 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10085 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10088 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10089 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10090 case "x$with_dbus" in
10091 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10092 xno) ;;
10093 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10094 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10095 esac
10098 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10099 then
10100 if test -n "$HAL_CFLAGS"; then :
10102 elif test -n "$PKG_CONFIG"; then :
10103 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10106 if test -n "$HAL_LIBS"; then :
10108 elif test -n "$PKG_CONFIG"; then :
10109 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10112 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10113 ac_save_CPPFLAGS=$CPPFLAGS
10114 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10115 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10116 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10118 $as_echo_n "checking for -lhal... " >&6; }
10119 if ${ac_cv_lib_soname_hal+:} false; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 ac_check_soname_save_LIBS=$LIBS
10123 LIBS="-lhal $HAL_LIBS $LIBS"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10127 /* Override any GCC internal prototype to avoid an error.
10128 Use char because int might match the return type of a GCC
10129 builtin and then its argument prototype would still apply. */
10130 #ifdef __cplusplus
10131 extern "C"
10132 #endif
10133 char libhal_ctx_new ();
10135 main ()
10137 return libhal_ctx_new ();
10139 return 0;
10141 _ACEOF
10142 if ac_fn_c_try_link "$LINENO"; then :
10143 case "$LIBEXT" in
10144 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10145 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'` ;;
10146 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10147 if test "x$ac_cv_lib_soname_hal" = x; then :
10148 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10149 fi ;;
10150 esac
10152 rm -f core conftest.err conftest.$ac_objext \
10153 conftest$ac_exeext conftest.$ac_ext
10154 LIBS=$ac_check_soname_save_LIBS
10156 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10158 $as_echo "not found" >&6; }
10159 HAL_CFLAGS=""
10160 else
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10162 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10164 cat >>confdefs.h <<_ACEOF
10165 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10166 _ACEOF
10170 else
10171 HAL_CFLAGS=""
10175 CPPFLAGS=$ac_save_CPPFLAGS
10176 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10177 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10179 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10180 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10181 case "x$with_hal" in
10182 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10183 xno) ;;
10184 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
10185 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10186 esac
10190 if test "x$with_gnutls" != "xno"
10191 then
10192 if test -n "$GNUTLS_CFLAGS"; then :
10194 elif test -n "$PKG_CONFIG"; then :
10195 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10198 if test -n "$GNUTLS_LIBS"; then :
10200 elif test -n "$PKG_CONFIG"; then :
10201 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10205 ac_save_CPPFLAGS=$CPPFLAGS
10206 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
10207 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10208 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10211 #include <gnutls/gnutls.h>
10212 #include <gnutls/crypto.h>
10214 main ()
10216 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10218 return 0;
10220 _ACEOF
10221 if ac_fn_c_try_compile "$LINENO"; then :
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10223 $as_echo_n "checking for -lgnutls... " >&6; }
10224 if ${ac_cv_lib_soname_gnutls+:} false; then :
10225 $as_echo_n "(cached) " >&6
10226 else
10227 ac_check_soname_save_LIBS=$LIBS
10228 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h. */
10232 /* Override any GCC internal prototype to avoid an error.
10233 Use char because int might match the return type of a GCC
10234 builtin and then its argument prototype would still apply. */
10235 #ifdef __cplusplus
10236 extern "C"
10237 #endif
10238 char gnutls_global_init ();
10240 main ()
10242 return gnutls_global_init ();
10244 return 0;
10246 _ACEOF
10247 if ac_fn_c_try_link "$LINENO"; then :
10248 case "$LIBEXT" in
10249 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10250 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'` ;;
10251 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10252 if test "x$ac_cv_lib_soname_gnutls" = x; then :
10253 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10254 fi ;;
10255 esac
10257 rm -f core conftest.err conftest.$ac_objext \
10258 conftest$ac_exeext conftest.$ac_ext
10259 LIBS=$ac_check_soname_save_LIBS
10261 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10263 $as_echo "not found" >&6; }
10264 GNUTLS_CFLAGS=""
10265 else
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10267 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10269 cat >>confdefs.h <<_ACEOF
10270 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10271 _ACEOF
10276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10277 else
10278 GNUTLS_CFLAGS=""
10282 CPPFLAGS=$ac_save_CPPFLAGS
10283 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10284 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10287 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10288 case "x$with_gnutls" in
10289 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10290 xno) ;;
10291 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
10292 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10293 esac
10296 CURSESLIBS=""
10297 if test "$ac_cv_header_ncurses_h" = "yes"
10298 then
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10300 $as_echo_n "checking for -lncurses... " >&6; }
10301 if ${ac_cv_lib_soname_ncurses+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_check_soname_save_LIBS=$LIBS
10305 LIBS="-lncurses $LIBS"
10306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10309 /* Override any GCC internal prototype to avoid an error.
10310 Use char because int might match the return type of a GCC
10311 builtin and then its argument prototype would still apply. */
10312 #ifdef __cplusplus
10313 extern "C"
10314 #endif
10315 char waddch ();
10317 main ()
10319 return waddch ();
10321 return 0;
10323 _ACEOF
10324 if ac_fn_c_try_link "$LINENO"; then :
10325 case "$LIBEXT" in
10326 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10327 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'` ;;
10328 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10329 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10330 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10331 fi ;;
10332 esac
10334 rm -f core conftest.err conftest.$ac_objext \
10335 conftest$ac_exeext conftest.$ac_ext
10336 LIBS=$ac_check_soname_save_LIBS
10338 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10340 $as_echo "not found" >&6; }
10342 else
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10344 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10346 cat >>confdefs.h <<_ACEOF
10347 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10348 _ACEOF
10350 CURSESLIBS="-lncurses"
10352 elif test "$ac_cv_header_curses_h" = "yes"
10353 then
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10355 $as_echo_n "checking for -lcurses... " >&6; }
10356 if ${ac_cv_lib_soname_curses+:} false; then :
10357 $as_echo_n "(cached) " >&6
10358 else
10359 ac_check_soname_save_LIBS=$LIBS
10360 LIBS="-lcurses $LIBS"
10361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10362 /* end confdefs.h. */
10364 /* Override any GCC internal prototype to avoid an error.
10365 Use char because int might match the return type of a GCC
10366 builtin and then its argument prototype would still apply. */
10367 #ifdef __cplusplus
10368 extern "C"
10369 #endif
10370 char waddch ();
10372 main ()
10374 return waddch ();
10376 return 0;
10378 _ACEOF
10379 if ac_fn_c_try_link "$LINENO"; then :
10380 case "$LIBEXT" in
10381 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10382 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'` ;;
10383 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10384 if test "x$ac_cv_lib_soname_curses" = x; then :
10385 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10386 fi ;;
10387 esac
10389 rm -f core conftest.err conftest.$ac_objext \
10390 conftest$ac_exeext conftest.$ac_ext
10391 LIBS=$ac_check_soname_save_LIBS
10393 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10395 $as_echo "not found" >&6; }
10397 else
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10399 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10401 cat >>confdefs.h <<_ACEOF
10402 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10403 _ACEOF
10405 CURSESLIBS="-lcurses"
10408 ac_save_LIBS="$LIBS"
10409 LIBS="$LIBS $CURSESLIBS"
10410 for ac_func in mousemask
10411 do :
10412 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10413 if test "x$ac_cv_func_mousemask" = xyes; then :
10414 cat >>confdefs.h <<_ACEOF
10415 #define HAVE_MOUSEMASK 1
10416 _ACEOF
10419 done
10421 LIBS="$ac_save_LIBS"
10422 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10423 case "x$with_curses" in
10424 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10425 xno) ;;
10426 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10427 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10428 esac
10431 if test "x$with_sane" != "xno"
10432 then
10433 if test -n "$SANE_CFLAGS"; then :
10435 elif test -n "$PKG_CONFIG"; then :
10436 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10438 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10439 if test -n "$SANE_LIBS"; then :
10441 elif test -n "$PKG_CONFIG"; then :
10442 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
10444 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10446 ac_save_CPPFLAGS=$CPPFLAGS
10447 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
10448 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10449 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10451 $as_echo_n "checking for -lsane... " >&6; }
10452 if ${ac_cv_lib_soname_sane+:} false; then :
10453 $as_echo_n "(cached) " >&6
10454 else
10455 ac_check_soname_save_LIBS=$LIBS
10456 LIBS="-lsane $SANE_LIBS $LIBS"
10457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10460 /* Override any GCC internal prototype to avoid an error.
10461 Use char because int might match the return type of a GCC
10462 builtin and then its argument prototype would still apply. */
10463 #ifdef __cplusplus
10464 extern "C"
10465 #endif
10466 char sane_init ();
10468 main ()
10470 return sane_init ();
10472 return 0;
10474 _ACEOF
10475 if ac_fn_c_try_link "$LINENO"; then :
10476 case "$LIBEXT" in
10477 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10478 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'` ;;
10479 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10480 if test "x$ac_cv_lib_soname_sane" = x; then :
10481 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10482 fi ;;
10483 esac
10485 rm -f core conftest.err conftest.$ac_objext \
10486 conftest$ac_exeext conftest.$ac_ext
10487 LIBS=$ac_check_soname_save_LIBS
10489 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10491 $as_echo "not found" >&6; }
10492 SANE_CFLAGS=""
10493 else
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10495 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10497 cat >>confdefs.h <<_ACEOF
10498 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10499 _ACEOF
10503 else
10504 SANE_CFLAGS=""
10508 CPPFLAGS=$ac_save_CPPFLAGS
10509 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10510 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10513 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10514 case "x$with_sane" in
10515 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10516 xno) ;;
10517 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
10518 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10519 esac
10522 if test "x$with_v4l" != "xno"
10523 then
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10525 $as_echo_n "checking for -lv4l1... " >&6; }
10526 if ${ac_cv_lib_soname_v4l1+:} false; then :
10527 $as_echo_n "(cached) " >&6
10528 else
10529 ac_check_soname_save_LIBS=$LIBS
10530 LIBS="-lv4l1 $LIBS"
10531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10532 /* end confdefs.h. */
10534 /* Override any GCC internal prototype to avoid an error.
10535 Use char because int might match the return type of a GCC
10536 builtin and then its argument prototype would still apply. */
10537 #ifdef __cplusplus
10538 extern "C"
10539 #endif
10540 char v4l1_open ();
10542 main ()
10544 return v4l1_open ();
10546 return 0;
10548 _ACEOF
10549 if ac_fn_c_try_link "$LINENO"; then :
10550 case "$LIBEXT" in
10551 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10552 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'` ;;
10553 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10554 if test "x$ac_cv_lib_soname_v4l1" = x; then :
10555 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10556 fi ;;
10557 esac
10559 rm -f core conftest.err conftest.$ac_objext \
10560 conftest$ac_exeext conftest.$ac_ext
10561 LIBS=$ac_check_soname_save_LIBS
10563 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10565 $as_echo "not found" >&6; }
10567 else
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10569 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10571 cat >>confdefs.h <<_ACEOF
10572 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10573 _ACEOF
10578 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10579 case "x$with_v4l" in
10580 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10581 xno) ;;
10582 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10583 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10584 esac
10587 if test "x$with_gphoto" != "xno"
10588 then
10589 if test -n "$GPHOTO2_CFLAGS"; then :
10591 elif test -n "$PKG_CONFIG"; then :
10592 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10594 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
10595 if test -n "$GPHOTO2_LIBS"; then :
10597 elif test -n "$PKG_CONFIG"; then :
10598 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10600 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
10601 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
10602 ac_save_CPPFLAGS=$CPPFLAGS
10603 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
10604 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10605 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10607 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10608 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10609 $as_echo_n "(cached) " >&6
10610 else
10611 ac_check_lib_save_LIBS=$LIBS
10612 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10616 /* Override any GCC internal prototype to avoid an error.
10617 Use char because int might match the return type of a GCC
10618 builtin and then its argument prototype would still apply. */
10619 #ifdef __cplusplus
10620 extern "C"
10621 #endif
10622 char gp_camera_new ();
10624 main ()
10626 return gp_camera_new ();
10628 return 0;
10630 _ACEOF
10631 if ac_fn_c_try_link "$LINENO"; then :
10632 ac_cv_lib_gphoto2_gp_camera_new=yes
10633 else
10634 ac_cv_lib_gphoto2_gp_camera_new=no
10636 rm -f core conftest.err conftest.$ac_objext \
10637 conftest$ac_exeext conftest.$ac_ext
10638 LIBS=$ac_check_lib_save_LIBS
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10641 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10642 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10644 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10646 else
10647 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
10650 else
10651 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
10655 CPPFLAGS=$ac_save_CPPFLAGS
10656 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10657 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10659 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
10661 elif test -n "$PKG_CONFIG"; then :
10662 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
10664 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
10665 if test -n "$GPHOTO2_PORT_LIBS"; then :
10667 elif test -n "$PKG_CONFIG"; then :
10668 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
10670 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
10671 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
10672 ac_save_CPPFLAGS=$CPPFLAGS
10673 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
10674 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
10675 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
10677 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
10678 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
10679 $as_echo_n "(cached) " >&6
10680 else
10681 ac_check_lib_save_LIBS=$LIBS
10682 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
10683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10686 /* Override any GCC internal prototype to avoid an error.
10687 Use char because int might match the return type of a GCC
10688 builtin and then its argument prototype would still apply. */
10689 #ifdef __cplusplus
10690 extern "C"
10691 #endif
10692 char gp_port_info_list_new ();
10694 main ()
10696 return gp_port_info_list_new ();
10698 return 0;
10700 _ACEOF
10701 if ac_fn_c_try_link "$LINENO"; then :
10702 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
10703 else
10704 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
10706 rm -f core conftest.err conftest.$ac_objext \
10707 conftest$ac_exeext conftest.$ac_ext
10708 LIBS=$ac_check_lib_save_LIBS
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
10711 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
10712 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
10714 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
10716 else
10717 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
10720 else
10721 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
10725 CPPFLAGS=$ac_save_CPPFLAGS
10726 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10727 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10730 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10731 case "x$with_gphoto" in
10732 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10733 xno) ;;
10734 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10735 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10736 esac
10738 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
10739 case "x$with_gphoto" in
10740 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
10741 xno) ;;
10742 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
10743 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10744 esac
10748 if test "$ac_cv_header_resolv_h" = "yes"
10749 then
10750 ac_save_LIBS="$LIBS"
10751 for lib in '' -lresolv
10753 LIBS="$lib $ac_save_LIBS"
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10756 #ifdef HAVE_NETINET_IN_H
10757 #include <netinet/in.h>
10758 #endif
10759 #include <resolv.h>
10761 main ()
10763 res_query("foo",ns_c_in,0,0,0);
10765 return 0;
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"; then :
10770 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10772 RESOLVLIBS="$lib"
10775 rm -f core conftest.err conftest.$ac_objext \
10776 conftest$ac_exeext conftest.$ac_ext
10777 if test "${RESOLVLIBS+set}" = set; then
10778 break
10780 done
10781 LIBS="$ac_save_LIBS"
10784 if test "x$with_lcms2" != "xno"
10785 then
10786 if test -n "$LCMS2_CFLAGS"; then :
10788 elif test -n "$PKG_CONFIG"; then :
10789 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
10792 if test -n "$LCMS2_LIBS"; then :
10794 elif test -n "$PKG_CONFIG"; then :
10795 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
10798 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
10799 ac_save_CPPFLAGS=$CPPFLAGS
10800 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
10801 for ac_header in lcms2.h
10802 do :
10803 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
10804 if test "x$ac_cv_header_lcms2_h" = xyes; then :
10805 cat >>confdefs.h <<_ACEOF
10806 #define HAVE_LCMS2_H 1
10807 _ACEOF
10811 done
10813 if test "$ac_cv_header_lcms2_h" = "yes"
10814 then
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
10816 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
10817 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
10818 $as_echo_n "(cached) " >&6
10819 else
10820 ac_check_lib_save_LIBS=$LIBS
10821 LIBS="-llcms2 $LIBS"
10822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10825 /* Override any GCC internal prototype to avoid an error.
10826 Use char because int might match the return type of a GCC
10827 builtin and then its argument prototype would still apply. */
10828 #ifdef __cplusplus
10829 extern "C"
10830 #endif
10831 char cmsOpenProfileFromFile ();
10833 main ()
10835 return cmsOpenProfileFromFile ();
10837 return 0;
10839 _ACEOF
10840 if ac_fn_c_try_link "$LINENO"; then :
10841 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
10842 else
10843 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
10845 rm -f core conftest.err conftest.$ac_objext \
10846 conftest$ac_exeext conftest.$ac_ext
10847 LIBS=$ac_check_lib_save_LIBS
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
10850 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
10851 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
10853 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
10855 else
10856 LCMS2_LIBS=""
10859 else
10860 LCMS2_CFLAGS=""
10861 LCMS2_LIBS=""
10863 CPPFLAGS=$ac_save_CPPFLAGS
10864 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10865 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10868 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
10869 case "x$with_cms" in
10870 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
10871 xno) ;;
10872 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
10873 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10874 esac
10877 if test "x$with_freetype" != "xno"
10878 then
10879 if test -n "$FREETYPE_CFLAGS"; then :
10881 elif test -n "$PKG_CONFIG"; then :
10882 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10884 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10885 if test -n "$FREETYPE_LIBS"; then :
10887 elif test -n "$PKG_CONFIG"; then :
10888 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10890 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10891 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
10892 ac_save_CPPFLAGS=$CPPFLAGS
10893 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10895 $as_echo_n "checking for -lfreetype... " >&6; }
10896 if ${ac_cv_lib_soname_freetype+:} false; then :
10897 $as_echo_n "(cached) " >&6
10898 else
10899 ac_check_soname_save_LIBS=$LIBS
10900 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
10901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10904 /* Override any GCC internal prototype to avoid an error.
10905 Use char because int might match the return type of a GCC
10906 builtin and then its argument prototype would still apply. */
10907 #ifdef __cplusplus
10908 extern "C"
10909 #endif
10910 char FT_Init_FreeType ();
10912 main ()
10914 return FT_Init_FreeType ();
10916 return 0;
10918 _ACEOF
10919 if ac_fn_c_try_link "$LINENO"; then :
10920 case "$LIBEXT" in
10921 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10922 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'` ;;
10923 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10924 if test "x$ac_cv_lib_soname_freetype" = x; then :
10925 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10926 fi ;;
10927 esac
10929 rm -f core conftest.err conftest.$ac_objext \
10930 conftest$ac_exeext conftest.$ac_ext
10931 LIBS=$ac_check_soname_save_LIBS
10933 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10935 $as_echo "not found" >&6; }
10936 ft_lib=no
10937 else
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10939 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10941 cat >>confdefs.h <<_ACEOF
10942 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10943 _ACEOF
10945 ft_lib=yes
10947 if test "$ft_lib" = "yes"
10948 then
10949 for ac_header in ft2build.h \
10950 freetype/freetype.h \
10951 freetype/ftglyph.h \
10952 freetype/fttypes.h \
10953 freetype/tttables.h \
10954 freetype/ftsnames.h \
10955 freetype/ttnameid.h \
10956 freetype/ftoutln.h \
10957 freetype/ftwinfnt.h \
10958 freetype/ftmodapi.h \
10959 freetype/ftlcdfil.h
10960 do :
10961 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10962 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10963 # include <ft2build.h>
10964 #endif
10966 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10967 cat >>confdefs.h <<_ACEOF
10968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10969 _ACEOF
10973 done
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10977 #include <ft2build.h>
10978 #include <freetype/fttrigon.h>
10979 _ACEOF
10980 if ac_fn_c_try_cpp "$LINENO"; then :
10982 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10984 wine_cv_fttrigon=yes
10985 else
10986 wine_cv_fttrigon=no
10988 rm -f conftest.err conftest.i conftest.$ac_ext
10989 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10991 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10993 cat >>confdefs.h <<_ACEOF
10994 #define HAVE_FT_TRUETYPEENGINETYPE 1
10995 _ACEOF
11000 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11001 then
11003 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11005 else
11006 FREETYPE_LIBS=""
11008 else
11009 FREETYPE_LIBS=""
11011 CPPFLAGS=$ac_save_CPPFLAGS
11012 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11013 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11016 if test "x$ac_cv_header_freetype_freetype_h" != xyes -o "x$wine_cv_fttrigon" != xyes; then :
11017 case "x$with_freetype" in
11018 xno) ;;
11019 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11020 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11021 esac
11023 test "x$ac_cv_header_freetype_freetype_h" = xyes -a "x$wine_cv_fttrigon" = xyes || enable_fonts=${enable_fonts:-no}
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11026 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11027 if ${ac_cv_c_ppdev+:} false; then :
11028 $as_echo_n "(cached) " >&6
11029 else
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11032 #ifdef HAVE_SYS_IOCTL_H
11033 # include <sys/ioctl.h>
11034 #endif
11035 #include <linux/ppdev.h>
11037 main ()
11039 ioctl (1,PPCLAIM,0)
11041 return 0;
11043 _ACEOF
11044 if ac_fn_c_try_compile "$LINENO"; then :
11045 ac_cv_c_ppdev="yes"
11046 else
11047 ac_cv_c_ppdev="no"
11049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11052 $as_echo "$ac_cv_c_ppdev" >&6; }
11053 if test "$ac_cv_c_ppdev" = "yes"
11054 then
11056 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11060 ac_wine_check_funcs_save_LIBS="$LIBS"
11061 LIBS="$LIBS $LIBPTHREAD"
11062 for ac_func in \
11063 pthread_attr_get_np \
11064 pthread_getattr_np \
11065 pthread_getthreadid_np \
11066 pthread_get_stackaddr_np \
11067 pthread_get_stacksize_np
11068 do :
11069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11071 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11072 cat >>confdefs.h <<_ACEOF
11073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11074 _ACEOF
11077 done
11079 LIBS="$ac_wine_check_funcs_save_LIBS"
11081 if test "$ac_cv_header_zlib_h" = "yes"
11082 then
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11084 $as_echo_n "checking for inflate in -lz... " >&6; }
11085 if ${ac_cv_lib_z_inflate+:} false; then :
11086 $as_echo_n "(cached) " >&6
11087 else
11088 ac_check_lib_save_LIBS=$LIBS
11089 LIBS="-lz $LIBS"
11090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11093 /* Override any GCC internal prototype to avoid an error.
11094 Use char because int might match the return type of a GCC
11095 builtin and then its argument prototype would still apply. */
11096 #ifdef __cplusplus
11097 extern "C"
11098 #endif
11099 char inflate ();
11101 main ()
11103 return inflate ();
11105 return 0;
11107 _ACEOF
11108 if ac_fn_c_try_link "$LINENO"; then :
11109 ac_cv_lib_z_inflate=yes
11110 else
11111 ac_cv_lib_z_inflate=no
11113 rm -f core conftest.err conftest.$ac_objext \
11114 conftest$ac_exeext conftest.$ac_ext
11115 LIBS=$ac_check_lib_save_LIBS
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11118 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11119 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11121 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11123 ZLIB="-lz"
11128 if test "x$ZLIB" = "x"; then :
11129 case "x$with_zlib" in
11130 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11131 xno) ;;
11132 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11133 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11134 esac
11137 if test "x$enable_tools" != xno
11138 then
11139 if test "$ac_cv_header_gettext_po_h" = "yes"
11140 then
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11142 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11143 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
11144 $as_echo_n "(cached) " >&6
11145 else
11146 ac_check_lib_save_LIBS=$LIBS
11147 LIBS="-lgettextpo $LIBS"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11154 #ifdef __cplusplus
11155 extern "C"
11156 #endif
11157 char po_message_msgctxt ();
11159 main ()
11161 return po_message_msgctxt ();
11163 return 0;
11165 _ACEOF
11166 if ac_fn_c_try_link "$LINENO"; then :
11167 ac_cv_lib_gettextpo_po_message_msgctxt=yes
11168 else
11169 ac_cv_lib_gettextpo_po_message_msgctxt=no
11171 rm -f core conftest.err conftest.$ac_objext \
11172 conftest$ac_exeext conftest.$ac_ext
11173 LIBS=$ac_check_lib_save_LIBS
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11176 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11177 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
11179 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11181 LIBGETTEXTPO="-lgettextpo"
11186 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
11187 case "x$with_gettextpo" in
11188 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11189 xno) ;;
11190 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11191 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11192 esac
11196 if test "x$with_gstreamer" != "xno"
11197 then
11198 if test -n "$GSTREAMER_CFLAGS"; then :
11200 elif test -n "$PKG_CONFIG"; then :
11201 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11204 if test -n "$GSTREAMER_LIBS"; then :
11206 elif test -n "$PKG_CONFIG"; then :
11207 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11211 ac_save_CPPFLAGS=$CPPFLAGS
11212 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
11213 ac_gst_incl=""
11214 for i in $GSTREAMER_CFLAGS
11216 case "$i" in
11217 -I*) ac_gst_incl="$ac_gst_incl $i";;
11218 esac
11219 done
11220 GSTREAMER_CFLAGS=$ac_gst_incl
11221 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11222 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11223 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
11224 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11225 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11227 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11230 #include <gst/app/gstappsink.h>
11232 main ()
11234 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11236 return 0;
11238 _ACEOF
11239 if ac_fn_c_try_compile "$LINENO"; then :
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11241 $as_echo "yes" >&6; }
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11243 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11244 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
11245 $as_echo_n "(cached) " >&6
11246 else
11247 ac_check_lib_save_LIBS=$LIBS
11248 LIBS="-lgstreamer-0.10 $LIBS"
11249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h. */
11252 /* Override any GCC internal prototype to avoid an error.
11253 Use char because int might match the return type of a GCC
11254 builtin and then its argument prototype would still apply. */
11255 #ifdef __cplusplus
11256 extern "C"
11257 #endif
11258 char gst_pad_get_caps_reffed ();
11260 main ()
11262 return gst_pad_get_caps_reffed ();
11264 return 0;
11266 _ACEOF
11267 if ac_fn_c_try_link "$LINENO"; then :
11268 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
11269 else
11270 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
11272 rm -f core conftest.err conftest.$ac_objext \
11273 conftest$ac_exeext conftest.$ac_ext
11274 LIBS=$ac_check_lib_save_LIBS
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11277 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11278 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11280 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11281 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
11282 $as_echo_n "(cached) " >&6
11283 else
11284 ac_check_lib_save_LIBS=$LIBS
11285 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11292 #ifdef __cplusplus
11293 extern "C"
11294 #endif
11295 char gst_app_buffer_new ();
11297 main ()
11299 return gst_app_buffer_new ();
11301 return 0;
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"; then :
11305 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11306 else
11307 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11309 rm -f core conftest.err conftest.$ac_objext \
11310 conftest$ac_exeext conftest.$ac_ext
11311 LIBS=$ac_check_lib_save_LIBS
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11314 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11315 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11321 else
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11323 $as_echo "no" >&6; }
11325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11329 else
11330 GSTREAMER_CFLAGS=""
11334 CPPFLAGS=$ac_save_CPPFLAGS
11335 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11336 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11339 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11340 case "x$with_gstreamer" in
11341 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11342 xno) ;;
11343 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11344 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11345 esac
11347 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11349 ALSALIBS=""
11351 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11352 then
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11354 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11355 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11356 $as_echo_n "(cached) " >&6
11357 else
11358 ac_check_lib_save_LIBS=$LIBS
11359 LIBS="-lasound $LIBS"
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11363 /* Override any GCC internal prototype to avoid an error.
11364 Use char because int might match the return type of a GCC
11365 builtin and then its argument prototype would still apply. */
11366 #ifdef __cplusplus
11367 extern "C"
11368 #endif
11369 char snd_pcm_hw_params_get_access_mask ();
11371 main ()
11373 return snd_pcm_hw_params_get_access_mask ();
11375 return 0;
11377 _ACEOF
11378 if ac_fn_c_try_link "$LINENO"; then :
11379 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11380 else
11381 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11383 rm -f core conftest.err conftest.$ac_objext \
11384 conftest$ac_exeext conftest.$ac_ext
11385 LIBS=$ac_check_lib_save_LIBS
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11388 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11389 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11392 #ifdef HAVE_ALSA_ASOUNDLIB_H
11393 #include <alsa/asoundlib.h>
11394 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11395 #include <sys/asoundlib.h>
11396 #endif
11398 main ()
11400 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11402 return 0;
11404 _ACEOF
11405 if ac_fn_c_try_compile "$LINENO"; then :
11406 ALSALIBS="-lasound"
11408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11413 if test "x$with_oss" != xno
11414 then
11415 ac_save_CPPFLAGS="$CPPFLAGS"
11416 if test -f /etc/oss.conf
11417 then
11418 . /etc/oss.conf
11420 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11421 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11422 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11423 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11424 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11426 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11428 cat >>confdefs.h <<_ACEOF
11429 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11430 _ACEOF
11432 OSS4INCL="$ac_oss_incl"
11439 CPPFLAGS="$ac_save_CPPFLAGS"
11440 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11441 then
11442 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11446 if test "x$with_capi" != "xno"
11447 then
11448 if test -n "$CAPI20_CFLAGS"; then :
11450 elif test -n "$PKG_CONFIG"; then :
11451 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11454 if test -n "$CAPI20_LIBS"; then :
11456 elif test -n "$PKG_CONFIG"; then :
11457 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
11461 ac_save_CPPFLAGS=$CPPFLAGS
11462 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
11463 for ac_header in capi20.h linux/capi.h
11464 do :
11465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11466 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11468 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11469 cat >>confdefs.h <<_ACEOF
11470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11471 _ACEOF
11475 done
11477 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11478 then
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11480 $as_echo_n "checking for -lcapi20... " >&6; }
11481 if ${ac_cv_lib_soname_capi20+:} false; then :
11482 $as_echo_n "(cached) " >&6
11483 else
11484 ac_check_soname_save_LIBS=$LIBS
11485 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11492 #ifdef __cplusplus
11493 extern "C"
11494 #endif
11495 char capi20_register ();
11497 main ()
11499 return capi20_register ();
11501 return 0;
11503 _ACEOF
11504 if ac_fn_c_try_link "$LINENO"; then :
11505 case "$LIBEXT" in
11506 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11507 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'` ;;
11508 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11509 if test "x$ac_cv_lib_soname_capi20" = x; then :
11510 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11511 fi ;;
11512 esac
11514 rm -f core conftest.err conftest.$ac_objext \
11515 conftest$ac_exeext conftest.$ac_ext
11516 LIBS=$ac_check_soname_save_LIBS
11518 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11520 $as_echo "not found" >&6; }
11522 else
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11524 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11526 cat >>confdefs.h <<_ACEOF
11527 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11528 _ACEOF
11533 CPPFLAGS=$ac_save_CPPFLAGS
11534 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11535 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11538 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11539 case "x$with_capi" in
11540 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11541 xno) ;;
11542 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11543 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11544 esac
11547 CUPSINCL=""
11549 if test "x$with_cups" != "xno"
11550 then
11551 ac_save_CPPFLAGS="$CPPFLAGS"
11552 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11553 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11554 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11555 for ac_header in cups/cups.h
11556 do :
11557 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11558 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11559 cat >>confdefs.h <<_ACEOF
11560 #define HAVE_CUPS_CUPS_H 1
11561 _ACEOF
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11563 $as_echo_n "checking for -lcups... " >&6; }
11564 if ${ac_cv_lib_soname_cups+:} false; then :
11565 $as_echo_n "(cached) " >&6
11566 else
11567 ac_check_soname_save_LIBS=$LIBS
11568 LIBS="-lcups $ac_cups_libs $LIBS"
11569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11572 /* Override any GCC internal prototype to avoid an error.
11573 Use char because int might match the return type of a GCC
11574 builtin and then its argument prototype would still apply. */
11575 #ifdef __cplusplus
11576 extern "C"
11577 #endif
11578 char cupsGetDefault ();
11580 main ()
11582 return cupsGetDefault ();
11584 return 0;
11586 _ACEOF
11587 if ac_fn_c_try_link "$LINENO"; then :
11588 case "$LIBEXT" in
11589 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11590 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'` ;;
11591 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11592 if test "x$ac_cv_lib_soname_cups" = x; then :
11593 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11594 fi ;;
11595 esac
11597 rm -f core conftest.err conftest.$ac_objext \
11598 conftest$ac_exeext conftest.$ac_ext
11599 LIBS=$ac_check_soname_save_LIBS
11601 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11603 $as_echo "not found" >&6; }
11605 else
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11607 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11609 cat >>confdefs.h <<_ACEOF
11610 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11611 _ACEOF
11613 CUPSINCL="$ac_cups_cflags"
11617 done
11619 CPPFLAGS="$ac_save_CPPFLAGS"
11621 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11622 case "x$with_cups" in
11623 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11624 xno) ;;
11625 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11626 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11627 esac
11630 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11631 then
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11633 $as_echo_n "checking for -lfontconfig... " >&6; }
11634 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11635 $as_echo_n "(cached) " >&6
11636 else
11637 ac_check_soname_save_LIBS=$LIBS
11638 LIBS="-lfontconfig $LIBS"
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11645 #ifdef __cplusplus
11646 extern "C"
11647 #endif
11648 char FcInit ();
11650 main ()
11652 return FcInit ();
11654 return 0;
11656 _ACEOF
11657 if ac_fn_c_try_link "$LINENO"; then :
11658 case "$LIBEXT" in
11659 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11660 dylib) ac_cv_lib_soname_fontconfig=`otool -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11661 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11662 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11663 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11664 fi ;;
11665 esac
11667 rm -f core conftest.err conftest.$ac_objext \
11668 conftest$ac_exeext conftest.$ac_ext
11669 LIBS=$ac_check_soname_save_LIBS
11671 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11673 $as_echo "not found" >&6; }
11675 else
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11677 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11679 cat >>confdefs.h <<_ACEOF
11680 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11681 _ACEOF
11685 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11686 then
11687 ac_save_CPPFLAGS="$CPPFLAGS"
11688 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11689 $as_unset ac_cv_header_fontconfig_fontconfig_h
11690 for ac_header in fontconfig/fontconfig.h
11691 do :
11692 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11693 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11694 cat >>confdefs.h <<_ACEOF
11695 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11696 _ACEOF
11700 done
11702 CPPFLAGS="$ac_save_CPPFLAGS"
11703 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11704 then
11705 FONTCONFIGINCL="$X_CFLAGS"
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11708 $as_echo_n "checking for -lfontconfig... " >&6; }
11709 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11710 $as_echo_n "(cached) " >&6
11711 else
11712 ac_check_soname_save_LIBS=$LIBS
11713 LIBS="-lfontconfig $X_LIBS $LIBS"
11714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 /* Override any GCC internal prototype to avoid an error.
11718 Use char because int might match the return type of a GCC
11719 builtin and then its argument prototype would still apply. */
11720 #ifdef __cplusplus
11721 extern "C"
11722 #endif
11723 char FcInit ();
11725 main ()
11727 return FcInit ();
11729 return 0;
11731 _ACEOF
11732 if ac_fn_c_try_link "$LINENO"; then :
11733 case "$LIBEXT" in
11734 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11735 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'` ;;
11736 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11737 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11738 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11739 fi ;;
11740 esac
11742 rm -f core conftest.err conftest.$ac_objext \
11743 conftest$ac_exeext conftest.$ac_ext
11744 LIBS=$ac_check_soname_save_LIBS
11746 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11748 $as_echo "not found" >&6; }
11750 else
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11752 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11754 cat >>confdefs.h <<_ACEOF
11755 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11756 _ACEOF
11762 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11763 case "x$with_fontconfig" in
11764 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11765 xno) ;;
11766 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11767 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11768 esac
11771 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11772 then
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11774 $as_echo_n "checking for -lgsm... " >&6; }
11775 if ${ac_cv_lib_soname_gsm+:} false; then :
11776 $as_echo_n "(cached) " >&6
11777 else
11778 ac_check_soname_save_LIBS=$LIBS
11779 LIBS="-lgsm $LIBS"
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11786 #ifdef __cplusplus
11787 extern "C"
11788 #endif
11789 char gsm_create ();
11791 main ()
11793 return gsm_create ();
11795 return 0;
11797 _ACEOF
11798 if ac_fn_c_try_link "$LINENO"; then :
11799 case "$LIBEXT" in
11800 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11801 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'` ;;
11802 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11803 if test "x$ac_cv_lib_soname_gsm" = x; then :
11804 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11805 fi ;;
11806 esac
11808 rm -f core conftest.err conftest.$ac_objext \
11809 conftest$ac_exeext conftest.$ac_ext
11810 LIBS=$ac_check_soname_save_LIBS
11812 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11814 $as_echo "not found" >&6; }
11816 else
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11818 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11820 cat >>confdefs.h <<_ACEOF
11821 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11822 _ACEOF
11827 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11828 case "x$with_gsm" in
11829 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11830 xno) ;;
11831 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11832 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11833 esac
11836 if test "x$with_jpeg" != "xno"
11837 then
11838 if test -n "$JPEG_CFLAGS"; then :
11840 elif test -n "$PKG_CONFIG"; then :
11841 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
11844 if test -n "$JPEG_LIBS"; then :
11846 elif test -n "$PKG_CONFIG"; then :
11847 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
11851 ac_save_CPPFLAGS=$CPPFLAGS
11852 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
11853 for ac_header in jpeglib.h
11854 do :
11855 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
11856 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
11857 cat >>confdefs.h <<_ACEOF
11858 #define HAVE_JPEGLIB_H 1
11859 _ACEOF
11863 done
11865 if test "$ac_cv_header_jpeglib_h" = "yes"
11866 then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11868 $as_echo_n "checking for -ljpeg... " >&6; }
11869 if ${ac_cv_lib_soname_jpeg+:} false; then :
11870 $as_echo_n "(cached) " >&6
11871 else
11872 ac_check_soname_save_LIBS=$LIBS
11873 LIBS="-ljpeg $JPEG_LIBS $LIBS"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11880 #ifdef __cplusplus
11881 extern "C"
11882 #endif
11883 char jpeg_start_decompress ();
11885 main ()
11887 return jpeg_start_decompress ();
11889 return 0;
11891 _ACEOF
11892 if ac_fn_c_try_link "$LINENO"; then :
11893 case "$LIBEXT" in
11894 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11895 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'` ;;
11896 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11897 if test "x$ac_cv_lib_soname_jpeg" = x; then :
11898 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11899 fi ;;
11900 esac
11902 rm -f core conftest.err conftest.$ac_objext \
11903 conftest$ac_exeext conftest.$ac_ext
11904 LIBS=$ac_check_soname_save_LIBS
11906 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11908 $as_echo "not found" >&6; }
11909 JPEG_CFLAGS=""
11910 else
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11912 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11914 cat >>confdefs.h <<_ACEOF
11915 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11916 _ACEOF
11920 else
11921 JPEG_CFLAGS=""
11923 CPPFLAGS=$ac_save_CPPFLAGS
11924 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11925 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11928 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11929 case "x$with_jpeg" in
11930 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11931 xno) ;;
11932 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11933 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11934 esac
11937 if test "x$with_png" != "xno"
11938 then
11939 if test -n "$PNG_CFLAGS"; then :
11941 elif test -n "$PKG_CONFIG"; then :
11942 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
11944 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
11945 if test -n "$PNG_LIBS"; then :
11947 elif test -n "$PKG_CONFIG"; then :
11948 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
11950 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
11952 ac_save_CPPFLAGS=$CPPFLAGS
11953 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
11954 for ac_header in png.h
11955 do :
11956 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11957 if test "x$ac_cv_header_png_h" = xyes; then :
11958 cat >>confdefs.h <<_ACEOF
11959 #define HAVE_PNG_H 1
11960 _ACEOF
11964 done
11966 if test "$ac_cv_header_png_h" = "yes"
11967 then
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11969 $as_echo_n "checking for -lpng... " >&6; }
11970 if ${ac_cv_lib_soname_png+:} false; then :
11971 $as_echo_n "(cached) " >&6
11972 else
11973 ac_check_soname_save_LIBS=$LIBS
11974 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
11975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11976 /* end confdefs.h. */
11978 /* Override any GCC internal prototype to avoid an error.
11979 Use char because int might match the return type of a GCC
11980 builtin and then its argument prototype would still apply. */
11981 #ifdef __cplusplus
11982 extern "C"
11983 #endif
11984 char png_create_read_struct ();
11986 main ()
11988 return png_create_read_struct ();
11990 return 0;
11992 _ACEOF
11993 if ac_fn_c_try_link "$LINENO"; then :
11994 case "$LIBEXT" in
11995 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11996 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'` ;;
11997 *) 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'`
11998 if test "x$ac_cv_lib_soname_png" = x; then :
11999 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12000 fi ;;
12001 esac
12003 rm -f core conftest.err conftest.$ac_objext \
12004 conftest$ac_exeext conftest.$ac_ext
12005 LIBS=$ac_check_soname_save_LIBS
12007 if test "x$ac_cv_lib_soname_png" = "x"; then :
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12009 $as_echo "not found" >&6; }
12010 PNG_CFLAGS=""
12011 else
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12013 $as_echo "$ac_cv_lib_soname_png" >&6; }
12015 cat >>confdefs.h <<_ACEOF
12016 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12017 _ACEOF
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12021 #include <png.h>
12023 main ()
12025 typeof(png_set_expand_gray_1_2_4_to_8) *p
12027 return 0;
12029 _ACEOF
12030 if ac_fn_c_try_compile "$LINENO"; then :
12032 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12037 else
12038 PNG_CFLAGS=""
12040 CPPFLAGS=$ac_save_CPPFLAGS
12041 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12042 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12045 if test "x$ac_cv_lib_soname_png" = "x"; then :
12046 case "x$with_png" in
12047 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12048 xno) ;;
12049 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12050 This is an error since --with-png was requested." "$LINENO" 5 ;;
12051 esac
12054 if test "x$with_tiff" != "xno"
12055 then
12056 if test -n "$TIFF_CFLAGS"; then :
12058 elif test -n "$PKG_CONFIG"; then :
12059 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12062 if test -n "$TIFF_LIBS"; then :
12064 elif test -n "$PKG_CONFIG"; then :
12065 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12069 ac_save_CPPFLAGS=$CPPFLAGS
12070 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12071 for ac_header in tiffio.h
12072 do :
12073 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12074 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12075 cat >>confdefs.h <<_ACEOF
12076 #define HAVE_TIFFIO_H 1
12077 _ACEOF
12081 done
12083 if test "$ac_cv_header_tiffio_h" = "yes"
12084 then
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12086 $as_echo_n "checking for -ltiff... " >&6; }
12087 if ${ac_cv_lib_soname_tiff+:} false; then :
12088 $as_echo_n "(cached) " >&6
12089 else
12090 ac_check_soname_save_LIBS=$LIBS
12091 LIBS="-ltiff $TIFF_LIBS $LIBS"
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12098 #ifdef __cplusplus
12099 extern "C"
12100 #endif
12101 char TIFFClientOpen ();
12103 main ()
12105 return TIFFClientOpen ();
12107 return 0;
12109 _ACEOF
12110 if ac_fn_c_try_link "$LINENO"; then :
12111 case "$LIBEXT" in
12112 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12113 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'` ;;
12114 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12115 if test "x$ac_cv_lib_soname_tiff" = x; then :
12116 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12117 fi ;;
12118 esac
12120 rm -f core conftest.err conftest.$ac_objext \
12121 conftest$ac_exeext conftest.$ac_ext
12122 LIBS=$ac_check_soname_save_LIBS
12124 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12126 $as_echo "not found" >&6; }
12128 else
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12130 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12132 cat >>confdefs.h <<_ACEOF
12133 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12134 _ACEOF
12139 CPPFLAGS=$ac_save_CPPFLAGS
12140 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12141 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12144 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12145 case "x$with_tiff" in
12146 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12147 xno) ;;
12148 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12149 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12150 esac
12153 if test "x$with_mpg123" != "xno"
12154 then
12155 if test -n "$MPG123_CFLAGS"; then :
12157 elif test -n "$PKG_CONFIG"; then :
12158 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12161 if test -n "$MPG123_LIBS"; then :
12163 elif test -n "$PKG_CONFIG"; then :
12164 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12167 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
12168 ac_save_CPPFLAGS=$CPPFLAGS
12169 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
12170 for ac_header in mpg123.h
12171 do :
12172 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12173 if test "x$ac_cv_header_mpg123_h" = xyes; then :
12174 cat >>confdefs.h <<_ACEOF
12175 #define HAVE_MPG123_H 1
12176 _ACEOF
12180 done
12182 if test "$ac_cv_header_mpg123_h" = "yes"
12183 then
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12185 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12186 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
12187 $as_echo_n "(cached) " >&6
12188 else
12189 ac_check_lib_save_LIBS=$LIBS
12190 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
12191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12192 /* end confdefs.h. */
12194 /* Override any GCC internal prototype to avoid an error.
12195 Use char because int might match the return type of a GCC
12196 builtin and then its argument prototype would still apply. */
12197 #ifdef __cplusplus
12198 extern "C"
12199 #endif
12200 char mpg123_feed ();
12202 main ()
12204 return mpg123_feed ();
12206 return 0;
12208 _ACEOF
12209 if ac_fn_c_try_link "$LINENO"; then :
12210 ac_cv_lib_mpg123_mpg123_feed=yes
12211 else
12212 ac_cv_lib_mpg123_mpg123_feed=no
12214 rm -f core conftest.err conftest.$ac_objext \
12215 conftest$ac_exeext conftest.$ac_ext
12216 LIBS=$ac_check_lib_save_LIBS
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12219 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12220 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12222 else
12223 MPG123_LIBS=""
12226 else
12227 MPG123_CFLAGS=""
12228 MPG123_LIBS=""
12230 CPPFLAGS=$ac_save_CPPFLAGS
12231 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12232 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12235 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12236 case "x$with_mpg123" in
12237 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12238 xno) ;;
12239 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12240 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12241 esac
12243 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}
12245 if test "$ac_cv_header_AL_al_h" = "yes"
12246 then
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12248 $as_echo_n "checking for -lopenal... " >&6; }
12249 if ${ac_cv_lib_soname_openal+:} false; then :
12250 $as_echo_n "(cached) " >&6
12251 else
12252 ac_check_soname_save_LIBS=$LIBS
12253 LIBS="-lopenal $LIBS"
12254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12257 /* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
12260 #ifdef __cplusplus
12261 extern "C"
12262 #endif
12263 char alGetSource3i ();
12265 main ()
12267 return alGetSource3i ();
12269 return 0;
12271 _ACEOF
12272 if ac_fn_c_try_link "$LINENO"; then :
12273 case "$LIBEXT" in
12274 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12275 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'` ;;
12276 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12277 if test "x$ac_cv_lib_soname_openal" = x; then :
12278 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12279 fi ;;
12280 esac
12282 rm -f core conftest.err conftest.$ac_objext \
12283 conftest$ac_exeext conftest.$ac_ext
12284 LIBS=$ac_check_soname_save_LIBS
12286 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12288 $as_echo "not found" >&6; }
12290 else
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12292 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12294 cat >>confdefs.h <<_ACEOF
12295 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12296 _ACEOF
12298 LIBOPENAL="-lopenal"
12300 ac_cv_lib_openal=yes
12302 cat >>confdefs.h <<_ACEOF
12303 #define HAVE_OPENAL 1
12304 _ACEOF
12308 if test "x$ac_cv_lib_openal" != xyes; then :
12309 case "x$with_openal" in
12310 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12311 xno) ;;
12312 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12313 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12314 esac
12316 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12318 if test "$ac_cv_header_kstat_h" = "yes"
12319 then
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12321 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12322 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12323 $as_echo_n "(cached) " >&6
12324 else
12325 ac_check_lib_save_LIBS=$LIBS
12326 LIBS="-lkstat $LIBS"
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12333 #ifdef __cplusplus
12334 extern "C"
12335 #endif
12336 char kstat_open ();
12338 main ()
12340 return kstat_open ();
12342 return 0;
12344 _ACEOF
12345 if ac_fn_c_try_link "$LINENO"; then :
12346 ac_cv_lib_kstat_kstat_open=yes
12347 else
12348 ac_cv_lib_kstat_kstat_open=no
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 LIBS=$ac_check_lib_save_LIBS
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12355 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12356 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12358 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12360 LIBKSTAT="-lkstat"
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12367 $as_echo_n "checking for -lodbc... " >&6; }
12368 if ${ac_cv_lib_soname_odbc+:} false; then :
12369 $as_echo_n "(cached) " >&6
12370 else
12371 ac_check_soname_save_LIBS=$LIBS
12372 LIBS="-lodbc $LIBS"
12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12374 /* end confdefs.h. */
12376 /* Override any GCC internal prototype to avoid an error.
12377 Use char because int might match the return type of a GCC
12378 builtin and then its argument prototype would still apply. */
12379 #ifdef __cplusplus
12380 extern "C"
12381 #endif
12382 char SQLConnect ();
12384 main ()
12386 return SQLConnect ();
12388 return 0;
12390 _ACEOF
12391 if ac_fn_c_try_link "$LINENO"; then :
12392 case "$LIBEXT" in
12393 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12394 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'` ;;
12395 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12396 if test "x$ac_cv_lib_soname_odbc" = x; then :
12397 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12398 fi ;;
12399 esac
12401 rm -f core conftest.err conftest.$ac_objext \
12402 conftest$ac_exeext conftest.$ac_ext
12403 LIBS=$ac_check_soname_save_LIBS
12405 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12407 $as_echo "not found" >&6; }
12408 cat >>confdefs.h <<_ACEOF
12409 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12410 _ACEOF
12412 else
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12414 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12416 cat >>confdefs.h <<_ACEOF
12417 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12418 _ACEOF
12423 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12424 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12425 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12426 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12428 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12429 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12430 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12431 then
12432 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12436 EXTRACFLAGS=""
12438 if test "x${GCC}" = "xyes"
12439 then
12440 EXTRACFLAGS="-Wall -pipe"
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12443 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12444 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12445 $as_echo_n "(cached) " >&6
12446 else
12447 if test "$cross_compiling" = yes; then :
12448 ac_cv_c_gcc_strength_bug="yes"
12449 else
12450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h. */
12452 int L[4] = {0,1,2,3};
12454 main ()
12456 static int Array[3];
12457 unsigned int B = 3;
12458 int i;
12459 for(i=0; i<B; i++) Array[i] = i - 3;
12460 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12461 L[i] = 4;
12462 return (Array[1] != -2 || L[2] != 3)
12464 return 0;
12466 _ACEOF
12467 if ac_fn_c_try_run "$LINENO"; then :
12468 ac_cv_c_gcc_strength_bug="no"
12469 else
12470 ac_cv_c_gcc_strength_bug="yes"
12472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12473 conftest.$ac_objext conftest.beam conftest.$ac_ext
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12478 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12479 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12480 then
12481 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12485 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12486 if ${ac_cv_cflags__fno_builtin+:} false; then :
12487 $as_echo_n "(cached) " >&6
12488 else
12489 ac_wine_try_cflags_saved=$CFLAGS
12490 CFLAGS="$CFLAGS -fno-builtin"
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12493 int main(int argc, char **argv) { return 0; }
12494 _ACEOF
12495 if ac_fn_c_try_link "$LINENO"; then :
12496 ac_cv_cflags__fno_builtin=yes
12497 else
12498 ac_cv_cflags__fno_builtin=no
12500 rm -f core conftest.err conftest.$ac_objext \
12501 conftest$ac_exeext conftest.$ac_ext
12502 CFLAGS=$ac_wine_try_cflags_saved
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12505 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12506 if test $ac_cv_cflags__fno_builtin = yes; then :
12507 BUILTINFLAG="-fno-builtin"
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12511 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12512 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12513 $as_echo_n "(cached) " >&6
12514 else
12515 ac_wine_try_cflags_saved=$CFLAGS
12516 CFLAGS="$CFLAGS -fno-strict-aliasing"
12517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12518 /* end confdefs.h. */
12519 int main(int argc, char **argv) { return 0; }
12520 _ACEOF
12521 if ac_fn_c_try_link "$LINENO"; then :
12522 ac_cv_cflags__fno_strict_aliasing=yes
12523 else
12524 ac_cv_cflags__fno_strict_aliasing=no
12526 rm -f core conftest.err conftest.$ac_objext \
12527 conftest$ac_exeext conftest.$ac_ext
12528 CFLAGS=$ac_wine_try_cflags_saved
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12531 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12532 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12533 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12535 saved_CFLAGS=$CFLAGS
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
12537 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
12538 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
12539 $as_echo_n "(cached) " >&6
12540 else
12541 ac_wine_try_cflags_saved=$CFLAGS
12542 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12545 int main(int argc, char **argv) { return 0; }
12546 _ACEOF
12547 if ac_fn_c_try_link "$LINENO"; then :
12548 ac_cv_cflags__Werror_unknown_warning_option=yes
12549 else
12550 ac_cv_cflags__Werror_unknown_warning_option=no
12552 rm -f core conftest.err conftest.$ac_objext \
12553 conftest$ac_exeext conftest.$ac_ext
12554 CFLAGS=$ac_wine_try_cflags_saved
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
12557 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
12558 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
12559 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12562 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12563 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12564 $as_echo_n "(cached) " >&6
12565 else
12566 ac_wine_try_cflags_saved=$CFLAGS
12567 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12570 int main(int argc, char **argv) { return 0; }
12571 _ACEOF
12572 if ac_fn_c_try_link "$LINENO"; then :
12573 ac_cv_cflags__Wdeclaration_after_statement=yes
12574 else
12575 ac_cv_cflags__Wdeclaration_after_statement=no
12577 rm -f core conftest.err conftest.$ac_objext \
12578 conftest$ac_exeext conftest.$ac_ext
12579 CFLAGS=$ac_wine_try_cflags_saved
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12582 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12583 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12584 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12587 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12588 if ${ac_cv_cflags__Wempty_body+:} false; then :
12589 $as_echo_n "(cached) " >&6
12590 else
12591 ac_wine_try_cflags_saved=$CFLAGS
12592 CFLAGS="$CFLAGS -Wempty-body"
12593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12595 int main(int argc, char **argv) { return 0; }
12596 _ACEOF
12597 if ac_fn_c_try_link "$LINENO"; then :
12598 ac_cv_cflags__Wempty_body=yes
12599 else
12600 ac_cv_cflags__Wempty_body=no
12602 rm -f core conftest.err conftest.$ac_objext \
12603 conftest$ac_exeext conftest.$ac_ext
12604 CFLAGS=$ac_wine_try_cflags_saved
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12607 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12608 if test $ac_cv_cflags__Wempty_body = yes; then :
12609 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12612 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12613 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12614 $as_echo_n "(cached) " >&6
12615 else
12616 ac_wine_try_cflags_saved=$CFLAGS
12617 CFLAGS="$CFLAGS -Wignored-qualifiers"
12618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12620 int main(int argc, char **argv) { return 0; }
12621 _ACEOF
12622 if ac_fn_c_try_link "$LINENO"; then :
12623 ac_cv_cflags__Wignored_qualifiers=yes
12624 else
12625 ac_cv_cflags__Wignored_qualifiers=no
12627 rm -f core conftest.err conftest.$ac_objext \
12628 conftest$ac_exeext conftest.$ac_ext
12629 CFLAGS=$ac_wine_try_cflags_saved
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12632 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12633 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12634 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12637 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12638 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12639 $as_echo_n "(cached) " >&6
12640 else
12641 ac_wine_try_cflags_saved=$CFLAGS
12642 CFLAGS="$CFLAGS -Wstrict-prototypes"
12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12645 int main(int argc, char **argv) { return 0; }
12646 _ACEOF
12647 if ac_fn_c_try_link "$LINENO"; then :
12648 ac_cv_cflags__Wstrict_prototypes=yes
12649 else
12650 ac_cv_cflags__Wstrict_prototypes=no
12652 rm -f core conftest.err conftest.$ac_objext \
12653 conftest$ac_exeext conftest.$ac_ext
12654 CFLAGS=$ac_wine_try_cflags_saved
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12657 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12658 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12659 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12662 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12663 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12664 $as_echo_n "(cached) " >&6
12665 else
12666 ac_wine_try_cflags_saved=$CFLAGS
12667 CFLAGS="$CFLAGS -Wtype-limits"
12668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12670 int main(int argc, char **argv) { return 0; }
12671 _ACEOF
12672 if ac_fn_c_try_link "$LINENO"; then :
12673 ac_cv_cflags__Wtype_limits=yes
12674 else
12675 ac_cv_cflags__Wtype_limits=no
12677 rm -f core conftest.err conftest.$ac_objext \
12678 conftest$ac_exeext conftest.$ac_ext
12679 CFLAGS=$ac_wine_try_cflags_saved
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12682 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12683 if test $ac_cv_cflags__Wtype_limits = yes; then :
12684 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12687 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12688 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12689 $as_echo_n "(cached) " >&6
12690 else
12691 ac_wine_try_cflags_saved=$CFLAGS
12692 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12695 int main(int argc, char **argv) { return 0; }
12696 _ACEOF
12697 if ac_fn_c_try_link "$LINENO"; then :
12698 ac_cv_cflags__Wunused_but_set_parameter=yes
12699 else
12700 ac_cv_cflags__Wunused_but_set_parameter=no
12702 rm -f core conftest.err conftest.$ac_objext \
12703 conftest$ac_exeext conftest.$ac_ext
12704 CFLAGS=$ac_wine_try_cflags_saved
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12707 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12708 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12709 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12712 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12713 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12714 $as_echo_n "(cached) " >&6
12715 else
12716 ac_wine_try_cflags_saved=$CFLAGS
12717 CFLAGS="$CFLAGS -Wwrite-strings"
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12720 int main(int argc, char **argv) { return 0; }
12721 _ACEOF
12722 if ac_fn_c_try_link "$LINENO"; then :
12723 ac_cv_cflags__Wwrite_strings=yes
12724 else
12725 ac_cv_cflags__Wwrite_strings=no
12727 rm -f core conftest.err conftest.$ac_objext \
12728 conftest$ac_exeext conftest.$ac_ext
12729 CFLAGS=$ac_wine_try_cflags_saved
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12732 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12733 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12734 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
12738 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
12739 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
12740 $as_echo_n "(cached) " >&6
12741 else
12742 ac_wine_try_cflags_saved=$CFLAGS
12743 CFLAGS="$CFLAGS -Wpointer-arith"
12744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12746 int main(int argc, char **argv) { return 0; }
12747 _ACEOF
12748 if ac_fn_c_try_link "$LINENO"; then :
12749 ac_cv_cflags__Wpointer_arith=yes
12750 else
12751 ac_cv_cflags__Wpointer_arith=no
12753 rm -f core conftest.err conftest.$ac_objext \
12754 conftest$ac_exeext conftest.$ac_ext
12755 CFLAGS=$ac_wine_try_cflags_saved
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
12758 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
12759 if test $ac_cv_cflags__Wpointer_arith = yes; then :
12760 saved_string_h_CFLAGS=$CFLAGS
12761 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12763 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12764 if ${ac_cv_c_string_h_warnings+:} false; then :
12765 $as_echo_n "(cached) " >&6
12766 else
12767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12768 /* end confdefs.h. */
12769 #include <string.h>
12771 main ()
12775 return 0;
12777 _ACEOF
12778 if ac_fn_c_try_compile "$LINENO"; then :
12779 ac_cv_c_string_h_warnings=no
12780 else
12781 ac_cv_c_string_h_warnings=yes
12783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12786 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12787 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12788 CFLAGS=$saved_string_h_CFLAGS
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
12792 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
12793 if ${ac_cv_cflags__Wlogical_op+:} false; then :
12794 $as_echo_n "(cached) " >&6
12795 else
12796 ac_wine_try_cflags_saved=$CFLAGS
12797 CFLAGS="$CFLAGS -Wlogical-op"
12798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12800 int main(int argc, char **argv) { return 0; }
12801 _ACEOF
12802 if ac_fn_c_try_link "$LINENO"; then :
12803 ac_cv_cflags__Wlogical_op=yes
12804 else
12805 ac_cv_cflags__Wlogical_op=no
12807 rm -f core conftest.err conftest.$ac_objext \
12808 conftest$ac_exeext conftest.$ac_ext
12809 CFLAGS=$ac_wine_try_cflags_saved
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
12812 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
12813 if test $ac_cv_cflags__Wlogical_op = yes; then :
12814 saved_string_h_CFLAGS=$CFLAGS
12815 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12817 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12818 if ${ac_cv_c_logicalop_noisy+:} false; then :
12819 $as_echo_n "(cached) " >&6
12820 else
12821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12823 #include <string.h>
12824 char*f(const char *h,char n) {return strchr(h,n);}
12826 main ()
12830 return 0;
12832 _ACEOF
12833 if ac_fn_c_try_compile "$LINENO"; then :
12834 ac_cv_c_logicalop_noisy=no
12835 else
12836 ac_cv_c_logicalop_noisy=yes
12838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12841 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12842 CFLAGS=$saved_string_h_CFLAGS
12843 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12846 CFLAGS=$saved_CFLAGS
12848 for ac_flag in $CFLAGS; do
12849 case $ac_flag in
12850 -g) case $host_os in
12851 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12852 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12853 if ${ac_cv_cflags__gstabsp+:} false; then :
12854 $as_echo_n "(cached) " >&6
12855 else
12856 ac_wine_try_cflags_saved=$CFLAGS
12857 CFLAGS="$CFLAGS -gstabs+"
12858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h. */
12860 int main(int argc, char **argv) { return 0; }
12861 _ACEOF
12862 if ac_fn_c_try_link "$LINENO"; then :
12863 ac_cv_cflags__gstabsp=yes
12864 else
12865 ac_cv_cflags__gstabsp=no
12867 rm -f core conftest.err conftest.$ac_objext \
12868 conftest$ac_exeext conftest.$ac_ext
12869 CFLAGS=$ac_wine_try_cflags_saved
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12872 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12873 if test $ac_cv_cflags__gstabsp = yes; then :
12874 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12875 fi ;;
12876 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12877 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12878 if ${ac_cv_cflags__gdwarf_2+:} false; then :
12879 $as_echo_n "(cached) " >&6
12880 else
12881 ac_wine_try_cflags_saved=$CFLAGS
12882 CFLAGS="$CFLAGS -gdwarf-2"
12883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12885 int main(int argc, char **argv) { return 0; }
12886 _ACEOF
12887 if ac_fn_c_try_link "$LINENO"; then :
12888 ac_cv_cflags__gdwarf_2=yes
12889 else
12890 ac_cv_cflags__gdwarf_2=no
12892 rm -f core conftest.err conftest.$ac_objext \
12893 conftest$ac_exeext conftest.$ac_ext
12894 CFLAGS=$ac_wine_try_cflags_saved
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12897 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12898 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12899 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12902 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12903 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
12904 $as_echo_n "(cached) " >&6
12905 else
12906 ac_wine_try_cflags_saved=$CFLAGS
12907 CFLAGS="$CFLAGS -gstrict-dwarf"
12908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12910 int main(int argc, char **argv) { return 0; }
12911 _ACEOF
12912 if ac_fn_c_try_link "$LINENO"; then :
12913 ac_cv_cflags__gstrict_dwarf=yes
12914 else
12915 ac_cv_cflags__gstrict_dwarf=no
12917 rm -f core conftest.err conftest.$ac_objext \
12918 conftest$ac_exeext conftest.$ac_ext
12919 CFLAGS=$ac_wine_try_cflags_saved
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12922 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12923 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12924 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
12925 fi ;;
12926 esac ;;
12927 esac
12928 done
12930 case $host_cpu in
12931 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12932 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12933 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12934 $as_echo_n "(cached) " >&6
12935 else
12936 ac_wine_try_cflags_saved=$CFLAGS
12937 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12940 int main(int argc, char **argv) { return 0; }
12941 _ACEOF
12942 if ac_fn_c_try_link "$LINENO"; then :
12943 ac_cv_cflags__fno_omit_frame_pointer=yes
12944 else
12945 ac_cv_cflags__fno_omit_frame_pointer=no
12947 rm -f core conftest.err conftest.$ac_objext \
12948 conftest$ac_exeext conftest.$ac_ext
12949 CFLAGS=$ac_wine_try_cflags_saved
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12952 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12953 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12954 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12955 fi ;;
12956 esac
12958 case $host in
12959 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12960 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12961 if ${ac_cv_cflags__Wno_format+:} false; then :
12962 $as_echo_n "(cached) " >&6
12963 else
12964 ac_wine_try_cflags_saved=$CFLAGS
12965 CFLAGS="$CFLAGS -Wno-format"
12966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12968 int main(int argc, char **argv) { return 0; }
12969 _ACEOF
12970 if ac_fn_c_try_link "$LINENO"; then :
12971 ac_cv_cflags__Wno_format=yes
12972 else
12973 ac_cv_cflags__Wno_format=no
12975 rm -f core conftest.err conftest.$ac_objext \
12976 conftest$ac_exeext conftest.$ac_ext
12977 CFLAGS=$ac_wine_try_cflags_saved
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12980 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12981 if test $ac_cv_cflags__Wno_format = yes; then :
12982 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12983 fi ;;
12984 esac
12986 if test "x$enable_maintainer_mode" = "xyes"
12987 then
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12989 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12990 if ${ac_cv_cflags__Werror+:} false; then :
12991 $as_echo_n "(cached) " >&6
12992 else
12993 ac_wine_try_cflags_saved=$CFLAGS
12994 CFLAGS="$CFLAGS -Werror"
12995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12997 int main(int argc, char **argv) { return 0; }
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 ac_cv_cflags__Werror=yes
13001 else
13002 ac_cv_cflags__Werror=no
13004 rm -f core conftest.err conftest.$ac_objext \
13005 conftest$ac_exeext conftest.$ac_ext
13006 CFLAGS=$ac_wine_try_cflags_saved
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13009 $as_echo "$ac_cv_cflags__Werror" >&6; }
13010 if test $ac_cv_cflags__Werror = yes; then :
13011 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13015 saved_CFLAGS="$CFLAGS"
13016 CFLAGS="$CFLAGS -Werror"
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13018 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13019 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13020 $as_echo_n "(cached) " >&6
13021 else
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13024 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13026 main ()
13030 return 0;
13032 _ACEOF
13033 if ac_fn_c_try_compile "$LINENO"; then :
13034 ac_cv_have_ms_hook_prologue="yes"
13035 else
13036 ac_cv_have_ms_hook_prologue="no"
13038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13041 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13042 CFLAGS="$saved_CFLAGS"
13043 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13044 then
13046 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13048 else
13049 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13056 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13057 if ${ac_cv_c_fortify_enabled+:} false; then :
13058 $as_echo_n "(cached) " >&6
13059 else
13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13062 #include <string.h>
13064 main ()
13066 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13067 #error Fortify enabled
13068 #endif
13070 return 0;
13072 _ACEOF
13073 if ac_fn_c_try_compile "$LINENO"; then :
13074 ac_cv_c_fortify_enabled=no
13075 else
13076 ac_cv_c_fortify_enabled=yes
13078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13081 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13082 if test "$ac_cv_c_fortify_enabled" = yes
13083 then
13084 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13089 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13090 if ${ac_cv_c_extern_prefix+:} false; then :
13091 $as_echo_n "(cached) " >&6
13092 else
13093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13095 extern int ac_test;
13097 main ()
13099 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13101 return 0;
13103 _ACEOF
13104 if ac_fn_c_try_link "$LINENO"; then :
13105 ac_cv_c_extern_prefix="yes"
13106 else
13107 ac_cv_c_extern_prefix="no"
13109 rm -f core conftest.err conftest.$ac_objext \
13110 conftest$ac_exeext conftest.$ac_ext
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13113 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13115 case $host_cpu in
13116 *i[3456789]86*)
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13118 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13119 if ${ac_cv_c_stdcall_suffix+:} false; then :
13120 $as_echo_n "(cached) " >&6
13121 else
13122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13124 #ifndef _MSC_VER
13125 #define __stdcall __attribute__((__stdcall__))
13126 #endif
13127 int __stdcall ac_test(int i) { return i; }
13129 main ()
13131 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13133 return 0;
13135 _ACEOF
13136 if ac_fn_c_try_link "$LINENO"; then :
13137 ac_cv_c_stdcall_suffix="yes"
13138 else
13139 ac_cv_c_stdcall_suffix="no"
13141 rm -f core conftest.err conftest.$ac_objext \
13142 conftest$ac_exeext conftest.$ac_ext
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13145 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13146 *) ac_cv_c_stdcall_suffix="no" ;;
13147 esac
13150 if test "$ac_cv_c_extern_prefix" = "yes"
13151 then
13152 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13154 asm_name_prefix="_"
13155 else
13156 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13158 asm_name_prefix=""
13162 if test "$ac_cv_c_stdcall_suffix" = "yes"
13163 then
13164 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13166 else
13167 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13173 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13174 if ${ac_cv_asm_func_def+:} false; then :
13175 $as_echo_n "(cached) " >&6
13176 else
13177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13181 main ()
13183 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13185 return 0;
13187 _ACEOF
13188 if ac_fn_c_try_link "$LINENO"; then :
13189 ac_cv_asm_func_def=".def"
13190 else
13191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13195 main ()
13197 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13199 return 0;
13201 _ACEOF
13202 if ac_fn_c_try_link "$LINENO"; then :
13203 ac_cv_asm_func_def=".type @function"
13204 else
13205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13206 /* end confdefs.h. */
13209 main ()
13211 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13213 return 0;
13215 _ACEOF
13216 if ac_fn_c_try_link "$LINENO"; then :
13217 ac_cv_asm_func_def=".type 2"
13218 else
13219 ac_cv_asm_func_def="unknown"
13221 rm -f core conftest.err conftest.$ac_objext \
13222 conftest$ac_exeext conftest.$ac_ext
13224 rm -f core conftest.err conftest.$ac_objext \
13225 conftest$ac_exeext conftest.$ac_ext
13227 rm -f core conftest.err conftest.$ac_objext \
13228 conftest$ac_exeext conftest.$ac_ext
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13231 $as_echo "$ac_cv_asm_func_def" >&6; }
13234 case "$ac_cv_asm_func_def" in
13235 ".def")
13236 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13238 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13239 ".type @function")
13240 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13242 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
13243 ".type 2")
13244 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13246 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
13248 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13250 asm_func_header="" ;;
13251 esac
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13254 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13255 if ${ac_cv_c_asm_outside_funcs+:} false; then :
13256 $as_echo_n "(cached) " >&6
13257 else
13258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13260 asm(".text\n\t.long 0");
13262 main ()
13266 return 0;
13268 _ACEOF
13269 if ac_fn_c_try_compile "$LINENO"; then :
13270 ac_cv_c_asm_outside_funcs="yes"
13271 else
13272 ac_cv_c_asm_outside_funcs="no"
13274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13277 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13280 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13281 if ${ac_cv_c_dot_previous+:} false; then :
13282 $as_echo_n "(cached) " >&6
13283 else
13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13288 main ()
13290 asm(".text\nac_test:\t.long 0\n\t.previous");
13292 return 0;
13294 _ACEOF
13295 if ac_fn_c_try_link "$LINENO"; then :
13296 ac_cv_c_dot_previous="yes"
13297 else
13298 ac_cv_c_dot_previous="no"
13300 rm -f core conftest.err conftest.$ac_objext \
13301 conftest$ac_exeext conftest.$ac_ext
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13304 $as_echo "$ac_cv_c_dot_previous" >&6; }
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13307 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13308 if ${ac_cv_c_cfi_support+:} false; then :
13309 $as_echo_n "(cached) " >&6
13310 else
13311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13313 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13315 main ()
13319 return 0;
13321 _ACEOF
13322 if ac_fn_c_try_compile "$LINENO"; then :
13323 ac_cv_c_cfi_support="yes"
13324 else
13325 ac_cv_c_cfi_support="no"
13327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13330 $as_echo "$ac_cv_c_cfi_support" >&6; }
13332 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13333 asm_func_trailer=""
13334 if test "$ac_cv_c_dot_previous" = "yes"
13335 then
13336 asm_func_trailer="\\n\\t.previous"
13338 if test "$ac_cv_c_cfi_support" = "yes"
13339 then
13340 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13341 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13343 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13345 UNWINDFLAGS=-fasynchronous-unwind-tables
13347 else
13348 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13352 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13355 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13356 then
13357 cat >>confdefs.h <<_ACEOF
13358 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13359 _ACEOF
13361 else
13362 cat >>confdefs.h <<_ACEOF
13363 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13364 _ACEOF
13368 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13371 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13375 LDPATH=""
13377 case $build_os in
13378 cygwin*|mingw32*)
13379 TOOLSEXT=".exe"
13381 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13383 darwin*|macosx*)
13386 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13388 esac
13390 MAIN_BINARY="wine"
13392 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
13394 case $host_os in
13395 linux*)
13396 case $host_cpu in
13397 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
13399 x86_64*) EXTRA_BINARIES="wine64-preloader"
13401 esac
13403 esac
13406 ac_save_CFLAGS="$CFLAGS"
13407 CFLAGS="$CFLAGS $BUILTINFLAG"
13408 for ac_func in \
13409 _finite \
13410 _isnan \
13411 _pclose \
13412 _popen \
13413 _snprintf \
13414 _spawnvp \
13415 _strdup \
13416 _stricmp \
13417 _strnicmp \
13418 _strtoi64 \
13419 _strtoui64 \
13420 _vsnprintf \
13421 asctime_r \
13422 chsize \
13423 dlopen \
13424 epoll_create \
13425 ffs \
13426 finite \
13427 fnmatch \
13428 fork \
13429 fpclass \
13430 fstatfs \
13431 fstatvfs \
13432 ftruncate \
13433 futimens \
13434 futimes \
13435 futimesat \
13436 getattrlist \
13437 getdirentries \
13438 getopt_long_only \
13439 getpwuid \
13440 gettimeofday \
13441 getuid \
13442 kqueue \
13443 lstat \
13444 memmove \
13445 mmap \
13446 pclose \
13447 pipe2 \
13448 poll \
13449 popen \
13450 port_create \
13451 prctl \
13452 pread \
13453 pwrite \
13454 readdir \
13455 readlink \
13456 sched_yield \
13457 select \
13458 setproctitle \
13459 setrlimit \
13460 settimeofday \
13461 sigaltstack \
13462 sigprocmask \
13463 snprintf \
13464 statfs \
13465 statvfs \
13466 strcasecmp \
13467 strdup \
13468 strerror \
13469 strncasecmp \
13470 strtold \
13471 strtoll \
13472 strtoull \
13473 symlink \
13474 tcgetattr \
13475 thr_kill2 \
13476 timegm \
13477 usleep \
13478 vsnprintf
13480 do :
13481 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13482 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13483 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13484 cat >>confdefs.h <<_ACEOF
13485 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13486 _ACEOF
13489 done
13491 CFLAGS="$ac_save_CFLAGS"
13493 if test "$ac_cv_func_dlopen" = no
13494 then
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13496 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13497 if ${ac_cv_lib_dl_dlopen+:} false; then :
13498 $as_echo_n "(cached) " >&6
13499 else
13500 ac_check_lib_save_LIBS=$LIBS
13501 LIBS="-ldl $LIBS"
13502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13503 /* end confdefs.h. */
13505 /* Override any GCC internal prototype to avoid an error.
13506 Use char because int might match the return type of a GCC
13507 builtin and then its argument prototype would still apply. */
13508 #ifdef __cplusplus
13509 extern "C"
13510 #endif
13511 char dlopen ();
13513 main ()
13515 return dlopen ();
13517 return 0;
13519 _ACEOF
13520 if ac_fn_c_try_link "$LINENO"; then :
13521 ac_cv_lib_dl_dlopen=yes
13522 else
13523 ac_cv_lib_dl_dlopen=no
13525 rm -f core conftest.err conftest.$ac_objext \
13526 conftest$ac_exeext conftest.$ac_ext
13527 LIBS=$ac_check_lib_save_LIBS
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13530 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13531 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13532 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13533 LIBDL="-ldl"
13538 ac_wine_check_funcs_save_LIBS="$LIBS"
13539 LIBS="$LIBS $LIBDL"
13540 for ac_func in dladdr
13541 do :
13542 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13543 if test "x$ac_cv_func_dladdr" = xyes; then :
13544 cat >>confdefs.h <<_ACEOF
13545 #define HAVE_DLADDR 1
13546 _ACEOF
13549 done
13551 LIBS="$ac_wine_check_funcs_save_LIBS"
13553 if test "$ac_cv_func_poll" = no
13554 then
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13556 $as_echo_n "checking for poll in -lpoll... " >&6; }
13557 if ${ac_cv_lib_poll_poll+:} false; then :
13558 $as_echo_n "(cached) " >&6
13559 else
13560 ac_check_lib_save_LIBS=$LIBS
13561 LIBS="-lpoll $LIBS"
13562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13565 /* Override any GCC internal prototype to avoid an error.
13566 Use char because int might match the return type of a GCC
13567 builtin and then its argument prototype would still apply. */
13568 #ifdef __cplusplus
13569 extern "C"
13570 #endif
13571 char poll ();
13573 main ()
13575 return poll ();
13577 return 0;
13579 _ACEOF
13580 if ac_fn_c_try_link "$LINENO"; then :
13581 ac_cv_lib_poll_poll=yes
13582 else
13583 ac_cv_lib_poll_poll=no
13585 rm -f core conftest.err conftest.$ac_objext \
13586 conftest$ac_exeext conftest.$ac_ext
13587 LIBS=$ac_check_lib_save_LIBS
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13590 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13591 if test "x$ac_cv_lib_poll_poll" = xyes; then :
13592 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13593 LIBPOLL="-lpoll"
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13600 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13601 if ${ac_cv_search_gethostbyname+:} false; then :
13602 $as_echo_n "(cached) " >&6
13603 else
13604 ac_func_search_save_LIBS=$LIBS
13605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13608 /* Override any GCC internal prototype to avoid an error.
13609 Use char because int might match the return type of a GCC
13610 builtin and then its argument prototype would still apply. */
13611 #ifdef __cplusplus
13612 extern "C"
13613 #endif
13614 char gethostbyname ();
13616 main ()
13618 return gethostbyname ();
13620 return 0;
13622 _ACEOF
13623 for ac_lib in '' nsl; do
13624 if test -z "$ac_lib"; then
13625 ac_res="none required"
13626 else
13627 ac_res=-l$ac_lib
13628 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13630 if ac_fn_c_try_link "$LINENO"; then :
13631 ac_cv_search_gethostbyname=$ac_res
13633 rm -f core conftest.err conftest.$ac_objext \
13634 conftest$ac_exeext
13635 if ${ac_cv_search_gethostbyname+:} false; then :
13636 break
13638 done
13639 if ${ac_cv_search_gethostbyname+:} false; then :
13641 else
13642 ac_cv_search_gethostbyname=no
13644 rm conftest.$ac_ext
13645 LIBS=$ac_func_search_save_LIBS
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13648 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13649 ac_res=$ac_cv_search_gethostbyname
13650 if test "$ac_res" != no; then :
13651 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13657 $as_echo_n "checking for library containing connect... " >&6; }
13658 if ${ac_cv_search_connect+:} false; then :
13659 $as_echo_n "(cached) " >&6
13660 else
13661 ac_func_search_save_LIBS=$LIBS
13662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13663 /* end confdefs.h. */
13665 /* Override any GCC internal prototype to avoid an error.
13666 Use char because int might match the return type of a GCC
13667 builtin and then its argument prototype would still apply. */
13668 #ifdef __cplusplus
13669 extern "C"
13670 #endif
13671 char connect ();
13673 main ()
13675 return connect ();
13677 return 0;
13679 _ACEOF
13680 for ac_lib in '' socket; do
13681 if test -z "$ac_lib"; then
13682 ac_res="none required"
13683 else
13684 ac_res=-l$ac_lib
13685 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13687 if ac_fn_c_try_link "$LINENO"; then :
13688 ac_cv_search_connect=$ac_res
13690 rm -f core conftest.err conftest.$ac_objext \
13691 conftest$ac_exeext
13692 if ${ac_cv_search_connect+:} false; then :
13693 break
13695 done
13696 if ${ac_cv_search_connect+:} false; then :
13698 else
13699 ac_cv_search_connect=no
13701 rm conftest.$ac_ext
13702 LIBS=$ac_func_search_save_LIBS
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13705 $as_echo "$ac_cv_search_connect" >&6; }
13706 ac_res=$ac_cv_search_connect
13707 if test "$ac_res" != no; then :
13708 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13714 $as_echo_n "checking for library containing inet_aton... " >&6; }
13715 if ${ac_cv_search_inet_aton+:} false; then :
13716 $as_echo_n "(cached) " >&6
13717 else
13718 ac_func_search_save_LIBS=$LIBS
13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13722 /* Override any GCC internal prototype to avoid an error.
13723 Use char because int might match the return type of a GCC
13724 builtin and then its argument prototype would still apply. */
13725 #ifdef __cplusplus
13726 extern "C"
13727 #endif
13728 char inet_aton ();
13730 main ()
13732 return inet_aton ();
13734 return 0;
13736 _ACEOF
13737 for ac_lib in '' resolv; do
13738 if test -z "$ac_lib"; then
13739 ac_res="none required"
13740 else
13741 ac_res=-l$ac_lib
13742 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13744 if ac_fn_c_try_link "$LINENO"; then :
13745 ac_cv_search_inet_aton=$ac_res
13747 rm -f core conftest.err conftest.$ac_objext \
13748 conftest$ac_exeext
13749 if ${ac_cv_search_inet_aton+:} false; then :
13750 break
13752 done
13753 if ${ac_cv_search_inet_aton+:} false; then :
13755 else
13756 ac_cv_search_inet_aton=no
13758 rm conftest.$ac_ext
13759 LIBS=$ac_func_search_save_LIBS
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13762 $as_echo "$ac_cv_search_inet_aton" >&6; }
13763 ac_res=$ac_cv_search_inet_aton
13764 if test "$ac_res" != no; then :
13765 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13770 for ac_func in \
13771 getaddrinfo \
13772 getnameinfo \
13773 getnetbyname \
13774 getprotobyname \
13775 getprotobynumber \
13776 getservbyport \
13777 inet_network \
13778 inet_ntop \
13779 inet_pton \
13780 sendmsg \
13781 socketpair \
13783 do :
13784 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13786 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13787 cat >>confdefs.h <<_ACEOF
13788 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13789 _ACEOF
13792 done
13795 ac_save_LIBS=$LIBS
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13797 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13798 if ${ac_cv_search_clock_gettime+:} false; then :
13799 $as_echo_n "(cached) " >&6
13800 else
13801 ac_func_search_save_LIBS=$LIBS
13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13805 /* Override any GCC internal prototype to avoid an error.
13806 Use char because int might match the return type of a GCC
13807 builtin and then its argument prototype would still apply. */
13808 #ifdef __cplusplus
13809 extern "C"
13810 #endif
13811 char clock_gettime ();
13813 main ()
13815 return clock_gettime ();
13817 return 0;
13819 _ACEOF
13820 for ac_lib in '' rt; do
13821 if test -z "$ac_lib"; then
13822 ac_res="none required"
13823 else
13824 ac_res=-l$ac_lib
13825 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13827 if ac_fn_c_try_link "$LINENO"; then :
13828 ac_cv_search_clock_gettime=$ac_res
13830 rm -f core conftest.err conftest.$ac_objext \
13831 conftest$ac_exeext
13832 if ${ac_cv_search_clock_gettime+:} false; then :
13833 break
13835 done
13836 if ${ac_cv_search_clock_gettime+:} false; then :
13838 else
13839 ac_cv_search_clock_gettime=no
13841 rm conftest.$ac_ext
13842 LIBS=$ac_func_search_save_LIBS
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13845 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13846 ac_res=$ac_cv_search_clock_gettime
13847 if test "$ac_res" != no; then :
13848 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13850 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13852 test "$ac_res" = "none required" || LIBRT="$ac_res"
13856 LIBS=$ac_save_LIBS
13858 LDAPLIBS=""
13860 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13861 then
13862 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13864 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13866 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13867 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13868 $as_echo_n "(cached) " >&6
13869 else
13870 ac_check_lib_save_LIBS=$LIBS
13871 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13875 /* Override any GCC internal prototype to avoid an error.
13876 Use char because int might match the return type of a GCC
13877 builtin and then its argument prototype would still apply. */
13878 #ifdef __cplusplus
13879 extern "C"
13880 #endif
13881 char ldap_initialize ();
13883 main ()
13885 return ldap_initialize ();
13887 return 0;
13889 _ACEOF
13890 if ac_fn_c_try_link "$LINENO"; then :
13891 ac_cv_lib_ldap_r_ldap_initialize=yes
13892 else
13893 ac_cv_lib_ldap_r_ldap_initialize=no
13895 rm -f core conftest.err conftest.$ac_objext \
13896 conftest$ac_exeext conftest.$ac_ext
13897 LIBS=$ac_check_lib_save_LIBS
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13900 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13901 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13903 $as_echo_n "checking for ber_init in -llber... " >&6; }
13904 if ${ac_cv_lib_lber_ber_init+:} false; then :
13905 $as_echo_n "(cached) " >&6
13906 else
13907 ac_check_lib_save_LIBS=$LIBS
13908 LIBS="-llber $LIBPTHREAD $LIBS"
13909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13912 /* Override any GCC internal prototype to avoid an error.
13913 Use char because int might match the return type of a GCC
13914 builtin and then its argument prototype would still apply. */
13915 #ifdef __cplusplus
13916 extern "C"
13917 #endif
13918 char ber_init ();
13920 main ()
13922 return ber_init ();
13924 return 0;
13926 _ACEOF
13927 if ac_fn_c_try_link "$LINENO"; then :
13928 ac_cv_lib_lber_ber_init=yes
13929 else
13930 ac_cv_lib_lber_ber_init=no
13932 rm -f core conftest.err conftest.$ac_objext \
13933 conftest$ac_exeext conftest.$ac_ext
13934 LIBS=$ac_check_lib_save_LIBS
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13937 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13938 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13940 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13942 LDAPLIBS="-lldap_r -llber"
13949 ac_wine_check_funcs_save_LIBS="$LIBS"
13950 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13951 for ac_func in \
13952 ldap_count_references \
13953 ldap_first_reference \
13954 ldap_next_reference \
13955 ldap_parse_reference \
13956 ldap_parse_sort_control \
13957 ldap_parse_sortresponse_control \
13958 ldap_parse_vlv_control \
13959 ldap_parse_vlvresponse_control
13960 do :
13961 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13962 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13963 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13964 cat >>confdefs.h <<_ACEOF
13965 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13966 _ACEOF
13969 done
13971 LIBS="$ac_wine_check_funcs_save_LIBS"
13973 if test "x$LDAPLIBS" = "x"; then :
13974 case "x$with_ldap" in
13975 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13976 xno) ;;
13977 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13978 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13979 esac
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13983 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13984 if ${wine_cv_one_arg_mkdir+:} false; then :
13985 $as_echo_n "(cached) " >&6
13986 else
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 #include <sys/stat.h>
13991 main ()
13993 mkdir("foo");
13995 return 0;
13997 _ACEOF
13998 if ac_fn_c_try_compile "$LINENO"; then :
13999 wine_cv_one_arg_mkdir=yes
14000 else
14001 wine_cv_one_arg_mkdir=no
14003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14006 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14007 if test "$wine_cv_one_arg_mkdir" = "yes"
14008 then
14010 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14015 $as_echo_n "checking for sched_setaffinity... " >&6; }
14016 if ${wine_cv_have_sched_setaffinity+:} false; then :
14017 $as_echo_n "(cached) " >&6
14018 else
14019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14020 /* end confdefs.h. */
14021 #define _GNU_SOURCE
14022 #include <sched.h>
14024 main ()
14026 sched_setaffinity(0, 0, 0);
14028 return 0;
14030 _ACEOF
14031 if ac_fn_c_try_link "$LINENO"; then :
14032 wine_cv_have_sched_setaffinity=yes
14033 else
14034 wine_cv_have_sched_setaffinity=no
14036 rm -f core conftest.err conftest.$ac_objext \
14037 conftest$ac_exeext conftest.$ac_ext
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14040 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14041 if test "$wine_cv_have_sched_setaffinity" = "yes"
14042 then
14044 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14049 $as_echo_n "checking for fallocate... " >&6; }
14050 if ${wine_cv_have_fallocate+:} false; then :
14051 $as_echo_n "(cached) " >&6
14052 else
14053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h. */
14055 #define _GNU_SOURCE
14056 #include <fcntl.h>
14058 main ()
14060 fallocate(-1, 0, 0, 0);
14062 return 0;
14064 _ACEOF
14065 if ac_fn_c_try_link "$LINENO"; then :
14066 wine_cv_have_fallocate=yes
14067 else
14068 wine_cv_have_fallocate=no
14070 rm -f core conftest.err conftest.$ac_objext \
14071 conftest$ac_exeext conftest.$ac_ext
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14074 $as_echo "$wine_cv_have_fallocate" >&6; }
14075 if test "$wine_cv_have_fallocate" = "yes"
14076 then
14078 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14084 $as_echo_n "checking for inline... " >&6; }
14085 if ${ac_cv_c_inline+:} false; then :
14086 $as_echo_n "(cached) " >&6
14087 else
14088 ac_cv_c_inline=no
14089 for ac_kw in inline __inline__ __inline; do
14090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14092 #ifndef __cplusplus
14093 typedef int foo_t;
14094 static $ac_kw foo_t static_foo () {return 0; }
14095 $ac_kw foo_t foo () {return 0; }
14096 #endif
14098 _ACEOF
14099 if ac_fn_c_try_compile "$LINENO"; then :
14100 ac_cv_c_inline=$ac_kw
14102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14103 test "$ac_cv_c_inline" != no && break
14104 done
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14108 $as_echo "$ac_cv_c_inline" >&6; }
14110 case $ac_cv_c_inline in
14111 inline | yes) ;;
14113 case $ac_cv_c_inline in
14114 no) ac_val=;;
14115 *) ac_val=$ac_cv_c_inline;;
14116 esac
14117 cat >>confdefs.h <<_ACEOF
14118 #ifndef __cplusplus
14119 #define inline $ac_val
14120 #endif
14121 _ACEOF
14123 esac
14125 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14126 if test "x$ac_cv_type_mode_t" = xyes; then :
14128 cat >>confdefs.h <<_ACEOF
14129 #define HAVE_MODE_T 1
14130 _ACEOF
14134 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14135 if test "x$ac_cv_type_off_t" = xyes; then :
14137 cat >>confdefs.h <<_ACEOF
14138 #define HAVE_OFF_T 1
14139 _ACEOF
14143 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14144 if test "x$ac_cv_type_pid_t" = xyes; then :
14146 cat >>confdefs.h <<_ACEOF
14147 #define HAVE_PID_T 1
14148 _ACEOF
14152 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14153 if test "x$ac_cv_type_size_t" = xyes; then :
14155 cat >>confdefs.h <<_ACEOF
14156 #define HAVE_SIZE_T 1
14157 _ACEOF
14161 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14162 if test "x$ac_cv_type_ssize_t" = xyes; then :
14164 cat >>confdefs.h <<_ACEOF
14165 #define HAVE_SSIZE_T 1
14166 _ACEOF
14170 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14171 if test "x$ac_cv_type_long_long" = xyes; then :
14173 cat >>confdefs.h <<_ACEOF
14174 #define HAVE_LONG_LONG 1
14175 _ACEOF
14179 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14180 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
14182 cat >>confdefs.h <<_ACEOF
14183 #define HAVE_FSBLKCNT_T 1
14184 _ACEOF
14188 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14189 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
14191 cat >>confdefs.h <<_ACEOF
14192 #define HAVE_FSFILCNT_T 1
14193 _ACEOF
14198 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14199 #include <signal.h>
14201 if test "x$ac_cv_type_sigset_t" = xyes; then :
14203 cat >>confdefs.h <<_ACEOF
14204 #define HAVE_SIGSET_T 1
14205 _ACEOF
14210 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14212 if test "x$ac_cv_type_request_sense" = xyes; then :
14214 cat >>confdefs.h <<_ACEOF
14215 #define HAVE_REQUEST_SENSE 1
14216 _ACEOF
14222 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14223 #ifdef HAVE_SYS_SOCKET_H
14224 #include <sys/socket.h>
14225 #endif
14226 #ifdef HAVE_SYS_SOCKETVAR_H
14227 #include <sys/socketvar.h>
14228 #endif
14229 #ifdef HAVE_NET_ROUTE_H
14230 #include <net/route.h>
14231 #endif
14232 #ifdef HAVE_NETINET_IN_H
14233 #include <netinet/in.h>
14234 #endif
14235 #ifdef HAVE_NETINET_IN_SYSTM_H
14236 #include <netinet/in_systm.h>
14237 #endif
14238 #ifdef HAVE_NETINET_IP_H
14239 #include <netinet/ip.h>
14240 #endif
14241 #ifdef HAVE_NETINET_IN_PCB_H
14242 #include <netinet/in_pcb.h>
14243 #endif
14245 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
14247 cat >>confdefs.h <<_ACEOF
14248 #define HAVE_STRUCT_XINPGEN 1
14249 _ACEOF
14255 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14256 #include <linux/input.h>
14257 #endif
14259 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
14261 cat >>confdefs.h <<_ACEOF
14262 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14263 _ACEOF
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14270 $as_echo_n "checking for sigaddset... " >&6; }
14271 if ${wine_cv_have_sigaddset+:} false; then :
14272 $as_echo_n "(cached) " >&6
14273 else
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14276 #include <signal.h>
14278 main ()
14280 sigset_t set; sigaddset(&set,SIGTERM);
14282 return 0;
14284 _ACEOF
14285 if ac_fn_c_try_link "$LINENO"; then :
14286 wine_cv_have_sigaddset=yes
14287 else
14288 wine_cv_have_sigaddset=no
14290 rm -f core conftest.err conftest.$ac_objext \
14291 conftest$ac_exeext conftest.$ac_ext
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14294 $as_echo "$wine_cv_have_sigaddset" >&6; }
14295 if test "$wine_cv_have_sigaddset" = "yes"
14296 then
14298 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14304 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14305 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14306 $as_echo_n "(cached) " >&6
14307 else
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14310 #include <netdb.h>
14312 main ()
14315 char *name=0;
14316 struct hostent he;
14317 struct hostent *result;
14318 char *buf=0;
14319 int bufsize=0;
14320 int errnr;
14321 char *addr=0;
14322 int addrlen=0;
14323 int addrtype=0;
14324 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14325 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14328 return 0;
14330 _ACEOF
14331 if ac_fn_c_try_link "$LINENO"; then :
14332 wine_cv_linux_gethostbyname_r_6=yes
14333 else
14334 wine_cv_linux_gethostbyname_r_6=no
14337 rm -f core conftest.err conftest.$ac_objext \
14338 conftest$ac_exeext conftest.$ac_ext
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14342 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14343 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14344 then
14346 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14350 if test "$ac_cv_header_linux_joystick_h" = "yes"
14351 then
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14353 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14354 if ${wine_cv_linux_joystick_22_api+:} false; then :
14355 $as_echo_n "(cached) " >&6
14356 else
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14360 #include <sys/ioctl.h>
14361 #include <sys/types.h>
14362 #include <linux/joystick.h>
14364 struct js_event blub;
14365 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14366 #error "no 2.2 header"
14367 #endif
14370 main ()
14372 /*empty*/
14374 return 0;
14376 _ACEOF
14377 if ac_fn_c_try_compile "$LINENO"; then :
14378 wine_cv_linux_joystick_22_api=yes
14379 else
14380 wine_cv_linux_joystick_22_api=no
14382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14386 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14387 if test "$wine_cv_linux_joystick_22_api" = "yes"
14388 then
14390 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14396 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14397 #ifdef HAVE_SYS_PARAM_H
14398 # include <sys/param.h>
14399 #endif
14400 #ifdef HAVE_SYS_MOUNT_H
14401 # include <sys/mount.h>
14402 #endif
14403 #ifdef HAVE_SYS_VFS_H
14404 # include <sys/vfs.h>
14405 #endif
14406 #ifdef HAVE_SYS_STATFS_H
14407 # include <sys/statfs.h>
14408 #endif
14410 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
14412 cat >>confdefs.h <<_ACEOF
14413 #define HAVE_STRUCT_STATFS_F_BFREE 1
14414 _ACEOF
14418 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14419 #ifdef HAVE_SYS_PARAM_H
14420 # include <sys/param.h>
14421 #endif
14422 #ifdef HAVE_SYS_MOUNT_H
14423 # include <sys/mount.h>
14424 #endif
14425 #ifdef HAVE_SYS_VFS_H
14426 # include <sys/vfs.h>
14427 #endif
14428 #ifdef HAVE_SYS_STATFS_H
14429 # include <sys/statfs.h>
14430 #endif
14432 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
14434 cat >>confdefs.h <<_ACEOF
14435 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14436 _ACEOF
14440 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14441 #ifdef HAVE_SYS_PARAM_H
14442 # include <sys/param.h>
14443 #endif
14444 #ifdef HAVE_SYS_MOUNT_H
14445 # include <sys/mount.h>
14446 #endif
14447 #ifdef HAVE_SYS_VFS_H
14448 # include <sys/vfs.h>
14449 #endif
14450 #ifdef HAVE_SYS_STATFS_H
14451 # include <sys/statfs.h>
14452 #endif
14454 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
14456 cat >>confdefs.h <<_ACEOF
14457 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14458 _ACEOF
14462 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14463 #ifdef HAVE_SYS_PARAM_H
14464 # include <sys/param.h>
14465 #endif
14466 #ifdef HAVE_SYS_MOUNT_H
14467 # include <sys/mount.h>
14468 #endif
14469 #ifdef HAVE_SYS_VFS_H
14470 # include <sys/vfs.h>
14471 #endif
14472 #ifdef HAVE_SYS_STATFS_H
14473 # include <sys/statfs.h>
14474 #endif
14476 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
14478 cat >>confdefs.h <<_ACEOF
14479 #define HAVE_STRUCT_STATFS_F_FFREE 1
14480 _ACEOF
14484 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14485 #ifdef HAVE_SYS_PARAM_H
14486 # include <sys/param.h>
14487 #endif
14488 #ifdef HAVE_SYS_MOUNT_H
14489 # include <sys/mount.h>
14490 #endif
14491 #ifdef HAVE_SYS_VFS_H
14492 # include <sys/vfs.h>
14493 #endif
14494 #ifdef HAVE_SYS_STATFS_H
14495 # include <sys/statfs.h>
14496 #endif
14498 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
14500 cat >>confdefs.h <<_ACEOF
14501 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14502 _ACEOF
14506 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14507 #ifdef HAVE_SYS_PARAM_H
14508 # include <sys/param.h>
14509 #endif
14510 #ifdef HAVE_SYS_MOUNT_H
14511 # include <sys/mount.h>
14512 #endif
14513 #ifdef HAVE_SYS_VFS_H
14514 # include <sys/vfs.h>
14515 #endif
14516 #ifdef HAVE_SYS_STATFS_H
14517 # include <sys/statfs.h>
14518 #endif
14520 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
14522 cat >>confdefs.h <<_ACEOF
14523 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14524 _ACEOF
14530 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14531 #include <sys/statvfs.h>
14532 #endif
14534 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
14536 cat >>confdefs.h <<_ACEOF
14537 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14538 _ACEOF
14544 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14545 #include <dirent.h>
14546 #endif
14548 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
14550 cat >>confdefs.h <<_ACEOF
14551 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14552 _ACEOF
14558 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14559 #ifdef HAVE_SYS_SOCKET_H
14560 # include <sys/socket.h>
14561 #endif
14562 #ifdef HAVE_SYS_UN_H
14563 # include <sys/un.h>
14564 #endif
14566 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
14568 cat >>confdefs.h <<_ACEOF
14569 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14570 _ACEOF
14574 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14575 #ifdef HAVE_SYS_SOCKET_H
14576 # include <sys/socket.h>
14577 #endif
14578 #ifdef HAVE_SYS_UN_H
14579 # include <sys/un.h>
14580 #endif
14582 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14584 cat >>confdefs.h <<_ACEOF
14585 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14586 _ACEOF
14590 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14591 #ifdef HAVE_SYS_SOCKET_H
14592 # include <sys/socket.h>
14593 #endif
14594 #ifdef HAVE_SYS_UN_H
14595 # include <sys/un.h>
14596 #endif
14598 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14600 cat >>confdefs.h <<_ACEOF
14601 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14602 _ACEOF
14608 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14609 #ifdef HAVE_SCSI_SG_H
14610 #include <scsi/sg.h>
14611 #endif
14613 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14615 cat >>confdefs.h <<_ACEOF
14616 #define HAVE_SCSIREQ_T_CMD 1
14617 _ACEOF
14621 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>
14622 #ifdef HAVE_SCSI_SG_H
14623 #include <scsi/sg.h>
14624 #endif
14626 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14628 cat >>confdefs.h <<_ACEOF
14629 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14630 _ACEOF
14636 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14638 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14640 cat >>confdefs.h <<_ACEOF
14641 #define HAVE_SIGINFO_T_SI_FD 1
14642 _ACEOF
14648 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14649 #ifdef HAVE_SYS_MTIO_H
14650 #include <sys/mtio.h>
14651 #endif
14653 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14655 cat >>confdefs.h <<_ACEOF
14656 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14657 _ACEOF
14661 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14662 #ifdef HAVE_SYS_MTIO_H
14663 #include <sys/mtio.h>
14664 #endif
14666 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14668 cat >>confdefs.h <<_ACEOF
14669 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14670 _ACEOF
14674 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14675 #ifdef HAVE_SYS_MTIO_H
14676 #include <sys/mtio.h>
14677 #endif
14679 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14681 cat >>confdefs.h <<_ACEOF
14682 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14683 _ACEOF
14689 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14690 #include <getopt.h>
14691 #endif
14693 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14695 cat >>confdefs.h <<_ACEOF
14696 #define HAVE_STRUCT_OPTION_NAME 1
14697 _ACEOF
14703 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14704 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14706 cat >>confdefs.h <<_ACEOF
14707 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14708 _ACEOF
14712 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14713 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14715 cat >>confdefs.h <<_ACEOF
14716 #define HAVE_STRUCT_STAT_ST_MTIM 1
14717 _ACEOF
14721 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14722 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
14724 cat >>confdefs.h <<_ACEOF
14725 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14726 _ACEOF
14730 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14731 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14733 cat >>confdefs.h <<_ACEOF
14734 #define HAVE_STRUCT_STAT_ST_CTIM 1
14735 _ACEOF
14739 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14740 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
14742 cat >>confdefs.h <<_ACEOF
14743 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14744 _ACEOF
14748 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14749 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14751 cat >>confdefs.h <<_ACEOF
14752 #define HAVE_STRUCT_STAT_ST_ATIM 1
14753 _ACEOF
14757 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14758 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
14760 cat >>confdefs.h <<_ACEOF
14761 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14762 _ACEOF
14766 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14767 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
14769 cat >>confdefs.h <<_ACEOF
14770 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14771 _ACEOF
14775 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14776 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
14778 cat >>confdefs.h <<_ACEOF
14779 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14780 _ACEOF
14784 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14785 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
14787 cat >>confdefs.h <<_ACEOF
14788 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14789 _ACEOF
14793 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14794 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
14796 cat >>confdefs.h <<_ACEOF
14797 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14798 _ACEOF
14802 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14803 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
14805 cat >>confdefs.h <<_ACEOF
14806 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14807 _ACEOF
14813 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
14814 #include <sys/types.h>
14815 #endif
14816 #ifdef HAVE_NETINET_IN_H
14817 #include <netinet/in.h>
14818 #endif
14820 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14822 cat >>confdefs.h <<_ACEOF
14823 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14824 _ACEOF
14830 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14831 #include <sys/types.h>
14832 #endif
14833 #ifdef HAVE_NETINET_IN_H
14834 # include <netinet/in.h>
14835 #endif
14836 #ifdef HAVE_ARPA_NAMESER_H
14837 # include <arpa/nameser.h>
14838 #endif
14840 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14842 cat >>confdefs.h <<_ACEOF
14843 #define HAVE_NS_MSG__MSG_PTR 1
14844 _ACEOF
14850 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14851 #include <sys/types.h>
14852 #endif
14853 #ifdef HAVE_NETINET_IP_H
14854 #include <netinet/ip.h>
14855 #endif
14856 #ifdef HAVE_NETINET_IP_ICMP_H
14857 #include <netinet/ip_icmp.h>
14858 #endif
14859 #ifdef HAVE_NETINET_ICMP_VAR_H
14860 #include <netinet/icmp_var.h>
14861 #endif
14863 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
14865 cat >>confdefs.h <<_ACEOF
14866 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14867 _ACEOF
14873 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14874 #include <sys/types.h>
14875 #endif
14876 #ifdef HAVE_ALIAS_H
14877 #include <alias.h>
14878 #endif
14879 #ifdef HAVE_SYS_SOCKET_H
14880 #include <sys/socket.h>
14881 #endif
14882 #ifdef HAVE_SYS_SOCKETVAR_H
14883 #include <sys/socketvar.h>
14884 #endif
14885 #ifdef HAVE_SYS_TIMEOUT_H
14886 #include <sys/timeout.h>
14887 #endif
14888 #ifdef HAVE_NETINET_IN_H
14889 #include <netinet/in.h>
14890 #endif
14891 #ifdef HAVE_NETINET_IN_SYSTM_H
14892 #include <netinet/in_systm.h>
14893 #endif
14894 #ifdef HAVE_NETINET_IP_H
14895 #include <netinet/ip.h>
14896 #endif
14897 #ifdef HAVE_NETINET_IP_VAR_H
14898 #include <netinet/ip_var.h>
14899 #endif
14900 #ifdef HAVE_NETINET_IP_ICMP_H
14901 #include <netinet/ip_icmp.h>
14902 #endif
14903 #ifdef HAVE_NETINET_ICMP_VAR_H
14904 #include <netinet/icmp_var.h>
14905 #endif
14907 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14909 cat >>confdefs.h <<_ACEOF
14910 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14911 _ACEOF
14917 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14918 #include <sys/types.h>
14919 #endif
14920 #ifdef HAVE_SYS_SOCKETVAR_H
14921 #include <sys/socketvar.h>
14922 #endif
14923 #ifdef HAVE_NETINET_IN_H
14924 #include <netinet/in.h>
14925 #endif
14926 #ifdef HAVE_NETINET_IP_VAR_H
14927 #include <netinet/ip_var.h>
14928 #endif
14930 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
14932 cat >>confdefs.h <<_ACEOF
14933 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14934 _ACEOF
14940 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
14941 #include <netinet/ip_var.h>
14942 #endif
14944 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
14946 cat >>confdefs.h <<_ACEOF
14947 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14948 _ACEOF
14954 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14955 #include <sys/types.h>
14956 #endif
14957 #ifdef HAVE_SYS_SOCKETVAR_H
14958 #include <sys/socketvar.h>
14959 #endif
14960 #ifdef HAVE_NETINET_IN_H
14961 #include <netinet/in.h>
14962 #endif
14963 #ifdef HAVE_NETINET_TCP_H
14964 #include <netinet/tcp.h>
14965 #endif
14966 #ifdef HAVE_NETINET_TCP_VAR_H
14967 #include <netinet/tcp_var.h>
14968 #endif
14970 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
14972 cat >>confdefs.h <<_ACEOF
14973 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14974 _ACEOF
14980 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
14981 #include <netinet/tcp_var.h>
14982 #endif
14984 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
14986 cat >>confdefs.h <<_ACEOF
14987 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14988 _ACEOF
14994 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14995 #include <sys/types.h>
14996 #endif
14997 #ifdef HAVE_NETINET_IN_H
14998 #include <netinet/in.h>
14999 #endif
15000 #ifdef HAVE_NETINET_IP_VAR_H
15001 #include <netinet/ip_var.h>
15002 #endif
15003 #ifdef HAVE_NETINET_UDP_H
15004 #include <netinet/udp.h>
15005 #endif
15006 #ifdef HAVE_NETINET_UDP_VAR_H
15007 #include <netinet/udp_var.h>
15008 #endif
15010 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
15012 cat >>confdefs.h <<_ACEOF
15013 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15014 _ACEOF
15020 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15021 #include <sys/types.h>
15022 #endif
15023 #ifdef HAVE_NET_IF_H
15024 # include <net/if.h>
15025 #endif
15027 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
15029 cat >>confdefs.h <<_ACEOF
15030 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15031 _ACEOF
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15038 $as_echo_n "checking for timezone variable... " >&6; }
15039 if ${ac_cv_have_timezone+:} false; then :
15040 $as_echo_n "(cached) " >&6
15041 else
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15044 #include <time.h>
15046 main ()
15048 timezone = 1
15050 return 0;
15052 _ACEOF
15053 if ac_fn_c_try_link "$LINENO"; then :
15054 ac_cv_have_timezone="yes"
15055 else
15056 ac_cv_have_timezone="no"
15058 rm -f core conftest.err conftest.$ac_objext \
15059 conftest$ac_exeext conftest.$ac_ext
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15062 $as_echo "$ac_cv_have_timezone" >&6; }
15063 if test "$ac_cv_have_timezone" = "yes"
15064 then
15066 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15070 $as_echo_n "checking for daylight variable... " >&6; }
15071 if ${ac_cv_have_daylight+:} false; then :
15072 $as_echo_n "(cached) " >&6
15073 else
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15076 #include <time.h>
15078 main ()
15080 daylight = 1
15082 return 0;
15084 _ACEOF
15085 if ac_fn_c_try_link "$LINENO"; then :
15086 ac_cv_have_daylight="yes"
15087 else
15088 ac_cv_have_daylight="no"
15090 rm -f core conftest.err conftest.$ac_objext \
15091 conftest$ac_exeext conftest.$ac_ext
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15094 $as_echo "$ac_cv_have_daylight" >&6; }
15095 if test "$ac_cv_have_daylight" = "yes"
15096 then
15098 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15102 ac_save_LIBS="$LIBS"
15103 LIBS="$LIBS -lm"
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15105 $as_echo_n "checking for isinf... " >&6; }
15106 if ${ac_cv_have_isinf+:} false; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111 #include <math.h>
15113 main ()
15115 float f = 0.0; return isinf(f)
15117 return 0;
15119 _ACEOF
15120 if ac_fn_c_try_link "$LINENO"; then :
15121 ac_cv_have_isinf="yes"
15122 else
15123 ac_cv_have_isinf="no"
15125 rm -f core conftest.err conftest.$ac_objext \
15126 conftest$ac_exeext conftest.$ac_ext
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15129 $as_echo "$ac_cv_have_isinf" >&6; }
15130 if test "$ac_cv_have_isinf" = "yes"
15131 then
15133 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15138 $as_echo_n "checking for isnan... " >&6; }
15139 if ${ac_cv_have_isnan+:} false; then :
15140 $as_echo_n "(cached) " >&6
15141 else
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15144 #include <math.h>
15146 main ()
15148 float f = 0.0; return isnan(f)
15150 return 0;
15152 _ACEOF
15153 if ac_fn_c_try_link "$LINENO"; then :
15154 ac_cv_have_isnan="yes"
15155 else
15156 ac_cv_have_isnan="no"
15158 rm -f core conftest.err conftest.$ac_objext \
15159 conftest$ac_exeext conftest.$ac_ext
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15162 $as_echo "$ac_cv_have_isnan" >&6; }
15163 if test "$ac_cv_have_isnan" = "yes"
15164 then
15166 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15169 LIBS="$ac_save_LIBS"
15172 case $host_cpu in
15173 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15174 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15175 if ${ac_cv_cpp_def___i386__+:} false; then :
15176 $as_echo_n "(cached) " >&6
15177 else
15178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15180 #ifndef __i386__
15182 #endif
15183 _ACEOF
15184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15185 $EGREP "yes" >/dev/null 2>&1; then :
15186 ac_cv_cpp_def___i386__=yes
15187 else
15188 ac_cv_cpp_def___i386__=no
15190 rm -f conftest*
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15194 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15195 if test $ac_cv_cpp_def___i386__ = yes; then :
15196 CFLAGS="$CFLAGS -D__i386__"
15197 LINTFLAGS="$LINTFLAGS -D__i386__"
15198 fi ;;
15199 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15200 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15201 if ${ac_cv_cpp_def___x86_64__+:} false; then :
15202 $as_echo_n "(cached) " >&6
15203 else
15204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15205 /* end confdefs.h. */
15206 #ifndef __x86_64__
15208 #endif
15209 _ACEOF
15210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15211 $EGREP "yes" >/dev/null 2>&1; then :
15212 ac_cv_cpp_def___x86_64__=yes
15213 else
15214 ac_cv_cpp_def___x86_64__=no
15216 rm -f conftest*
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15220 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15221 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15222 CFLAGS="$CFLAGS -D__x86_64__"
15223 LINTFLAGS="$LINTFLAGS -D__x86_64__"
15224 fi ;;
15225 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15226 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15227 if ${ac_cv_cpp_def___sparc64__+:} false; then :
15228 $as_echo_n "(cached) " >&6
15229 else
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15232 #ifndef __sparc64__
15234 #endif
15235 _ACEOF
15236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15237 $EGREP "yes" >/dev/null 2>&1; then :
15238 ac_cv_cpp_def___sparc64__=yes
15239 else
15240 ac_cv_cpp_def___sparc64__=no
15242 rm -f conftest*
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15246 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15247 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15248 CFLAGS="$CFLAGS -D__sparc64__"
15249 LINTFLAGS="$LINTFLAGS -D__sparc64__"
15250 fi ;;
15251 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15252 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15253 if ${ac_cv_cpp_def___sparc__+:} false; then :
15254 $as_echo_n "(cached) " >&6
15255 else
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15258 #ifndef __sparc__
15260 #endif
15261 _ACEOF
15262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15263 $EGREP "yes" >/dev/null 2>&1; then :
15264 ac_cv_cpp_def___sparc__=yes
15265 else
15266 ac_cv_cpp_def___sparc__=no
15268 rm -f conftest*
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15272 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15273 if test $ac_cv_cpp_def___sparc__ = yes; then :
15274 CFLAGS="$CFLAGS -D__sparc__"
15275 LINTFLAGS="$LINTFLAGS -D__sparc__"
15276 fi ;;
15277 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15278 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15279 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15280 $as_echo_n "(cached) " >&6
15281 else
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15284 #ifndef __powerpc64__
15286 #endif
15287 _ACEOF
15288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15289 $EGREP "yes" >/dev/null 2>&1; then :
15290 ac_cv_cpp_def___powerpc64__=yes
15291 else
15292 ac_cv_cpp_def___powerpc64__=no
15294 rm -f conftest*
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15298 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15299 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15300 CFLAGS="$CFLAGS -D__powerpc64__"
15301 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15302 fi ;;
15303 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15304 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15305 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15306 $as_echo_n "(cached) " >&6
15307 else
15308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15310 #ifndef __powerpc__
15312 #endif
15313 _ACEOF
15314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15315 $EGREP "yes" >/dev/null 2>&1; then :
15316 ac_cv_cpp_def___powerpc__=yes
15317 else
15318 ac_cv_cpp_def___powerpc__=no
15320 rm -f conftest*
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15324 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15325 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15326 CFLAGS="$CFLAGS -D__powerpc__"
15327 LINTFLAGS="$LINTFLAGS -D__powerpc__"
15328 fi ;;
15329 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15330 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15331 if ${ac_cv_cpp_def___aarch64__+:} false; then :
15332 $as_echo_n "(cached) " >&6
15333 else
15334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15336 #ifndef __aarch64__
15338 #endif
15339 _ACEOF
15340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15341 $EGREP "yes" >/dev/null 2>&1; then :
15342 ac_cv_cpp_def___aarch64__=yes
15343 else
15344 ac_cv_cpp_def___aarch64__=no
15346 rm -f conftest*
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15350 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15351 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15352 CFLAGS="$CFLAGS -D__aarch64__"
15353 LINTFLAGS="$LINTFLAGS -D__aarch64__"
15354 fi ;;
15355 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15356 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15357 if ${ac_cv_cpp_def___arm__+:} false; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15362 #ifndef __arm__
15364 #endif
15365 _ACEOF
15366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15367 $EGREP "yes" >/dev/null 2>&1; then :
15368 ac_cv_cpp_def___arm__=yes
15369 else
15370 ac_cv_cpp_def___arm__=no
15372 rm -f conftest*
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15376 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15377 if test $ac_cv_cpp_def___arm__ = yes; then :
15378 CFLAGS="$CFLAGS -D__arm__"
15379 LINTFLAGS="$LINTFLAGS -D__arm__"
15380 fi ;;
15381 esac
15383 case $host_vendor in
15384 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15385 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15386 if ${ac_cv_cpp_def___sun__+:} false; then :
15387 $as_echo_n "(cached) " >&6
15388 else
15389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15391 #ifndef __sun__
15393 #endif
15394 _ACEOF
15395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15396 $EGREP "yes" >/dev/null 2>&1; then :
15397 ac_cv_cpp_def___sun__=yes
15398 else
15399 ac_cv_cpp_def___sun__=no
15401 rm -f conftest*
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15405 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15406 if test $ac_cv_cpp_def___sun__ = yes; then :
15407 CFLAGS="$CFLAGS -D__sun__"
15408 LINTFLAGS="$LINTFLAGS -D__sun__"
15409 fi ;;
15410 esac
15416 ac_config_commands="$ac_config_commands include/stamp-h"
15419 ALL_MAKEFILE_DEPENDS="
15420 # Rules automatically generated by configure
15422 .INIT: Makefile
15423 .MAKEFILEDEPS:
15424 all: Makefile
15425 Makefile: Makefile.in Make.vars.in Make.rules config.status
15426 @./config.status Make.tmp Makefile"
15428 ALL_POT_FILES=""
15429 ALL_TEST_RESOURCES=""
15432 wine_fn_append_file ()
15434 as_fn_append $1 " \\$as_nl $2"
15437 wine_fn_append_rule ()
15439 as_fn_append $1 "$as_nl$2"
15442 wine_fn_has_flag ()
15444 expr ",$2," : ".*,$1,.*" >/dev/null
15447 wine_fn_all_dir_rules ()
15449 ac_dir=$1
15450 ac_alldeps=$2
15451 ac_makedep="\$(MAKEDEP)"
15452 ac_input=Make.vars.in:$ac_dir/Makefile.in
15453 if test $ac_dir != tools
15454 then
15455 ac_alldeps="$2 $ac_makedep"
15456 else
15457 ac_alldeps="$2 include/config.h"
15459 case $2 in
15460 *.in) ac_input=$ac_input:$2 ;;
15461 *) ac_makedep="$2 $ac_makedep" ;;
15462 esac
15464 wine_fn_append_file ALL_DIRS $ac_dir
15465 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15466 "__clean__: $ac_dir/__clean__
15467 .PHONY: $ac_dir/__clean__
15468 $ac_dir/__clean__: $ac_dir/Makefile
15469 @cd $ac_dir && \$(MAKE) clean
15470 \$(RM) $ac_dir/Makefile
15471 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15472 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15473 depend: $ac_dir/__depend__
15474 .PHONY: $ac_dir/__depend__
15475 $ac_dir/__depend__: $ac_makedep dummy
15476 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15479 wine_fn_pot_rules ()
15481 ac_dir=$1
15482 ac_flags=$2
15484 test "x$with_gettextpo" = xyes || return
15486 if wine_fn_has_flag mc $ac_flags
15487 then
15488 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
15489 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15490 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15491 @cd $ac_dir && \$(MAKE) msg.pot
15492 $ac_dir/msg.pot: tools/wmc include"
15494 if wine_fn_has_flag po $ac_flags
15495 then
15496 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
15497 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15498 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15499 @cd $ac_dir && \$(MAKE) rsrc.pot
15500 $ac_dir/rsrc.pot: tools/wrc include"
15504 wine_fn_config_makefile ()
15506 ac_dir=$1
15507 ac_enable=$2
15508 ac_flags=$3
15509 ac_rules=$4
15510 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15511 return 0
15514 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
15515 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15516 "all: $ac_dir
15517 .PHONY: $ac_dir
15518 $ac_dir: $ac_dir/Makefile dummy
15519 @cd $ac_dir && \$(MAKE)"
15521 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
15523 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15524 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15525 $ac_dir/__install__:: $ac_dir
15526 @cd $ac_dir && \$(MAKE) install
15527 $ac_dir/__uninstall__:: $ac_dir/Makefile
15528 @cd $ac_dir && \$(MAKE) uninstall
15529 install:: $ac_dir/__install__
15530 __uninstall__: $ac_dir/__uninstall__"
15532 if wine_fn_has_flag install-lib $ac_flags
15533 then
15534 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15535 ".PHONY: $ac_dir/__install-lib__
15536 $ac_dir/__install-lib__:: $ac_dir
15537 @cd $ac_dir && \$(MAKE) install-lib
15538 install-lib:: $ac_dir/__install-lib__"
15541 if wine_fn_has_flag install-dev $ac_flags
15542 then
15543 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15544 ".PHONY: $ac_dir/__install-dev
15545 $ac_dir/__install-dev__:: $ac_dir
15546 @cd $ac_dir && \$(MAKE) install-dev
15547 install-dev:: $ac_dir/__install-dev__"
15551 wine_fn_config_lib ()
15553 ac_name=$1
15554 ac_flags=$2
15555 ac_dir=dlls/$ac_name
15556 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
15558 if wine_fn_has_flag install-dev $ac_flags
15559 then :
15560 else
15561 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15562 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15563 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15564 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15565 $ac_dir/__uninstall__::
15566 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15567 install install-dev:: $ac_dir/__install__
15568 __uninstall__: $ac_dir/__uninstall__"
15571 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
15572 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15575 wine_fn_config_dll ()
15577 ac_name=$1
15578 ac_dir=dlls/$ac_name
15579 ac_enable=$2
15580 ac_flags=$3
15581 ac_implib=${4:-$ac_name}
15582 ac_file=$ac_dir/lib$ac_implib
15583 ac_dll=$ac_name
15584 ac_deps="tools/widl tools/winebuild tools/winegcc include"
15585 ac_implibflags=""
15587 case $ac_name in
15588 *16) ac_implibflags=" -m16" ;;
15589 *.*) ;;
15590 *) ac_dll=$ac_dll.dll ;;
15591 esac
15593 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
15595 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15596 test "$ac_enable" != enable_win16 || return 0
15597 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
15598 else
15599 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15600 "$ac_dir: __builddeps__
15601 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15602 @cd $ac_dir && \$(MAKE) \$@"
15604 if wine_fn_has_flag install-lib $ac_flags
15605 then :
15606 else
15607 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15608 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15609 install install-lib:: $ac_dir/__install-lib__
15610 __uninstall__: $ac_dir/__uninstall__"
15611 if test -n "$DLLEXT"
15612 then
15613 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15614 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15615 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15616 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15617 $ac_dir/__uninstall__::
15618 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15619 else
15620 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15621 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15622 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15623 $ac_dir/__uninstall__::
15624 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15628 wine_fn_pot_rules $ac_dir $ac_flags
15631 if wine_fn_has_flag staticimplib $ac_flags
15632 then
15633 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15634 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15635 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15636 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15637 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15638 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15639 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15640 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15641 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15642 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15643 $ac_dir/__uninstall__::
15644 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15645 install install-dev:: $ac_dir/__install-dev__
15646 __uninstall__: $ac_dir/__uninstall__"
15648 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15649 then
15650 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15651 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15652 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15653 $ac_dir/__uninstall__::
15654 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15657 if test "x$CROSSTEST_DISABLE" = x
15658 then
15659 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15660 "__builddeps__: $ac_file.cross.a
15661 $ac_file.cross.a: $ac_dir/Makefile dummy
15662 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15665 elif wine_fn_has_flag implib $ac_flags
15666 then
15667 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15668 "__builddeps__: $ac_file.$IMPLIBEXT
15669 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15670 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15671 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15672 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15673 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15674 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15675 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15676 $ac_dir/__uninstall__::
15677 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15678 install install-dev:: $ac_dir/__install-dev__
15679 __uninstall__: $ac_dir/__uninstall__"
15680 if test "x$CROSSTEST_DISABLE" = x
15681 then
15682 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15683 "__builddeps__: $ac_file.cross.a
15684 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15685 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15688 if test "$ac_name" != "$ac_implib"
15689 then
15690 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15691 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15692 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15693 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15694 clean::
15695 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15696 if test "x$CROSSTEST_DISABLE" = x
15697 then
15698 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15699 "__builddeps__: dlls/lib$ac_implib.cross.a
15700 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15701 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15707 wine_fn_config_program ()
15709 ac_name=$1
15710 ac_dir=programs/$ac_name
15711 ac_enable=$2
15712 ac_flags=$3
15713 ac_program=$ac_name
15715 case $ac_name in
15716 *.*) ;;
15717 *) ac_program=$ac_program.exe ;;
15718 esac
15720 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
15722 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15724 else
15725 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15726 "$ac_dir: __builddeps__"
15728 wine_fn_pot_rules $ac_dir $ac_flags
15730 wine_fn_has_flag install $ac_flags || return
15731 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15732 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15733 install install-lib:: $ac_dir/__install__
15734 __uninstall__: $ac_dir/__uninstall__"
15736 if test -n "$DLLEXT"
15737 then
15738 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15739 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15740 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15741 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15742 $ac_dir/__uninstall__::
15743 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15745 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
15746 then
15747 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15748 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15749 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15750 $ac_dir/__uninstall__::
15751 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15753 else
15754 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15755 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15756 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15757 $ac_dir/__uninstall__::
15758 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15761 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
15762 then
15763 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15764 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15765 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15766 $ac_dir/__uninstall__::
15767 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15772 wine_fn_config_test ()
15774 ac_dir=$1
15775 ac_name=$2
15776 ac_flags=$3
15777 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
15778 wine_fn_all_dir_rules $ac_dir Maketest.rules
15780 if test "x$enable_tests" = xno; then :
15782 else
15783 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15784 "all: $ac_dir
15785 .PHONY: $ac_dir
15786 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15787 @cd $ac_dir && \$(MAKE)
15788 programs/winetest: $ac_dir
15789 check test: $ac_dir/__test__
15790 .PHONY: $ac_dir/__test__
15791 $ac_dir/__test__: dummy
15792 @cd $ac_dir && \$(MAKE) test
15793 testclean::
15794 \$(RM) $ac_dir/*.ok"
15796 if test "x$CROSSTEST_DISABLE" = x
15797 then
15798 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15799 "crosstest: $ac_dir/__crosstest__
15800 .PHONY: $ac_dir/__crosstest__
15801 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15802 @cd $ac_dir && \$(MAKE) crosstest"
15807 wine_fn_config_tool ()
15809 ac_dir=$1
15810 ac_flags=$2
15811 if test "x$enable_tools" = xno; then :
15812 return 0
15815 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
15817 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
15818 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
15819 case $ac_dir in
15820 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
15821 esac
15824 wine_fn_config_makerules ()
15826 ac_rules=$1
15827 ac_deps=$2
15828 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15829 "$ac_rules: $ac_rules.in $ac_deps config.status
15830 @./config.status $ac_rules
15831 distclean::
15832 \$(RM) $ac_rules"
15835 wine_fn_config_symlink ()
15837 ac_link=$1
15838 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15839 "$ac_link:
15840 @./config.status $ac_link
15841 distclean::
15842 \$(RM) $ac_link"
15845 if test "x$CROSSTEST_DISABLE" != x
15846 then
15847 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15848 "crosstest:
15849 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15851 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15852 wine_fn_config_symlink dlls/shell32/AUTHORS
15853 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15854 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
15855 if test "x$enable_fonts" != xno; then
15856 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15857 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
15859 if test "x$enable_fonts" != xno; then
15860 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15861 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
15863 if test "x$enable_fonts" != xno; then
15864 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15865 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
15867 if test "x$enable_fonts" != xno; then
15868 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15869 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
15871 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
15872 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
15873 if test "x$enable_tools" != xno; then
15874 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15875 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
15877 ac_config_links="$ac_config_links wine:tools/winewrapper"
15878 wine_fn_config_symlink wine
15879 if test "x$enable_win64" != xno; then
15880 ac_config_links="$ac_config_links wine64:tools/winewrapper"
15881 wine_fn_config_symlink wine64
15884 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
15886 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
15888 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
15890 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
15892 ac_config_commands="$ac_config_commands dlls/user32/resources"
15894 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
15896 ac_config_commands="$ac_config_commands include/wine"
15899 wine_fn_config_makerules Make.rules
15900 MAKE_RULES=Make.rules
15901 ac_config_files="$ac_config_files Make.rules"
15903 wine_fn_config_makerules Maketest.rules Make.rules
15904 MAKE_TEST_RULES=Maketest.rules
15905 ac_config_files="$ac_config_files Maketest.rules"
15907 wine_fn_config_makerules dlls/Makedll.rules Make.rules
15908 MAKE_DLL_RULES=dlls/Makedll.rules
15909 ac_config_files="$ac_config_files dlls/Makedll.rules"
15911 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
15912 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
15913 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
15915 wine_fn_config_makerules programs/Makeprog.rules Make.rules
15916 MAKE_PROG_RULES=programs/Makeprog.rules
15917 ac_config_files="$ac_config_files programs/Makeprog.rules"
15920 wine_fn_config_dll acledit enable_acledit
15921 wine_fn_config_dll aclui enable_aclui implib
15922 wine_fn_config_dll activeds enable_activeds implib
15923 wine_fn_config_dll actxprxy enable_actxprxy
15924 wine_fn_config_lib adsiid
15925 wine_fn_config_dll advapi32 enable_advapi32 implib
15926 wine_fn_config_test dlls/advapi32/tests advapi32_test
15927 wine_fn_config_dll advpack enable_advpack implib
15928 wine_fn_config_test dlls/advpack/tests advpack_test
15929 wine_fn_config_dll amstream enable_amstream
15930 wine_fn_config_test dlls/amstream/tests amstream_test
15931 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
15932 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
15933 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15934 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15935 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15936 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15937 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15938 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15939 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15940 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15941 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15942 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15943 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15944 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15945 wine_fn_config_dll apphelp enable_apphelp
15946 wine_fn_config_test dlls/apphelp/tests apphelp_test
15947 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15948 wine_fn_config_dll atl enable_atl implib
15949 wine_fn_config_test dlls/atl/tests atl_test
15950 wine_fn_config_dll atl100 enable_atl100 implib
15951 wine_fn_config_test dlls/atl100/tests atl100_test
15952 wine_fn_config_dll atl80 enable_atl80 implib
15953 wine_fn_config_test dlls/atl80/tests atl80_test
15954 wine_fn_config_dll authz enable_authz
15955 wine_fn_config_dll avicap32 enable_avicap32 implib
15956 wine_fn_config_dll avifil32 enable_avifil32 implib,po
15957 wine_fn_config_test dlls/avifil32/tests avifil32_test
15958 wine_fn_config_dll avifile.dll16 enable_win16
15959 wine_fn_config_dll avrt enable_avrt implib
15960 wine_fn_config_dll bcrypt enable_bcrypt
15961 wine_fn_config_dll browseui enable_browseui po
15962 wine_fn_config_test dlls/browseui/tests browseui_test
15963 wine_fn_config_dll cabinet enable_cabinet implib
15964 wine_fn_config_test dlls/cabinet/tests cabinet_test
15965 wine_fn_config_dll capi2032 enable_capi2032 implib
15966 wine_fn_config_dll cards enable_cards implib
15967 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15968 wine_fn_config_dll clusapi enable_clusapi implib
15969 wine_fn_config_dll comcat enable_comcat
15970 wine_fn_config_test dlls/comcat/tests comcat_test
15971 wine_fn_config_dll comctl32 enable_comctl32 implib,po
15972 wine_fn_config_test dlls/comctl32/tests comctl32_test
15973 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
15974 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
15975 wine_fn_config_dll comm.drv16 enable_win16
15976 wine_fn_config_dll commdlg.dll16 enable_win16
15977 wine_fn_config_dll compobj.dll16 enable_win16
15978 wine_fn_config_dll compstui enable_compstui implib
15979 wine_fn_config_dll credui enable_credui implib,po
15980 wine_fn_config_test dlls/credui/tests credui_test
15981 wine_fn_config_dll crtdll enable_crtdll implib
15982 wine_fn_config_dll crypt32 enable_crypt32 implib,po
15983 wine_fn_config_test dlls/crypt32/tests crypt32_test
15984 wine_fn_config_dll cryptdlg enable_cryptdlg po
15985 wine_fn_config_dll cryptdll enable_cryptdll implib
15986 wine_fn_config_dll cryptnet enable_cryptnet implib
15987 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
15988 wine_fn_config_dll cryptui enable_cryptui implib,po
15989 wine_fn_config_test dlls/cryptui/tests cryptui_test
15990 wine_fn_config_dll ctapi32 enable_ctapi32
15991 wine_fn_config_dll ctl3d.dll16 enable_win16
15992 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15993 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15994 wine_fn_config_dll d3d10 enable_d3d10 implib
15995 wine_fn_config_test dlls/d3d10/tests d3d10_test
15996 wine_fn_config_dll d3d10core enable_d3d10core implib
15997 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
15998 wine_fn_config_dll d3d11 enable_d3d11
15999 wine_fn_config_dll d3d8 enable_d3d8 implib
16000 wine_fn_config_test dlls/d3d8/tests d3d8_test
16001 wine_fn_config_dll d3d9 enable_d3d9 implib
16002 wine_fn_config_test dlls/d3d9/tests d3d9_test
16003 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16004 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16005 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16006 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16007 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16008 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16009 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16010 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16011 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16012 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16013 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16014 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16015 wine_fn_config_dll d3dim enable_d3dim implib
16016 wine_fn_config_dll d3drm enable_d3drm implib
16017 wine_fn_config_test dlls/d3drm/tests d3drm_test
16018 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16019 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16020 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16021 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16022 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16023 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16024 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16025 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16026 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16027 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16028 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16029 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16030 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16031 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16032 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16033 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16034 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16035 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16036 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16037 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16038 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16039 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16040 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16041 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16042 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16043 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16044 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16045 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16046 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16047 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16048 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16049 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16050 wine_fn_config_dll d3dxof enable_d3dxof implib
16051 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16052 wine_fn_config_dll dbgeng enable_dbgeng implib
16053 wine_fn_config_dll dbghelp enable_dbghelp implib
16054 wine_fn_config_dll dciman32 enable_dciman32 implib
16055 wine_fn_config_dll ddeml.dll16 enable_win16
16056 wine_fn_config_dll ddraw enable_ddraw implib
16057 wine_fn_config_test dlls/ddraw/tests ddraw_test
16058 wine_fn_config_dll ddrawex enable_ddrawex
16059 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16060 wine_fn_config_dll devenum enable_devenum po
16061 wine_fn_config_test dlls/devenum/tests devenum_test
16062 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16063 wine_fn_config_dll difxapi enable_difxapi
16064 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
16065 wine_fn_config_test dlls/dinput/tests dinput_test
16066 wine_fn_config_dll dinput8 enable_dinput8 implib
16067 wine_fn_config_test dlls/dinput8/tests dinput8_test
16068 wine_fn_config_dll dispdib.dll16 enable_win16
16069 wine_fn_config_dll dispex enable_dispex
16070 wine_fn_config_test dlls/dispex/tests dispex_test
16071 wine_fn_config_dll display.drv16 enable_win16
16072 wine_fn_config_dll dmband enable_dmband
16073 wine_fn_config_test dlls/dmband/tests dmband_test
16074 wine_fn_config_dll dmcompos enable_dmcompos
16075 wine_fn_config_dll dmime enable_dmime
16076 wine_fn_config_test dlls/dmime/tests dmime_test
16077 wine_fn_config_dll dmloader enable_dmloader
16078 wine_fn_config_test dlls/dmloader/tests dmloader_test
16079 wine_fn_config_dll dmscript enable_dmscript
16080 wine_fn_config_dll dmstyle enable_dmstyle
16081 wine_fn_config_dll dmsynth enable_dmsynth
16082 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16083 wine_fn_config_dll dmusic enable_dmusic
16084 wine_fn_config_test dlls/dmusic/tests dmusic_test
16085 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16086 wine_fn_config_dll dnsapi enable_dnsapi implib
16087 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16088 wine_fn_config_dll dplay enable_dplay implib
16089 wine_fn_config_dll dplayx enable_dplayx implib
16090 wine_fn_config_test dlls/dplayx/tests dplayx_test
16091 wine_fn_config_dll dpnaddr enable_dpnaddr
16092 wine_fn_config_dll dpnet enable_dpnet implib
16093 wine_fn_config_test dlls/dpnet/tests dpnet_test
16094 wine_fn_config_dll dpnhpast enable_dpnhpast
16095 wine_fn_config_dll dpnlobby enable_dpnlobby
16096 wine_fn_config_dll dpwsockx enable_dpwsockx
16097 wine_fn_config_dll drmclien enable_drmclien
16098 wine_fn_config_dll dsound enable_dsound implib
16099 wine_fn_config_test dlls/dsound/tests dsound_test
16100 wine_fn_config_dll dssenh enable_dssenh
16101 wine_fn_config_test dlls/dssenh/tests dssenh_test
16102 wine_fn_config_dll dswave enable_dswave
16103 wine_fn_config_dll dwmapi enable_dwmapi implib
16104 wine_fn_config_dll dwrite enable_dwrite implib
16105 wine_fn_config_test dlls/dwrite/tests dwrite_test
16106 wine_fn_config_dll dxdiagn enable_dxdiagn po
16107 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16108 wine_fn_config_lib dxerr8
16109 wine_fn_config_lib dxerr9
16110 wine_fn_config_dll dxgi enable_dxgi implib
16111 wine_fn_config_test dlls/dxgi/tests dxgi_test
16112 wine_fn_config_lib dxguid
16113 wine_fn_config_dll explorerframe enable_explorerframe
16114 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16115 wine_fn_config_dll faultrep enable_faultrep implib
16116 wine_fn_config_test dlls/faultrep/tests faultrep_test
16117 wine_fn_config_dll fltlib enable_fltlib
16118 wine_fn_config_dll fusion enable_fusion
16119 wine_fn_config_test dlls/fusion/tests fusion_test
16120 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16121 wine_fn_config_dll gameux enable_gameux
16122 wine_fn_config_test dlls/gameux/tests gameux_test
16123 wine_fn_config_dll gdi.exe16 enable_win16
16124 wine_fn_config_dll gdi32 enable_gdi32 implib,po
16125 wine_fn_config_test dlls/gdi32/tests gdi32_test
16126 wine_fn_config_dll gdiplus enable_gdiplus implib
16127 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16128 wine_fn_config_dll glu32 enable_glu32 implib
16129 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16130 wine_fn_config_dll gpkcsp enable_gpkcsp
16131 wine_fn_config_dll hal enable_hal
16132 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib,po htmlhelp
16133 wine_fn_config_dll hid enable_hid implib
16134 wine_fn_config_dll hlink enable_hlink implib
16135 wine_fn_config_test dlls/hlink/tests hlink_test
16136 wine_fn_config_dll hnetcfg enable_hnetcfg
16137 wine_fn_config_dll httpapi enable_httpapi
16138 wine_fn_config_dll iccvid enable_iccvid po
16139 wine_fn_config_dll icmp enable_icmp
16140 wine_fn_config_dll ieframe enable_ieframe implib,po
16141 wine_fn_config_test dlls/ieframe/tests ieframe_test
16142 wine_fn_config_dll ifsmgr.vxd enable_win16
16143 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16144 wine_fn_config_dll imagehlp enable_imagehlp implib
16145 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16146 wine_fn_config_dll imm.dll16 enable_win16
16147 wine_fn_config_dll imm32 enable_imm32 implib
16148 wine_fn_config_test dlls/imm32/tests imm32_test
16149 wine_fn_config_dll inetcomm enable_inetcomm implib
16150 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16151 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16152 wine_fn_config_dll inetmib1 enable_inetmib1
16153 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16154 wine_fn_config_dll infosoft enable_infosoft
16155 wine_fn_config_test dlls/infosoft/tests infosoft_test
16156 wine_fn_config_dll initpki enable_initpki
16157 wine_fn_config_dll inkobj enable_inkobj
16158 wine_fn_config_dll inseng enable_inseng
16159 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16160 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16161 wine_fn_config_dll itircl enable_itircl
16162 wine_fn_config_dll itss enable_itss
16163 wine_fn_config_test dlls/itss/tests itss_test
16164 wine_fn_config_dll joy.cpl enable_joy_cpl po
16165 wine_fn_config_dll jscript enable_jscript po
16166 wine_fn_config_test dlls/jscript/tests jscript_test
16167 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
16168 wine_fn_config_test dlls/kernel32/tests kernel32_test
16169 wine_fn_config_dll keyboard.drv16 enable_win16
16170 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16171 wine_fn_config_dll ktmw32 enable_ktmw32
16172 wine_fn_config_dll loadperf enable_loadperf implib
16173 wine_fn_config_dll localspl enable_localspl po
16174 wine_fn_config_test dlls/localspl/tests localspl_test
16175 wine_fn_config_dll localui enable_localui po
16176 wine_fn_config_test dlls/localui/tests localui_test
16177 wine_fn_config_dll lz32 enable_lz32 implib
16178 wine_fn_config_test dlls/lz32/tests lz32_test
16179 wine_fn_config_dll lzexpand.dll16 enable_win16
16180 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16181 wine_fn_config_test dlls/mapi32/tests mapi32_test
16182 wine_fn_config_dll mapistub enable_mapistub
16183 wine_fn_config_dll mciavi32 enable_mciavi32
16184 wine_fn_config_dll mcicda enable_mcicda
16185 wine_fn_config_dll mciqtz32 enable_mciqtz32
16186 wine_fn_config_dll mciseq enable_mciseq
16187 wine_fn_config_dll mciwave enable_mciwave
16188 wine_fn_config_dll mgmtapi enable_mgmtapi
16189 wine_fn_config_dll midimap enable_midimap
16190 wine_fn_config_dll mlang enable_mlang implib
16191 wine_fn_config_test dlls/mlang/tests mlang_test
16192 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16193 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16194 wine_fn_config_dll mmdevapi enable_mmdevapi
16195 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16196 wine_fn_config_dll mmdevldr.vxd enable_win16
16197 wine_fn_config_dll mmsystem.dll16 enable_win16
16198 wine_fn_config_dll monodebg.vxd enable_win16
16199 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16200 wine_fn_config_dll mouse.drv16 enable_win16
16201 wine_fn_config_dll mpr enable_mpr implib,po
16202 wine_fn_config_test dlls/mpr/tests mpr_test
16203 wine_fn_config_dll mprapi enable_mprapi implib
16204 wine_fn_config_dll msacm.dll16 enable_win16
16205 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16206 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16207 wine_fn_config_test dlls/msacm32/tests msacm32_test
16208 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16209 wine_fn_config_dll mscat32 enable_mscat32
16210 wine_fn_config_dll mscms enable_mscms implib
16211 wine_fn_config_test dlls/mscms/tests mscms_test
16212 wine_fn_config_dll mscoree enable_mscoree
16213 wine_fn_config_test dlls/mscoree/tests mscoree_test
16214 wine_fn_config_dll msctf enable_msctf
16215 wine_fn_config_test dlls/msctf/tests msctf_test
16216 wine_fn_config_dll msdaps enable_msdaps
16217 wine_fn_config_dll msdmo enable_msdmo implib
16218 wine_fn_config_dll msftedit enable_msftedit
16219 wine_fn_config_dll msg711.acm enable_msg711_acm
16220 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16221 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16222 wine_fn_config_dll mshtml enable_mshtml implib,po
16223 wine_fn_config_test dlls/mshtml/tests mshtml_test
16224 wine_fn_config_dll msi enable_msi implib,po
16225 wine_fn_config_test dlls/msi/tests msi_test
16226 wine_fn_config_dll msident enable_msident
16227 wine_fn_config_dll msimg32 enable_msimg32 implib
16228 wine_fn_config_dll msimsg enable_msimsg
16229 wine_fn_config_dll msimtf enable_msimtf
16230 wine_fn_config_dll msisip enable_msisip
16231 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16232 wine_fn_config_dll msls31 enable_msls31
16233 wine_fn_config_dll msnet32 enable_msnet32
16234 wine_fn_config_dll mspatcha enable_mspatcha
16235 wine_fn_config_dll msrle32 enable_msrle32 po
16236 wine_fn_config_dll mssign32 enable_mssign32
16237 wine_fn_config_dll mssip32 enable_mssip32
16238 wine_fn_config_dll mstask enable_mstask
16239 wine_fn_config_test dlls/mstask/tests mstask_test
16240 wine_fn_config_dll msvcirt enable_msvcirt
16241 wine_fn_config_dll msvcm80 enable_msvcm80
16242 wine_fn_config_dll msvcm90 enable_msvcm90
16243 wine_fn_config_dll msvcp100 enable_msvcp100
16244 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16245 wine_fn_config_dll msvcp110 enable_msvcp110
16246 wine_fn_config_dll msvcp60 enable_msvcp60
16247 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16248 wine_fn_config_dll msvcp70 enable_msvcp70
16249 wine_fn_config_dll msvcp71 enable_msvcp71
16250 wine_fn_config_dll msvcp80 enable_msvcp80
16251 wine_fn_config_dll msvcp90 enable_msvcp90
16252 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16253 wine_fn_config_dll msvcr100 enable_msvcr100
16254 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16255 wine_fn_config_dll msvcr110 enable_msvcr110
16256 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16257 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16258 wine_fn_config_dll msvcr80 enable_msvcr80
16259 wine_fn_config_dll msvcr90 enable_msvcr90
16260 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16261 wine_fn_config_dll msvcrt enable_msvcrt implib
16262 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16263 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16264 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16265 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16266 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16267 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16268 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16269 wine_fn_config_dll msvidc32 enable_msvidc32 po
16270 wine_fn_config_dll msvideo.dll16 enable_win16
16271 wine_fn_config_dll mswsock enable_mswsock implib
16272 wine_fn_config_dll msxml enable_msxml
16273 wine_fn_config_dll msxml2 enable_msxml2
16274 wine_fn_config_dll msxml3 enable_msxml3
16275 wine_fn_config_test dlls/msxml3/tests msxml3_test
16276 wine_fn_config_dll msxml4 enable_msxml4
16277 wine_fn_config_dll msxml6 enable_msxml6
16278 wine_fn_config_dll nddeapi enable_nddeapi implib
16279 wine_fn_config_dll netapi32 enable_netapi32 implib
16280 wine_fn_config_test dlls/netapi32/tests netapi32_test
16281 wine_fn_config_dll newdev enable_newdev implib
16282 wine_fn_config_dll normaliz enable_normaliz implib
16283 wine_fn_config_dll npmshtml enable_npmshtml
16284 wine_fn_config_dll ntdll enable_ntdll implib
16285 wine_fn_config_test dlls/ntdll/tests ntdll_test
16286 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16287 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
16288 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16289 wine_fn_config_dll ntprint enable_ntprint
16290 wine_fn_config_test dlls/ntprint/tests ntprint_test
16291 wine_fn_config_dll objsel enable_objsel
16292 wine_fn_config_dll odbc32 enable_odbc32 implib
16293 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16294 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
16295 wine_fn_config_dll odbccu32 enable_odbccu32
16296 wine_fn_config_dll ole2.dll16 enable_win16
16297 wine_fn_config_dll ole2conv.dll16 enable_win16
16298 wine_fn_config_dll ole2disp.dll16 enable_win16
16299 wine_fn_config_dll ole2nls.dll16 enable_win16
16300 wine_fn_config_dll ole2prox.dll16 enable_win16
16301 wine_fn_config_dll ole2thk.dll16 enable_win16
16302 wine_fn_config_dll ole32 enable_ole32 implib
16303 wine_fn_config_test dlls/ole32/tests ole32_test
16304 wine_fn_config_dll oleacc enable_oleacc implib,po
16305 wine_fn_config_test dlls/oleacc/tests oleacc_test
16306 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
16307 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
16308 wine_fn_config_dll olecli.dll16 enable_win16
16309 wine_fn_config_dll olecli32 enable_olecli32 implib
16310 wine_fn_config_dll oledb32 enable_oledb32
16311 wine_fn_config_test dlls/oledb32/tests oledb32_test
16312 wine_fn_config_dll oledlg enable_oledlg implib,po
16313 wine_fn_config_dll olepro32 enable_olepro32 implib
16314 wine_fn_config_dll olesvr.dll16 enable_win16
16315 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16316 wine_fn_config_dll olethk32 enable_olethk32
16317 wine_fn_config_dll openal32 enable_openal32
16318 wine_fn_config_dll opencl enable_opencl
16319 wine_fn_config_dll opengl32 enable_opengl32 implib
16320 wine_fn_config_test dlls/opengl32/tests opengl32_test
16321 wine_fn_config_dll pdh enable_pdh implib
16322 wine_fn_config_test dlls/pdh/tests pdh_test
16323 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16324 wine_fn_config_dll pidgen enable_pidgen
16325 wine_fn_config_dll powrprof enable_powrprof implib
16326 wine_fn_config_dll printui enable_printui
16327 wine_fn_config_dll propsys enable_propsys implib
16328 wine_fn_config_test dlls/propsys/tests propsys_test
16329 wine_fn_config_dll psapi enable_psapi implib
16330 wine_fn_config_test dlls/psapi/tests psapi_test
16331 wine_fn_config_dll pstorec enable_pstorec
16332 wine_fn_config_dll qcap enable_qcap
16333 wine_fn_config_test dlls/qcap/tests qcap_test
16334 wine_fn_config_dll qedit enable_qedit
16335 wine_fn_config_test dlls/qedit/tests qedit_test
16336 wine_fn_config_dll qmgr enable_qmgr
16337 wine_fn_config_test dlls/qmgr/tests qmgr_test
16338 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16339 wine_fn_config_dll quartz enable_quartz implib
16340 wine_fn_config_test dlls/quartz/tests quartz_test
16341 wine_fn_config_dll query enable_query
16342 wine_fn_config_dll rasapi16.dll16 enable_win16
16343 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16344 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
16345 wine_fn_config_dll rasdlg enable_rasdlg implib
16346 wine_fn_config_dll regapi enable_regapi
16347 wine_fn_config_dll resutils enable_resutils implib
16348 wine_fn_config_dll riched20 enable_riched20 implib
16349 wine_fn_config_test dlls/riched20/tests riched20_test
16350 wine_fn_config_dll riched32 enable_riched32
16351 wine_fn_config_test dlls/riched32/tests riched32_test
16352 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16353 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
16354 wine_fn_config_dll rsabase enable_rsabase
16355 wine_fn_config_dll rsaenh enable_rsaenh implib
16356 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
16357 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16358 wine_fn_config_dll rtutils enable_rtutils implib
16359 wine_fn_config_dll samlib enable_samlib
16360 wine_fn_config_dll sane.ds enable_sane_ds po
16361 wine_fn_config_dll scarddlg enable_scarddlg
16362 wine_fn_config_dll sccbase enable_sccbase
16363 wine_fn_config_dll schannel enable_schannel
16364 wine_fn_config_test dlls/schannel/tests schannel_test
16365 wine_fn_config_dll scrrun enable_scrrun
16366 wine_fn_config_test dlls/scrrun/tests scrrun_test
16367 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16368 wine_fn_config_dll secur32 enable_secur32 implib
16369 wine_fn_config_test dlls/secur32/tests secur32_test
16370 wine_fn_config_dll security enable_security
16371 wine_fn_config_dll sensapi enable_sensapi implib
16372 wine_fn_config_dll serialui enable_serialui implib,po
16373 wine_fn_config_test dlls/serialui/tests serialui_test
16374 wine_fn_config_dll setupapi enable_setupapi implib,po
16375 wine_fn_config_test dlls/setupapi/tests setupapi_test
16376 wine_fn_config_dll setupx.dll16 enable_win16
16377 wine_fn_config_dll sfc enable_sfc implib
16378 wine_fn_config_dll sfc_os enable_sfc_os implib
16379 wine_fn_config_dll shdoclc enable_shdoclc po
16380 wine_fn_config_dll shdocvw enable_shdocvw implib
16381 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
16382 wine_fn_config_dll shell.dll16 enable_win16
16383 wine_fn_config_dll shell32 enable_shell32 implib,po
16384 wine_fn_config_test dlls/shell32/tests shell32_test
16385 wine_fn_config_dll shfolder enable_shfolder implib
16386 wine_fn_config_dll shlwapi enable_shlwapi implib,po
16387 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
16388 wine_fn_config_dll slbcsp enable_slbcsp
16389 wine_fn_config_dll slc enable_slc implib
16390 wine_fn_config_dll snmpapi enable_snmpapi implib
16391 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
16392 wine_fn_config_dll softpub enable_softpub
16393 wine_fn_config_dll sound.drv16 enable_win16
16394 wine_fn_config_dll spoolss enable_spoolss implib
16395 wine_fn_config_test dlls/spoolss/tests spoolss_test
16396 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16397 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16398 wine_fn_config_dll sti enable_sti implib
16399 wine_fn_config_test dlls/sti/tests sti_test
16400 wine_fn_config_dll storage.dll16 enable_win16
16401 wine_fn_config_dll stress.dll16 enable_win16
16402 wine_fn_config_lib strmbase
16403 wine_fn_config_lib strmiids
16404 wine_fn_config_dll svrapi enable_svrapi
16405 wine_fn_config_dll sxs enable_sxs implib
16406 wine_fn_config_test dlls/sxs/tests sxs_test
16407 wine_fn_config_dll system.drv16 enable_win16
16408 wine_fn_config_dll t2embed enable_t2embed
16409 wine_fn_config_dll tapi32 enable_tapi32 implib
16410 wine_fn_config_dll toolhelp.dll16 enable_win16
16411 wine_fn_config_dll traffic enable_traffic
16412 wine_fn_config_dll twain.dll16 enable_win16
16413 wine_fn_config_dll twain_32 enable_twain_32
16414 wine_fn_config_test dlls/twain_32/tests twain_32_test
16415 wine_fn_config_dll typelib.dll16 enable_win16
16416 wine_fn_config_dll unicows enable_unicows implib
16417 wine_fn_config_dll updspapi enable_updspapi
16418 wine_fn_config_dll url enable_url implib
16419 wine_fn_config_dll urlmon enable_urlmon implib,po
16420 wine_fn_config_test dlls/urlmon/tests urlmon_test
16421 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16422 wine_fn_config_dll user.exe16 enable_win16
16423 wine_fn_config_dll user32 enable_user32 implib,po
16424 wine_fn_config_test dlls/user32/tests user32_test
16425 wine_fn_config_dll userenv enable_userenv implib
16426 wine_fn_config_test dlls/userenv/tests userenv_test
16427 wine_fn_config_dll usp10 enable_usp10 implib
16428 wine_fn_config_test dlls/usp10/tests usp10_test
16429 wine_fn_config_lib uuid
16430 wine_fn_config_dll uxtheme enable_uxtheme implib
16431 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
16432 wine_fn_config_dll vbscript enable_vbscript
16433 wine_fn_config_test dlls/vbscript/tests vbscript_test
16434 wine_fn_config_dll vcomp enable_vcomp
16435 wine_fn_config_dll vcomp100 enable_vcomp100
16436 wine_fn_config_dll vcomp90 enable_vcomp90
16437 wine_fn_config_dll vdhcp.vxd enable_win16
16438 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16439 wine_fn_config_dll ver.dll16 enable_win16
16440 wine_fn_config_dll version enable_version implib
16441 wine_fn_config_test dlls/version/tests version_test
16442 wine_fn_config_dll vmm.vxd enable_win16
16443 wine_fn_config_dll vnbt.vxd enable_win16
16444 wine_fn_config_dll vnetbios.vxd enable_win16
16445 wine_fn_config_dll vtdapi.vxd enable_win16
16446 wine_fn_config_dll vwin32.vxd enable_win16
16447 wine_fn_config_dll w32skrnl enable_win16
16448 wine_fn_config_dll w32sys.dll16 enable_win16
16449 wine_fn_config_dll wbemprox enable_wbemprox
16450 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
16451 wine_fn_config_dll webservices enable_webservices implib
16452 wine_fn_config_dll wer enable_wer implib
16453 wine_fn_config_test dlls/wer/tests wer_test
16454 wine_fn_config_dll wevtapi enable_wevtapi
16455 wine_fn_config_dll wiaservc enable_wiaservc
16456 wine_fn_config_dll win32s16.dll16 enable_win16
16457 wine_fn_config_dll win87em.dll16 enable_win16
16458 wine_fn_config_dll winaspi.dll16 enable_win16
16459 wine_fn_config_dll windebug.dll16 enable_win16
16460 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16461 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
16462 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16463 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
16464 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16465 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16466 wine_fn_config_lib winecrt0
16467 wine_fn_config_dll wined3d enable_wined3d implib
16468 wine_fn_config_dll winegstreamer enable_winegstreamer
16469 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16470 wine_fn_config_dll winemac.drv enable_winemac_drv
16471 wine_fn_config_dll winemapi enable_winemapi
16472 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16473 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16474 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
16475 wine_fn_config_dll wineps16.drv16 enable_win16
16476 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16477 wine_fn_config_dll winex11.drv enable_winex11_drv
16478 wine_fn_config_dll wing.dll16 enable_win16
16479 wine_fn_config_dll wing32 enable_wing32
16480 wine_fn_config_dll winhttp enable_winhttp implib
16481 wine_fn_config_test dlls/winhttp/tests winhttp_test
16482 wine_fn_config_dll wininet enable_wininet implib,po
16483 wine_fn_config_test dlls/wininet/tests wininet_test
16484 wine_fn_config_dll winmm enable_winmm implib,po
16485 wine_fn_config_test dlls/winmm/tests winmm_test
16486 wine_fn_config_dll winnls.dll16 enable_win16
16487 wine_fn_config_dll winnls32 enable_winnls32 implib
16488 wine_fn_config_dll winscard enable_winscard implib
16489 wine_fn_config_dll winsock.dll16 enable_win16
16490 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
16491 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
16492 wine_fn_config_dll winsta enable_winsta
16493 wine_fn_config_dll wintab.dll16 enable_win16
16494 wine_fn_config_dll wintab32 enable_wintab32 implib
16495 wine_fn_config_test dlls/wintab32/tests wintab32_test
16496 wine_fn_config_dll wintrust enable_wintrust implib
16497 wine_fn_config_test dlls/wintrust/tests wintrust_test
16498 wine_fn_config_dll wlanapi enable_wlanapi
16499 wine_fn_config_dll wldap32 enable_wldap32 implib,po
16500 wine_fn_config_test dlls/wldap32/tests wldap32_test
16501 wine_fn_config_dll wmi enable_wmi
16502 wine_fn_config_dll wmiutils enable_wmiutils
16503 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
16504 wine_fn_config_dll wmvcore enable_wmvcore
16505 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16506 wine_fn_config_dll wow32 enable_win16 implib
16507 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16508 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
16509 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16510 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
16511 wine_fn_config_dll wsnmp32 enable_wsnmp32
16512 wine_fn_config_dll wsock32 enable_wsock32 implib
16513 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16514 wine_fn_config_dll wuapi enable_wuapi
16515 wine_fn_config_dll wuaueng enable_wuaueng
16516 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16517 wine_fn_config_dll xinput1_1 enable_xinput1_1
16518 wine_fn_config_dll xinput1_2 enable_xinput1_2
16519 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16520 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
16521 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16522 wine_fn_config_dll xmllite enable_xmllite
16523 wine_fn_config_test dlls/xmllite/tests xmllite_test
16524 wine_fn_config_dll xolehlp enable_xolehlp
16525 wine_fn_config_dll xpsprint enable_xpsprint
16526 wine_fn_config_dll xpssvcs enable_xpssvcs
16527 wine_fn_config_makefile documentation enable_documentation
16528 wine_fn_config_makefile fonts enable_fonts install-lib
16529 wine_fn_config_makefile include enable_include install-dev
16530 wine_fn_config_makefile libs/port enable_libs_port
16531 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
16532 wine_fn_config_makefile libs/wpp enable_libs_wpp
16533 wine_fn_config_makefile loader enable_loader install-lib,manpage
16534 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
16535 wine_fn_config_program attrib enable_attrib install,po
16536 wine_fn_config_program cabarc enable_cabarc install
16537 wine_fn_config_program cacls enable_cacls install
16538 wine_fn_config_program clock enable_clock install,po
16539 wine_fn_config_program cmd enable_cmd install,po
16540 wine_fn_config_test programs/cmd/tests cmd.exe_test
16541 wine_fn_config_program conhost enable_conhost install
16542 wine_fn_config_program control enable_control install
16543 wine_fn_config_program cscript enable_cscript install
16544 wine_fn_config_program dxdiag enable_dxdiag install,po
16545 wine_fn_config_program eject enable_eject install
16546 wine_fn_config_program expand enable_expand install
16547 wine_fn_config_program explorer enable_explorer install,po
16548 wine_fn_config_program extrac32 enable_extrac32 install
16549 wine_fn_config_program findstr enable_findstr install
16550 wine_fn_config_program hh enable_hh install
16551 wine_fn_config_program hostname enable_hostname install,po
16552 wine_fn_config_program icinfo enable_icinfo install
16553 wine_fn_config_program iexplore enable_iexplore install
16554 wine_fn_config_program ipconfig enable_ipconfig install,po
16555 wine_fn_config_program lodctr enable_lodctr install
16556 wine_fn_config_program mofcomp enable_mofcomp install
16557 wine_fn_config_program mshta enable_mshta install
16558 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
16559 wine_fn_config_program net enable_net install,po
16560 wine_fn_config_program netsh enable_netsh install
16561 wine_fn_config_program netstat enable_netstat install,po
16562 wine_fn_config_program ngen enable_ngen install
16563 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
16564 wine_fn_config_program oleview enable_oleview install,po
16565 wine_fn_config_program ping enable_ping install
16566 wine_fn_config_program plugplay enable_plugplay install
16567 wine_fn_config_program presentationfontcache enable_presentationfontcache install
16568 wine_fn_config_program progman enable_progman install,po
16569 wine_fn_config_program reg enable_reg install,po
16570 wine_fn_config_program regasm enable_regasm install
16571 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
16572 wine_fn_config_test programs/regedit/tests regedit.exe_test
16573 wine_fn_config_program regsvcs enable_regsvcs install
16574 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
16575 wine_fn_config_program rpcss enable_rpcss install
16576 wine_fn_config_program rundll.exe16 enable_win16 install
16577 wine_fn_config_program rundll32 enable_rundll32 install
16578 wine_fn_config_program sc enable_sc install
16579 wine_fn_config_program schtasks enable_schtasks install
16580 wine_fn_config_program secedit enable_secedit install
16581 wine_fn_config_program servicemodelreg enable_servicemodelreg install
16582 wine_fn_config_program services enable_services install
16583 wine_fn_config_test programs/services/tests services.exe_test
16584 wine_fn_config_program spoolsv enable_spoolsv install
16585 wine_fn_config_program start enable_start install,po
16586 wine_fn_config_program svchost enable_svchost install
16587 wine_fn_config_program taskkill enable_taskkill install,po
16588 wine_fn_config_program taskmgr enable_taskmgr install,po
16589 wine_fn_config_program termsv enable_termsv install
16590 wine_fn_config_program uninstaller enable_uninstaller install,po
16591 wine_fn_config_program unlodctr enable_unlodctr install
16592 wine_fn_config_program view enable_view install,po
16593 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
16594 wine_fn_config_program winebrowser enable_winebrowser install
16595 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
16596 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
16597 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
16598 wine_fn_config_program winedevice enable_winedevice install
16599 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
16600 wine_fn_config_program winemenubuilder enable_winemenubuilder install
16601 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
16602 wine_fn_config_program winemsibuilder enable_winemsibuilder install
16603 wine_fn_config_program winepath enable_winepath install,installbin,manpage
16604 wine_fn_config_program winetest enable_winetest
16605 wine_fn_config_program winevdm enable_win16 install
16606 wine_fn_config_program winhelp.exe16 enable_win16 install
16607 wine_fn_config_program winhlp32 enable_winhlp32 install,po
16608 wine_fn_config_program winoldap.mod16 enable_win16 install
16609 wine_fn_config_program winver enable_winver install
16610 wine_fn_config_program wmic enable_wmic install,po
16611 wine_fn_config_program wordpad enable_wordpad install,po
16612 wine_fn_config_program write enable_write install,po
16613 wine_fn_config_program wscript enable_wscript install
16614 wine_fn_config_test programs/wscript/tests wscript.exe_test
16615 wine_fn_config_program wusa enable_wusa install
16616 wine_fn_config_program xcopy enable_xcopy install,po
16617 wine_fn_config_makefile server enable_server install-lib,manpage
16618 wine_fn_config_tool tools install-dev,install-lib,manpage
16619 wine_fn_config_tool tools/widl install-dev,manpage
16620 wine_fn_config_tool tools/winebuild install-dev,manpage
16621 wine_fn_config_tool tools/winedump install-dev,manpage
16622 wine_fn_config_tool tools/winegcc install-dev,manpage
16623 wine_fn_config_tool tools/wmc install-dev,manpage
16624 wine_fn_config_tool tools/wrc install-dev,manpage
16626 LINGUAS="\
16627 ar \
16628 bg \
16629 ca \
16630 cs \
16631 da \
16632 de \
16633 el \
16634 en \
16635 en_US \
16636 eo \
16637 es \
16638 fa \
16639 fi \
16640 fr \
16641 he \
16642 hi \
16643 hr \
16644 hu \
16645 it \
16646 ja \
16647 ko \
16648 lt \
16649 ml \
16650 nb_NO \
16651 nl \
16652 or \
16653 pa \
16654 pl \
16655 pt_BR \
16656 pt_PT \
16657 rm \
16658 ro \
16659 ru \
16660 sk \
16661 sl \
16662 sr_RS@cyrillic \
16663 sr_RS@latin \
16664 sv \
16665 te \
16666 th \
16667 tr \
16668 uk \
16669 wa \
16670 zh_CN \
16671 zh_TW"
16675 ac_config_commands="$ac_config_commands Makefile"
16678 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16682 if test "x$enable_maintainer_mode" = xyes
16683 then
16684 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
16685 cd \$(srcdir) && autoconf --warnings=all
16686 \$(srcdir)/include/config.h.in: include/stamp-h.in
16687 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16688 cd \$(srcdir) && autoheader --warnings=all
16689 @echo timestamp > \$@"
16692 if test "x$with_gettextpo" = xyes
16693 then
16694 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16695 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
16696 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16697 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16698 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16699 msgcat -o \$@ \$(ALL_POT_FILES)"
16702 if test "$MSGFMT" != false
16703 then
16704 PORCFLAGS="--po-dir=\$(top_builddir)/po"
16706 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
16707 else
16708 LINGUAS=
16711 if test "x$enable_tools" != xno
16712 then
16713 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
16714 clean:: __clean__
16715 \$(RM) tools/makedep\$(EXEEXT)"
16718 if test -n "$with_wine64"
16719 then
16720 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16721 fonts server tools:
16722 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16723 $with_wine64/loader/wine:
16724 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16725 $with_wine64/loader/wine-preloader:
16726 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16727 clean::
16728 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16731 cat >confcache <<\_ACEOF
16732 # This file is a shell script that caches the results of configure
16733 # tests run on this system so they can be shared between configure
16734 # scripts and configure runs, see configure's option --config-cache.
16735 # It is not useful on other systems. If it contains results you don't
16736 # want to keep, you may remove or edit it.
16738 # config.status only pays attention to the cache file if you give it
16739 # the --recheck option to rerun configure.
16741 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16742 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16743 # following values.
16745 _ACEOF
16747 # The following way of writing the cache mishandles newlines in values,
16748 # but we know of no workaround that is simple, portable, and efficient.
16749 # So, we kill variables containing newlines.
16750 # Ultrix sh set writes to stderr and can't be redirected directly,
16751 # and sets the high bit in the cache file unless we assign to the vars.
16753 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16754 eval ac_val=\$$ac_var
16755 case $ac_val in #(
16756 *${as_nl}*)
16757 case $ac_var in #(
16758 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16759 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16760 esac
16761 case $ac_var in #(
16762 _ | IFS | as_nl) ;; #(
16763 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16764 *) { eval $ac_var=; unset $ac_var;} ;;
16765 esac ;;
16766 esac
16767 done
16769 (set) 2>&1 |
16770 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16771 *${as_nl}ac_space=\ *)
16772 # `set' does not quote correctly, so add quotes: double-quote
16773 # substitution turns \\\\ into \\, and sed turns \\ into \.
16774 sed -n \
16775 "s/'/'\\\\''/g;
16776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16777 ;; #(
16779 # `set' quotes correctly as required by POSIX, so do not add quotes.
16780 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16782 esac |
16783 sort
16785 sed '
16786 /^ac_cv_env_/b end
16787 t clear
16788 :clear
16789 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16790 t end
16791 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16792 :end' >>confcache
16793 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16794 if test -w "$cache_file"; then
16795 if test "x$cache_file" != "x/dev/null"; then
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16797 $as_echo "$as_me: updating cache $cache_file" >&6;}
16798 if test ! -f "$cache_file" || test -h "$cache_file"; then
16799 cat confcache >"$cache_file"
16800 else
16801 case $cache_file in #(
16802 */* | ?:*)
16803 mv -f confcache "$cache_file"$$ &&
16804 mv -f "$cache_file"$$ "$cache_file" ;; #(
16806 mv -f confcache "$cache_file" ;;
16807 esac
16810 else
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16812 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16815 rm -f confcache
16817 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16818 # Let make expand exec_prefix.
16819 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16821 DEFS=-DHAVE_CONFIG_H
16823 ac_libobjs=
16824 ac_ltlibobjs=
16826 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16827 # 1. Remove the extension, and $U if already installed.
16828 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16829 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16830 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16831 # will be set to the directory where LIBOBJS objects are built.
16832 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16833 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16834 done
16835 LIBOBJS=$ac_libobjs
16837 LTLIBOBJS=$ac_ltlibobjs
16841 : "${CONFIG_STATUS=./config.status}"
16842 ac_write_fail=0
16843 ac_clean_files_save=$ac_clean_files
16844 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16846 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16847 as_write_fail=0
16848 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16849 #! $SHELL
16850 # Generated by $as_me.
16851 # Run this file to recreate the current configuration.
16852 # Compiler output produced by configure, useful for debugging
16853 # configure, is in config.log if it exists.
16855 debug=false
16856 ac_cs_recheck=false
16857 ac_cs_silent=false
16859 SHELL=\${CONFIG_SHELL-$SHELL}
16860 export SHELL
16861 _ASEOF
16862 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16863 ## -------------------- ##
16864 ## M4sh Initialization. ##
16865 ## -------------------- ##
16867 # Be more Bourne compatible
16868 DUALCASE=1; export DUALCASE # for MKS sh
16869 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16870 emulate sh
16871 NULLCMD=:
16872 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16873 # is contrary to our usage. Disable this feature.
16874 alias -g '${1+"$@"}'='"$@"'
16875 setopt NO_GLOB_SUBST
16876 else
16877 case `(set -o) 2>/dev/null` in #(
16878 *posix*) :
16879 set -o posix ;; #(
16880 *) :
16882 esac
16886 as_nl='
16888 export as_nl
16889 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16890 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16891 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16892 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16893 # Prefer a ksh shell builtin over an external printf program on Solaris,
16894 # but without wasting forks for bash or zsh.
16895 if test -z "$BASH_VERSION$ZSH_VERSION" \
16896 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16897 as_echo='print -r --'
16898 as_echo_n='print -rn --'
16899 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16900 as_echo='printf %s\n'
16901 as_echo_n='printf %s'
16902 else
16903 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16904 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16905 as_echo_n='/usr/ucb/echo -n'
16906 else
16907 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16908 as_echo_n_body='eval
16909 arg=$1;
16910 case $arg in #(
16911 *"$as_nl"*)
16912 expr "X$arg" : "X\\(.*\\)$as_nl";
16913 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16914 esac;
16915 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16917 export as_echo_n_body
16918 as_echo_n='sh -c $as_echo_n_body as_echo'
16920 export as_echo_body
16921 as_echo='sh -c $as_echo_body as_echo'
16924 # The user is always right.
16925 if test "${PATH_SEPARATOR+set}" != set; then
16926 PATH_SEPARATOR=:
16927 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16928 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16929 PATH_SEPARATOR=';'
16934 # IFS
16935 # We need space, tab and new line, in precisely that order. Quoting is
16936 # there to prevent editors from complaining about space-tab.
16937 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16938 # splitting by setting IFS to empty value.)
16939 IFS=" "" $as_nl"
16941 # Find who we are. Look in the path if we contain no directory separator.
16942 as_myself=
16943 case $0 in #((
16944 *[\\/]* ) as_myself=$0 ;;
16945 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16946 for as_dir in $PATH
16948 IFS=$as_save_IFS
16949 test -z "$as_dir" && as_dir=.
16950 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16951 done
16952 IFS=$as_save_IFS
16955 esac
16956 # We did not find ourselves, most probably we were run as `sh COMMAND'
16957 # in which case we are not to be found in the path.
16958 if test "x$as_myself" = x; then
16959 as_myself=$0
16961 if test ! -f "$as_myself"; then
16962 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16963 exit 1
16966 # Unset variables that we do not need and which cause bugs (e.g. in
16967 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16968 # suppresses any "Segmentation fault" message there. '((' could
16969 # trigger a bug in pdksh 5.2.14.
16970 for as_var in BASH_ENV ENV MAIL MAILPATH
16971 do eval test x\${$as_var+set} = xset \
16972 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16973 done
16974 PS1='$ '
16975 PS2='> '
16976 PS4='+ '
16978 # NLS nuisances.
16979 LC_ALL=C
16980 export LC_ALL
16981 LANGUAGE=C
16982 export LANGUAGE
16984 # CDPATH.
16985 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16988 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16989 # ----------------------------------------
16990 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16991 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16992 # script with STATUS, using 1 if that was 0.
16993 as_fn_error ()
16995 as_status=$1; test $as_status -eq 0 && as_status=1
16996 if test "$4"; then
16997 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16998 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17000 $as_echo "$as_me: error: $2" >&2
17001 as_fn_exit $as_status
17002 } # as_fn_error
17005 # as_fn_set_status STATUS
17006 # -----------------------
17007 # Set $? to STATUS, without forking.
17008 as_fn_set_status ()
17010 return $1
17011 } # as_fn_set_status
17013 # as_fn_exit STATUS
17014 # -----------------
17015 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17016 as_fn_exit ()
17018 set +e
17019 as_fn_set_status $1
17020 exit $1
17021 } # as_fn_exit
17023 # as_fn_unset VAR
17024 # ---------------
17025 # Portably unset VAR.
17026 as_fn_unset ()
17028 { eval $1=; unset $1;}
17030 as_unset=as_fn_unset
17031 # as_fn_append VAR VALUE
17032 # ----------------------
17033 # Append the text in VALUE to the end of the definition contained in VAR. Take
17034 # advantage of any shell optimizations that allow amortized linear growth over
17035 # repeated appends, instead of the typical quadratic growth present in naive
17036 # implementations.
17037 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17038 eval 'as_fn_append ()
17040 eval $1+=\$2
17042 else
17043 as_fn_append ()
17045 eval $1=\$$1\$2
17047 fi # as_fn_append
17049 # as_fn_arith ARG...
17050 # ------------------
17051 # Perform arithmetic evaluation on the ARGs, and store the result in the
17052 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17053 # must be portable across $(()) and expr.
17054 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17055 eval 'as_fn_arith ()
17057 as_val=$(( $* ))
17059 else
17060 as_fn_arith ()
17062 as_val=`expr "$@" || test $? -eq 1`
17064 fi # as_fn_arith
17067 if expr a : '\(a\)' >/dev/null 2>&1 &&
17068 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17069 as_expr=expr
17070 else
17071 as_expr=false
17074 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17075 as_basename=basename
17076 else
17077 as_basename=false
17080 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17081 as_dirname=dirname
17082 else
17083 as_dirname=false
17086 as_me=`$as_basename -- "$0" ||
17087 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17088 X"$0" : 'X\(//\)$' \| \
17089 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17090 $as_echo X/"$0" |
17091 sed '/^.*\/\([^/][^/]*\)\/*$/{
17092 s//\1/
17095 /^X\/\(\/\/\)$/{
17096 s//\1/
17099 /^X\/\(\/\).*/{
17100 s//\1/
17103 s/.*/./; q'`
17105 # Avoid depending upon Character Ranges.
17106 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17107 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17108 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17109 as_cr_digits='0123456789'
17110 as_cr_alnum=$as_cr_Letters$as_cr_digits
17112 ECHO_C= ECHO_N= ECHO_T=
17113 case `echo -n x` in #(((((
17114 -n*)
17115 case `echo 'xy\c'` in
17116 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17117 xy) ECHO_C='\c';;
17118 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17119 ECHO_T=' ';;
17120 esac;;
17122 ECHO_N='-n';;
17123 esac
17125 rm -f conf$$ conf$$.exe conf$$.file
17126 if test -d conf$$.dir; then
17127 rm -f conf$$.dir/conf$$.file
17128 else
17129 rm -f conf$$.dir
17130 mkdir conf$$.dir 2>/dev/null
17132 if (echo >conf$$.file) 2>/dev/null; then
17133 if ln -s conf$$.file conf$$ 2>/dev/null; then
17134 as_ln_s='ln -s'
17135 # ... but there are two gotchas:
17136 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17137 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17138 # In both cases, we have to default to `cp -pR'.
17139 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17140 as_ln_s='cp -pR'
17141 elif ln conf$$.file conf$$ 2>/dev/null; then
17142 as_ln_s=ln
17143 else
17144 as_ln_s='cp -pR'
17146 else
17147 as_ln_s='cp -pR'
17149 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17150 rmdir conf$$.dir 2>/dev/null
17153 # as_fn_mkdir_p
17154 # -------------
17155 # Create "$as_dir" as a directory, including parents if necessary.
17156 as_fn_mkdir_p ()
17159 case $as_dir in #(
17160 -*) as_dir=./$as_dir;;
17161 esac
17162 test -d "$as_dir" || eval $as_mkdir_p || {
17163 as_dirs=
17164 while :; do
17165 case $as_dir in #(
17166 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17167 *) as_qdir=$as_dir;;
17168 esac
17169 as_dirs="'$as_qdir' $as_dirs"
17170 as_dir=`$as_dirname -- "$as_dir" ||
17171 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17172 X"$as_dir" : 'X\(//\)[^/]' \| \
17173 X"$as_dir" : 'X\(//\)$' \| \
17174 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17175 $as_echo X"$as_dir" |
17176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17177 s//\1/
17180 /^X\(\/\/\)[^/].*/{
17181 s//\1/
17184 /^X\(\/\/\)$/{
17185 s//\1/
17188 /^X\(\/\).*/{
17189 s//\1/
17192 s/.*/./; q'`
17193 test -d "$as_dir" && break
17194 done
17195 test -z "$as_dirs" || eval "mkdir $as_dirs"
17196 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17199 } # as_fn_mkdir_p
17200 if mkdir -p . 2>/dev/null; then
17201 as_mkdir_p='mkdir -p "$as_dir"'
17202 else
17203 test -d ./-p && rmdir ./-p
17204 as_mkdir_p=false
17208 # as_fn_executable_p FILE
17209 # -----------------------
17210 # Test if FILE is an executable regular file.
17211 as_fn_executable_p ()
17213 test -f "$1" && test -x "$1"
17214 } # as_fn_executable_p
17215 as_test_x='test -x'
17216 as_executable_p=as_fn_executable_p
17218 # Sed expression to map a string onto a valid CPP name.
17219 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17221 # Sed expression to map a string onto a valid variable name.
17222 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17225 exec 6>&1
17226 ## ----------------------------------- ##
17227 ## Main body of $CONFIG_STATUS script. ##
17228 ## ----------------------------------- ##
17229 _ASEOF
17230 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17233 # Save the log message, to keep $0 and so on meaningful, and to
17234 # report actual input values of CONFIG_FILES etc. instead of their
17235 # values after options handling.
17236 ac_log="
17237 This file was extended by Wine $as_me 1.6, which was
17238 generated by GNU Autoconf 2.69. Invocation command line was
17240 CONFIG_FILES = $CONFIG_FILES
17241 CONFIG_HEADERS = $CONFIG_HEADERS
17242 CONFIG_LINKS = $CONFIG_LINKS
17243 CONFIG_COMMANDS = $CONFIG_COMMANDS
17244 $ $0 $@
17246 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17249 _ACEOF
17251 case $ac_config_files in *"
17252 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17253 esac
17255 case $ac_config_headers in *"
17256 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17257 esac
17260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17261 # Files that config.status was made for.
17262 config_files="$ac_config_files"
17263 config_headers="$ac_config_headers"
17264 config_links="$ac_config_links"
17265 config_commands="$ac_config_commands"
17267 _ACEOF
17269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17270 ac_cs_usage="\
17271 \`$as_me' instantiates files and other configuration actions
17272 from templates according to the current configuration. Unless the files
17273 and actions are specified as TAGs, all are instantiated by default.
17275 Usage: $0 [OPTION]... [TAG]...
17277 -h, --help print this help, then exit
17278 -V, --version print version number and configuration settings, then exit
17279 --config print configuration, then exit
17280 -q, --quiet, --silent
17281 do not print progress messages
17282 -d, --debug don't remove temporary files
17283 --recheck update $as_me by reconfiguring in the same conditions
17284 --file=FILE[:TEMPLATE]
17285 instantiate the configuration file FILE
17286 --header=FILE[:TEMPLATE]
17287 instantiate the configuration header FILE
17289 Configuration files:
17290 $config_files
17292 Configuration headers:
17293 $config_headers
17295 Configuration links:
17296 $config_links
17298 Configuration commands:
17299 $config_commands
17301 Report bugs to <wine-devel@winehq.org>.
17302 Wine home page: <http://www.winehq.org>."
17304 _ACEOF
17305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17306 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17307 ac_cs_version="\\
17308 Wine config.status 1.6
17309 configured by $0, generated by GNU Autoconf 2.69,
17310 with options \\"\$ac_cs_config\\"
17312 Copyright (C) 2012 Free Software Foundation, Inc.
17313 This config.status script is free software; the Free Software Foundation
17314 gives unlimited permission to copy, distribute and modify it."
17316 ac_pwd='$ac_pwd'
17317 srcdir='$srcdir'
17318 INSTALL='$INSTALL'
17319 test -n "\$AWK" || AWK=awk
17320 _ACEOF
17322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17323 # The default lists apply if the user does not specify any file.
17324 ac_need_defaults=:
17325 while test $# != 0
17327 case $1 in
17328 --*=?*)
17329 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17330 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17331 ac_shift=:
17333 --*=)
17334 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17335 ac_optarg=
17336 ac_shift=:
17339 ac_option=$1
17340 ac_optarg=$2
17341 ac_shift=shift
17343 esac
17345 case $ac_option in
17346 # Handling of the options.
17347 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17348 ac_cs_recheck=: ;;
17349 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17350 $as_echo "$ac_cs_version"; exit ;;
17351 --config | --confi | --conf | --con | --co | --c )
17352 $as_echo "$ac_cs_config"; exit ;;
17353 --debug | --debu | --deb | --de | --d | -d )
17354 debug=: ;;
17355 --file | --fil | --fi | --f )
17356 $ac_shift
17357 case $ac_optarg in
17358 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17359 '') as_fn_error $? "missing file argument" ;;
17360 esac
17361 as_fn_append CONFIG_FILES " '$ac_optarg'"
17362 ac_need_defaults=false;;
17363 --header | --heade | --head | --hea )
17364 $ac_shift
17365 case $ac_optarg in
17366 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17367 esac
17368 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17369 ac_need_defaults=false;;
17370 --he | --h)
17371 # Conflict between --help and --header
17372 as_fn_error $? "ambiguous option: \`$1'
17373 Try \`$0 --help' for more information.";;
17374 --help | --hel | -h )
17375 $as_echo "$ac_cs_usage"; exit ;;
17376 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17377 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17378 ac_cs_silent=: ;;
17380 # This is an error.
17381 -*) as_fn_error $? "unrecognized option: \`$1'
17382 Try \`$0 --help' for more information." ;;
17384 *) as_fn_append ac_config_targets " $1"
17385 ac_need_defaults=false ;;
17387 esac
17388 shift
17389 done
17391 ac_configure_extra_args=
17393 if $ac_cs_silent; then
17394 exec 6>/dev/null
17395 ac_configure_extra_args="$ac_configure_extra_args --silent"
17398 _ACEOF
17399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17400 if \$ac_cs_recheck; then
17401 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17402 shift
17403 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17404 CONFIG_SHELL='$SHELL'
17405 export CONFIG_SHELL
17406 exec "\$@"
17409 _ACEOF
17410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17411 exec 5>>config.log
17413 echo
17414 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17415 ## Running $as_me. ##
17416 _ASBOX
17417 $as_echo "$ac_log"
17418 } >&5
17420 _ACEOF
17421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17423 # INIT-COMMANDS
17425 wine_fn_output_makefile ()
17427 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17428 $ALL_MAKEFILE_DEPENDS
17429 _WINE_EOF
17430 as_fn_error $? "could not create Makefile" "$LINENO" 5
17433 _ACEOF
17435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17437 # Handling of arguments.
17438 for ac_config_target in $ac_config_targets
17440 case $ac_config_target in
17441 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
17442 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
17443 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17444 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17445 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17446 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17447 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17448 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17449 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17450 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17451 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
17452 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17453 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17454 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17455 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17456 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17457 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
17458 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17459 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
17460 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
17461 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
17462 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
17463 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17464 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
17465 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
17466 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17468 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17469 esac
17470 done
17473 # If the user did not use the arguments to specify the items to instantiate,
17474 # then the envvar interface is used. Set only those that are not.
17475 # We use the long form for the default assignment because of an extremely
17476 # bizarre bug on SunOS 4.1.3.
17477 if $ac_need_defaults; then
17478 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17479 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17480 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
17481 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17484 # Have a temporary directory for convenience. Make it in the build tree
17485 # simply because there is no reason against having it here, and in addition,
17486 # creating and moving files from /tmp can sometimes cause problems.
17487 # Hook for its removal unless debugging.
17488 # Note that there is a small window in which the directory will not be cleaned:
17489 # after its creation but before its name has been assigned to `$tmp'.
17490 $debug ||
17492 tmp= ac_tmp=
17493 trap 'exit_status=$?
17494 : "${ac_tmp:=$tmp}"
17495 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17497 trap 'as_fn_exit 1' 1 2 13 15
17499 # Create a (secure) tmp directory for tmp files.
17502 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17503 test -d "$tmp"
17504 } ||
17506 tmp=./conf$$-$RANDOM
17507 (umask 077 && mkdir "$tmp")
17508 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17509 ac_tmp=$tmp
17511 # Set up the scripts for CONFIG_FILES section.
17512 # No need to generate them if there are no CONFIG_FILES.
17513 # This happens for instance with `./config.status config.h'.
17514 if test -n "$CONFIG_FILES"; then
17516 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
17517 ac_cs_awk_getline=:
17518 ac_cs_awk_pipe_init=
17519 ac_cs_awk_read_file='
17520 while ((getline aline < (F[key])) > 0)
17521 print(aline)
17522 close(F[key])'
17523 ac_cs_awk_pipe_fini=
17524 else
17525 ac_cs_awk_getline=false
17526 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
17527 ac_cs_awk_read_file='
17528 print "|#_!!_#|"
17529 print "cat " F[key] " &&"
17530 '$ac_cs_awk_pipe_init
17531 # The final `:' finishes the AND list.
17532 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
17534 ac_cr=`echo X | tr X '\015'`
17535 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17536 # But we know of no other shell where ac_cr would be empty at this
17537 # point, so we can use a bashism as a fallback.
17538 if test "x$ac_cr" = x; then
17539 eval ac_cr=\$\'\\r\'
17541 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17542 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17543 ac_cs_awk_cr='\\r'
17544 else
17545 ac_cs_awk_cr=$ac_cr
17548 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17549 _ACEOF
17551 # Create commands to substitute file output variables.
17553 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17554 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17555 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
17556 echo "_ACAWK" &&
17557 echo "_ACEOF"
17558 } >conf$$files.sh &&
17559 . ./conf$$files.sh ||
17560 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17561 rm -f conf$$files.sh
17564 echo "cat >conf$$subs.awk <<_ACEOF" &&
17565 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17566 echo "_ACEOF"
17567 } >conf$$subs.sh ||
17568 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17569 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17570 ac_delim='%!_!# '
17571 for ac_last_try in false false false false false :; do
17572 . ./conf$$subs.sh ||
17573 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17575 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17576 if test $ac_delim_n = $ac_delim_num; then
17577 break
17578 elif $ac_last_try; then
17579 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17580 else
17581 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17583 done
17584 rm -f conf$$subs.sh
17586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17587 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17588 _ACEOF
17589 sed -n '
17591 s/^/S["/; s/!.*/"]=/
17594 s/^[^!]*!//
17595 :repl
17596 t repl
17597 s/'"$ac_delim"'$//
17598 t delim
17601 s/\(.\{148\}\)..*/\1/
17602 t more1
17603 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17606 b repl
17607 :more1
17608 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17611 s/.\{148\}//
17612 t nl
17613 :delim
17615 s/\(.\{148\}\)..*/\1/
17616 t more2
17617 s/["\\]/\\&/g; s/^/"/; s/$/"/
17620 :more2
17621 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17624 s/.\{148\}//
17625 t delim
17626 ' <conf$$subs.awk | sed '
17627 /^[^""]/{
17629 s/\n//
17631 ' >>$CONFIG_STATUS || ac_write_fail=1
17632 rm -f conf$$subs.awk
17633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17634 _ACAWK
17635 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17636 for (key in S) S_is_set[key] = 1
17637 FS = "\a"
17638 \$ac_cs_awk_pipe_init
17641 line = $ 0
17642 nfields = split(line, field, "@")
17643 substed = 0
17644 len = length(field[1])
17645 for (i = 2; i < nfields; i++) {
17646 key = field[i]
17647 keylen = length(key)
17648 if (S_is_set[key]) {
17649 value = S[key]
17650 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17651 len += length(value) + length(field[++i])
17652 substed = 1
17653 } else
17654 len += 1 + keylen
17656 if (nfields == 3 && !substed) {
17657 key = field[2]
17658 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17659 \$ac_cs_awk_read_file
17660 next
17663 print line
17665 \$ac_cs_awk_pipe_fini
17666 _ACAWK
17667 _ACEOF
17668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17669 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17670 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17671 else
17673 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17674 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17675 _ACEOF
17677 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17678 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17679 # trailing colons and then remove the whole line if VPATH becomes empty
17680 # (actually we leave an empty line to preserve line numbers).
17681 if test "x$srcdir" = x.; then
17682 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17684 s///
17685 s/^/:/
17686 s/[ ]*$/:/
17687 s/:\$(srcdir):/:/g
17688 s/:\${srcdir}:/:/g
17689 s/:@srcdir@:/:/g
17690 s/^:*//
17691 s/:*$//
17693 s/\(=[ ]*\).*/\1/
17695 s/\n//
17696 s/^[^=]*=[ ]*$//
17700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17701 fi # test -n "$CONFIG_FILES"
17703 # Set up the scripts for CONFIG_HEADERS section.
17704 # No need to generate them if there are no CONFIG_HEADERS.
17705 # This happens for instance with `./config.status Makefile'.
17706 if test -n "$CONFIG_HEADERS"; then
17707 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17708 BEGIN {
17709 _ACEOF
17711 # Transform confdefs.h into an awk script `defines.awk', embedded as
17712 # here-document in config.status, that substitutes the proper values into
17713 # config.h.in to produce config.h.
17715 # Create a delimiter string that does not exist in confdefs.h, to ease
17716 # handling of long lines.
17717 ac_delim='%!_!# '
17718 for ac_last_try in false false :; do
17719 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17720 if test -z "$ac_tt"; then
17721 break
17722 elif $ac_last_try; then
17723 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17724 else
17725 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17727 done
17729 # For the awk script, D is an array of macro values keyed by name,
17730 # likewise P contains macro parameters if any. Preserve backslash
17731 # newline sequences.
17733 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17734 sed -n '
17735 s/.\{148\}/&'"$ac_delim"'/g
17736 t rset
17737 :rset
17738 s/^[ ]*#[ ]*define[ ][ ]*/ /
17739 t def
17741 :def
17742 s/\\$//
17743 t bsnl
17744 s/["\\]/\\&/g
17745 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17746 D["\1"]=" \3"/p
17747 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17749 :bsnl
17750 s/["\\]/\\&/g
17751 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17752 D["\1"]=" \3\\\\\\n"\\/p
17753 t cont
17754 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17755 t cont
17757 :cont
17759 s/.\{148\}/&'"$ac_delim"'/g
17760 t clear
17761 :clear
17762 s/\\$//
17763 t bsnlc
17764 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17766 :bsnlc
17767 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17768 b cont
17769 ' <confdefs.h | sed '
17770 s/'"$ac_delim"'/"\\\
17771 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17774 for (key in D) D_is_set[key] = 1
17775 FS = "\a"
17777 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17778 line = \$ 0
17779 split(line, arg, " ")
17780 if (arg[1] == "#") {
17781 defundef = arg[2]
17782 mac1 = arg[3]
17783 } else {
17784 defundef = substr(arg[1], 2)
17785 mac1 = arg[2]
17787 split(mac1, mac2, "(") #)
17788 macro = mac2[1]
17789 prefix = substr(line, 1, index(line, defundef) - 1)
17790 if (D_is_set[macro]) {
17791 # Preserve the white space surrounding the "#".
17792 print prefix "define", macro P[macro] D[macro]
17793 next
17794 } else {
17795 # Replace #undef with comments. This is necessary, for example,
17796 # in the case of _POSIX_SOURCE, which is predefined and required
17797 # on some systems where configure will not decide to define it.
17798 if (defundef == "undef") {
17799 print "/*", prefix defundef, macro, "*/"
17800 next
17804 { print }
17805 _ACAWK
17806 _ACEOF
17807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17808 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17809 fi # test -n "$CONFIG_HEADERS"
17812 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17813 shift
17814 for ac_tag
17816 case $ac_tag in
17817 :[FHLC]) ac_mode=$ac_tag; continue;;
17818 esac
17819 case $ac_mode$ac_tag in
17820 :[FHL]*:*);;
17821 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17822 :[FH]-) ac_tag=-:-;;
17823 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17824 esac
17825 ac_save_IFS=$IFS
17826 IFS=:
17827 set x $ac_tag
17828 IFS=$ac_save_IFS
17829 shift
17830 ac_file=$1
17831 shift
17833 case $ac_mode in
17834 :L) ac_source=$1;;
17835 :[FH])
17836 ac_file_inputs=
17837 for ac_f
17839 case $ac_f in
17840 -) ac_f="$ac_tmp/stdin";;
17841 *) # Look for the file first in the build tree, then in the source tree
17842 # (if the path is not absolute). The absolute path cannot be DOS-style,
17843 # because $ac_f cannot contain `:'.
17844 test -f "$ac_f" ||
17845 case $ac_f in
17846 [\\/$]*) false;;
17847 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17848 esac ||
17849 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17850 esac
17851 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17852 as_fn_append ac_file_inputs " '$ac_f'"
17853 done
17855 # Let's still pretend it is `configure' which instantiates (i.e., don't
17856 # use $as_me), people would be surprised to read:
17857 # /* config.h. Generated by config.status. */
17858 configure_input='Generated from '`
17859 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17860 `' by configure.'
17861 if test x"$ac_file" != x-; then
17862 configure_input="$ac_file. $configure_input"
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17864 $as_echo "$as_me: creating $ac_file" >&6;}
17866 # Neutralize special characters interpreted by sed in replacement strings.
17867 case $configure_input in #(
17868 *\&* | *\|* | *\\* )
17869 ac_sed_conf_input=`$as_echo "$configure_input" |
17870 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17871 *) ac_sed_conf_input=$configure_input;;
17872 esac
17874 case $ac_tag in
17875 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17876 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17877 esac
17879 esac
17881 ac_dir=`$as_dirname -- "$ac_file" ||
17882 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17883 X"$ac_file" : 'X\(//\)[^/]' \| \
17884 X"$ac_file" : 'X\(//\)$' \| \
17885 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17886 $as_echo X"$ac_file" |
17887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17888 s//\1/
17891 /^X\(\/\/\)[^/].*/{
17892 s//\1/
17895 /^X\(\/\/\)$/{
17896 s//\1/
17899 /^X\(\/\).*/{
17900 s//\1/
17903 s/.*/./; q'`
17904 as_dir="$ac_dir"; as_fn_mkdir_p
17905 ac_builddir=.
17907 case "$ac_dir" in
17908 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17910 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17911 # A ".." for each directory in $ac_dir_suffix.
17912 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17913 case $ac_top_builddir_sub in
17914 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17915 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17916 esac ;;
17917 esac
17918 ac_abs_top_builddir=$ac_pwd
17919 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17920 # for backward compatibility:
17921 ac_top_builddir=$ac_top_build_prefix
17923 case $srcdir in
17924 .) # We are building in place.
17925 ac_srcdir=.
17926 ac_top_srcdir=$ac_top_builddir_sub
17927 ac_abs_top_srcdir=$ac_pwd ;;
17928 [\\/]* | ?:[\\/]* ) # Absolute name.
17929 ac_srcdir=$srcdir$ac_dir_suffix;
17930 ac_top_srcdir=$srcdir
17931 ac_abs_top_srcdir=$srcdir ;;
17932 *) # Relative name.
17933 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17934 ac_top_srcdir=$ac_top_build_prefix$srcdir
17935 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17936 esac
17937 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17940 case $ac_mode in
17943 # CONFIG_FILE
17946 case $INSTALL in
17947 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17948 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17949 esac
17950 _ACEOF
17952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17953 # If the template does not know about datarootdir, expand it.
17954 # FIXME: This hack should be removed a few years after 2.60.
17955 ac_datarootdir_hack=; ac_datarootdir_seen=
17956 ac_sed_dataroot='
17957 /datarootdir/ {
17961 /@datadir@/p
17962 /@docdir@/p
17963 /@infodir@/p
17964 /@localedir@/p
17965 /@mandir@/p'
17966 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17967 *datarootdir*) ac_datarootdir_seen=yes;;
17968 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17970 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17971 _ACEOF
17972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17973 ac_datarootdir_hack='
17974 s&@datadir@&$datadir&g
17975 s&@docdir@&$docdir&g
17976 s&@infodir@&$infodir&g
17977 s&@localedir@&$localedir&g
17978 s&@mandir@&$mandir&g
17979 s&\\\${datarootdir}&$datarootdir&g' ;;
17980 esac
17981 _ACEOF
17983 # Neutralize VPATH when `$srcdir' = `.'.
17984 # Shell code in configure.ac might set extrasub.
17985 # FIXME: do we really want to maintain this feature?
17986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17987 ac_sed_extra="$ac_vpsub
17988 $extrasub
17989 _ACEOF
17990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17992 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17993 s|@configure_input@|$ac_sed_conf_input|;t t
17994 s&@top_builddir@&$ac_top_builddir_sub&;t t
17995 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17996 s&@srcdir@&$ac_srcdir&;t t
17997 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17998 s&@top_srcdir@&$ac_top_srcdir&;t t
17999 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18000 s&@builddir@&$ac_builddir&;t t
18001 s&@abs_builddir@&$ac_abs_builddir&;t t
18002 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18003 s&@INSTALL@&$ac_INSTALL&;t t
18004 $ac_datarootdir_hack
18006 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18007 if $ac_cs_awk_getline; then
18008 $AWK -f "$ac_tmp/subs.awk"
18009 else
18010 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18011 fi \
18012 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18014 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18015 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18016 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18017 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18019 which seems to be undefined. Please make sure it is defined" >&5
18020 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18021 which seems to be undefined. Please make sure it is defined" >&2;}
18023 rm -f "$ac_tmp/stdin"
18024 case $ac_file in
18025 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18026 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18027 esac \
18028 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18032 # CONFIG_HEADER
18034 if test x"$ac_file" != x-; then
18036 $as_echo "/* $configure_input */" \
18037 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18038 } >"$ac_tmp/config.h" \
18039 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18040 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18042 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18043 else
18044 rm -f "$ac_file"
18045 mv "$ac_tmp/config.h" "$ac_file" \
18046 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18048 else
18049 $as_echo "/* $configure_input */" \
18050 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18051 || as_fn_error $? "could not create -" "$LINENO" 5
18056 # CONFIG_LINK
18059 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18061 else
18062 # Prefer the file from the source tree if names are identical.
18063 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18064 ac_source=$srcdir/$ac_source
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18068 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18070 if test ! -r "$ac_source"; then
18071 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18073 rm -f "$ac_file"
18075 # Try a relative symlink, then a hard link, then a copy.
18076 case $ac_source in
18077 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18078 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18079 esac
18080 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18081 ln "$ac_source" "$ac_file" 2>/dev/null ||
18082 cp -p "$ac_source" "$ac_file" ||
18083 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18086 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18087 $as_echo "$as_me: executing $ac_file commands" >&6;}
18089 esac
18092 case $ac_file$ac_mode in
18093 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18094 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18095 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18096 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18097 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18098 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18099 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18100 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18101 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18102 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18103 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18104 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18105 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18106 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18107 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18108 "Makefile":C) wine_fn_output_makefile Makefile ;;
18110 esac
18111 done # for ac_tag
18114 as_fn_exit 0
18115 _ACEOF
18116 ac_clean_files=$ac_clean_files_save
18118 test $ac_write_fail = 0 ||
18119 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18122 # configure is writing to config.log, and then calls config.status.
18123 # config.status does its own redirection, appending to config.log.
18124 # Unfortunately, on DOS this fails, as config.log is still kept open
18125 # by configure, so config.status won't be able to write to it; its
18126 # output is simply discarded. So we exec the FD to /dev/null,
18127 # effectively closing config.log, so it can be properly (re)opened and
18128 # appended to by config.status. When coming back to configure, we
18129 # need to make the FD available again.
18130 if test "$no_create" != yes; then
18131 ac_cs_success=:
18132 ac_config_status_args=
18133 test "$silent" = yes &&
18134 ac_config_status_args="$ac_config_status_args --quiet"
18135 exec 5>/dev/null
18136 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18137 exec 5>>config.log
18138 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18139 # would make configure fail if this is the last instruction.
18140 $ac_cs_success || as_fn_exit 1
18142 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18144 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18148 if test "$no_create" = "yes"
18149 then
18150 exit 0
18153 ac_save_IFS="$IFS"
18154 if test "x$wine_notices != "x; then
18155 echo >&6
18156 IFS="|"
18157 for msg in $wine_notices; do
18158 IFS="$ac_save_IFS"
18159 if test -n "$msg"; then
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18161 $as_echo "$as_me: $msg" >&6;}
18163 done
18165 IFS="|"
18166 for msg in $wine_warnings; do
18167 IFS="$ac_save_IFS"
18168 if test -n "$msg"; then
18169 echo >&2
18170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18171 $as_echo "$as_me: WARNING: $msg" >&2;}
18173 done
18174 IFS="$ac_save_IFS"
18176 echo "
18177 $as_me: Finished. Do '${ac_make}' to compile Wine.
18178 " >&6