wrc: Declare the data buffer as unsigned char.
[wine.git] / configure
blobc10d8d56f00ce63dc72760661746d66e5cdf9484
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.32.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.32'
584 PACKAGE_STRING='Wine 1.7.32'
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 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
735 CPPBIN
736 ac_ct_CXX
737 CXXFLAGS
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
746 SET_MAKE
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_win16
797 enable_win64
798 enable_tests
799 enable_maintainer_mode
800 with_alsa
801 with_capi
802 with_cms
803 with_coreaudio
804 with_cups
805 with_curses
806 with_dbus
807 with_fontconfig
808 with_freetype
809 with_gettext
810 with_gettextpo
811 with_gphoto
812 with_glu
813 with_gnutls
814 with_gsm
815 with_gstreamer
816 with_hal
817 with_jpeg
818 with_ldap
819 with_mpg123
820 with_netapi
821 with_openal
822 with_opencl
823 with_opengl
824 with_osmesa
825 with_oss
826 with_pcap
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xshm
842 with_xslt
843 with_xxf86vm
844 with_zlib
845 with_wine_tools
846 with_wine64
847 enable_largefile
848 with_x
849 enable_acledit
850 enable_aclui
851 enable_activeds
852 enable_actxprxy
853 enable_advapi32
854 enable_advpack
855 enable_amstream
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_datetime_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_1
860 enable_api_ms_win_core_debug_l1_1_1
861 enable_api_ms_win_core_errorhandling_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_2
863 enable_api_ms_win_core_fibers_l1_1_0
864 enable_api_ms_win_core_fibers_l1_1_1
865 enable_api_ms_win_core_file_l1_2_0
866 enable_api_ms_win_core_file_l2_1_0
867 enable_api_ms_win_core_file_l2_1_1
868 enable_api_ms_win_core_handle_l1_1_0
869 enable_api_ms_win_core_heap_l1_2_0
870 enable_api_ms_win_core_heap_obsolete_l1_1_0
871 enable_api_ms_win_core_interlocked_l1_2_0
872 enable_api_ms_win_core_io_l1_1_1
873 enable_api_ms_win_core_kernel32_legacy_l1_1_0
874 enable_api_ms_win_core_libraryloader_l1_1_1
875 enable_api_ms_win_core_localization_l1_2_0
876 enable_api_ms_win_core_localization_l1_2_1
877 enable_api_ms_win_core_localization_obsolete_l1_1_0
878 enable_api_ms_win_core_localregistry_l1_1_0
879 enable_api_ms_win_core_memory_l1_1_1
880 enable_api_ms_win_core_namedpipe_l1_2_0
881 enable_api_ms_win_core_processenvironment_l1_2_0
882 enable_api_ms_win_core_processthreads_l1_1_0
883 enable_api_ms_win_core_processthreads_l1_1_1
884 enable_api_ms_win_core_processthreads_l1_1_2
885 enable_api_ms_win_core_profile_l1_1_0
886 enable_api_ms_win_core_psapi_l1_1_0
887 enable_api_ms_win_core_registry_l1_1_0
888 enable_api_ms_win_core_rtlsupport_l1_2_0
889 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
890 enable_api_ms_win_core_string_l1_1_0
891 enable_api_ms_win_core_synch_l1_2_0
892 enable_api_ms_win_core_sysinfo_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_1
894 enable_api_ms_win_core_threadpool_legacy_l1_1_0
895 enable_api_ms_win_core_timezone_l1_1_0
896 enable_api_ms_win_core_url_l1_1_0
897 enable_api_ms_win_core_util_l1_1_0
898 enable_api_ms_win_core_winrt_error_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_1
900 enable_api_ms_win_core_winrt_l1_1_0
901 enable_api_ms_win_core_winrt_string_l1_1_0
902 enable_api_ms_win_core_xstate_l2_1_0
903 enable_api_ms_win_downlevel_advapi32_l1_1_0
904 enable_api_ms_win_downlevel_advapi32_l2_1_0
905 enable_api_ms_win_downlevel_normaliz_l1_1_0
906 enable_api_ms_win_downlevel_ole32_l1_1_0
907 enable_api_ms_win_downlevel_shell32_l1_1_0
908 enable_api_ms_win_downlevel_shlwapi_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l2_1_0
910 enable_api_ms_win_downlevel_user32_l1_1_0
911 enable_api_ms_win_downlevel_version_l1_1_0
912 enable_api_ms_win_eventing_provider_l1_1_0
913 enable_api_ms_win_ntuser_dc_access_l1_1_0
914 enable_api_ms_win_security_base_l1_1_0
915 enable_api_ms_win_security_base_l1_2_0
916 enable_api_ms_win_security_sddl_l1_1_0
917 enable_api_ms_win_service_core_l1_1_1
918 enable_api_ms_win_service_management_l1_1_0
919 enable_api_ms_win_service_winsvc_l1_2_0
920 enable_apphelp
921 enable_appwiz_cpl
922 enable_atl
923 enable_atl100
924 enable_atl110
925 enable_atl80
926 enable_atl90
927 enable_authz
928 enable_avicap32
929 enable_avifil32
930 enable_avrt
931 enable_bcrypt
932 enable_browseui
933 enable_cabinet
934 enable_capi2032
935 enable_cards
936 enable_cfgmgr32
937 enable_clusapi
938 enable_comcat
939 enable_comctl32
940 enable_comdlg32
941 enable_compstui
942 enable_comsvcs
943 enable_credui
944 enable_crtdll
945 enable_crypt32
946 enable_cryptdlg
947 enable_cryptdll
948 enable_cryptext
949 enable_cryptnet
950 enable_cryptui
951 enable_ctapi32
952 enable_ctl3d32
953 enable_d2d1
954 enable_d3d10
955 enable_d3d10_1
956 enable_d3d10core
957 enable_d3d11
958 enable_d3d8
959 enable_d3d9
960 enable_d3dcompiler_33
961 enable_d3dcompiler_34
962 enable_d3dcompiler_35
963 enable_d3dcompiler_36
964 enable_d3dcompiler_37
965 enable_d3dcompiler_38
966 enable_d3dcompiler_39
967 enable_d3dcompiler_40
968 enable_d3dcompiler_41
969 enable_d3dcompiler_42
970 enable_d3dcompiler_43
971 enable_d3dim
972 enable_d3drm
973 enable_d3dx10_33
974 enable_d3dx10_34
975 enable_d3dx10_35
976 enable_d3dx10_36
977 enable_d3dx10_37
978 enable_d3dx10_38
979 enable_d3dx10_39
980 enable_d3dx10_40
981 enable_d3dx10_41
982 enable_d3dx10_42
983 enable_d3dx10_43
984 enable_d3dx11_42
985 enable_d3dx11_43
986 enable_d3dx9_24
987 enable_d3dx9_25
988 enable_d3dx9_26
989 enable_d3dx9_27
990 enable_d3dx9_28
991 enable_d3dx9_29
992 enable_d3dx9_30
993 enable_d3dx9_31
994 enable_d3dx9_32
995 enable_d3dx9_33
996 enable_d3dx9_34
997 enable_d3dx9_35
998 enable_d3dx9_36
999 enable_d3dx9_37
1000 enable_d3dx9_38
1001 enable_d3dx9_39
1002 enable_d3dx9_40
1003 enable_d3dx9_41
1004 enable_d3dx9_42
1005 enable_d3dx9_43
1006 enable_d3dxof
1007 enable_dbgeng
1008 enable_dbghelp
1009 enable_dciman32
1010 enable_ddraw
1011 enable_ddrawex
1012 enable_devenum
1013 enable_dhcpcsvc
1014 enable_difxapi
1015 enable_dinput
1016 enable_dinput8
1017 enable_dispex
1018 enable_dmband
1019 enable_dmcompos
1020 enable_dmime
1021 enable_dmloader
1022 enable_dmscript
1023 enable_dmstyle
1024 enable_dmsynth
1025 enable_dmusic
1026 enable_dmusic32
1027 enable_dnsapi
1028 enable_dplay
1029 enable_dplayx
1030 enable_dpnaddr
1031 enable_dpnet
1032 enable_dpnhpast
1033 enable_dpnlobby
1034 enable_dpvoice
1035 enable_dpwsockx
1036 enable_drmclien
1037 enable_dsound
1038 enable_dssenh
1039 enable_dswave
1040 enable_dwmapi
1041 enable_dwrite
1042 enable_dxdiagn
1043 enable_dxgi
1044 enable_dxva2
1045 enable_explorerframe
1046 enable_ext_ms_win_gdi_devcaps_l1_1_0
1047 enable_faultrep
1048 enable_fltlib
1049 enable_fntcache
1050 enable_fontsub
1051 enable_fusion
1052 enable_fwpuclnt
1053 enable_gameux
1054 enable_gdi32
1055 enable_gdiplus
1056 enable_glu32
1057 enable_gphoto2_ds
1058 enable_gpkcsp
1059 enable_hal
1060 enable_hhctrl_ocx
1061 enable_hid
1062 enable_hlink
1063 enable_hnetcfg
1064 enable_httpapi
1065 enable_iccvid
1066 enable_icmp
1067 enable_ieframe
1068 enable_imaadp32_acm
1069 enable_imagehlp
1070 enable_imm32
1071 enable_inetcomm
1072 enable_inetcpl_cpl
1073 enable_inetmib1
1074 enable_infosoft
1075 enable_initpki
1076 enable_inkobj
1077 enable_inseng
1078 enable_iphlpapi
1079 enable_itircl
1080 enable_itss
1081 enable_joy_cpl
1082 enable_jscript
1083 enable_jsproxy
1084 enable_kernel32
1085 enable_ksuser
1086 enable_ktmw32
1087 enable_loadperf
1088 enable_localspl
1089 enable_localui
1090 enable_lz32
1091 enable_mapi32
1092 enable_mapistub
1093 enable_mciavi32
1094 enable_mcicda
1095 enable_mciqtz32
1096 enable_mciseq
1097 enable_mciwave
1098 enable_mgmtapi
1099 enable_midimap
1100 enable_mlang
1101 enable_mmcndmgr
1102 enable_mmdevapi
1103 enable_mountmgr_sys
1104 enable_mpr
1105 enable_mprapi
1106 enable_msacm32_drv
1107 enable_msacm32
1108 enable_msadp32_acm
1109 enable_msasn1
1110 enable_mscat32
1111 enable_mscms
1112 enable_mscoree
1113 enable_msctf
1114 enable_msdaps
1115 enable_msdmo
1116 enable_msftedit
1117 enable_msg711_acm
1118 enable_msgsm32_acm
1119 enable_mshtml_tlb
1120 enable_mshtml
1121 enable_msi
1122 enable_msident
1123 enable_msimg32
1124 enable_msimsg
1125 enable_msimtf
1126 enable_msisip
1127 enable_msisys_ocx
1128 enable_msls31
1129 enable_msnet32
1130 enable_mspatcha
1131 enable_msrle32
1132 enable_mssign32
1133 enable_mssip32
1134 enable_mstask
1135 enable_msvcirt
1136 enable_msvcm80
1137 enable_msvcm90
1138 enable_msvcp100
1139 enable_msvcp110
1140 enable_msvcp120
1141 enable_msvcp60
1142 enable_msvcp70
1143 enable_msvcp71
1144 enable_msvcp80
1145 enable_msvcp90
1146 enable_msvcr100
1147 enable_msvcr110
1148 enable_msvcr120
1149 enable_msvcr70
1150 enable_msvcr71
1151 enable_msvcr80
1152 enable_msvcr90
1153 enable_msvcrt
1154 enable_msvcrt20
1155 enable_msvcrt40
1156 enable_msvcrtd
1157 enable_msvfw32
1158 enable_msvidc32
1159 enable_mswsock
1160 enable_msxml
1161 enable_msxml2
1162 enable_msxml3
1163 enable_msxml4
1164 enable_msxml6
1165 enable_nddeapi
1166 enable_ndis_sys
1167 enable_netapi32
1168 enable_netcfgx
1169 enable_netprofm
1170 enable_newdev
1171 enable_normaliz
1172 enable_npmshtml
1173 enable_npptools
1174 enable_ntdll
1175 enable_ntdsapi
1176 enable_ntoskrnl_exe
1177 enable_ntprint
1178 enable_objsel
1179 enable_odbc32
1180 enable_odbccp32
1181 enable_odbccu32
1182 enable_ole32
1183 enable_oleacc
1184 enable_oleaut32
1185 enable_olecli32
1186 enable_oledb32
1187 enable_oledlg
1188 enable_olepro32
1189 enable_olesvr32
1190 enable_olethk32
1191 enable_openal32
1192 enable_opencl
1193 enable_opengl32
1194 enable_packager
1195 enable_pdh
1196 enable_photometadatahandler
1197 enable_pidgen
1198 enable_powrprof
1199 enable_printui
1200 enable_prntvpt
1201 enable_propsys
1202 enable_psapi
1203 enable_pstorec
1204 enable_qcap
1205 enable_qedit
1206 enable_qmgr
1207 enable_qmgrprxy
1208 enable_quartz
1209 enable_query
1210 enable_rasapi32
1211 enable_rasdlg
1212 enable_regapi
1213 enable_resutils
1214 enable_riched20
1215 enable_riched32
1216 enable_rpcrt4
1217 enable_rsabase
1218 enable_rsaenh
1219 enable_rstrtmgr
1220 enable_rtutils
1221 enable_samlib
1222 enable_sane_ds
1223 enable_scarddlg
1224 enable_sccbase
1225 enable_schannel
1226 enable_schedsvc
1227 enable_scrrun
1228 enable_scsiport_sys
1229 enable_secur32
1230 enable_security
1231 enable_sensapi
1232 enable_serialui
1233 enable_setupapi
1234 enable_sfc
1235 enable_sfc_os
1236 enable_shdoclc
1237 enable_shdocvw
1238 enable_shell32
1239 enable_shfolder
1240 enable_shlwapi
1241 enable_slbcsp
1242 enable_slc
1243 enable_snmpapi
1244 enable_softpub
1245 enable_spoolss
1246 enable_stdole2_tlb
1247 enable_stdole32_tlb
1248 enable_sti
1249 enable_svrapi
1250 enable_sxs
1251 enable_t2embed
1252 enable_tapi32
1253 enable_taskschd
1254 enable_traffic
1255 enable_twain_32
1256 enable_unicows
1257 enable_updspapi
1258 enable_url
1259 enable_urlmon
1260 enable_usbd_sys
1261 enable_user32
1262 enable_userenv
1263 enable_usp10
1264 enable_uxtheme
1265 enable_vbscript
1266 enable_vcomp
1267 enable_vcomp100
1268 enable_vcomp90
1269 enable_vdmdbg
1270 enable_version
1271 enable_vssapi
1272 enable_wbemdisp
1273 enable_wbemprox
1274 enable_webservices
1275 enable_wer
1276 enable_wevtapi
1277 enable_wiaservc
1278 enable_windowscodecs
1279 enable_windowscodecsext
1280 enable_winealsa_drv
1281 enable_winecoreaudio_drv
1282 enable_wined3d
1283 enable_winegstreamer
1284 enable_winejoystick_drv
1285 enable_winemac_drv
1286 enable_winemapi
1287 enable_winemp3_acm
1288 enable_wineoss_drv
1289 enable_wineps_drv
1290 enable_wineqtdecoder
1291 enable_winex11_drv
1292 enable_wing32
1293 enable_winhttp
1294 enable_wininet
1295 enable_winmm
1296 enable_winnls32
1297 enable_winscard
1298 enable_winspool_drv
1299 enable_winsta
1300 enable_wintab32
1301 enable_wintrust
1302 enable_wlanapi
1303 enable_wldap32
1304 enable_wmi
1305 enable_wmiutils
1306 enable_wmp
1307 enable_wmvcore
1308 enable_wnaspi32
1309 enable_wpcap
1310 enable_ws2_32
1311 enable_wshom_ocx
1312 enable_wsnmp32
1313 enable_wsock32
1314 enable_wtsapi32
1315 enable_wuapi
1316 enable_wuaueng
1317 enable_xapofx1_1
1318 enable_xinput1_1
1319 enable_xinput1_2
1320 enable_xinput1_3
1321 enable_xinput1_4
1322 enable_xinput9_1_0
1323 enable_xmllite
1324 enable_xolehlp
1325 enable_xpsprint
1326 enable_xpssvcs
1327 enable_documentation
1328 enable_fonts
1329 enable_include
1330 enable_libs_port
1331 enable_libs_wine
1332 enable_libs_wpp
1333 enable_loader
1334 enable_arp
1335 enable_aspnet_regiis
1336 enable_attrib
1337 enable_cabarc
1338 enable_cacls
1339 enable_clock
1340 enable_cmd
1341 enable_conhost
1342 enable_control
1343 enable_cscript
1344 enable_dpnsvr
1345 enable_dxdiag
1346 enable_eject
1347 enable_expand
1348 enable_explorer
1349 enable_extrac32
1350 enable_findstr
1351 enable_hh
1352 enable_hostname
1353 enable_icinfo
1354 enable_iexplore
1355 enable_ipconfig
1356 enable_lodctr
1357 enable_mofcomp
1358 enable_mshta
1359 enable_msiexec
1360 enable_net
1361 enable_netsh
1362 enable_netstat
1363 enable_ngen
1364 enable_notepad
1365 enable_oleview
1366 enable_ping
1367 enable_plugplay
1368 enable_presentationfontcache
1369 enable_progman
1370 enable_reg
1371 enable_regasm
1372 enable_regedit
1373 enable_regsvcs
1374 enable_regsvr32
1375 enable_rpcss
1376 enable_rundll32
1377 enable_sc
1378 enable_schtasks
1379 enable_sdbinst
1380 enable_secedit
1381 enable_servicemodelreg
1382 enable_services
1383 enable_spoolsv
1384 enable_start
1385 enable_svchost
1386 enable_systeminfo
1387 enable_taskkill
1388 enable_tasklist
1389 enable_taskmgr
1390 enable_termsv
1391 enable_uninstaller
1392 enable_unlodctr
1393 enable_view
1394 enable_wevtutil
1395 enable_wineboot
1396 enable_winebrowser
1397 enable_winecfg
1398 enable_wineconsole
1399 enable_winedbg
1400 enable_winedevice
1401 enable_winefile
1402 enable_winemenubuilder
1403 enable_winemine
1404 enable_winemsibuilder
1405 enable_winepath
1406 enable_winetest
1407 enable_winhlp32
1408 enable_winver
1409 enable_wmic
1410 enable_wordpad
1411 enable_write
1412 enable_wscript
1413 enable_wusa
1414 enable_xcopy
1415 enable_server
1416 enable_tools
1418 ac_precious_vars='build_alias
1419 host_alias
1420 target_alias
1422 CFLAGS
1423 LDFLAGS
1424 LIBS
1425 CPPFLAGS
1427 CXXFLAGS
1430 XMKMF
1431 XML2_CFLAGS
1432 XML2_LIBS
1433 XSLT_CFLAGS
1434 XSLT_LIBS
1435 DBUS_CFLAGS
1436 DBUS_LIBS
1437 HAL_CFLAGS
1438 HAL_LIBS
1439 GNUTLS_CFLAGS
1440 GNUTLS_LIBS
1441 SANE_CFLAGS
1442 SANE_LIBS
1443 GPHOTO2_CFLAGS
1444 GPHOTO2_LIBS
1445 GPHOTO2_PORT_CFLAGS
1446 GPHOTO2_PORT_LIBS
1447 LCMS2_CFLAGS
1448 LCMS2_LIBS
1449 FREETYPE_CFLAGS
1450 FREETYPE_LIBS
1451 GSTREAMER_CFLAGS
1452 GSTREAMER_LIBS
1453 CAPI20_CFLAGS
1454 CAPI20_LIBS
1455 FONTCONFIG_CFLAGS
1456 FONTCONFIG_LIBS
1457 JPEG_CFLAGS
1458 JPEG_LIBS
1459 PNG_CFLAGS
1460 PNG_LIBS
1461 TIFF_CFLAGS
1462 TIFF_LIBS
1463 MPG123_CFLAGS
1464 MPG123_LIBS'
1467 # Initialize some variables set by options.
1468 ac_init_help=
1469 ac_init_version=false
1470 ac_unrecognized_opts=
1471 ac_unrecognized_sep=
1472 # The variables have the same names as the options, with
1473 # dashes changed to underlines.
1474 cache_file=/dev/null
1475 exec_prefix=NONE
1476 no_create=
1477 no_recursion=
1478 prefix=NONE
1479 program_prefix=NONE
1480 program_suffix=NONE
1481 program_transform_name=s,x,x,
1482 silent=
1483 site=
1484 srcdir=
1485 verbose=
1486 x_includes=NONE
1487 x_libraries=NONE
1489 # Installation directory options.
1490 # These are left unexpanded so users can "make install exec_prefix=/foo"
1491 # and all the variables that are supposed to be based on exec_prefix
1492 # by default will actually change.
1493 # Use braces instead of parens because sh, perl, etc. also accept them.
1494 # (The list follows the same order as the GNU Coding Standards.)
1495 bindir='${exec_prefix}/bin'
1496 sbindir='${exec_prefix}/sbin'
1497 libexecdir='${exec_prefix}/libexec'
1498 datarootdir='${prefix}/share'
1499 datadir='${datarootdir}'
1500 sysconfdir='${prefix}/etc'
1501 sharedstatedir='${prefix}/com'
1502 localstatedir='${prefix}/var'
1503 includedir='${prefix}/include'
1504 oldincludedir='/usr/include'
1505 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1506 infodir='${datarootdir}/info'
1507 htmldir='${docdir}'
1508 dvidir='${docdir}'
1509 pdfdir='${docdir}'
1510 psdir='${docdir}'
1511 libdir='${exec_prefix}/lib'
1512 localedir='${datarootdir}/locale'
1513 mandir='${datarootdir}/man'
1515 ac_prev=
1516 ac_dashdash=
1517 for ac_option
1519 # If the previous option needs an argument, assign it.
1520 if test -n "$ac_prev"; then
1521 eval $ac_prev=\$ac_option
1522 ac_prev=
1523 continue
1526 case $ac_option in
1527 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1528 *=) ac_optarg= ;;
1529 *) ac_optarg=yes ;;
1530 esac
1532 # Accept the important Cygnus configure options, so we can diagnose typos.
1534 case $ac_dashdash$ac_option in
1536 ac_dashdash=yes ;;
1538 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1539 ac_prev=bindir ;;
1540 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1541 bindir=$ac_optarg ;;
1543 -build | --build | --buil | --bui | --bu)
1544 ac_prev=build_alias ;;
1545 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1546 build_alias=$ac_optarg ;;
1548 -cache-file | --cache-file | --cache-fil | --cache-fi \
1549 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1550 ac_prev=cache_file ;;
1551 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1552 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1553 cache_file=$ac_optarg ;;
1555 --config-cache | -C)
1556 cache_file=config.cache ;;
1558 -datadir | --datadir | --datadi | --datad)
1559 ac_prev=datadir ;;
1560 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1561 datadir=$ac_optarg ;;
1563 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1564 | --dataroo | --dataro | --datar)
1565 ac_prev=datarootdir ;;
1566 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1567 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1568 datarootdir=$ac_optarg ;;
1570 -disable-* | --disable-*)
1571 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1572 # Reject names that are not valid shell variable names.
1573 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1574 as_fn_error $? "invalid feature name: $ac_useropt"
1575 ac_useropt_orig=$ac_useropt
1576 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1577 case $ac_user_opts in
1579 "enable_$ac_useropt"
1580 "*) ;;
1581 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1582 ac_unrecognized_sep=', ';;
1583 esac
1584 eval enable_$ac_useropt=no ;;
1586 -docdir | --docdir | --docdi | --doc | --do)
1587 ac_prev=docdir ;;
1588 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1589 docdir=$ac_optarg ;;
1591 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1592 ac_prev=dvidir ;;
1593 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1594 dvidir=$ac_optarg ;;
1596 -enable-* | --enable-*)
1597 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1598 # Reject names that are not valid shell variable names.
1599 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1600 as_fn_error $? "invalid feature name: $ac_useropt"
1601 ac_useropt_orig=$ac_useropt
1602 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1603 case $ac_user_opts in
1605 "enable_$ac_useropt"
1606 "*) ;;
1607 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1608 ac_unrecognized_sep=', ';;
1609 esac
1610 eval enable_$ac_useropt=\$ac_optarg ;;
1612 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1613 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1614 | --exec | --exe | --ex)
1615 ac_prev=exec_prefix ;;
1616 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1617 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1618 | --exec=* | --exe=* | --ex=*)
1619 exec_prefix=$ac_optarg ;;
1621 -gas | --gas | --ga | --g)
1622 # Obsolete; use --with-gas.
1623 with_gas=yes ;;
1625 -help | --help | --hel | --he | -h)
1626 ac_init_help=long ;;
1627 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1628 ac_init_help=recursive ;;
1629 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1630 ac_init_help=short ;;
1632 -host | --host | --hos | --ho)
1633 ac_prev=host_alias ;;
1634 -host=* | --host=* | --hos=* | --ho=*)
1635 host_alias=$ac_optarg ;;
1637 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1638 ac_prev=htmldir ;;
1639 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1640 | --ht=*)
1641 htmldir=$ac_optarg ;;
1643 -includedir | --includedir | --includedi | --included | --include \
1644 | --includ | --inclu | --incl | --inc)
1645 ac_prev=includedir ;;
1646 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1647 | --includ=* | --inclu=* | --incl=* | --inc=*)
1648 includedir=$ac_optarg ;;
1650 -infodir | --infodir | --infodi | --infod | --info | --inf)
1651 ac_prev=infodir ;;
1652 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1653 infodir=$ac_optarg ;;
1655 -libdir | --libdir | --libdi | --libd)
1656 ac_prev=libdir ;;
1657 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1658 libdir=$ac_optarg ;;
1660 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1661 | --libexe | --libex | --libe)
1662 ac_prev=libexecdir ;;
1663 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1664 | --libexe=* | --libex=* | --libe=*)
1665 libexecdir=$ac_optarg ;;
1667 -localedir | --localedir | --localedi | --localed | --locale)
1668 ac_prev=localedir ;;
1669 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1670 localedir=$ac_optarg ;;
1672 -localstatedir | --localstatedir | --localstatedi | --localstated \
1673 | --localstate | --localstat | --localsta | --localst | --locals)
1674 ac_prev=localstatedir ;;
1675 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1676 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1677 localstatedir=$ac_optarg ;;
1679 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1680 ac_prev=mandir ;;
1681 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1682 mandir=$ac_optarg ;;
1684 -nfp | --nfp | --nf)
1685 # Obsolete; use --without-fp.
1686 with_fp=no ;;
1688 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1689 | --no-cr | --no-c | -n)
1690 no_create=yes ;;
1692 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1693 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1694 no_recursion=yes ;;
1696 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1697 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1698 | --oldin | --oldi | --old | --ol | --o)
1699 ac_prev=oldincludedir ;;
1700 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1701 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1702 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1703 oldincludedir=$ac_optarg ;;
1705 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1706 ac_prev=prefix ;;
1707 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1708 prefix=$ac_optarg ;;
1710 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1711 | --program-pre | --program-pr | --program-p)
1712 ac_prev=program_prefix ;;
1713 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1714 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1715 program_prefix=$ac_optarg ;;
1717 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1718 | --program-suf | --program-su | --program-s)
1719 ac_prev=program_suffix ;;
1720 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1721 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1722 program_suffix=$ac_optarg ;;
1724 -program-transform-name | --program-transform-name \
1725 | --program-transform-nam | --program-transform-na \
1726 | --program-transform-n | --program-transform- \
1727 | --program-transform | --program-transfor \
1728 | --program-transfo | --program-transf \
1729 | --program-trans | --program-tran \
1730 | --progr-tra | --program-tr | --program-t)
1731 ac_prev=program_transform_name ;;
1732 -program-transform-name=* | --program-transform-name=* \
1733 | --program-transform-nam=* | --program-transform-na=* \
1734 | --program-transform-n=* | --program-transform-=* \
1735 | --program-transform=* | --program-transfor=* \
1736 | --program-transfo=* | --program-transf=* \
1737 | --program-trans=* | --program-tran=* \
1738 | --progr-tra=* | --program-tr=* | --program-t=*)
1739 program_transform_name=$ac_optarg ;;
1741 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1742 ac_prev=pdfdir ;;
1743 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1744 pdfdir=$ac_optarg ;;
1746 -psdir | --psdir | --psdi | --psd | --ps)
1747 ac_prev=psdir ;;
1748 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1749 psdir=$ac_optarg ;;
1751 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1752 | -silent | --silent | --silen | --sile | --sil)
1753 silent=yes ;;
1755 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1756 ac_prev=sbindir ;;
1757 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1758 | --sbi=* | --sb=*)
1759 sbindir=$ac_optarg ;;
1761 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1762 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1763 | --sharedst | --shareds | --shared | --share | --shar \
1764 | --sha | --sh)
1765 ac_prev=sharedstatedir ;;
1766 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1767 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1768 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1769 | --sha=* | --sh=*)
1770 sharedstatedir=$ac_optarg ;;
1772 -site | --site | --sit)
1773 ac_prev=site ;;
1774 -site=* | --site=* | --sit=*)
1775 site=$ac_optarg ;;
1777 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1778 ac_prev=srcdir ;;
1779 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1780 srcdir=$ac_optarg ;;
1782 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1783 | --syscon | --sysco | --sysc | --sys | --sy)
1784 ac_prev=sysconfdir ;;
1785 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1786 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1787 sysconfdir=$ac_optarg ;;
1789 -target | --target | --targe | --targ | --tar | --ta | --t)
1790 ac_prev=target_alias ;;
1791 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1792 target_alias=$ac_optarg ;;
1794 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1795 verbose=yes ;;
1797 -version | --version | --versio | --versi | --vers | -V)
1798 ac_init_version=: ;;
1800 -with-* | --with-*)
1801 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1802 # Reject names that are not valid shell variable names.
1803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1804 as_fn_error $? "invalid package name: $ac_useropt"
1805 ac_useropt_orig=$ac_useropt
1806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1807 case $ac_user_opts in
1809 "with_$ac_useropt"
1810 "*) ;;
1811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1812 ac_unrecognized_sep=', ';;
1813 esac
1814 eval with_$ac_useropt=\$ac_optarg ;;
1816 -without-* | --without-*)
1817 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1818 # Reject names that are not valid shell variable names.
1819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1820 as_fn_error $? "invalid package name: $ac_useropt"
1821 ac_useropt_orig=$ac_useropt
1822 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1823 case $ac_user_opts in
1825 "with_$ac_useropt"
1826 "*) ;;
1827 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1828 ac_unrecognized_sep=', ';;
1829 esac
1830 eval with_$ac_useropt=no ;;
1832 --x)
1833 # Obsolete; use --with-x.
1834 with_x=yes ;;
1836 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1837 | --x-incl | --x-inc | --x-in | --x-i)
1838 ac_prev=x_includes ;;
1839 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1840 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1841 x_includes=$ac_optarg ;;
1843 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1844 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1845 ac_prev=x_libraries ;;
1846 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1847 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1848 x_libraries=$ac_optarg ;;
1850 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1851 Try \`$0 --help' for more information"
1854 *=*)
1855 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1856 # Reject names that are not valid shell variable names.
1857 case $ac_envvar in #(
1858 '' | [0-9]* | *[!_$as_cr_alnum]* )
1859 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1860 esac
1861 eval $ac_envvar=\$ac_optarg
1862 export $ac_envvar ;;
1865 # FIXME: should be removed in autoconf 3.0.
1866 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1867 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1868 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1869 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1872 esac
1873 done
1875 if test -n "$ac_prev"; then
1876 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1877 as_fn_error $? "missing argument to $ac_option"
1880 if test -n "$ac_unrecognized_opts"; then
1881 case $enable_option_checking in
1882 no) ;;
1883 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1884 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1885 esac
1888 # Check all directory arguments for consistency.
1889 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1890 datadir sysconfdir sharedstatedir localstatedir includedir \
1891 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1892 libdir localedir mandir
1894 eval ac_val=\$$ac_var
1895 # Remove trailing slashes.
1896 case $ac_val in
1897 */ )
1898 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1899 eval $ac_var=\$ac_val;;
1900 esac
1901 # Be sure to have absolute directory names.
1902 case $ac_val in
1903 [\\/$]* | ?:[\\/]* ) continue;;
1904 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1905 esac
1906 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1907 done
1909 # There might be people who depend on the old broken behavior: `$host'
1910 # used to hold the argument of --host etc.
1911 # FIXME: To remove some day.
1912 build=$build_alias
1913 host=$host_alias
1914 target=$target_alias
1916 # FIXME: To remove some day.
1917 if test "x$host_alias" != x; then
1918 if test "x$build_alias" = x; then
1919 cross_compiling=maybe
1920 elif test "x$build_alias" != "x$host_alias"; then
1921 cross_compiling=yes
1925 ac_tool_prefix=
1926 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1928 test "$silent" = yes && exec 6>/dev/null
1931 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1932 ac_ls_di=`ls -di .` &&
1933 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1934 as_fn_error $? "working directory cannot be determined"
1935 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1936 as_fn_error $? "pwd does not report name of working directory"
1939 # Find the source files, if location was not specified.
1940 if test -z "$srcdir"; then
1941 ac_srcdir_defaulted=yes
1942 # Try the directory containing this script, then the parent directory.
1943 ac_confdir=`$as_dirname -- "$as_myself" ||
1944 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1945 X"$as_myself" : 'X\(//\)[^/]' \| \
1946 X"$as_myself" : 'X\(//\)$' \| \
1947 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1948 $as_echo X"$as_myself" |
1949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1950 s//\1/
1953 /^X\(\/\/\)[^/].*/{
1954 s//\1/
1957 /^X\(\/\/\)$/{
1958 s//\1/
1961 /^X\(\/\).*/{
1962 s//\1/
1965 s/.*/./; q'`
1966 srcdir=$ac_confdir
1967 if test ! -r "$srcdir/$ac_unique_file"; then
1968 srcdir=..
1970 else
1971 ac_srcdir_defaulted=no
1973 if test ! -r "$srcdir/$ac_unique_file"; then
1974 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1975 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1977 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1978 ac_abs_confdir=`(
1979 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1980 pwd)`
1981 # When building in place, set srcdir=.
1982 if test "$ac_abs_confdir" = "$ac_pwd"; then
1983 srcdir=.
1985 # Remove unnecessary trailing slashes from srcdir.
1986 # Double slashes in file names in object file debugging info
1987 # mess up M-x gdb in Emacs.
1988 case $srcdir in
1989 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1990 esac
1991 for ac_var in $ac_precious_vars; do
1992 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1993 eval ac_env_${ac_var}_value=\$${ac_var}
1994 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1995 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1996 done
1999 # Report the --help message.
2001 if test "$ac_init_help" = "long"; then
2002 # Omit some internal or obsolete options to make the list less imposing.
2003 # This message is too long to be a string in the A/UX 3.1 sh.
2004 cat <<_ACEOF
2005 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2007 Usage: $0 [OPTION]... [VAR=VALUE]...
2009 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2010 VAR=VALUE. See below for descriptions of some of the useful variables.
2012 Defaults for the options are specified in brackets.
2014 Configuration:
2015 -h, --help display this help and exit
2016 --help=short display options specific to this package
2017 --help=recursive display the short help of all the included packages
2018 -V, --version display version information and exit
2019 -q, --quiet, --silent do not print \`checking ...' messages
2020 --cache-file=FILE cache test results in FILE [disabled]
2021 -C, --config-cache alias for \`--cache-file=config.cache'
2022 -n, --no-create do not create output files
2023 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2025 Installation directories:
2026 --prefix=PREFIX install architecture-independent files in PREFIX
2027 [$ac_default_prefix]
2028 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2029 [PREFIX]
2031 By default, \`make install' will install all the files in
2032 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2033 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2034 for instance \`--prefix=\$HOME'.
2036 For better control, use the options below.
2038 Fine tuning of the installation directories:
2039 --bindir=DIR user executables [EPREFIX/bin]
2040 --sbindir=DIR system admin executables [EPREFIX/sbin]
2041 --libexecdir=DIR program executables [EPREFIX/libexec]
2042 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2043 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2044 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2045 --libdir=DIR object code libraries [EPREFIX/lib]
2046 --includedir=DIR C header files [PREFIX/include]
2047 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2048 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2049 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2050 --infodir=DIR info documentation [DATAROOTDIR/info]
2051 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2052 --mandir=DIR man documentation [DATAROOTDIR/man]
2053 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2054 --htmldir=DIR html documentation [DOCDIR]
2055 --dvidir=DIR dvi documentation [DOCDIR]
2056 --pdfdir=DIR pdf documentation [DOCDIR]
2057 --psdir=DIR ps documentation [DOCDIR]
2058 _ACEOF
2060 cat <<\_ACEOF
2062 X features:
2063 --x-includes=DIR X include files are in DIR
2064 --x-libraries=DIR X library files are in DIR
2066 System types:
2067 --build=BUILD configure for building on BUILD [guessed]
2068 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2069 _ACEOF
2072 if test -n "$ac_init_help"; then
2073 case $ac_init_help in
2074 short | recursive ) echo "Configuration of Wine 1.7.32:";;
2075 esac
2076 cat <<\_ACEOF
2078 Optional Features:
2079 --disable-option-checking ignore unrecognized --enable/--with options
2080 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2081 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2082 --disable-win16 do not include Win16 support
2083 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2084 binaries)
2085 --disable-tests do not build the regression tests
2086 --enable-maintainer-mode
2087 enable maintainer-specific build rules
2088 --disable-largefile omit support for large files
2090 Optional Packages:
2091 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2092 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2093 --without-alsa do not use the Alsa sound support
2094 --without-capi do not use CAPI (ISDN support)
2095 --without-cms do not use CMS (color management support)
2096 --without-coreaudio do not use the CoreAudio sound support
2097 --without-cups do not use CUPS
2098 --without-curses do not use (n)curses
2099 --without-dbus do not use DBus (dynamic device support)
2100 --without-fontconfig do not use fontconfig
2101 --without-freetype do not use the FreeType library
2102 --without-gettext do not use gettext
2103 --with-gettextpo use the GetTextPO library to rebuild po files
2104 --without-gphoto do not use gphoto (Digital Camera support)
2105 --without-glu do not use the GLU library
2106 --without-gnutls do not use GnuTLS (schannel support)
2107 --without-gsm do not use libgsm (GSM 06.10 codec support)
2108 --without-gstreamer do not use GStreamer (codecs support)
2109 --without-hal do not use HAL (dynamic device support)
2110 --without-jpeg do not use JPEG
2111 --without-ldap do not use LDAP
2112 --without-mpg123 do not use the mpg123 library
2113 --without-netapi do not use the Samba NetAPI library
2114 --without-openal do not use OpenAL
2115 --without-opencl do not use OpenCL
2116 --without-opengl do not use OpenGL
2117 --without-osmesa do not use the OSMesa library
2118 --without-oss do not use the OSS sound support
2119 --without-pcap do not use the Packet Capture library
2120 --without-png do not use PNG
2121 --without-pthread do not use the pthread library
2122 --without-sane do not use SANE (scanner support)
2123 --without-tiff do not use TIFF
2124 --without-v4l do not use v4l1 (v4l support)
2125 --without-xcomposite do not use the Xcomposite extension
2126 --without-xcursor do not use the Xcursor extension
2127 --without-xinerama do not use Xinerama (multi-monitor support)
2128 --without-xinput do not use the Xinput extension
2129 --without-xinput2 do not use the Xinput 2 extension
2130 --without-xml do not use XML
2131 --without-xrandr do not use Xrandr (resolution changes)
2132 --without-xrender do not use the Xrender extension
2133 --without-xshape do not use the Xshape extension
2134 --without-xshm do not use XShm (shared memory extension)
2135 --without-xslt do not use XSLT
2136 --without-xxf86vm do not use XFree video mode extension
2137 --without-zlib do not use Zlib (data compression)
2138 --with-wine-tools=DIR use Wine tools from directory DIR
2139 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2140 --with-x use the X Window System
2142 Some influential environment variables:
2143 CC C compiler command
2144 CFLAGS C compiler flags
2145 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2146 nonstandard directory <lib dir>
2147 LIBS libraries to pass to the linker, e.g. -l<library>
2148 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2149 you have headers in a nonstandard directory <include dir>
2150 CXX C++ compiler command
2151 CXXFLAGS C++ compiler flags
2152 CPP C preprocessor
2153 XMKMF Path to xmkmf, Makefile generator for X Window System
2154 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2155 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2156 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2157 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2158 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2159 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2160 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2161 HAL_LIBS Linker flags for hal, overriding pkg-config
2162 GNUTLS_CFLAGS
2163 C compiler flags for gnutls, overriding pkg-config
2164 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2165 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2166 SANE_LIBS Linker flags for libsane, overriding pkg-config
2167 GPHOTO2_CFLAGS
2168 C compiler flags for libgphoto2, overriding pkg-config
2169 GPHOTO2_LIBS
2170 Linker flags for libgphoto2, overriding pkg-config
2171 GPHOTO2_PORT_CFLAGS
2172 C compiler flags for libgphoto2_port, overriding pkg-config
2173 GPHOTO2_PORT_LIBS
2174 Linker flags for libgphoto2_port, overriding pkg-config
2175 LCMS2_CFLAGS
2176 C compiler flags for lcms2, overriding pkg-config
2177 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2178 FREETYPE_CFLAGS
2179 C compiler flags for freetype2, overriding pkg-config
2180 FREETYPE_LIBS
2181 Linker flags for freetype2, overriding pkg-config
2182 GSTREAMER_CFLAGS
2183 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2184 GSTREAMER_LIBS
2185 Linker flags for gstreamer-app-0.10, overriding pkg-config
2186 CAPI20_CFLAGS
2187 C compiler flags for capi20, overriding pkg-config
2188 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2189 FONTCONFIG_CFLAGS
2190 C compiler flags for fontconfig, overriding pkg-config
2191 FONTCONFIG_LIBS
2192 Linker flags for fontconfig, overriding pkg-config
2193 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2194 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2195 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2196 PNG_LIBS Linker flags for libpng, overriding pkg-config
2197 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2198 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2199 MPG123_CFLAGS
2200 C compiler flags for libmpg123, overriding pkg-config
2201 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2203 Use these variables to override the choices made by `configure' or to help
2204 it to find libraries and programs with nonstandard names/locations.
2206 Report bugs to <wine-devel@winehq.org>.
2207 Wine home page: <http://www.winehq.org>.
2208 _ACEOF
2209 ac_status=$?
2212 if test "$ac_init_help" = "recursive"; then
2213 # If there are subdirs, report their specific --help.
2214 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2215 test -d "$ac_dir" ||
2216 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2217 continue
2218 ac_builddir=.
2220 case "$ac_dir" in
2221 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2223 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2224 # A ".." for each directory in $ac_dir_suffix.
2225 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2226 case $ac_top_builddir_sub in
2227 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2228 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2229 esac ;;
2230 esac
2231 ac_abs_top_builddir=$ac_pwd
2232 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2233 # for backward compatibility:
2234 ac_top_builddir=$ac_top_build_prefix
2236 case $srcdir in
2237 .) # We are building in place.
2238 ac_srcdir=.
2239 ac_top_srcdir=$ac_top_builddir_sub
2240 ac_abs_top_srcdir=$ac_pwd ;;
2241 [\\/]* | ?:[\\/]* ) # Absolute name.
2242 ac_srcdir=$srcdir$ac_dir_suffix;
2243 ac_top_srcdir=$srcdir
2244 ac_abs_top_srcdir=$srcdir ;;
2245 *) # Relative name.
2246 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2247 ac_top_srcdir=$ac_top_build_prefix$srcdir
2248 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2249 esac
2250 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2252 cd "$ac_dir" || { ac_status=$?; continue; }
2253 # Check for guested configure.
2254 if test -f "$ac_srcdir/configure.gnu"; then
2255 echo &&
2256 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2257 elif test -f "$ac_srcdir/configure"; then
2258 echo &&
2259 $SHELL "$ac_srcdir/configure" --help=recursive
2260 else
2261 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2262 fi || ac_status=$?
2263 cd "$ac_pwd" || { ac_status=$?; break; }
2264 done
2267 test -n "$ac_init_help" && exit $ac_status
2268 if $ac_init_version; then
2269 cat <<\_ACEOF
2270 Wine configure 1.7.32
2271 generated by GNU Autoconf 2.69
2273 Copyright (C) 2012 Free Software Foundation, Inc.
2274 This configure script is free software; the Free Software Foundation
2275 gives unlimited permission to copy, distribute and modify it.
2276 _ACEOF
2277 exit
2280 ## ------------------------ ##
2281 ## Autoconf initialization. ##
2282 ## ------------------------ ##
2284 # ac_fn_c_try_compile LINENO
2285 # --------------------------
2286 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2287 ac_fn_c_try_compile ()
2289 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2290 rm -f conftest.$ac_objext
2291 if { { ac_try="$ac_compile"
2292 case "(($ac_try" in
2293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2294 *) ac_try_echo=$ac_try;;
2295 esac
2296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2297 $as_echo "$ac_try_echo"; } >&5
2298 (eval "$ac_compile") 2>conftest.err
2299 ac_status=$?
2300 if test -s conftest.err; then
2301 grep -v '^ *+' conftest.err >conftest.er1
2302 cat conftest.er1 >&5
2303 mv -f conftest.er1 conftest.err
2305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2306 test $ac_status = 0; } && {
2307 test -z "$ac_c_werror_flag" ||
2308 test ! -s conftest.err
2309 } && test -s conftest.$ac_objext; then :
2310 ac_retval=0
2311 else
2312 $as_echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.$ac_ext >&5
2315 ac_retval=1
2317 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2318 as_fn_set_status $ac_retval
2320 } # ac_fn_c_try_compile
2322 # ac_fn_cxx_try_compile LINENO
2323 # ----------------------------
2324 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2325 ac_fn_cxx_try_compile ()
2327 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2328 rm -f conftest.$ac_objext
2329 if { { ac_try="$ac_compile"
2330 case "(($ac_try" in
2331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2333 esac
2334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2335 $as_echo "$ac_try_echo"; } >&5
2336 (eval "$ac_compile") 2>conftest.err
2337 ac_status=$?
2338 if test -s conftest.err; then
2339 grep -v '^ *+' conftest.err >conftest.er1
2340 cat conftest.er1 >&5
2341 mv -f conftest.er1 conftest.err
2343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2344 test $ac_status = 0; } && {
2345 test -z "$ac_cxx_werror_flag" ||
2346 test ! -s conftest.err
2347 } && test -s conftest.$ac_objext; then :
2348 ac_retval=0
2349 else
2350 $as_echo "$as_me: failed program was:" >&5
2351 sed 's/^/| /' conftest.$ac_ext >&5
2353 ac_retval=1
2355 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2356 as_fn_set_status $ac_retval
2358 } # ac_fn_cxx_try_compile
2360 # ac_fn_c_try_link LINENO
2361 # -----------------------
2362 # Try to link conftest.$ac_ext, and return whether this succeeded.
2363 ac_fn_c_try_link ()
2365 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2366 rm -f conftest.$ac_objext conftest$ac_exeext
2367 if { { ac_try="$ac_link"
2368 case "(($ac_try" in
2369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2370 *) ac_try_echo=$ac_try;;
2371 esac
2372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2373 $as_echo "$ac_try_echo"; } >&5
2374 (eval "$ac_link") 2>conftest.err
2375 ac_status=$?
2376 if test -s conftest.err; then
2377 grep -v '^ *+' conftest.err >conftest.er1
2378 cat conftest.er1 >&5
2379 mv -f conftest.er1 conftest.err
2381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2382 test $ac_status = 0; } && {
2383 test -z "$ac_c_werror_flag" ||
2384 test ! -s conftest.err
2385 } && test -s conftest$ac_exeext && {
2386 test "$cross_compiling" = yes ||
2387 test -x conftest$ac_exeext
2388 }; then :
2389 ac_retval=0
2390 else
2391 $as_echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2394 ac_retval=1
2396 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2397 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2398 # interfere with the next link command; also delete a directory that is
2399 # left behind by Apple's compiler. We do this before executing the actions.
2400 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2401 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2402 as_fn_set_status $ac_retval
2404 } # ac_fn_c_try_link
2406 # ac_fn_c_try_cpp LINENO
2407 # ----------------------
2408 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2409 ac_fn_c_try_cpp ()
2411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2412 if { { ac_try="$ac_cpp conftest.$ac_ext"
2413 case "(($ac_try" in
2414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415 *) ac_try_echo=$ac_try;;
2416 esac
2417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2418 $as_echo "$ac_try_echo"; } >&5
2419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2420 ac_status=$?
2421 if test -s conftest.err; then
2422 grep -v '^ *+' conftest.err >conftest.er1
2423 cat conftest.er1 >&5
2424 mv -f conftest.er1 conftest.err
2426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2427 test $ac_status = 0; } > conftest.i && {
2428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2429 test ! -s conftest.err
2430 }; then :
2431 ac_retval=0
2432 else
2433 $as_echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
2436 ac_retval=1
2438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2439 as_fn_set_status $ac_retval
2441 } # ac_fn_c_try_cpp
2443 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2444 # -------------------------------------------------------
2445 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2446 # the include files in INCLUDES and setting the cache variable VAR
2447 # accordingly.
2448 ac_fn_c_check_header_mongrel ()
2450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2451 if eval \${$3+:} false; then :
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2453 $as_echo_n "checking for $2... " >&6; }
2454 if eval \${$3+:} false; then :
2455 $as_echo_n "(cached) " >&6
2457 eval ac_res=\$$3
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2459 $as_echo "$ac_res" >&6; }
2460 else
2461 # Is the header compilable?
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2463 $as_echo_n "checking $2 usability... " >&6; }
2464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2467 #include <$2>
2468 _ACEOF
2469 if ac_fn_c_try_compile "$LINENO"; then :
2470 ac_header_compiler=yes
2471 else
2472 ac_header_compiler=no
2474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2476 $as_echo "$ac_header_compiler" >&6; }
2478 # Is the header present?
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2480 $as_echo_n "checking $2 presence... " >&6; }
2481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2482 /* end confdefs.h. */
2483 #include <$2>
2484 _ACEOF
2485 if ac_fn_c_try_cpp "$LINENO"; then :
2486 ac_header_preproc=yes
2487 else
2488 ac_header_preproc=no
2490 rm -f conftest.err conftest.i conftest.$ac_ext
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2492 $as_echo "$ac_header_preproc" >&6; }
2494 # So? What about this header?
2495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2496 yes:no: )
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2498 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2500 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2502 no:yes:* )
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2504 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2506 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2508 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2510 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2512 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2513 ( $as_echo "## ------------------------------------ ##
2514 ## Report this to wine-devel@winehq.org ##
2515 ## ------------------------------------ ##"
2516 ) | sed "s/^/$as_me: WARNING: /" >&2
2518 esac
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2520 $as_echo_n "checking for $2... " >&6; }
2521 if eval \${$3+:} false; then :
2522 $as_echo_n "(cached) " >&6
2523 else
2524 eval "$3=\$ac_header_compiler"
2526 eval ac_res=\$$3
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2528 $as_echo "$ac_res" >&6; }
2530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2532 } # ac_fn_c_check_header_mongrel
2534 # ac_fn_c_try_run LINENO
2535 # ----------------------
2536 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2537 # that executables *can* be run.
2538 ac_fn_c_try_run ()
2540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2541 if { { ac_try="$ac_link"
2542 case "(($ac_try" in
2543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2544 *) ac_try_echo=$ac_try;;
2545 esac
2546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2547 $as_echo "$ac_try_echo"; } >&5
2548 (eval "$ac_link") 2>&5
2549 ac_status=$?
2550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2551 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2552 { { case "(($ac_try" in
2553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2554 *) ac_try_echo=$ac_try;;
2555 esac
2556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2557 $as_echo "$ac_try_echo"; } >&5
2558 (eval "$ac_try") 2>&5
2559 ac_status=$?
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; }; }; then :
2562 ac_retval=0
2563 else
2564 $as_echo "$as_me: program exited with status $ac_status" >&5
2565 $as_echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.$ac_ext >&5
2568 ac_retval=$ac_status
2570 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2572 as_fn_set_status $ac_retval
2574 } # ac_fn_c_try_run
2576 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2577 # -------------------------------------------------------
2578 # Tests whether HEADER exists and can be compiled using the include files in
2579 # INCLUDES, setting the cache variable VAR accordingly.
2580 ac_fn_c_check_header_compile ()
2582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2584 $as_echo_n "checking for $2... " >&6; }
2585 if eval \${$3+:} false; then :
2586 $as_echo_n "(cached) " >&6
2587 else
2588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2589 /* end confdefs.h. */
2591 #include <$2>
2592 _ACEOF
2593 if ac_fn_c_try_compile "$LINENO"; then :
2594 eval "$3=yes"
2595 else
2596 eval "$3=no"
2598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2600 eval ac_res=\$$3
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2602 $as_echo "$ac_res" >&6; }
2603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2605 } # ac_fn_c_check_header_compile
2607 # ac_fn_c_check_func LINENO FUNC VAR
2608 # ----------------------------------
2609 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2610 ac_fn_c_check_func ()
2612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2614 $as_echo_n "checking for $2... " >&6; }
2615 if eval \${$3+:} false; then :
2616 $as_echo_n "(cached) " >&6
2617 else
2618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2619 /* end confdefs.h. */
2620 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2622 #define $2 innocuous_$2
2624 /* System header to define __stub macros and hopefully few prototypes,
2625 which can conflict with char $2 (); below.
2626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2627 <limits.h> exists even on freestanding compilers. */
2629 #ifdef __STDC__
2630 # include <limits.h>
2631 #else
2632 # include <assert.h>
2633 #endif
2635 #undef $2
2637 /* Override any GCC internal prototype to avoid an error.
2638 Use char because int might match the return type of a GCC
2639 builtin and then its argument prototype would still apply. */
2640 #ifdef __cplusplus
2641 extern "C"
2642 #endif
2643 char $2 ();
2644 /* The GNU C library defines this for functions which it implements
2645 to always fail with ENOSYS. Some functions are actually named
2646 something starting with __ and the normal name is an alias. */
2647 #if defined __stub_$2 || defined __stub___$2
2648 choke me
2649 #endif
2652 main ()
2654 return $2 ();
2656 return 0;
2658 _ACEOF
2659 if ac_fn_c_try_link "$LINENO"; then :
2660 eval "$3=yes"
2661 else
2662 eval "$3=no"
2664 rm -f core conftest.err conftest.$ac_objext \
2665 conftest$ac_exeext conftest.$ac_ext
2667 eval ac_res=\$$3
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2669 $as_echo "$ac_res" >&6; }
2670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2672 } # ac_fn_c_check_func
2674 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2675 # ----------------------------------------------------
2676 # Tries to find if the field MEMBER exists in type AGGR, after including
2677 # INCLUDES, setting cache variable VAR accordingly.
2678 ac_fn_c_check_member ()
2680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2682 $as_echo_n "checking for $2.$3... " >&6; }
2683 if eval \${$4+:} false; then :
2684 $as_echo_n "(cached) " >&6
2685 else
2686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2687 /* end confdefs.h. */
2690 main ()
2692 static $2 ac_aggr;
2693 if (ac_aggr.$3)
2694 return 0;
2696 return 0;
2698 _ACEOF
2699 if ac_fn_c_try_compile "$LINENO"; then :
2700 eval "$4=yes"
2701 else
2702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h. */
2706 main ()
2708 static $2 ac_aggr;
2709 if (sizeof ac_aggr.$3)
2710 return 0;
2712 return 0;
2714 _ACEOF
2715 if ac_fn_c_try_compile "$LINENO"; then :
2716 eval "$4=yes"
2717 else
2718 eval "$4=no"
2720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2724 eval ac_res=\$$4
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2726 $as_echo "$ac_res" >&6; }
2727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2729 } # ac_fn_c_check_member
2731 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2732 # -------------------------------------------
2733 # Tests whether TYPE exists after having included INCLUDES, setting cache
2734 # variable VAR accordingly.
2735 ac_fn_c_check_type ()
2737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2739 $as_echo_n "checking for $2... " >&6; }
2740 if eval \${$3+:} false; then :
2741 $as_echo_n "(cached) " >&6
2742 else
2743 eval "$3=no"
2744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2745 /* end confdefs.h. */
2748 main ()
2750 if (sizeof ($2))
2751 return 0;
2753 return 0;
2755 _ACEOF
2756 if ac_fn_c_try_compile "$LINENO"; then :
2757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2761 main ()
2763 if (sizeof (($2)))
2764 return 0;
2766 return 0;
2768 _ACEOF
2769 if ac_fn_c_try_compile "$LINENO"; then :
2771 else
2772 eval "$3=yes"
2774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2778 eval ac_res=\$$3
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2780 $as_echo "$ac_res" >&6; }
2781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2783 } # ac_fn_c_check_type
2784 cat >config.log <<_ACEOF
2785 This file contains any messages produced by compilers while
2786 running configure, to aid debugging if configure makes a mistake.
2788 It was created by Wine $as_me 1.7.32, which was
2789 generated by GNU Autoconf 2.69. Invocation command line was
2791 $ $0 $@
2793 _ACEOF
2794 exec 5>>config.log
2796 cat <<_ASUNAME
2797 ## --------- ##
2798 ## Platform. ##
2799 ## --------- ##
2801 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2802 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2803 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2804 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2805 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2807 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2808 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2810 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2811 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2812 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2813 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2814 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2815 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2816 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2818 _ASUNAME
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 for as_dir in $PATH
2823 IFS=$as_save_IFS
2824 test -z "$as_dir" && as_dir=.
2825 $as_echo "PATH: $as_dir"
2826 done
2827 IFS=$as_save_IFS
2829 } >&5
2831 cat >&5 <<_ACEOF
2834 ## ----------- ##
2835 ## Core tests. ##
2836 ## ----------- ##
2838 _ACEOF
2841 # Keep a trace of the command line.
2842 # Strip out --no-create and --no-recursion so they do not pile up.
2843 # Strip out --silent because we don't want to record it for future runs.
2844 # Also quote any args containing shell meta-characters.
2845 # Make two passes to allow for proper duplicate-argument suppression.
2846 ac_configure_args=
2847 ac_configure_args0=
2848 ac_configure_args1=
2849 ac_must_keep_next=false
2850 for ac_pass in 1 2
2852 for ac_arg
2854 case $ac_arg in
2855 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2856 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2857 | -silent | --silent | --silen | --sile | --sil)
2858 continue ;;
2859 *\'*)
2860 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2861 esac
2862 case $ac_pass in
2863 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2865 as_fn_append ac_configure_args1 " '$ac_arg'"
2866 if test $ac_must_keep_next = true; then
2867 ac_must_keep_next=false # Got value, back to normal.
2868 else
2869 case $ac_arg in
2870 *=* | --config-cache | -C | -disable-* | --disable-* \
2871 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2872 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2873 | -with-* | --with-* | -without-* | --without-* | --x)
2874 case "$ac_configure_args0 " in
2875 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2876 esac
2878 -* ) ac_must_keep_next=true ;;
2879 esac
2881 as_fn_append ac_configure_args " '$ac_arg'"
2883 esac
2884 done
2885 done
2886 { ac_configure_args0=; unset ac_configure_args0;}
2887 { ac_configure_args1=; unset ac_configure_args1;}
2889 # When interrupted or exit'd, cleanup temporary files, and complete
2890 # config.log. We remove comments because anyway the quotes in there
2891 # would cause problems or look ugly.
2892 # WARNING: Use '\'' to represent an apostrophe within the trap.
2893 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2894 trap 'exit_status=$?
2895 # Save into config.log some information that might help in debugging.
2897 echo
2899 $as_echo "## ---------------- ##
2900 ## Cache variables. ##
2901 ## ---------------- ##"
2902 echo
2903 # The following way of writing the cache mishandles newlines in values,
2905 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2906 eval ac_val=\$$ac_var
2907 case $ac_val in #(
2908 *${as_nl}*)
2909 case $ac_var in #(
2910 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2911 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2912 esac
2913 case $ac_var in #(
2914 _ | IFS | as_nl) ;; #(
2915 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2916 *) { eval $ac_var=; unset $ac_var;} ;;
2917 esac ;;
2918 esac
2919 done
2920 (set) 2>&1 |
2921 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2922 *${as_nl}ac_space=\ *)
2923 sed -n \
2924 "s/'\''/'\''\\\\'\'''\''/g;
2925 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2926 ;; #(
2928 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2930 esac |
2931 sort
2933 echo
2935 $as_echo "## ----------------- ##
2936 ## Output variables. ##
2937 ## ----------------- ##"
2938 echo
2939 for ac_var in $ac_subst_vars
2941 eval ac_val=\$$ac_var
2942 case $ac_val in
2943 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2944 esac
2945 $as_echo "$ac_var='\''$ac_val'\''"
2946 done | sort
2947 echo
2949 if test -n "$ac_subst_files"; then
2950 $as_echo "## ------------------- ##
2951 ## File substitutions. ##
2952 ## ------------------- ##"
2953 echo
2954 for ac_var in $ac_subst_files
2956 eval ac_val=\$$ac_var
2957 case $ac_val in
2958 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2959 esac
2960 $as_echo "$ac_var='\''$ac_val'\''"
2961 done | sort
2962 echo
2965 if test -s confdefs.h; then
2966 $as_echo "## ----------- ##
2967 ## confdefs.h. ##
2968 ## ----------- ##"
2969 echo
2970 cat confdefs.h
2971 echo
2973 test "$ac_signal" != 0 &&
2974 $as_echo "$as_me: caught signal $ac_signal"
2975 $as_echo "$as_me: exit $exit_status"
2976 } >&5
2977 rm -f core *.core core.conftest.* &&
2978 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2979 exit $exit_status
2981 for ac_signal in 1 2 13 15; do
2982 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2983 done
2984 ac_signal=0
2986 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2987 rm -f -r conftest* confdefs.h
2989 $as_echo "/* confdefs.h */" > confdefs.h
2991 # Predefined preprocessor variables.
2993 cat >>confdefs.h <<_ACEOF
2994 #define PACKAGE_NAME "$PACKAGE_NAME"
2995 _ACEOF
2997 cat >>confdefs.h <<_ACEOF
2998 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2999 _ACEOF
3001 cat >>confdefs.h <<_ACEOF
3002 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3003 _ACEOF
3005 cat >>confdefs.h <<_ACEOF
3006 #define PACKAGE_STRING "$PACKAGE_STRING"
3007 _ACEOF
3009 cat >>confdefs.h <<_ACEOF
3010 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3011 _ACEOF
3013 cat >>confdefs.h <<_ACEOF
3014 #define PACKAGE_URL "$PACKAGE_URL"
3015 _ACEOF
3018 # Let the site file select an alternate cache file if it wants to.
3019 # Prefer an explicitly selected file to automatically selected ones.
3020 ac_site_file1=NONE
3021 ac_site_file2=NONE
3022 if test -n "$CONFIG_SITE"; then
3023 # We do not want a PATH search for config.site.
3024 case $CONFIG_SITE in #((
3025 -*) ac_site_file1=./$CONFIG_SITE;;
3026 */*) ac_site_file1=$CONFIG_SITE;;
3027 *) ac_site_file1=./$CONFIG_SITE;;
3028 esac
3029 elif test "x$prefix" != xNONE; then
3030 ac_site_file1=$prefix/share/config.site
3031 ac_site_file2=$prefix/etc/config.site
3032 else
3033 ac_site_file1=$ac_default_prefix/share/config.site
3034 ac_site_file2=$ac_default_prefix/etc/config.site
3036 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3038 test "x$ac_site_file" = xNONE && continue
3039 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3041 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3042 sed 's/^/| /' "$ac_site_file" >&5
3043 . "$ac_site_file" \
3044 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3046 as_fn_error $? "failed to load site script $ac_site_file
3047 See \`config.log' for more details" "$LINENO" 5; }
3049 done
3051 if test -r "$cache_file"; then
3052 # Some versions of bash will fail to source /dev/null (special files
3053 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3054 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3056 $as_echo "$as_me: loading cache $cache_file" >&6;}
3057 case $cache_file in
3058 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3059 *) . "./$cache_file";;
3060 esac
3062 else
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3064 $as_echo "$as_me: creating cache $cache_file" >&6;}
3065 >$cache_file
3068 # Check that the precious variables saved in the cache have kept the same
3069 # value.
3070 ac_cache_corrupted=false
3071 for ac_var in $ac_precious_vars; do
3072 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3073 eval ac_new_set=\$ac_env_${ac_var}_set
3074 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3075 eval ac_new_val=\$ac_env_${ac_var}_value
3076 case $ac_old_set,$ac_new_set in
3077 set,)
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3079 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3080 ac_cache_corrupted=: ;;
3081 ,set)
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3083 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3084 ac_cache_corrupted=: ;;
3085 ,);;
3087 if test "x$ac_old_val" != "x$ac_new_val"; then
3088 # differences in whitespace do not lead to failure.
3089 ac_old_val_w=`echo x $ac_old_val`
3090 ac_new_val_w=`echo x $ac_new_val`
3091 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3093 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3094 ac_cache_corrupted=:
3095 else
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3097 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3098 eval $ac_var=\$ac_old_val
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3101 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3103 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3104 fi;;
3105 esac
3106 # Pass precious variables to config.status.
3107 if test "$ac_new_set" = set; then
3108 case $ac_new_val in
3109 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3110 *) ac_arg=$ac_var=$ac_new_val ;;
3111 esac
3112 case " $ac_configure_args " in
3113 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3114 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3115 esac
3117 done
3118 if $ac_cache_corrupted; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3122 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3123 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3125 ## -------------------- ##
3126 ## Main body of script. ##
3127 ## -------------------- ##
3129 ac_ext=c
3130 ac_cpp='$CPP $CPPFLAGS'
3131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3137 ac_config_headers="$ac_config_headers include/config.h"
3139 ac_aux_dir=
3140 for ac_dir in tools "$srcdir"/tools; do
3141 if test -f "$ac_dir/install-sh"; then
3142 ac_aux_dir=$ac_dir
3143 ac_install_sh="$ac_aux_dir/install-sh -c"
3144 break
3145 elif test -f "$ac_dir/install.sh"; then
3146 ac_aux_dir=$ac_dir
3147 ac_install_sh="$ac_aux_dir/install.sh -c"
3148 break
3149 elif test -f "$ac_dir/shtool"; then
3150 ac_aux_dir=$ac_dir
3151 ac_install_sh="$ac_aux_dir/shtool install -c"
3152 break
3154 done
3155 if test -z "$ac_aux_dir"; then
3156 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3159 # These three variables are undocumented and unsupported,
3160 # and are intended to be withdrawn in a future Autoconf release.
3161 # They can cause serious problems if a builder's source tree is in a directory
3162 # whose full name contains unusual characters.
3163 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3164 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3165 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3169 libwine_version="1.0"
3173 # Check whether --enable-win16 was given.
3174 if test "${enable_win16+set}" = set; then :
3175 enableval=$enable_win16;
3178 # Check whether --enable-win64 was given.
3179 if test "${enable_win64+set}" = set; then :
3180 enableval=$enable_win64;
3183 # Check whether --enable-tests was given.
3184 if test "${enable_tests+set}" = set; then :
3185 enableval=$enable_tests;
3188 # Check whether --enable-maintainer-mode was given.
3189 if test "${enable_maintainer_mode+set}" = set; then :
3190 enableval=$enable_maintainer_mode;
3195 # Check whether --with-alsa was given.
3196 if test "${with_alsa+set}" = set; then :
3197 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3201 # Check whether --with-capi was given.
3202 if test "${with_capi+set}" = set; then :
3203 withval=$with_capi;
3207 # Check whether --with-cms was given.
3208 if test "${with_cms+set}" = set; then :
3209 withval=$with_cms;
3213 # Check whether --with-coreaudio was given.
3214 if test "${with_coreaudio+set}" = set; then :
3215 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3219 # Check whether --with-cups was given.
3220 if test "${with_cups+set}" = set; then :
3221 withval=$with_cups;
3225 # Check whether --with-curses was given.
3226 if test "${with_curses+set}" = set; then :
3227 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3231 # Check whether --with-dbus was given.
3232 if test "${with_dbus+set}" = set; then :
3233 withval=$with_dbus;
3237 # Check whether --with-fontconfig was given.
3238 if test "${with_fontconfig+set}" = set; then :
3239 withval=$with_fontconfig;
3243 # Check whether --with-freetype was given.
3244 if test "${with_freetype+set}" = set; then :
3245 withval=$with_freetype;
3249 # Check whether --with-gettext was given.
3250 if test "${with_gettext+set}" = set; then :
3251 withval=$with_gettext;
3255 # Check whether --with-gettextpo was given.
3256 if test "${with_gettextpo+set}" = set; then :
3257 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3261 # Check whether --with-gphoto was given.
3262 if test "${with_gphoto+set}" = set; then :
3263 withval=$with_gphoto;
3267 # Check whether --with-glu was given.
3268 if test "${with_glu+set}" = set; then :
3269 withval=$with_glu;
3273 # Check whether --with-gnutls was given.
3274 if test "${with_gnutls+set}" = set; then :
3275 withval=$with_gnutls;
3279 # Check whether --with-gsm was given.
3280 if test "${with_gsm+set}" = set; then :
3281 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3285 # Check whether --with-gstreamer was given.
3286 if test "${with_gstreamer+set}" = set; then :
3287 withval=$with_gstreamer;
3291 # Check whether --with-hal was given.
3292 if test "${with_hal+set}" = set; then :
3293 withval=$with_hal;
3297 # Check whether --with-jpeg was given.
3298 if test "${with_jpeg+set}" = set; then :
3299 withval=$with_jpeg;
3303 # Check whether --with-ldap was given.
3304 if test "${with_ldap+set}" = set; then :
3305 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3309 # Check whether --with-mpg123 was given.
3310 if test "${with_mpg123+set}" = set; then :
3311 withval=$with_mpg123;
3315 # Check whether --with-netapi was given.
3316 if test "${with_netapi+set}" = set; then :
3317 withval=$with_netapi;
3321 # Check whether --with-openal was given.
3322 if test "${with_openal+set}" = set; then :
3323 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3327 # Check whether --with-opencl was given.
3328 if test "${with_opencl+set}" = set; then :
3329 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3333 # Check whether --with-opengl was given.
3334 if test "${with_opengl+set}" = set; then :
3335 withval=$with_opengl;
3339 # Check whether --with-osmesa was given.
3340 if test "${with_osmesa+set}" = set; then :
3341 withval=$with_osmesa;
3345 # Check whether --with-oss was given.
3346 if test "${with_oss+set}" = set; then :
3347 withval=$with_oss;
3351 # Check whether --with-pcap was given.
3352 if test "${with_pcap+set}" = set; then :
3353 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3357 # Check whether --with-png was given.
3358 if test "${with_png+set}" = set; then :
3359 withval=$with_png;
3363 # Check whether --with-pthread was given.
3364 if test "${with_pthread+set}" = set; then :
3365 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3369 # Check whether --with-sane was given.
3370 if test "${with_sane+set}" = set; then :
3371 withval=$with_sane;
3375 # Check whether --with-tiff was given.
3376 if test "${with_tiff+set}" = set; then :
3377 withval=$with_tiff;
3381 # Check whether --with-v4l was given.
3382 if test "${with_v4l+set}" = set; then :
3383 withval=$with_v4l;
3387 # Check whether --with-xcomposite was given.
3388 if test "${with_xcomposite+set}" = set; then :
3389 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3393 # Check whether --with-xcursor was given.
3394 if test "${with_xcursor+set}" = set; then :
3395 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3399 # Check whether --with-xinerama was given.
3400 if test "${with_xinerama+set}" = set; then :
3401 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3405 # Check whether --with-xinput was given.
3406 if test "${with_xinput+set}" = set; then :
3407 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3411 # Check whether --with-xinput2 was given.
3412 if test "${with_xinput2+set}" = set; then :
3413 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3417 # Check whether --with-xml was given.
3418 if test "${with_xml+set}" = set; then :
3419 withval=$with_xml;
3423 # Check whether --with-xrandr was given.
3424 if test "${with_xrandr+set}" = set; then :
3425 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3429 # Check whether --with-xrender was given.
3430 if test "${with_xrender+set}" = set; then :
3431 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3435 # Check whether --with-xshape was given.
3436 if test "${with_xshape+set}" = set; then :
3437 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3441 # Check whether --with-xshm was given.
3442 if test "${with_xshm+set}" = set; then :
3443 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3447 # Check whether --with-xslt was given.
3448 if test "${with_xslt+set}" = set; then :
3449 withval=$with_xslt;
3453 # Check whether --with-xxf86vm was given.
3454 if test "${with_xxf86vm+set}" = set; then :
3455 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
3459 # Check whether --with-zlib was given.
3460 if test "${with_zlib+set}" = set; then :
3461 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3466 # Check whether --with-wine-tools was given.
3467 if test "${with_wine_tools+set}" = set; then :
3468 withval=$with_wine_tools;
3472 # Check whether --with-wine64 was given.
3473 if test "${with_wine64+set}" = set; then :
3474 withval=$with_wine64;
3478 # Make sure we can run config.sub.
3479 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3480 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3483 $as_echo_n "checking build system type... " >&6; }
3484 if ${ac_cv_build+:} false; then :
3485 $as_echo_n "(cached) " >&6
3486 else
3487 ac_build_alias=$build_alias
3488 test "x$ac_build_alias" = x &&
3489 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3490 test "x$ac_build_alias" = x &&
3491 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3492 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3493 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3497 $as_echo "$ac_cv_build" >&6; }
3498 case $ac_cv_build in
3499 *-*-*) ;;
3500 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3501 esac
3502 build=$ac_cv_build
3503 ac_save_IFS=$IFS; IFS='-'
3504 set x $ac_cv_build
3505 shift
3506 build_cpu=$1
3507 build_vendor=$2
3508 shift; shift
3509 # Remember, the first character of IFS is used to create $*,
3510 # except with old shells:
3511 build_os=$*
3512 IFS=$ac_save_IFS
3513 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3517 $as_echo_n "checking host system type... " >&6; }
3518 if ${ac_cv_host+:} false; then :
3519 $as_echo_n "(cached) " >&6
3520 else
3521 if test "x$host_alias" = x; then
3522 ac_cv_host=$ac_cv_build
3523 else
3524 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3525 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3530 $as_echo "$ac_cv_host" >&6; }
3531 case $ac_cv_host in
3532 *-*-*) ;;
3533 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3534 esac
3535 host=$ac_cv_host
3536 ac_save_IFS=$IFS; IFS='-'
3537 set x $ac_cv_host
3538 shift
3539 host_cpu=$1
3540 host_vendor=$2
3541 shift; shift
3542 # Remember, the first character of IFS is used to create $*,
3543 # except with old shells:
3544 host_os=$*
3545 IFS=$ac_save_IFS
3546 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3550 case "$srcdir" in
3551 .) ;;
3552 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3553 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3554 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3555 fi ;;
3556 esac
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3560 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3561 set x ${MAKE-make}
3562 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3563 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3564 $as_echo_n "(cached) " >&6
3565 else
3566 cat >conftest.make <<\_ACEOF
3567 SHELL = /bin/sh
3568 all:
3569 @echo '@@@%%%=$(MAKE)=@@@%%%'
3570 _ACEOF
3571 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3572 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3573 *@@@%%%=?*=@@@%%%*)
3574 eval ac_cv_prog_make_${ac_make}_set=yes;;
3576 eval ac_cv_prog_make_${ac_make}_set=no;;
3577 esac
3578 rm -f conftest.make
3580 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3582 $as_echo "yes" >&6; }
3583 SET_MAKE=
3584 else
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3587 SET_MAKE="MAKE=${MAKE-make}"
3590 ac_ext=c
3591 ac_cpp='$CPP $CPPFLAGS'
3592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3595 if test -n "$ac_tool_prefix"; then
3596 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3597 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_CC+:} false; then :
3601 $as_echo_n "(cached) " >&6
3602 else
3603 if test -n "$CC"; then
3604 ac_cv_prog_CC="$CC" # Let the user override the test.
3605 else
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 for as_dir in $PATH
3609 IFS=$as_save_IFS
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3613 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 break 2
3617 done
3618 done
3619 IFS=$as_save_IFS
3623 CC=$ac_cv_prog_CC
3624 if test -n "$CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3626 $as_echo "$CC" >&6; }
3627 else
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3634 if test -z "$ac_cv_prog_CC"; then
3635 ac_ct_CC=$CC
3636 # Extract the first word of "gcc", so it can be a program name with args.
3637 set dummy gcc; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3641 $as_echo_n "(cached) " >&6
3642 else
3643 if test -n "$ac_ct_CC"; then
3644 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3649 IFS=$as_save_IFS
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3653 ac_cv_prog_ac_ct_CC="gcc"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 break 2
3657 done
3658 done
3659 IFS=$as_save_IFS
3663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3664 if test -n "$ac_ct_CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3666 $as_echo "$ac_ct_CC" >&6; }
3667 else
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3672 if test "x$ac_ct_CC" = x; then
3673 CC=""
3674 else
3675 case $cross_compiling:$ac_tool_warned in
3676 yes:)
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3679 ac_tool_warned=yes ;;
3680 esac
3681 CC=$ac_ct_CC
3683 else
3684 CC="$ac_cv_prog_CC"
3687 if test -z "$CC"; then
3688 if test -n "$ac_tool_prefix"; then
3689 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3690 set dummy ${ac_tool_prefix}cc; ac_word=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if ${ac_cv_prog_CC+:} false; then :
3694 $as_echo_n "(cached) " >&6
3695 else
3696 if test -n "$CC"; then
3697 ac_cv_prog_CC="$CC" # Let the user override the test.
3698 else
3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700 for as_dir in $PATH
3702 IFS=$as_save_IFS
3703 test -z "$as_dir" && as_dir=.
3704 for ac_exec_ext in '' $ac_executable_extensions; do
3705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3706 ac_cv_prog_CC="${ac_tool_prefix}cc"
3707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 break 2
3710 done
3711 done
3712 IFS=$as_save_IFS
3716 CC=$ac_cv_prog_CC
3717 if test -n "$CC"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3719 $as_echo "$CC" >&6; }
3720 else
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3728 if test -z "$CC"; then
3729 # Extract the first word of "cc", so it can be a program name with args.
3730 set dummy cc; ac_word=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if ${ac_cv_prog_CC+:} false; then :
3734 $as_echo_n "(cached) " >&6
3735 else
3736 if test -n "$CC"; then
3737 ac_cv_prog_CC="$CC" # Let the user override the test.
3738 else
3739 ac_prog_rejected=no
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 for as_dir in $PATH
3743 IFS=$as_save_IFS
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3747 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3748 ac_prog_rejected=yes
3749 continue
3751 ac_cv_prog_CC="cc"
3752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 break 2
3755 done
3756 done
3757 IFS=$as_save_IFS
3759 if test $ac_prog_rejected = yes; then
3760 # We found a bogon in the path, so make sure we never use it.
3761 set dummy $ac_cv_prog_CC
3762 shift
3763 if test $# != 0; then
3764 # We chose a different compiler from the bogus one.
3765 # However, it has the same basename, so the bogon will be chosen
3766 # first if we set CC to just the basename; use the full file name.
3767 shift
3768 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3773 CC=$ac_cv_prog_CC
3774 if test -n "$CC"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3776 $as_echo "$CC" >&6; }
3777 else
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3784 if test -z "$CC"; then
3785 if test -n "$ac_tool_prefix"; then
3786 for ac_prog in cl.exe
3788 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3789 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if ${ac_cv_prog_CC+:} false; then :
3793 $as_echo_n "(cached) " >&6
3794 else
3795 if test -n "$CC"; then
3796 ac_cv_prog_CC="$CC" # Let the user override the test.
3797 else
3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3799 for as_dir in $PATH
3801 IFS=$as_save_IFS
3802 test -z "$as_dir" && as_dir=.
3803 for ac_exec_ext in '' $ac_executable_extensions; do
3804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3805 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 break 2
3809 done
3810 done
3811 IFS=$as_save_IFS
3815 CC=$ac_cv_prog_CC
3816 if test -n "$CC"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3818 $as_echo "$CC" >&6; }
3819 else
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3825 test -n "$CC" && break
3826 done
3828 if test -z "$CC"; then
3829 ac_ct_CC=$CC
3830 for ac_prog in cl.exe
3832 # Extract the first word of "$ac_prog", so it can be a program name with args.
3833 set dummy $ac_prog; ac_word=$2
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3835 $as_echo_n "checking for $ac_word... " >&6; }
3836 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3837 $as_echo_n "(cached) " >&6
3838 else
3839 if test -n "$ac_ct_CC"; then
3840 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3841 else
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 for as_dir in $PATH
3845 IFS=$as_save_IFS
3846 test -z "$as_dir" && as_dir=.
3847 for ac_exec_ext in '' $ac_executable_extensions; do
3848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3849 ac_cv_prog_ac_ct_CC="$ac_prog"
3850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 break 2
3853 done
3854 done
3855 IFS=$as_save_IFS
3859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3860 if test -n "$ac_ct_CC"; then
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3862 $as_echo "$ac_ct_CC" >&6; }
3863 else
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 $as_echo "no" >&6; }
3869 test -n "$ac_ct_CC" && break
3870 done
3872 if test "x$ac_ct_CC" = x; then
3873 CC=""
3874 else
3875 case $cross_compiling:$ac_tool_warned in
3876 yes:)
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3879 ac_tool_warned=yes ;;
3880 esac
3881 CC=$ac_ct_CC
3888 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3890 as_fn_error $? "no acceptable C compiler found in \$PATH
3891 See \`config.log' for more details" "$LINENO" 5; }
3893 # Provide some information about the compiler.
3894 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3895 set X $ac_compile
3896 ac_compiler=$2
3897 for ac_option in --version -v -V -qversion; do
3898 { { ac_try="$ac_compiler $ac_option >&5"
3899 case "(($ac_try" in
3900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3901 *) ac_try_echo=$ac_try;;
3902 esac
3903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3904 $as_echo "$ac_try_echo"; } >&5
3905 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3906 ac_status=$?
3907 if test -s conftest.err; then
3908 sed '10a\
3909 ... rest of stderr output deleted ...
3910 10q' conftest.err >conftest.er1
3911 cat conftest.er1 >&5
3913 rm -f conftest.er1 conftest.err
3914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915 test $ac_status = 0; }
3916 done
3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3922 main ()
3926 return 0;
3928 _ACEOF
3929 ac_clean_files_save=$ac_clean_files
3930 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3931 # Try to create an executable without -o first, disregard a.out.
3932 # It will help us diagnose broken compilers, and finding out an intuition
3933 # of exeext.
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3935 $as_echo_n "checking whether the C compiler works... " >&6; }
3936 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3938 # The possible output files:
3939 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3941 ac_rmfiles=
3942 for ac_file in $ac_files
3944 case $ac_file in
3945 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3946 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3947 esac
3948 done
3949 rm -f $ac_rmfiles
3951 if { { ac_try="$ac_link_default"
3952 case "(($ac_try" in
3953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954 *) ac_try_echo=$ac_try;;
3955 esac
3956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3957 $as_echo "$ac_try_echo"; } >&5
3958 (eval "$ac_link_default") 2>&5
3959 ac_status=$?
3960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3961 test $ac_status = 0; }; then :
3962 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3963 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3964 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3965 # so that the user can short-circuit this test for compilers unknown to
3966 # Autoconf.
3967 for ac_file in $ac_files ''
3969 test -f "$ac_file" || continue
3970 case $ac_file in
3971 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3973 [ab].out )
3974 # We found the default executable, but exeext='' is most
3975 # certainly right.
3976 break;;
3977 *.* )
3978 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3979 then :; else
3980 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3982 # We set ac_cv_exeext here because the later test for it is not
3983 # safe: cross compilers may not add the suffix if given an `-o'
3984 # argument, so we may need to know it at that point already.
3985 # Even if this section looks crufty: it has the advantage of
3986 # actually working.
3987 break;;
3989 break;;
3990 esac
3991 done
3992 test "$ac_cv_exeext" = no && ac_cv_exeext=
3994 else
3995 ac_file=''
3997 if test -z "$ac_file"; then :
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 $as_echo "no" >&6; }
4000 $as_echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.$ac_ext >&5
4003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4005 as_fn_error 77 "C compiler cannot create executables
4006 See \`config.log' for more details" "$LINENO" 5; }
4007 else
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4009 $as_echo "yes" >&6; }
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4012 $as_echo_n "checking for C compiler default output file name... " >&6; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4014 $as_echo "$ac_file" >&6; }
4015 ac_exeext=$ac_cv_exeext
4017 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4018 ac_clean_files=$ac_clean_files_save
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4020 $as_echo_n "checking for suffix of executables... " >&6; }
4021 if { { ac_try="$ac_link"
4022 case "(($ac_try" in
4023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4024 *) ac_try_echo=$ac_try;;
4025 esac
4026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4027 $as_echo "$ac_try_echo"; } >&5
4028 (eval "$ac_link") 2>&5
4029 ac_status=$?
4030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4031 test $ac_status = 0; }; then :
4032 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4033 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4034 # work properly (i.e., refer to `conftest.exe'), while it won't with
4035 # `rm'.
4036 for ac_file in conftest.exe conftest conftest.*; do
4037 test -f "$ac_file" || continue
4038 case $ac_file in
4039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4040 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4041 break;;
4042 * ) break;;
4043 esac
4044 done
4045 else
4046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4048 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4049 See \`config.log' for more details" "$LINENO" 5; }
4051 rm -f conftest conftest$ac_cv_exeext
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4053 $as_echo "$ac_cv_exeext" >&6; }
4055 rm -f conftest.$ac_ext
4056 EXEEXT=$ac_cv_exeext
4057 ac_exeext=$EXEEXT
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4060 #include <stdio.h>
4062 main ()
4064 FILE *f = fopen ("conftest.out", "w");
4065 return ferror (f) || fclose (f) != 0;
4068 return 0;
4070 _ACEOF
4071 ac_clean_files="$ac_clean_files conftest.out"
4072 # Check that the compiler produces executables we can run. If not, either
4073 # the compiler is broken, or we cross compile.
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4075 $as_echo_n "checking whether we are cross compiling... " >&6; }
4076 if test "$cross_compiling" != yes; then
4077 { { ac_try="$ac_link"
4078 case "(($ac_try" in
4079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4080 *) ac_try_echo=$ac_try;;
4081 esac
4082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4083 $as_echo "$ac_try_echo"; } >&5
4084 (eval "$ac_link") 2>&5
4085 ac_status=$?
4086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4087 test $ac_status = 0; }
4088 if { ac_try='./conftest$ac_cv_exeext'
4089 { { case "(($ac_try" in
4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4092 esac
4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_try") 2>&5
4096 ac_status=$?
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }; }; then
4099 cross_compiling=no
4100 else
4101 if test "$cross_compiling" = maybe; then
4102 cross_compiling=yes
4103 else
4104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 as_fn_error $? "cannot run C compiled programs.
4107 If you meant to cross compile, use \`--host'.
4108 See \`config.log' for more details" "$LINENO" 5; }
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4113 $as_echo "$cross_compiling" >&6; }
4115 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4116 ac_clean_files=$ac_clean_files_save
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4118 $as_echo_n "checking for suffix of object files... " >&6; }
4119 if ${ac_cv_objext+:} false; then :
4120 $as_echo_n "(cached) " >&6
4121 else
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4126 main ()
4130 return 0;
4132 _ACEOF
4133 rm -f conftest.o conftest.obj
4134 if { { ac_try="$ac_compile"
4135 case "(($ac_try" in
4136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4137 *) ac_try_echo=$ac_try;;
4138 esac
4139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4140 $as_echo "$ac_try_echo"; } >&5
4141 (eval "$ac_compile") 2>&5
4142 ac_status=$?
4143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4144 test $ac_status = 0; }; then :
4145 for ac_file in conftest.o conftest.obj conftest.*; do
4146 test -f "$ac_file" || continue;
4147 case $ac_file in
4148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4149 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4150 break;;
4151 esac
4152 done
4153 else
4154 $as_echo "$as_me: failed program was:" >&5
4155 sed 's/^/| /' conftest.$ac_ext >&5
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error $? "cannot compute suffix of object files: cannot compile
4160 See \`config.log' for more details" "$LINENO" 5; }
4162 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4165 $as_echo "$ac_cv_objext" >&6; }
4166 OBJEXT=$ac_cv_objext
4167 ac_objext=$OBJEXT
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4169 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4170 if ${ac_cv_c_compiler_gnu+:} false; then :
4171 $as_echo_n "(cached) " >&6
4172 else
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4177 main ()
4179 #ifndef __GNUC__
4180 choke me
4181 #endif
4184 return 0;
4186 _ACEOF
4187 if ac_fn_c_try_compile "$LINENO"; then :
4188 ac_compiler_gnu=yes
4189 else
4190 ac_compiler_gnu=no
4192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4193 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4197 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4198 if test $ac_compiler_gnu = yes; then
4199 GCC=yes
4200 else
4201 GCC=
4203 ac_test_CFLAGS=${CFLAGS+set}
4204 ac_save_CFLAGS=$CFLAGS
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4206 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4207 if ${ac_cv_prog_cc_g+:} false; then :
4208 $as_echo_n "(cached) " >&6
4209 else
4210 ac_save_c_werror_flag=$ac_c_werror_flag
4211 ac_c_werror_flag=yes
4212 ac_cv_prog_cc_g=no
4213 CFLAGS="-g"
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4218 main ()
4222 return 0;
4224 _ACEOF
4225 if ac_fn_c_try_compile "$LINENO"; then :
4226 ac_cv_prog_cc_g=yes
4227 else
4228 CFLAGS=""
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4233 main ()
4237 return 0;
4239 _ACEOF
4240 if ac_fn_c_try_compile "$LINENO"; then :
4242 else
4243 ac_c_werror_flag=$ac_save_c_werror_flag
4244 CFLAGS="-g"
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4249 main ()
4253 return 0;
4255 _ACEOF
4256 if ac_fn_c_try_compile "$LINENO"; then :
4257 ac_cv_prog_cc_g=yes
4259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264 ac_c_werror_flag=$ac_save_c_werror_flag
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4267 $as_echo "$ac_cv_prog_cc_g" >&6; }
4268 if test "$ac_test_CFLAGS" = set; then
4269 CFLAGS=$ac_save_CFLAGS
4270 elif test $ac_cv_prog_cc_g = yes; then
4271 if test "$GCC" = yes; then
4272 CFLAGS="-g -O2"
4273 else
4274 CFLAGS="-g"
4276 else
4277 if test "$GCC" = yes; then
4278 CFLAGS="-O2"
4279 else
4280 CFLAGS=
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4284 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4285 if ${ac_cv_prog_cc_c89+:} false; then :
4286 $as_echo_n "(cached) " >&6
4287 else
4288 ac_cv_prog_cc_c89=no
4289 ac_save_CC=$CC
4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4291 /* end confdefs.h. */
4292 #include <stdarg.h>
4293 #include <stdio.h>
4294 struct stat;
4295 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4296 struct buf { int x; };
4297 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4298 static char *e (p, i)
4299 char **p;
4300 int i;
4302 return p[i];
4304 static char *f (char * (*g) (char **, int), char **p, ...)
4306 char *s;
4307 va_list v;
4308 va_start (v,p);
4309 s = g (p, va_arg (v,int));
4310 va_end (v);
4311 return s;
4314 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4315 function prototypes and stuff, but not '\xHH' hex character constants.
4316 These don't provoke an error unfortunately, instead are silently treated
4317 as 'x'. The following induces an error, until -std is added to get
4318 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4319 array size at least. It's necessary to write '\x00'==0 to get something
4320 that's true only with -std. */
4321 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4323 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4324 inside strings and character constants. */
4325 #define FOO(x) 'x'
4326 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4328 int test (int i, double x);
4329 struct s1 {int (*f) (int a);};
4330 struct s2 {int (*f) (double a);};
4331 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4332 int argc;
4333 char **argv;
4335 main ()
4337 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4339 return 0;
4341 _ACEOF
4342 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4343 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4345 CC="$ac_save_CC $ac_arg"
4346 if ac_fn_c_try_compile "$LINENO"; then :
4347 ac_cv_prog_cc_c89=$ac_arg
4349 rm -f core conftest.err conftest.$ac_objext
4350 test "x$ac_cv_prog_cc_c89" != "xno" && break
4351 done
4352 rm -f conftest.$ac_ext
4353 CC=$ac_save_CC
4356 # AC_CACHE_VAL
4357 case "x$ac_cv_prog_cc_c89" in
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4360 $as_echo "none needed" >&6; } ;;
4361 xno)
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4363 $as_echo "unsupported" >&6; } ;;
4365 CC="$CC $ac_cv_prog_cc_c89"
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4367 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4368 esac
4369 if test "x$ac_cv_prog_cc_c89" != xno; then :
4373 ac_ext=c
4374 ac_cpp='$CPP $CPPFLAGS'
4375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4379 ac_ext=cpp
4380 ac_cpp='$CXXCPP $CPPFLAGS'
4381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4384 if test -z "$CXX"; then
4385 if test -n "$CCC"; then
4386 CXX=$CCC
4387 else
4388 if test -n "$ac_tool_prefix"; then
4389 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4391 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4392 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4394 $as_echo_n "checking for $ac_word... " >&6; }
4395 if ${ac_cv_prog_CXX+:} false; then :
4396 $as_echo_n "(cached) " >&6
4397 else
4398 if test -n "$CXX"; then
4399 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4400 else
4401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4402 for as_dir in $PATH
4404 IFS=$as_save_IFS
4405 test -z "$as_dir" && as_dir=.
4406 for ac_exec_ext in '' $ac_executable_extensions; do
4407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4408 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 break 2
4412 done
4413 done
4414 IFS=$as_save_IFS
4418 CXX=$ac_cv_prog_CXX
4419 if test -n "$CXX"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4421 $as_echo "$CXX" >&6; }
4422 else
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4428 test -n "$CXX" && break
4429 done
4431 if test -z "$CXX"; then
4432 ac_ct_CXX=$CXX
4433 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4435 # Extract the first word of "$ac_prog", so it can be a program name with args.
4436 set dummy $ac_prog; ac_word=$2
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4440 $as_echo_n "(cached) " >&6
4441 else
4442 if test -n "$ac_ct_CXX"; then
4443 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4444 else
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 for as_dir in $PATH
4448 IFS=$as_save_IFS
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4452 ac_cv_prog_ac_ct_CXX="$ac_prog"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4456 done
4457 done
4458 IFS=$as_save_IFS
4462 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4463 if test -n "$ac_ct_CXX"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4465 $as_echo "$ac_ct_CXX" >&6; }
4466 else
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4472 test -n "$ac_ct_CXX" && break
4473 done
4475 if test "x$ac_ct_CXX" = x; then
4476 CXX="g++"
4477 else
4478 case $cross_compiling:$ac_tool_warned in
4479 yes:)
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4482 ac_tool_warned=yes ;;
4483 esac
4484 CXX=$ac_ct_CXX
4490 # Provide some information about the compiler.
4491 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4492 set X $ac_compile
4493 ac_compiler=$2
4494 for ac_option in --version -v -V -qversion; do
4495 { { ac_try="$ac_compiler $ac_option >&5"
4496 case "(($ac_try" in
4497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4498 *) ac_try_echo=$ac_try;;
4499 esac
4500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4501 $as_echo "$ac_try_echo"; } >&5
4502 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4503 ac_status=$?
4504 if test -s conftest.err; then
4505 sed '10a\
4506 ... rest of stderr output deleted ...
4507 10q' conftest.err >conftest.er1
4508 cat conftest.er1 >&5
4510 rm -f conftest.er1 conftest.err
4511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4512 test $ac_status = 0; }
4513 done
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4516 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4517 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519 else
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4524 main ()
4526 #ifndef __GNUC__
4527 choke me
4528 #endif
4531 return 0;
4533 _ACEOF
4534 if ac_fn_cxx_try_compile "$LINENO"; then :
4535 ac_compiler_gnu=yes
4536 else
4537 ac_compiler_gnu=no
4539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4540 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4544 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4545 if test $ac_compiler_gnu = yes; then
4546 GXX=yes
4547 else
4548 GXX=
4550 ac_test_CXXFLAGS=${CXXFLAGS+set}
4551 ac_save_CXXFLAGS=$CXXFLAGS
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4553 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4554 if ${ac_cv_prog_cxx_g+:} false; then :
4555 $as_echo_n "(cached) " >&6
4556 else
4557 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4558 ac_cxx_werror_flag=yes
4559 ac_cv_prog_cxx_g=no
4560 CXXFLAGS="-g"
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4565 main ()
4569 return 0;
4571 _ACEOF
4572 if ac_fn_cxx_try_compile "$LINENO"; then :
4573 ac_cv_prog_cxx_g=yes
4574 else
4575 CXXFLAGS=""
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4580 main ()
4584 return 0;
4586 _ACEOF
4587 if ac_fn_cxx_try_compile "$LINENO"; then :
4589 else
4590 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4591 CXXFLAGS="-g"
4592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4596 main ()
4600 return 0;
4602 _ACEOF
4603 if ac_fn_cxx_try_compile "$LINENO"; then :
4604 ac_cv_prog_cxx_g=yes
4606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4611 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4614 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4615 if test "$ac_test_CXXFLAGS" = set; then
4616 CXXFLAGS=$ac_save_CXXFLAGS
4617 elif test $ac_cv_prog_cxx_g = yes; then
4618 if test "$GXX" = yes; then
4619 CXXFLAGS="-g -O2"
4620 else
4621 CXXFLAGS="-g"
4623 else
4624 if test "$GXX" = yes; then
4625 CXXFLAGS="-O2"
4626 else
4627 CXXFLAGS=
4630 ac_ext=c
4631 ac_cpp='$CPP $CPPFLAGS'
4632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4636 if test -n "$ac_tool_prefix"; then
4637 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4638 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 $as_echo_n "checking for $ac_word... " >&6; }
4641 if ${ac_cv_prog_CPPBIN+:} false; then :
4642 $as_echo_n "(cached) " >&6
4643 else
4644 if test -n "$CPPBIN"; then
4645 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4646 else
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 for as_dir in $PATH
4650 IFS=$as_save_IFS
4651 test -z "$as_dir" && as_dir=.
4652 for ac_exec_ext in '' $ac_executable_extensions; do
4653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4654 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4656 break 2
4658 done
4659 done
4660 IFS=$as_save_IFS
4664 CPPBIN=$ac_cv_prog_CPPBIN
4665 if test -n "$CPPBIN"; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4667 $as_echo "$CPPBIN" >&6; }
4668 else
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4675 if test -z "$ac_cv_prog_CPPBIN"; then
4676 ac_ct_CPPBIN=$CPPBIN
4677 # Extract the first word of "cpp", so it can be a program name with args.
4678 set dummy cpp; ac_word=$2
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4680 $as_echo_n "checking for $ac_word... " >&6; }
4681 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4682 $as_echo_n "(cached) " >&6
4683 else
4684 if test -n "$ac_ct_CPPBIN"; then
4685 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4686 else
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 for as_dir in $PATH
4690 IFS=$as_save_IFS
4691 test -z "$as_dir" && as_dir=.
4692 for ac_exec_ext in '' $ac_executable_extensions; do
4693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4694 ac_cv_prog_ac_ct_CPPBIN="cpp"
4695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4696 break 2
4698 done
4699 done
4700 IFS=$as_save_IFS
4704 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4705 if test -n "$ac_ct_CPPBIN"; then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4707 $as_echo "$ac_ct_CPPBIN" >&6; }
4708 else
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4710 $as_echo "no" >&6; }
4713 if test "x$ac_ct_CPPBIN" = x; then
4714 CPPBIN="cpp"
4715 else
4716 case $cross_compiling:$ac_tool_warned in
4717 yes:)
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4720 ac_tool_warned=yes ;;
4721 esac
4722 CPPBIN=$ac_ct_CPPBIN
4724 else
4725 CPPBIN="$ac_cv_prog_CPPBIN"
4729 cat >>confdefs.h <<_ACEOF
4730 #define EXEEXT "$ac_exeext"
4731 _ACEOF
4734 case $host in
4735 *-darwin*)
4736 if test "x$enable_win64" = "xyes"
4737 then
4738 CC="$CC -m64"
4739 CXX="$CXX -m64"
4740 host_cpu="x86_64"
4741 notice_platform="64-bit "
4742 TARGETFLAGS="-m64"
4744 else
4745 CC="$CC -m32"
4746 CXX="$CXX -m32"
4747 host_cpu="i386"
4748 notice_platform="32-bit "
4749 TARGETFLAGS="-m32"
4751 enable_win16=${enable_win16:-yes}
4753 with_fontconfig=${with_fontconfig:-no}
4755 x86_64*)
4756 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4757 then
4758 CC="$CC -m32"
4759 CXX="$CXX -m32"
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4761 $as_echo_n "checking whether $CC works... " >&6; }
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4767 main ()
4771 return 0;
4773 _ACEOF
4774 if ac_fn_c_try_link "$LINENO"; then :
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4776 $as_echo "yes" >&6; }
4777 else
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779 $as_echo "no" >&6; }
4780 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4782 rm -f core conftest.err conftest.$ac_objext \
4783 conftest$ac_exeext conftest.$ac_ext
4784 host_cpu="i386"
4785 notice_platform="32-bit "
4786 TARGETFLAGS="-m32"
4788 enable_win16=${enable_win16:-yes}
4789 else
4790 if test "x${GCC}" = "xyes"
4791 then
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4793 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4796 #include <stdarg.h>
4798 main ()
4800 void func(__builtin_ms_va_list *args);
4802 return 0;
4804 _ACEOF
4805 if ac_fn_c_try_compile "$LINENO"; then :
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4807 $as_echo "yes" >&6; }
4808 else
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 $as_echo "no" >&6; }
4811 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4815 TARGETFLAGS="-m64"
4819 arm*)
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4821 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4824 int ac_test(int i) { return i; }
4826 main ()
4828 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4830 return 0;
4832 _ACEOF
4833 if ac_fn_c_try_link "$LINENO"; then :
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4835 $as_echo "yes" >&6; }
4836 else
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 $as_echo "no" >&6; }
4839 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4841 rm -f core conftest.err conftest.$ac_objext \
4842 conftest$ac_exeext conftest.$ac_ext
4843 CFLAGS="$CFLAGS -marm"
4844 TARGETFLAGS="-marm"
4847 *-mingw32*|*-cygwin*)
4848 enable_win16=${enable_win16:-no}
4849 CFLAGS="$CFLAGS -D_WIN32"
4851 i[3456789]86*)
4852 enable_win16=${enable_win16:-yes}
4854 esac
4856 enable_win16=${enable_win16:-no}
4857 enable_win64=${enable_win64:-no}
4859 enable_winetest=${enable_winetest:-$enable_tests}
4861 if test -n "$with_wine64"
4862 then
4863 if test "x$enable_win64" = "xyes"
4864 then
4865 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4866 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4868 enable_fonts=${enable_fonts:-no}
4869 enable_server=${enable_server:-no}
4870 elif test "x$enable_win64" = "xyes"
4871 then
4872 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4876 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4877 if ${wine_cv_toolsdir+:} false; then :
4878 $as_echo_n "(cached) " >&6
4879 else
4880 wine_cv_toolsdir="$with_wine_tools"
4881 if test -z "$with_wine_tools"; then
4882 if test "$cross_compiling" = "yes"; then
4883 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4884 elif test -n "$with_wine64"; then
4885 wine_cv_toolsdir="$with_wine64"
4888 if test -z "$wine_cv_toolsdir"; then
4889 wine_makedep=tools/makedep
4890 wine_cv_toolsdir="\$(top_builddir)"
4891 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4892 wine_makedep=$wine_cv_toolsdir/tools/makedep
4893 case "$wine_cv_toolsdir" in
4894 /*) ;;
4895 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4896 esac
4897 enable_tools=${enable_tools:-no}
4898 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4899 else
4900 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4904 $as_echo "$wine_cv_toolsdir" >&6; }
4905 TOOLSDIR=$wine_cv_toolsdir
4907 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4908 then
4909 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4913 for ac_prog in flex
4915 # Extract the first word of "$ac_prog", so it can be a program name with args.
4916 set dummy $ac_prog; ac_word=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if ${ac_cv_prog_FLEX+:} false; then :
4920 $as_echo_n "(cached) " >&6
4921 else
4922 if test -n "$FLEX"; then
4923 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4924 else
4925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 for as_dir in $PATH
4928 IFS=$as_save_IFS
4929 test -z "$as_dir" && as_dir=.
4930 for ac_exec_ext in '' $ac_executable_extensions; do
4931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4932 ac_cv_prog_FLEX="$ac_prog"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4934 break 2
4936 done
4937 done
4938 IFS=$as_save_IFS
4942 FLEX=$ac_cv_prog_FLEX
4943 if test -n "$FLEX"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4945 $as_echo "$FLEX" >&6; }
4946 else
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4952 test -n "$FLEX" && break
4953 done
4954 test -n "$FLEX" || FLEX="none"
4956 if test "$FLEX" = "none"
4957 then
4958 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4961 $as_echo_n "checking whether flex is recent enough... " >&6; }
4962 cat >conftest.l <<EOF
4963 %top{
4964 #include "prediluvian.h"
4968 if $FLEX -t conftest.l >/dev/null 2>&5
4969 then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4971 $as_echo "yes" >&6; }
4972 else
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4975 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4978 for ac_prog in bison
4980 # Extract the first word of "$ac_prog", so it can be a program name with args.
4981 set dummy $ac_prog; ac_word=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if ${ac_cv_prog_BISON+:} false; then :
4985 $as_echo_n "(cached) " >&6
4986 else
4987 if test -n "$BISON"; then
4988 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4989 else
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 for as_dir in $PATH
4993 IFS=$as_save_IFS
4994 test -z "$as_dir" && as_dir=.
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_BISON="$ac_prog"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999 break 2
5001 done
5002 done
5003 IFS=$as_save_IFS
5007 BISON=$ac_cv_prog_BISON
5008 if test -n "$BISON"; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5010 $as_echo "$BISON" >&6; }
5011 else
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5017 test -n "$BISON" && break
5018 done
5019 test -n "$BISON" || BISON="none"
5021 if test "$BISON" = "none"
5022 then
5023 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5026 if test -n "$ac_tool_prefix"; then
5027 for ac_prog in ar gar
5029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5030 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_AR+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 if test -n "$AR"; then
5037 ac_cv_prog_AR="$AR" # Let the user override the test.
5038 else
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 for as_dir in $PATH
5042 IFS=$as_save_IFS
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 break 2
5050 done
5051 done
5052 IFS=$as_save_IFS
5056 AR=$ac_cv_prog_AR
5057 if test -n "$AR"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5059 $as_echo "$AR" >&6; }
5060 else
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5066 test -n "$AR" && break
5067 done
5069 if test -z "$AR"; then
5070 ac_ct_AR=$AR
5071 for ac_prog in ar gar
5073 # Extract the first word of "$ac_prog", so it can be a program name with args.
5074 set dummy $ac_prog; ac_word=$2
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5076 $as_echo_n "checking for $ac_word... " >&6; }
5077 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5078 $as_echo_n "(cached) " >&6
5079 else
5080 if test -n "$ac_ct_AR"; then
5081 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5082 else
5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5084 for as_dir in $PATH
5086 IFS=$as_save_IFS
5087 test -z "$as_dir" && as_dir=.
5088 for ac_exec_ext in '' $ac_executable_extensions; do
5089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5090 ac_cv_prog_ac_ct_AR="$ac_prog"
5091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 break 2
5094 done
5095 done
5096 IFS=$as_save_IFS
5100 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5101 if test -n "$ac_ct_AR"; then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5103 $as_echo "$ac_ct_AR" >&6; }
5104 else
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5110 test -n "$ac_ct_AR" && break
5111 done
5113 if test "x$ac_ct_AR" = x; then
5114 AR="ar"
5115 else
5116 case $cross_compiling:$ac_tool_warned in
5117 yes:)
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5120 ac_tool_warned=yes ;;
5121 esac
5122 AR=$ac_ct_AR
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}strip; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if ${ac_cv_prog_STRIP+:} false; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 if test -n "$STRIP"; then
5135 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5150 IFS=$as_save_IFS
5154 STRIP=$ac_cv_prog_STRIP
5155 if test -n "$STRIP"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5157 $as_echo "$STRIP" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5165 if test -z "$ac_cv_prog_STRIP"; then
5166 ac_ct_STRIP=$STRIP
5167 # Extract the first word of "strip", so it can be a program name with args.
5168 set dummy strip; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 if test -n "$ac_ct_STRIP"; then
5175 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5180 IFS=$as_save_IFS
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5184 ac_cv_prog_ac_ct_STRIP="strip"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 break 2
5188 done
5189 done
5190 IFS=$as_save_IFS
5194 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5195 if test -n "$ac_ct_STRIP"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5197 $as_echo "$ac_ct_STRIP" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5203 if test "x$ac_ct_STRIP" = x; then
5204 STRIP="strip"
5205 else
5206 case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned=yes ;;
5211 esac
5212 STRIP=$ac_ct_STRIP
5214 else
5215 STRIP="$ac_cv_prog_STRIP"
5218 ARFLAGS=rc
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5224 $as_echo_n "checking for $ac_word... " >&6; }
5225 if ${ac_cv_prog_RANLIB+:} false; then :
5226 $as_echo_n "(cached) " >&6
5227 else
5228 if test -n "$RANLIB"; then
5229 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5230 else
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5234 IFS=$as_save_IFS
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 break 2
5242 done
5243 done
5244 IFS=$as_save_IFS
5248 RANLIB=$ac_cv_prog_RANLIB
5249 if test -n "$RANLIB"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5251 $as_echo "$RANLIB" >&6; }
5252 else
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 $as_echo "no" >&6; }
5259 if test -z "$ac_cv_prog_RANLIB"; then
5260 ac_ct_RANLIB=$RANLIB
5261 # Extract the first word of "ranlib", so it can be a program name with args.
5262 set dummy ranlib; ac_word=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 if test -n "$ac_ct_RANLIB"; then
5269 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5270 else
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 for as_dir in $PATH
5274 IFS=$as_save_IFS
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_prog_ac_ct_RANLIB="ranlib"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 break 2
5282 done
5283 done
5284 IFS=$as_save_IFS
5288 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5289 if test -n "$ac_ct_RANLIB"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5291 $as_echo "$ac_ct_RANLIB" >&6; }
5292 else
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5297 if test "x$ac_ct_RANLIB" = x; then
5298 RANLIB=":"
5299 else
5300 case $cross_compiling:$ac_tool_warned in
5301 yes:)
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5304 ac_tool_warned=yes ;;
5305 esac
5306 RANLIB=$ac_ct_RANLIB
5308 else
5309 RANLIB="$ac_cv_prog_RANLIB"
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5313 $as_echo_n "checking whether ln -s works... " >&6; }
5314 LN_S=$as_ln_s
5315 if test "$LN_S" = "ln -s"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5317 $as_echo "yes" >&6; }
5318 else
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5320 $as_echo "no, using $LN_S" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5324 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5325 if ${ac_cv_path_GREP+:} false; then :
5326 $as_echo_n "(cached) " >&6
5327 else
5328 if test -z "$GREP"; then
5329 ac_path_GREP_found=false
5330 # Loop through the user's path and test for each of PROGNAME-LIST
5331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5332 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5334 IFS=$as_save_IFS
5335 test -z "$as_dir" && as_dir=.
5336 for ac_prog in grep ggrep; do
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5339 as_fn_executable_p "$ac_path_GREP" || continue
5340 # Check for GNU ac_path_GREP and select it if it is found.
5341 # Check for GNU $ac_path_GREP
5342 case `"$ac_path_GREP" --version 2>&1` in
5343 *GNU*)
5344 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5346 ac_count=0
5347 $as_echo_n 0123456789 >"conftest.in"
5348 while :
5350 cat "conftest.in" "conftest.in" >"conftest.tmp"
5351 mv "conftest.tmp" "conftest.in"
5352 cp "conftest.in" "conftest.nl"
5353 $as_echo 'GREP' >> "conftest.nl"
5354 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5355 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5356 as_fn_arith $ac_count + 1 && ac_count=$as_val
5357 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5358 # Best one so far, save it but keep looking for a better one
5359 ac_cv_path_GREP="$ac_path_GREP"
5360 ac_path_GREP_max=$ac_count
5362 # 10*(2^10) chars as input seems more than enough
5363 test $ac_count -gt 10 && break
5364 done
5365 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5366 esac
5368 $ac_path_GREP_found && break 3
5369 done
5370 done
5371 done
5372 IFS=$as_save_IFS
5373 if test -z "$ac_cv_path_GREP"; then
5374 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5376 else
5377 ac_cv_path_GREP=$GREP
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5382 $as_echo "$ac_cv_path_GREP" >&6; }
5383 GREP="$ac_cv_path_GREP"
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5387 $as_echo_n "checking for egrep... " >&6; }
5388 if ${ac_cv_path_EGREP+:} false; then :
5389 $as_echo_n "(cached) " >&6
5390 else
5391 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5392 then ac_cv_path_EGREP="$GREP -E"
5393 else
5394 if test -z "$EGREP"; then
5395 ac_path_EGREP_found=false
5396 # Loop through the user's path and test for each of PROGNAME-LIST
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5400 IFS=$as_save_IFS
5401 test -z "$as_dir" && as_dir=.
5402 for ac_prog in egrep; do
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5405 as_fn_executable_p "$ac_path_EGREP" || continue
5406 # Check for GNU ac_path_EGREP and select it if it is found.
5407 # Check for GNU $ac_path_EGREP
5408 case `"$ac_path_EGREP" --version 2>&1` in
5409 *GNU*)
5410 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5412 ac_count=0
5413 $as_echo_n 0123456789 >"conftest.in"
5414 while :
5416 cat "conftest.in" "conftest.in" >"conftest.tmp"
5417 mv "conftest.tmp" "conftest.in"
5418 cp "conftest.in" "conftest.nl"
5419 $as_echo 'EGREP' >> "conftest.nl"
5420 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5422 as_fn_arith $ac_count + 1 && ac_count=$as_val
5423 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5424 # Best one so far, save it but keep looking for a better one
5425 ac_cv_path_EGREP="$ac_path_EGREP"
5426 ac_path_EGREP_max=$ac_count
5428 # 10*(2^10) chars as input seems more than enough
5429 test $ac_count -gt 10 && break
5430 done
5431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5432 esac
5434 $ac_path_EGREP_found && break 3
5435 done
5436 done
5437 done
5438 IFS=$as_save_IFS
5439 if test -z "$ac_cv_path_EGREP"; then
5440 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5442 else
5443 ac_cv_path_EGREP=$EGREP
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5449 $as_echo "$ac_cv_path_EGREP" >&6; }
5450 EGREP="$ac_cv_path_EGREP"
5453 # Extract the first word of "ldconfig", so it can be a program name with args.
5454 set dummy ldconfig; ac_word=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_path_LDCONFIG+:} false; then :
5458 $as_echo_n "(cached) " >&6
5459 else
5460 case $LDCONFIG in
5461 [\\/]* | ?:[\\/]*)
5462 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in /sbin /usr/sbin $PATH
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 break 2
5476 done
5477 done
5478 IFS=$as_save_IFS
5480 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5482 esac
5484 LDCONFIG=$ac_cv_path_LDCONFIG
5485 if test -n "$LDCONFIG"; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5487 $as_echo "$LDCONFIG" >&6; }
5488 else
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5494 for ac_prog in msgfmt
5496 # Extract the first word of "$ac_prog", so it can be a program name with args.
5497 set dummy $ac_prog; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_MSGFMT+:} false; then :
5501 $as_echo_n "(cached) " >&6
5502 else
5503 if test -n "$MSGFMT"; then
5504 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5505 else
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_MSGFMT="$ac_prog"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 break 2
5517 done
5518 done
5519 IFS=$as_save_IFS
5523 MSGFMT=$ac_cv_prog_MSGFMT
5524 if test -n "$MSGFMT"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5526 $as_echo "$MSGFMT" >&6; }
5527 else
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5533 test -n "$MSGFMT" && break
5534 done
5535 test -n "$MSGFMT" || MSGFMT="false"
5537 if ${ac_tool_prefix+:} false; then :
5538 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5539 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5543 $as_echo_n "(cached) " >&6
5544 else
5545 if test -n "$PKG_CONFIG"; then
5546 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5547 else
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 for as_dir in $PATH
5551 IFS=$as_save_IFS
5552 test -z "$as_dir" && as_dir=.
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 break 2
5559 done
5560 done
5561 IFS=$as_save_IFS
5565 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5566 if test -n "$PKG_CONFIG"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5568 $as_echo "$PKG_CONFIG" >&6; }
5569 else
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5576 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5577 if test "x$cross_compiling" = xyes; then :
5579 else
5580 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5581 # Extract the first word of "pkg-config", so it can be a program name with args.
5582 set dummy pkg-config; ac_word=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5586 $as_echo_n "(cached) " >&6
5587 else
5588 if test -n "$PKG_CONFIG"; then
5589 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5590 else
5591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592 for as_dir in $PATH
5594 IFS=$as_save_IFS
5595 test -z "$as_dir" && as_dir=.
5596 for ac_exec_ext in '' $ac_executable_extensions; do
5597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_PKG_CONFIG="pkg-config"
5599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 break 2
5602 done
5603 done
5604 IFS=$as_save_IFS
5608 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5609 if test -n "$PKG_CONFIG"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5611 $as_echo "$PKG_CONFIG" >&6; }
5612 else
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5619 else
5620 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5623 if test "x$enable_maintainer_mode" != "xyes"
5624 then
5625 FONTFORGE=""
5626 RSVG=""
5627 CONVERT=""
5628 ICOTOOL=""
5629 else
5630 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5631 for ac_prog in fontforge
5633 # Extract the first word of "$ac_prog", so it can be a program name with args.
5634 set dummy $ac_prog; ac_word=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5636 $as_echo_n "checking for $ac_word... " >&6; }
5637 if ${ac_cv_prog_FONTFORGE+:} false; then :
5638 $as_echo_n "(cached) " >&6
5639 else
5640 if test -n "$FONTFORGE"; then
5641 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5642 else
5643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644 for as_dir in $PATH
5646 IFS=$as_save_IFS
5647 test -z "$as_dir" && as_dir=.
5648 for ac_exec_ext in '' $ac_executable_extensions; do
5649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5650 ac_cv_prog_FONTFORGE="$ac_prog"
5651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 break 2
5654 done
5655 done
5656 IFS=$as_save_IFS
5660 FONTFORGE=$ac_cv_prog_FONTFORGE
5661 if test -n "$FONTFORGE"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5663 $as_echo "$FONTFORGE" >&6; }
5664 else
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666 $as_echo "no" >&6; }
5670 test -n "$FONTFORGE" && break
5671 done
5672 test -n "$FONTFORGE" || FONTFORGE="false"
5674 for ac_prog in rsvg
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy $ac_prog; ac_word=$2
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679 $as_echo_n "checking for $ac_word... " >&6; }
5680 if ${ac_cv_prog_RSVG+:} false; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 if test -n "$RSVG"; then
5684 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5685 else
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687 for as_dir in $PATH
5689 IFS=$as_save_IFS
5690 test -z "$as_dir" && as_dir=.
5691 for ac_exec_ext in '' $ac_executable_extensions; do
5692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_RSVG="$ac_prog"
5694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5695 break 2
5697 done
5698 done
5699 IFS=$as_save_IFS
5703 RSVG=$ac_cv_prog_RSVG
5704 if test -n "$RSVG"; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5706 $as_echo "$RSVG" >&6; }
5707 else
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709 $as_echo "no" >&6; }
5713 test -n "$RSVG" && break
5714 done
5715 test -n "$RSVG" || RSVG="false"
5717 for ac_prog in convert
5719 # Extract the first word of "$ac_prog", so it can be a program name with args.
5720 set dummy $ac_prog; ac_word=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if ${ac_cv_prog_CONVERT+:} false; then :
5724 $as_echo_n "(cached) " >&6
5725 else
5726 if test -n "$CONVERT"; then
5727 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5728 else
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 for as_dir in $PATH
5732 IFS=$as_save_IFS
5733 test -z "$as_dir" && as_dir=.
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_CONVERT="$ac_prog"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5738 break 2
5740 done
5741 done
5742 IFS=$as_save_IFS
5746 CONVERT=$ac_cv_prog_CONVERT
5747 if test -n "$CONVERT"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5749 $as_echo "$CONVERT" >&6; }
5750 else
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5756 test -n "$CONVERT" && break
5757 done
5758 test -n "$CONVERT" || CONVERT="false"
5760 for ac_prog in icotool
5762 # Extract the first word of "$ac_prog", so it can be a program name with args.
5763 set dummy $ac_prog; ac_word=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if ${ac_cv_prog_ICOTOOL+:} false; then :
5767 $as_echo_n "(cached) " >&6
5768 else
5769 if test -n "$ICOTOOL"; then
5770 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5771 else
5772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 for as_dir in $PATH
5775 IFS=$as_save_IFS
5776 test -z "$as_dir" && as_dir=.
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_ICOTOOL="$ac_prog"
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5781 break 2
5783 done
5784 done
5785 IFS=$as_save_IFS
5789 ICOTOOL=$ac_cv_prog_ICOTOOL
5790 if test -n "$ICOTOOL"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5792 $as_echo "$ICOTOOL" >&6; }
5793 else
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
5799 test -n "$ICOTOOL" && break
5800 done
5801 test -n "$ICOTOOL" || ICOTOOL="false"
5803 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5804 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5806 if test "$CONVERT" = false
5807 then
5808 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5809 else
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5811 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5812 convert_version=`convert --version | head -n1`
5813 if test "x$convert_version" != "x"
5814 then
5815 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5816 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5817 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5818 then
5819 CONVERT=false
5822 if test "$CONVERT" = false
5823 then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5825 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5826 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5827 else
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5829 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5833 if test "$ICOTOOL" = false
5834 then
5835 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5836 else
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5838 $as_echo_n "checking for recent enough icotool... " >&6; }
5839 icotool_version=`icotool --version | head -n1`
5840 if test "x$icotool_version" != "x"
5841 then
5842 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5843 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5844 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5845 then
5846 ICOTOOL=false
5847 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5850 if test "$ICOTOOL" = false
5851 then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5853 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5854 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5855 else
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5857 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5861 with_gettext=yes
5862 with_gettextpo=yes
5863 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5866 test "x$with_gettext" != xno || MSGFMT=false
5867 if test "$MSGFMT" != "false"
5868 then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5870 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5871 cat >conftest.po <<EOF
5872 # comment
5873 msgctxt "ctxt"
5874 msgid "id"
5875 msgstr "str"
5877 if $MSGFMT -o /dev/null conftest.po 2>&5
5878 then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5880 $as_echo "yes" >&6; }
5881 else
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5884 MSGFMT=false
5887 if test "$MSGFMT" = false; then :
5888 case "x$with_gettext" in
5889 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5890 xno) ;;
5891 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5892 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5893 esac
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5898 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5899 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5900 $as_echo_n "(cached) " >&6
5901 else
5902 ac_check_lib_save_LIBS=$LIBS
5903 LIBS="-li386 $LIBS"
5904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5905 /* end confdefs.h. */
5907 /* Override any GCC internal prototype to avoid an error.
5908 Use char because int might match the return type of a GCC
5909 builtin and then its argument prototype would still apply. */
5910 #ifdef __cplusplus
5911 extern "C"
5912 #endif
5913 char i386_set_ldt ();
5915 main ()
5917 return i386_set_ldt ();
5919 return 0;
5921 _ACEOF
5922 if ac_fn_c_try_link "$LINENO"; then :
5923 ac_cv_lib_i386_i386_set_ldt=yes
5924 else
5925 ac_cv_lib_i386_i386_set_ldt=no
5927 rm -f core conftest.err conftest.$ac_objext \
5928 conftest$ac_exeext conftest.$ac_ext
5929 LIBS=$ac_check_lib_save_LIBS
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5932 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5933 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5934 cat >>confdefs.h <<_ACEOF
5935 #define HAVE_LIBI386 1
5936 _ACEOF
5938 LIBS="-li386 $LIBS"
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5943 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5944 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5945 $as_echo_n "(cached) " >&6
5946 else
5947 ac_check_lib_save_LIBS=$LIBS
5948 LIBS="-lossaudio $LIBS"
5949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5950 /* end confdefs.h. */
5952 /* Override any GCC internal prototype to avoid an error.
5953 Use char because int might match the return type of a GCC
5954 builtin and then its argument prototype would still apply. */
5955 #ifdef __cplusplus
5956 extern "C"
5957 #endif
5958 char _oss_ioctl ();
5960 main ()
5962 return _oss_ioctl ();
5964 return 0;
5966 _ACEOF
5967 if ac_fn_c_try_link "$LINENO"; then :
5968 ac_cv_lib_ossaudio__oss_ioctl=yes
5969 else
5970 ac_cv_lib_ossaudio__oss_ioctl=no
5972 rm -f core conftest.err conftest.$ac_objext \
5973 conftest$ac_exeext conftest.$ac_ext
5974 LIBS=$ac_check_lib_save_LIBS
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5977 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5978 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5979 cat >>confdefs.h <<_ACEOF
5980 #define HAVE_LIBOSSAUDIO 1
5981 _ACEOF
5983 LIBS="-lossaudio $LIBS"
5988 OPENGL_LIBS=""
5992 # Check whether --enable-largefile was given.
5993 if test "${enable_largefile+set}" = set; then :
5994 enableval=$enable_largefile;
5997 if test "$enable_largefile" != no; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6000 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6001 if ${ac_cv_sys_largefile_CC+:} false; then :
6002 $as_echo_n "(cached) " >&6
6003 else
6004 ac_cv_sys_largefile_CC=no
6005 if test "$GCC" != yes; then
6006 ac_save_CC=$CC
6007 while :; do
6008 # IRIX 6.2 and later do not support large files by default,
6009 # so use the C compiler's -n32 option if that helps.
6010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6011 /* end confdefs.h. */
6012 #include <sys/types.h>
6013 /* Check that off_t can represent 2**63 - 1 correctly.
6014 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6015 since some C++ compilers masquerading as C compilers
6016 incorrectly reject 9223372036854775807. */
6017 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6018 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6019 && LARGE_OFF_T % 2147483647 == 1)
6020 ? 1 : -1];
6022 main ()
6026 return 0;
6028 _ACEOF
6029 if ac_fn_c_try_compile "$LINENO"; then :
6030 break
6032 rm -f core conftest.err conftest.$ac_objext
6033 CC="$CC -n32"
6034 if ac_fn_c_try_compile "$LINENO"; then :
6035 ac_cv_sys_largefile_CC=' -n32'; break
6037 rm -f core conftest.err conftest.$ac_objext
6038 break
6039 done
6040 CC=$ac_save_CC
6041 rm -f conftest.$ac_ext
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6045 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6046 if test "$ac_cv_sys_largefile_CC" != no; then
6047 CC=$CC$ac_cv_sys_largefile_CC
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6051 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6052 if ${ac_cv_sys_file_offset_bits+:} false; then :
6053 $as_echo_n "(cached) " >&6
6054 else
6055 while :; do
6056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6057 /* end confdefs.h. */
6058 #include <sys/types.h>
6059 /* Check that off_t can represent 2**63 - 1 correctly.
6060 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6061 since some C++ compilers masquerading as C compilers
6062 incorrectly reject 9223372036854775807. */
6063 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6064 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6065 && LARGE_OFF_T % 2147483647 == 1)
6066 ? 1 : -1];
6068 main ()
6072 return 0;
6074 _ACEOF
6075 if ac_fn_c_try_compile "$LINENO"; then :
6076 ac_cv_sys_file_offset_bits=no; break
6078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6080 /* end confdefs.h. */
6081 #define _FILE_OFFSET_BITS 64
6082 #include <sys/types.h>
6083 /* Check that off_t can represent 2**63 - 1 correctly.
6084 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6085 since some C++ compilers masquerading as C compilers
6086 incorrectly reject 9223372036854775807. */
6087 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6088 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6089 && LARGE_OFF_T % 2147483647 == 1)
6090 ? 1 : -1];
6092 main ()
6096 return 0;
6098 _ACEOF
6099 if ac_fn_c_try_compile "$LINENO"; then :
6100 ac_cv_sys_file_offset_bits=64; break
6102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6103 ac_cv_sys_file_offset_bits=unknown
6104 break
6105 done
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6108 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6109 case $ac_cv_sys_file_offset_bits in #(
6110 no | unknown) ;;
6112 cat >>confdefs.h <<_ACEOF
6113 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6114 _ACEOF
6116 esac
6117 rm -rf conftest*
6118 if test $ac_cv_sys_file_offset_bits = unknown; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6120 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6121 if ${ac_cv_sys_large_files+:} false; then :
6122 $as_echo_n "(cached) " >&6
6123 else
6124 while :; do
6125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6126 /* end confdefs.h. */
6127 #include <sys/types.h>
6128 /* Check that off_t can represent 2**63 - 1 correctly.
6129 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6130 since some C++ compilers masquerading as C compilers
6131 incorrectly reject 9223372036854775807. */
6132 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6133 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6134 && LARGE_OFF_T % 2147483647 == 1)
6135 ? 1 : -1];
6137 main ()
6141 return 0;
6143 _ACEOF
6144 if ac_fn_c_try_compile "$LINENO"; then :
6145 ac_cv_sys_large_files=no; break
6147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6149 /* end confdefs.h. */
6150 #define _LARGE_FILES 1
6151 #include <sys/types.h>
6152 /* Check that off_t can represent 2**63 - 1 correctly.
6153 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6154 since some C++ compilers masquerading as C compilers
6155 incorrectly reject 9223372036854775807. */
6156 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6157 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6158 && LARGE_OFF_T % 2147483647 == 1)
6159 ? 1 : -1];
6161 main ()
6165 return 0;
6167 _ACEOF
6168 if ac_fn_c_try_compile "$LINENO"; then :
6169 ac_cv_sys_large_files=1; break
6171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6172 ac_cv_sys_large_files=unknown
6173 break
6174 done
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6177 $as_echo "$ac_cv_sys_large_files" >&6; }
6178 case $ac_cv_sys_large_files in #(
6179 no | unknown) ;;
6181 cat >>confdefs.h <<_ACEOF
6182 #define _LARGE_FILES $ac_cv_sys_large_files
6183 _ACEOF
6185 esac
6186 rm -rf conftest*
6193 ac_ext=c
6194 ac_cpp='$CPP $CPPFLAGS'
6195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6199 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6200 # On Suns, sometimes $CPP names a directory.
6201 if test -n "$CPP" && test -d "$CPP"; then
6202 CPP=
6204 if test -z "$CPP"; then
6205 if ${ac_cv_prog_CPP+:} false; then :
6206 $as_echo_n "(cached) " >&6
6207 else
6208 # Double quotes because CPP needs to be expanded
6209 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6211 ac_preproc_ok=false
6212 for ac_c_preproc_warn_flag in '' yes
6214 # Use a header file that comes with gcc, so configuring glibc
6215 # with a fresh cross-compiler works.
6216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6217 # <limits.h> exists even on freestanding compilers.
6218 # On the NeXT, cc -E runs the code through the compiler's parser,
6219 # not just through cpp. "Syntax error" is here to catch this case.
6220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6222 #ifdef __STDC__
6223 # include <limits.h>
6224 #else
6225 # include <assert.h>
6226 #endif
6227 Syntax error
6228 _ACEOF
6229 if ac_fn_c_try_cpp "$LINENO"; then :
6231 else
6232 # Broken: fails on valid input.
6233 continue
6235 rm -f conftest.err conftest.i conftest.$ac_ext
6237 # OK, works on sane cases. Now check whether nonexistent headers
6238 # can be detected and how.
6239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6241 #include <ac_nonexistent.h>
6242 _ACEOF
6243 if ac_fn_c_try_cpp "$LINENO"; then :
6244 # Broken: success on invalid input.
6245 continue
6246 else
6247 # Passes both tests.
6248 ac_preproc_ok=:
6249 break
6251 rm -f conftest.err conftest.i conftest.$ac_ext
6253 done
6254 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6255 rm -f conftest.i conftest.err conftest.$ac_ext
6256 if $ac_preproc_ok; then :
6257 break
6260 done
6261 ac_cv_prog_CPP=$CPP
6264 CPP=$ac_cv_prog_CPP
6265 else
6266 ac_cv_prog_CPP=$CPP
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6269 $as_echo "$CPP" >&6; }
6270 ac_preproc_ok=false
6271 for ac_c_preproc_warn_flag in '' yes
6273 # Use a header file that comes with gcc, so configuring glibc
6274 # with a fresh cross-compiler works.
6275 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6276 # <limits.h> exists even on freestanding compilers.
6277 # On the NeXT, cc -E runs the code through the compiler's parser,
6278 # not just through cpp. "Syntax error" is here to catch this case.
6279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6281 #ifdef __STDC__
6282 # include <limits.h>
6283 #else
6284 # include <assert.h>
6285 #endif
6286 Syntax error
6287 _ACEOF
6288 if ac_fn_c_try_cpp "$LINENO"; then :
6290 else
6291 # Broken: fails on valid input.
6292 continue
6294 rm -f conftest.err conftest.i conftest.$ac_ext
6296 # OK, works on sane cases. Now check whether nonexistent headers
6297 # can be detected and how.
6298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6300 #include <ac_nonexistent.h>
6301 _ACEOF
6302 if ac_fn_c_try_cpp "$LINENO"; then :
6303 # Broken: success on invalid input.
6304 continue
6305 else
6306 # Passes both tests.
6307 ac_preproc_ok=:
6308 break
6310 rm -f conftest.err conftest.i conftest.$ac_ext
6312 done
6313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6314 rm -f conftest.i conftest.err conftest.$ac_ext
6315 if $ac_preproc_ok; then :
6317 else
6318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6320 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6321 See \`config.log' for more details" "$LINENO" 5; }
6324 ac_ext=c
6325 ac_cpp='$CPP $CPPFLAGS'
6326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6332 $as_echo_n "checking for ANSI C header files... " >&6; }
6333 if ${ac_cv_header_stdc+:} false; then :
6334 $as_echo_n "(cached) " >&6
6335 else
6336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6337 /* end confdefs.h. */
6338 #include <stdlib.h>
6339 #include <stdarg.h>
6340 #include <string.h>
6341 #include <float.h>
6344 main ()
6348 return 0;
6350 _ACEOF
6351 if ac_fn_c_try_compile "$LINENO"; then :
6352 ac_cv_header_stdc=yes
6353 else
6354 ac_cv_header_stdc=no
6356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6358 if test $ac_cv_header_stdc = yes; then
6359 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6361 /* end confdefs.h. */
6362 #include <string.h>
6364 _ACEOF
6365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6366 $EGREP "memchr" >/dev/null 2>&1; then :
6368 else
6369 ac_cv_header_stdc=no
6371 rm -f conftest*
6375 if test $ac_cv_header_stdc = yes; then
6376 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6379 #include <stdlib.h>
6381 _ACEOF
6382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6383 $EGREP "free" >/dev/null 2>&1; then :
6385 else
6386 ac_cv_header_stdc=no
6388 rm -f conftest*
6392 if test $ac_cv_header_stdc = yes; then
6393 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6394 if test "$cross_compiling" = yes; then :
6396 else
6397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6399 #include <ctype.h>
6400 #include <stdlib.h>
6401 #if ((' ' & 0x0FF) == 0x020)
6402 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6403 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6404 #else
6405 # define ISLOWER(c) \
6406 (('a' <= (c) && (c) <= 'i') \
6407 || ('j' <= (c) && (c) <= 'r') \
6408 || ('s' <= (c) && (c) <= 'z'))
6409 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6410 #endif
6412 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6414 main ()
6416 int i;
6417 for (i = 0; i < 256; i++)
6418 if (XOR (islower (i), ISLOWER (i))
6419 || toupper (i) != TOUPPER (i))
6420 return 2;
6421 return 0;
6423 _ACEOF
6424 if ac_fn_c_try_run "$LINENO"; then :
6426 else
6427 ac_cv_header_stdc=no
6429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6430 conftest.$ac_objext conftest.beam conftest.$ac_ext
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6436 $as_echo "$ac_cv_header_stdc" >&6; }
6437 if test $ac_cv_header_stdc = yes; then
6439 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6443 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6444 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6445 inttypes.h stdint.h unistd.h
6446 do :
6447 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6448 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6450 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6451 cat >>confdefs.h <<_ACEOF
6452 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6453 _ACEOF
6457 done
6460 for ac_header in \
6461 AL/al.h \
6462 ApplicationServices/ApplicationServices.h \
6463 AudioToolbox/AudioConverter.h \
6464 AudioUnit/AudioUnit.h \
6465 AudioUnit/AudioComponent.h \
6466 CL/cl.h \
6467 Carbon/Carbon.h \
6468 CoreAudio/CoreAudio.h \
6469 CoreServices/CoreServices.h \
6470 DiskArbitration/DiskArbitration.h \
6471 IOKit/IOKitLib.h \
6472 IOKit/hid/IOHIDLib.h \
6473 OpenAL/al.h \
6474 OpenCL/opencl.h \
6475 QuickTime/ImageCompression.h \
6476 Security/Security.h \
6477 alias.h \
6478 alsa/asoundlib.h \
6479 arpa/inet.h \
6480 arpa/nameser.h \
6481 asm/types.h \
6482 asm/user.h \
6483 curses.h \
6484 direct.h \
6485 dirent.h \
6486 dlfcn.h \
6487 elf.h \
6488 float.h \
6489 fnmatch.h \
6490 getopt.h \
6491 gettext-po.h \
6492 grp.h \
6493 gsm.h \
6494 gsm/gsm.h \
6495 ieeefp.h \
6496 inet/mib2.h \
6497 io.h \
6498 kstat.h \
6499 lber.h \
6500 ldap.h \
6501 libproc.h \
6502 link.h \
6503 linux/cdrom.h \
6504 linux/compiler.h \
6505 linux/filter.h \
6506 linux/hdreg.h \
6507 linux/input.h \
6508 linux/ioctl.h \
6509 linux/joystick.h \
6510 linux/major.h \
6511 linux/param.h \
6512 linux/serial.h \
6513 linux/types.h \
6514 linux/ucdrom.h \
6515 lwp.h \
6516 mach-o/nlist.h \
6517 mach-o/loader.h \
6518 mach/mach.h \
6519 mach/machine.h \
6520 machine/cpu.h \
6521 machine/limits.h \
6522 machine/sysarch.h \
6523 mntent.h \
6524 ncurses.h \
6525 netdb.h \
6526 netinet/in.h \
6527 netinet/in_systm.h \
6528 netinet/tcp.h \
6529 netinet/tcp_fsm.h \
6530 pcap/pcap.h \
6531 poll.h \
6532 port.h \
6533 process.h \
6534 pthread.h \
6535 pwd.h \
6536 sched.h \
6537 scsi/scsi.h \
6538 scsi/scsi_ioctl.h \
6539 scsi/sg.h \
6540 stdbool.h \
6541 stdint.h \
6542 stropts.h \
6543 sys/asoundlib.h \
6544 sys/attr.h \
6545 sys/cdio.h \
6546 sys/elf32.h \
6547 sys/epoll.h \
6548 sys/event.h \
6549 sys/exec_elf.h \
6550 sys/filio.h \
6551 sys/inotify.h \
6552 sys/ioctl.h \
6553 sys/ipc.h \
6554 sys/limits.h \
6555 sys/link.h \
6556 sys/mman.h \
6557 sys/modem.h \
6558 sys/msg.h \
6559 sys/mtio.h \
6560 sys/param.h \
6561 sys/poll.h \
6562 sys/prctl.h \
6563 sys/protosw.h \
6564 sys/ptrace.h \
6565 sys/queue.h \
6566 sys/resource.h \
6567 sys/scsiio.h \
6568 sys/shm.h \
6569 sys/signal.h \
6570 sys/socket.h \
6571 sys/socketvar.h \
6572 sys/sockio.h \
6573 sys/statvfs.h \
6574 sys/strtio.h \
6575 sys/syscall.h \
6576 sys/tihdr.h \
6577 sys/time.h \
6578 sys/timeout.h \
6579 sys/times.h \
6580 sys/uio.h \
6581 sys/user.h \
6582 sys/utsname.h \
6583 sys/vm86.h \
6584 sys/wait.h \
6585 syscall.h \
6586 termios.h \
6587 unistd.h \
6588 utime.h \
6589 valgrind/memcheck.h \
6590 valgrind/valgrind.h \
6591 zlib.h
6593 do :
6594 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6595 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6596 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6597 cat >>confdefs.h <<_ACEOF
6598 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6599 _ACEOF
6603 done
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6606 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6607 if ${ac_cv_header_stat_broken+:} false; then :
6608 $as_echo_n "(cached) " >&6
6609 else
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6612 #include <sys/types.h>
6613 #include <sys/stat.h>
6615 #if defined S_ISBLK && defined S_IFDIR
6616 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6617 #endif
6619 #if defined S_ISBLK && defined S_IFCHR
6620 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6621 #endif
6623 #if defined S_ISLNK && defined S_IFREG
6624 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6625 #endif
6627 #if defined S_ISSOCK && defined S_IFREG
6628 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6629 #endif
6631 _ACEOF
6632 if ac_fn_c_try_compile "$LINENO"; then :
6633 ac_cv_header_stat_broken=no
6634 else
6635 ac_cv_header_stat_broken=yes
6637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6640 $as_echo "$ac_cv_header_stat_broken" >&6; }
6641 if test $ac_cv_header_stat_broken = yes; then
6643 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6649 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6650 do :
6651 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6652 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6653 #ifdef HAVE_SYS_PARAM_H
6654 # include <sys/param.h>
6655 #endif
6657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6658 cat >>confdefs.h <<_ACEOF
6659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6660 _ACEOF
6664 done
6667 for ac_header in \
6668 netinet/ip.h \
6669 net/if.h \
6670 net/if_arp.h \
6671 net/if_dl.h \
6672 net/if_types.h \
6673 net/route.h \
6674 netinet/if_ether.h \
6675 netinet/if_inarp.h \
6676 netinet/in_pcb.h \
6677 netinet/ip_icmp.h \
6678 netinet/ip_var.h \
6679 netinet/udp.h \
6680 netipx/ipx.h \
6681 sys/un.h \
6683 do :
6684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6685 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6686 #ifdef HAVE_SYS_SOCKET_H
6687 # include <sys/socket.h>
6688 #endif
6689 #ifdef HAVE_SYS_SOCKETVAR_H
6690 # include <sys/socketvar.h>
6691 #endif
6692 #ifdef HAVE_NET_ROUTE_H
6693 # include <net/route.h>
6694 #endif
6695 #ifdef HAVE_NETINET_IN_H
6696 # include <netinet/in.h>
6697 #endif
6698 #ifdef HAVE_NETINET_IN_SYSTM_H
6699 # include <netinet/in_systm.h>
6700 #endif
6701 #ifdef HAVE_NET_IF_H
6702 # include <net/if.h>
6703 #endif
6704 #ifdef HAVE_NETINET_IP_H
6705 # include <netinet/ip.h>
6706 #endif
6708 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6709 cat >>confdefs.h <<_ACEOF
6710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6711 _ACEOF
6715 done
6718 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6719 do :
6720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6721 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6722 #ifdef HAVE_ALIAS_H
6723 # include <alias.h>
6724 #endif
6725 #ifdef HAVE_SYS_SOCKET_H
6726 # include <sys/socket.h>
6727 #endif
6728 #ifdef HAVE_SYS_SOCKETVAR_H
6729 # include <sys/socketvar.h>
6730 #endif
6731 #ifdef HAVE_SYS_TIMEOUT_H
6732 # include <sys/timeout.h>
6733 #endif
6734 #ifdef HAVE_NETINET_IN_H
6735 # include <netinet/in.h>
6736 #endif
6737 #ifdef HAVE_NETINET_IN_SYSTM_H
6738 # include <netinet/in_systm.h>
6739 #endif
6740 #ifdef HAVE_NETINET_IP_H
6741 # include <netinet/ip.h>
6742 #endif
6743 #ifdef HAVE_NETINET_IP_VAR_H
6744 # include <netinet/ip_var.h>
6745 #endif
6746 #ifdef HAVE_NETINET_IP_ICMP_H
6747 # include <netinet/ip_icmp.h>
6748 #endif
6749 #ifdef HAVE_NETINET_UDP_H
6750 # include <netinet/udp.h>
6751 #endif
6752 #ifdef HAVE_NETINET_TCP_H
6753 # include <netinet/tcp.h>
6754 #endif
6755 #ifdef HAVE_NETINET_TCP_TIMER_H
6756 #include <netinet/tcp_timer.h>
6757 #endif
6759 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6760 cat >>confdefs.h <<_ACEOF
6761 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6762 _ACEOF
6766 done
6769 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6770 do :
6771 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6772 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6773 #ifdef HAVE_ASM_TYPES_H
6774 # include <asm/types.h>
6775 #endif
6776 #ifdef HAVE_SYS_SOCKET_H
6777 # include <sys/socket.h>
6778 #endif
6779 #ifdef HAVE_LINUX_TYPES_H
6780 # include <linux/types.h>
6781 #endif
6783 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6784 cat >>confdefs.h <<_ACEOF
6785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6786 _ACEOF
6790 done
6793 for ac_header in mach-o/dyld_images.h
6794 do :
6795 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6796 # include <stdbool.h>
6797 #endif
6798 #ifdef HAVE_STDINT_H
6799 # include <stdint.h>
6800 #endif
6802 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6803 cat >>confdefs.h <<_ACEOF
6804 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6805 _ACEOF
6809 done
6812 for ac_header in resolv.h
6813 do :
6814 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6815 #ifdef HAVE_SYS_SOCKET_H
6816 # include <sys/socket.h>
6817 #endif
6818 #ifdef HAVE_NETINET_IN_H
6819 # include <netinet/in.h>
6820 #endif
6821 #ifdef HAVE_ARPA_NAMESER_H
6822 # include <arpa/nameser.h>
6823 #endif
6825 if test "x$ac_cv_header_resolv_h" = xyes; then :
6826 cat >>confdefs.h <<_ACEOF
6827 #define HAVE_RESOLV_H 1
6828 _ACEOF
6832 done
6835 for ac_header in ifaddrs.h
6836 do :
6837 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6839 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6840 cat >>confdefs.h <<_ACEOF
6841 #define HAVE_IFADDRS_H 1
6842 _ACEOF
6846 done
6849 for ac_header in sys/ucontext.h
6850 do :
6851 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6853 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6854 cat >>confdefs.h <<_ACEOF
6855 #define HAVE_SYS_UCONTEXT_H 1
6856 _ACEOF
6860 done
6863 for ac_header in sys/thr.h
6864 do :
6865 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6866 #ifdef HAVE_SYS_UCONTEXT_H
6867 #include <sys/ucontext.h>
6868 #endif
6870 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6871 cat >>confdefs.h <<_ACEOF
6872 #define HAVE_SYS_THR_H 1
6873 _ACEOF
6877 done
6880 for ac_header in pthread_np.h
6881 do :
6882 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6883 #include <pthread.h>
6884 #endif
6886 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6887 cat >>confdefs.h <<_ACEOF
6888 #define HAVE_PTHREAD_NP_H 1
6889 _ACEOF
6893 done
6896 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6897 do :
6898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6899 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6900 #include <sys/time.h>
6901 #endif
6902 #include <sys/types.h>
6903 #ifdef HAVE_ASM_TYPES_H
6904 #include <asm/types.h>
6905 #endif
6907 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6908 cat >>confdefs.h <<_ACEOF
6909 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6910 _ACEOF
6914 done
6917 for ac_header in libprocstat.h
6918 do :
6919 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6920 #include <sys/param.h>
6921 #endif
6922 #ifdef HAVE_SYS_QUEUE_H
6923 #include <sys/queue.h>
6924 #endif
6925 #ifdef HAVE_SYS_SOCKET_H
6926 #include <sys/socket.h>
6927 #endif
6929 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6930 cat >>confdefs.h <<_ACEOF
6931 #define HAVE_LIBPROCSTAT_H 1
6932 _ACEOF
6936 done
6940 dlldir="\${libdir}/wine"
6942 DLLPREFIX=""
6944 DLLFLAGS="-D_REENTRANT"
6946 LDRPATH_INSTALL=""
6948 LDRPATH_LOCAL=""
6950 LIBEXT="so"
6951 DLLEXT=".so"
6952 IMPLIBEXT="def"
6953 STATIC_IMPLIBEXT="def.a"
6954 # Extract the first word of "ldd", so it can be a program name with args.
6955 set dummy ldd; ac_word=$2
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6957 $as_echo_n "checking for $ac_word... " >&6; }
6958 if ${ac_cv_path_LDD+:} false; then :
6959 $as_echo_n "(cached) " >&6
6960 else
6961 case $LDD in
6962 [\\/]* | ?:[\\/]*)
6963 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 as_dummy="/sbin:/usr/sbin:$PATH"
6968 for as_dir in $as_dummy
6970 IFS=$as_save_IFS
6971 test -z "$as_dir" && as_dir=.
6972 for ac_exec_ext in '' $ac_executable_extensions; do
6973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6974 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6976 break 2
6978 done
6979 done
6980 IFS=$as_save_IFS
6982 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6984 esac
6986 LDD=$ac_cv_path_LDD
6987 if test -n "$LDD"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6989 $as_echo "$LDD" >&6; }
6990 else
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6996 if test -n "$ac_tool_prefix"; then
6997 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6998 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7000 $as_echo_n "checking for $ac_word... " >&6; }
7001 if ${ac_cv_prog_READELF+:} false; then :
7002 $as_echo_n "(cached) " >&6
7003 else
7004 if test -n "$READELF"; then
7005 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7006 else
7007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7008 for as_dir in $PATH
7010 IFS=$as_save_IFS
7011 test -z "$as_dir" && as_dir=.
7012 for ac_exec_ext in '' $ac_executable_extensions; do
7013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7014 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7016 break 2
7018 done
7019 done
7020 IFS=$as_save_IFS
7024 READELF=$ac_cv_prog_READELF
7025 if test -n "$READELF"; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7027 $as_echo "$READELF" >&6; }
7028 else
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7030 $as_echo "no" >&6; }
7035 if test -z "$ac_cv_prog_READELF"; then
7036 ac_ct_READELF=$READELF
7037 # Extract the first word of "readelf", so it can be a program name with args.
7038 set dummy readelf; ac_word=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 $as_echo_n "checking for $ac_word... " >&6; }
7041 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7042 $as_echo_n "(cached) " >&6
7043 else
7044 if test -n "$ac_ct_READELF"; then
7045 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7046 else
7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048 for as_dir in $PATH
7050 IFS=$as_save_IFS
7051 test -z "$as_dir" && as_dir=.
7052 for ac_exec_ext in '' $ac_executable_extensions; do
7053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7054 ac_cv_prog_ac_ct_READELF="readelf"
7055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7056 break 2
7058 done
7059 done
7060 IFS=$as_save_IFS
7064 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7065 if test -n "$ac_ct_READELF"; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7067 $as_echo "$ac_ct_READELF" >&6; }
7068 else
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070 $as_echo "no" >&6; }
7073 if test "x$ac_ct_READELF" = x; then
7074 READELF="true"
7075 else
7076 case $cross_compiling:$ac_tool_warned in
7077 yes:)
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7080 ac_tool_warned=yes ;;
7081 esac
7082 READELF=$ac_ct_READELF
7084 else
7085 READELF="$ac_cv_prog_READELF"
7088 wine_rules_file=conf$$rules.make
7089 rm -f $wine_rules_file
7090 ALL_POT_FILES=""
7091 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7092 ALL_TEST_RESOURCES=""
7095 wine_fn_append_file ()
7097 as_fn_append $1 " \\$as_nl $2"
7100 wine_fn_ignore_file ()
7102 case "$1" in
7103 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7104 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7105 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7106 esac
7109 wine_fn_append_rule ()
7111 $as_echo "$1" >>$wine_rules_file
7114 wine_fn_has_flag ()
7116 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7119 wine_fn_depend_rules ()
7121 wine_fn_append_rule \
7122 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7123 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7124 depend: $ac_dir/depend
7125 .PHONY: $ac_dir/depend
7126 $ac_dir/depend: \$(MAKEDEP) dummy
7127 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7130 wine_fn_pot_rules ()
7132 test "x$with_gettextpo" = xyes || return
7134 if wine_fn_has_flag mc
7135 then
7136 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7137 wine_fn_append_rule \
7138 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7139 @cd $ac_dir && \$(MAKE) msg.pot
7140 $ac_dir/msg.pot: tools/wmc include"
7142 if wine_fn_has_flag po
7143 then
7144 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7145 wine_fn_append_rule \
7146 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7147 @cd $ac_dir && \$(MAKE) rsrc.pot
7148 $ac_dir/rsrc.pot: tools/wrc include"
7152 wine_fn_all_rules ()
7154 wine_fn_depend_rules
7155 wine_fn_append_rule \
7156 "all: $ac_dir
7157 .PHONY: $ac_dir
7158 $ac_dir: $ac_dir/Makefile dummy
7159 @cd $ac_dir && \$(MAKE)"
7162 wine_fn_install_rules ()
7164 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7166 wine_fn_append_rule \
7167 ".PHONY: $ac_dir/install $ac_dir/uninstall
7168 $ac_dir/install:: $ac_dir
7169 @cd $ac_dir && \$(MAKE) install
7170 $ac_dir/uninstall:: $ac_dir/Makefile
7171 @cd $ac_dir && \$(MAKE) uninstall
7172 install:: $ac_dir/install
7173 __uninstall__: $ac_dir/uninstall"
7175 if wine_fn_has_flag install-lib
7176 then
7177 wine_fn_append_rule \
7178 ".PHONY: $ac_dir/install-lib
7179 $ac_dir/install-lib:: $ac_dir
7180 @cd $ac_dir && \$(MAKE) install-lib
7181 install-lib:: $ac_dir/install-lib"
7184 if wine_fn_has_flag install-dev
7185 then
7186 wine_fn_append_rule \
7187 ".PHONY: $ac_dir/install-dev
7188 $ac_dir/install-dev:: $ac_dir
7189 @cd $ac_dir && \$(MAKE) install-dev
7190 install-dev:: $ac_dir/install-dev"
7194 wine_fn_clean_rules ()
7196 ac_clean=$@
7197 ac_extraclean="$ac_dir/Makefile"
7198 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7199 case $ac_dir in
7200 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7201 esac
7203 if wine_fn_has_flag clean
7204 then
7205 wine_fn_append_rule \
7206 "__clean__: $ac_dir/clean
7207 .PHONY: $ac_dir/clean
7208 $ac_dir/clean: $ac_dir/Makefile
7209 @cd $ac_dir && \$(MAKE) clean
7210 \$(RM) $ac_extraclean"
7211 else
7212 wine_fn_append_rule \
7213 "__clean__: $ac_dir/clean
7214 .PHONY: $ac_dir/clean
7215 $ac_dir/clean: dummy
7216 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7220 wine_fn_disabled_rules ()
7222 ac_clean=$@
7223 ac_extraclean="$ac_dir/Makefile"
7224 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7226 wine_fn_append_rule \
7227 "__clean__: $ac_dir/clean
7228 .PHONY: $ac_dir/clean
7229 $ac_dir/clean: dummy
7230 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7233 wine_fn_config_makefile ()
7235 ac_dir=$1
7236 ac_enable=$2
7237 ac_flags=$3
7239 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7240 wine_fn_disabled_rules; return
7242 wine_fn_all_rules
7243 wine_fn_install_rules
7244 wine_fn_clean_rules
7247 wine_fn_config_lib ()
7249 ac_name=$1
7250 ac_flags=$2
7251 ac_dir=dlls/$ac_name
7252 ac_deps="include"
7254 if test "x$enable_tools" = xno; then :
7256 else
7257 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7259 wine_fn_all_rules
7260 wine_fn_clean_rules
7262 wine_fn_append_rule \
7263 ".PHONY: $ac_dir/install $ac_dir/uninstall
7264 $ac_dir/install:: $ac_dir
7265 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7266 $ac_dir/uninstall::
7267 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7268 install install-dev:: $ac_dir/install
7269 __uninstall__: $ac_dir/uninstall
7270 __builddeps__: $ac_dir
7271 $ac_dir: $ac_deps"
7274 wine_fn_config_dll ()
7276 ac_name=$1
7277 ac_dir=dlls/$ac_name
7278 ac_enable=$2
7279 ac_flags=$3
7280 ac_implib=${4:-$ac_name}
7281 ac_file=$ac_dir/lib$ac_implib
7282 ac_dll=$ac_name
7283 ac_deps="include"
7284 ac_implibflags=""
7286 if test "x$enable_tools" = xno; then :
7288 else
7289 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7291 case $ac_name in
7292 *16) ac_implibflags=" -m16" ;;
7293 *.*) ;;
7294 *) ac_dll=$ac_dll.dll ;;
7295 esac
7297 ac_clean=
7298 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7299 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7300 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7301 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7303 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7304 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7305 then
7306 wine_fn_depend_rules
7307 wine_fn_clean_rules $ac_clean
7308 else
7309 wine_fn_disabled_rules $ac_clean
7310 return
7312 else
7313 wine_fn_all_rules
7314 wine_fn_clean_rules $ac_clean
7315 wine_fn_append_rule \
7316 "$ac_dir: __builddeps__
7317 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7318 @cd $ac_dir && \$(MAKE) \$@
7319 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7320 install install-lib:: $ac_dir/install-lib
7321 __uninstall__: $ac_dir/uninstall"
7322 if test -n "$DLLEXT"
7323 then
7324 wine_fn_append_rule \
7325 "$ac_dir/install-lib:: $ac_dir
7326 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7327 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7328 $ac_dir/uninstall::
7329 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7330 else
7331 wine_fn_append_rule \
7332 "$ac_dir/install-lib:: $ac_dir
7333 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7334 $ac_dir/uninstall::
7335 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7338 wine_fn_pot_rules
7341 if wine_fn_has_flag staticimplib
7342 then
7343 wine_fn_append_rule \
7344 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7345 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7346 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7347 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7348 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7349 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7350 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7351 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7352 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7353 $ac_dir/uninstall::
7354 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7355 install install-dev:: $ac_dir/install-dev
7356 __uninstall__: $ac_dir/uninstall"
7358 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7359 then
7360 wine_fn_append_rule \
7361 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7362 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7363 $ac_dir/uninstall::
7364 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7367 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7368 then
7369 wine_fn_append_rule \
7370 "__builddeps__: $ac_file.cross.a
7371 $ac_file.cross.a: $ac_dir/Makefile dummy
7372 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7375 elif wine_fn_has_flag implib
7376 then
7377 wine_fn_append_rule \
7378 "__builddeps__: $ac_file.$IMPLIBEXT
7379 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7380 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7381 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7382 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7383 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7384 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7385 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7386 $ac_dir/uninstall::
7387 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7388 install install-dev:: $ac_dir/install-dev
7389 __uninstall__: $ac_dir/uninstall"
7390 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7391 then
7392 wine_fn_append_rule \
7393 "__builddeps__: $ac_file.cross.a
7394 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7395 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7398 if test "$ac_name" != "$ac_implib"
7399 then
7400 wine_fn_append_rule \
7401 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7402 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7403 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7404 clean::
7405 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7406 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7407 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7408 then
7409 wine_fn_append_rule \
7410 "__builddeps__: dlls/lib$ac_implib.cross.a
7411 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7412 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7413 clean::
7414 \$(RM) dlls/lib$ac_implib.cross.a"
7415 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7421 wine_fn_config_program ()
7423 ac_name=$1
7424 ac_dir=programs/$ac_name
7425 ac_enable=$2
7426 ac_flags=$3
7427 ac_program=$ac_name
7429 case $ac_name in
7430 *.*) ;;
7431 *) ac_program=$ac_program.exe ;;
7432 esac
7434 ac_clean=
7435 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7436 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7437 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7438 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7440 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7441 wine_fn_disabled_rules $ac_clean; return
7444 wine_fn_all_rules
7445 wine_fn_clean_rules $ac_clean
7446 wine_fn_append_rule "$ac_dir: __builddeps__"
7447 wine_fn_pot_rules
7449 wine_fn_has_flag install || return
7450 wine_fn_append_rule \
7451 ".PHONY: $ac_dir/install $ac_dir/uninstall
7452 install install-lib:: $ac_dir/install
7453 __uninstall__: $ac_dir/uninstall"
7455 if test -n "$DLLEXT"
7456 then
7457 wine_fn_append_rule \
7458 "$ac_dir/install:: $ac_dir
7459 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7460 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7461 $ac_dir/uninstall::
7462 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7464 if test -z "$with_wine64" && wine_fn_has_flag installbin
7465 then
7466 wine_fn_append_rule \
7467 "$ac_dir/install:: __tooldeps__
7468 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7469 $ac_dir/uninstall::
7470 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7472 else
7473 wine_fn_append_rule \
7474 "$ac_dir/install:: $ac_dir
7475 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7476 $ac_dir/uninstall::
7477 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7480 if test -z "$with_wine64" && wine_fn_has_flag manpage
7481 then
7482 wine_fn_append_rule \
7483 "$ac_dir/install:: $ac_dir
7484 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7485 $ac_dir/uninstall::
7486 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7490 wine_fn_config_test ()
7492 ac_dir=$1
7493 ac_name=$2
7494 ac_flags=$3
7496 ac_clean=
7497 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7498 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7500 if test "x$enable_tests" = xno; then :
7501 wine_fn_disabled_rules $ac_clean; return
7504 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7505 wine_fn_all_rules
7506 wine_fn_clean_rules $ac_clean
7508 wine_fn_append_rule \
7509 "$ac_dir: programs/winetest/Makefile __builddeps__
7510 programs/winetest: $ac_dir
7511 check test: $ac_dir/test
7512 .PHONY: $ac_dir/test
7513 $ac_dir/test: dummy
7514 @cd $ac_dir && \$(MAKE) test
7515 testclean::
7516 \$(RM) $ac_dir/*.ok"
7518 if test -n "$CROSSTARGET"
7519 then
7520 wine_fn_append_rule \
7521 "crosstest: $ac_dir/crosstest
7522 .PHONY: $ac_dir/crosstest
7523 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7524 @cd $ac_dir && \$(MAKE) crosstest"
7528 wine_fn_config_tool ()
7530 ac_dir=$1
7531 ac_flags=$2
7532 if test "x$enable_tools" = xno; then :
7533 return
7536 wine_fn_all_rules
7537 wine_fn_install_rules
7538 wine_fn_clean_rules
7540 wine_fn_append_rule "__tooldeps__: $ac_dir"
7541 wine_fn_append_rule "$ac_dir: libs/port"
7542 case $ac_dir in
7543 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7544 esac
7547 wine_fn_config_symlink ()
7549 ac_linkdir=
7550 if test "x$1" = "x-d"
7551 then
7552 ac_linkdir=$2
7553 shift; shift
7555 ac_links=$@
7556 wine_fn_append_rule \
7557 "$ac_links:
7558 @./config.status \$@
7559 distclean::
7560 \$(RM) $ac_links"
7561 for f in $ac_links; do wine_fn_ignore_file $f; done
7562 test -n "$ac_linkdir" || return
7563 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7566 wine_binary="wine"
7567 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7568 loader_programs="$wine_binary wine-installed"
7569 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7571 LOADER_RULES="
7572 all: wine.inf
7574 install install-lib:: wine-installed
7575 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7577 uninstall::
7578 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7582 case $host_os in
7583 cygwin*|mingw32*)
7584 if test -n "$ac_tool_prefix"; then
7585 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7586 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_prog_DLLTOOL+:} false; then :
7590 $as_echo_n "(cached) " >&6
7591 else
7592 if test -n "$DLLTOOL"; then
7593 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7594 else
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 for as_dir in $PATH
7598 IFS=$as_save_IFS
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7602 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7604 break 2
7606 done
7607 done
7608 IFS=$as_save_IFS
7612 DLLTOOL=$ac_cv_prog_DLLTOOL
7613 if test -n "$DLLTOOL"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7615 $as_echo "$DLLTOOL" >&6; }
7616 else
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7623 if test -z "$ac_cv_prog_DLLTOOL"; then
7624 ac_ct_DLLTOOL=$DLLTOOL
7625 # Extract the first word of "dlltool", so it can be a program name with args.
7626 set dummy dlltool; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7630 $as_echo_n "(cached) " >&6
7631 else
7632 if test -n "$ac_ct_DLLTOOL"; then
7633 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7634 else
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 for as_dir in $PATH
7638 IFS=$as_save_IFS
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7642 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644 break 2
7646 done
7647 done
7648 IFS=$as_save_IFS
7652 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7653 if test -n "$ac_ct_DLLTOOL"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7655 $as_echo "$ac_ct_DLLTOOL" >&6; }
7656 else
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7661 if test "x$ac_ct_DLLTOOL" = x; then
7662 DLLTOOL="false"
7663 else
7664 case $cross_compiling:$ac_tool_warned in
7665 yes:)
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7668 ac_tool_warned=yes ;;
7669 esac
7670 DLLTOOL=$ac_ct_DLLTOOL
7672 else
7673 DLLTOOL="$ac_cv_prog_DLLTOOL"
7676 LIBEXT="dll"
7677 DLLEXT=""
7678 IMPLIBEXT="a"
7679 STATIC_IMPLIBEXT="a"
7680 enable_iphlpapi=${enable_iphlpapi:-no}
7681 enable_kernel32=${enable_kernel32:-no}
7682 enable_msvcrt=${enable_msvcrt:-no}
7683 enable_ntdll=${enable_ntdll:-no}
7684 enable_ws2_32=${enable_ws2_32:-no}
7685 enable_loader=${enable_loader:-no}
7686 enable_server=${enable_server:-no}
7687 with_x=${with_x:-no}
7688 with_pthread=${with_pthread:-no}
7690 crtlibs=""
7691 case $host_os in
7692 mingw32*)
7693 crtlibs="-lmsvcrt"
7694 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7696 esac
7698 libwine_targets="libwine.dll libwine.a"
7699 LIBWINE_RULES="
7700 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7702 all: libwine.dll libwine.a
7704 libwine.a: \$(srcdir)/wine.def
7705 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7707 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7708 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7710 install install-lib:: libwine.dll
7711 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7713 install install-dev:: libwine.a
7714 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7716 uninstall::
7717 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7722 darwin*|macosx*)
7723 LIBEXT="dylib"
7724 DLLFLAGS="$DLLFLAGS -fPIC"
7725 LIBWINE_LDFLAGS="-multiply_defined suppress"
7726 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7727 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7728 COREFOUNDATION_LIBS="-framework CoreFoundation"
7730 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7732 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7734 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7736 CORESERVICES_LIBS="-framework CoreServices"
7738 APPKIT_LIBS="-framework AppKit"
7740 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7742 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7743 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7744 $as_echo_n "(cached) " >&6
7745 else
7746 ac_wine_try_cflags_saved=$CFLAGS
7747 CFLAGS="$CFLAGS -Wl,-no_pie"
7748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7749 /* end confdefs.h. */
7750 int main(int argc, char **argv) { return 0; }
7751 _ACEOF
7752 if ac_fn_c_try_link "$LINENO"; then :
7753 ac_cv_cflags__Wl__no_pie=yes
7754 else
7755 ac_cv_cflags__Wl__no_pie=no
7757 rm -f core conftest.err conftest.$ac_objext \
7758 conftest$ac_exeext conftest.$ac_ext
7759 CFLAGS=$ac_wine_try_cflags_saved
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7762 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7763 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7764 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7766 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7767 then
7768 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7771 if test "$ac_cv_header_Security_Security_h" = "yes"
7772 then
7773 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7775 ac_save_LIBS="$LIBS"
7776 LIBS="$LIBS $SECURITY_LIBS"
7777 for ac_func in SSLCopyPeerCertificates
7778 do :
7779 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7780 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7781 cat >>confdefs.h <<_ACEOF
7782 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7783 _ACEOF
7786 done
7788 LIBS="$ac_save_LIBS"
7789 with_gnutls=${with_gnutls:-no}
7791 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7792 then
7793 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7794 then
7795 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7797 else
7798 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7801 ac_save_LIBS="$LIBS"
7802 LIBS="$LIBS $COREAUDIO_LIBS"
7803 for ac_func in AUGraphAddNode
7804 do :
7805 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7806 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7807 cat >>confdefs.h <<_ACEOF
7808 #define HAVE_AUGRAPHADDNODE 1
7809 _ACEOF
7812 done
7814 LIBS="$ac_save_LIBS"
7816 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7817 then
7818 OPENAL_LIBS="-framework OpenAL"
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_OPENAL 1
7823 _ACEOF
7825 ac_cv_lib_openal=yes
7827 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7828 then
7829 OPENCL_LIBS="-framework OpenCL"
7831 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7833 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7834 then
7835 ac_save_LIBS="$LIBS"
7836 LIBS="$LIBS $IOKIT_LIBS"
7837 for ac_func in IOHIDManagerCreate
7838 do :
7839 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7840 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7841 cat >>confdefs.h <<_ACEOF
7842 #define HAVE_IOHIDMANAGERCREATE 1
7843 _ACEOF
7846 done
7848 LIBS="$ac_save_LIBS"
7850 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7851 then
7852 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7854 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7855 else
7856 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7858 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7859 then
7860 CARBON_LIBS="-framework Carbon"
7864 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7865 then
7866 ac_save_LIBS="$LIBS"
7867 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7868 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7869 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7870 enable_winemac_drv=${enable_winemac_drv:-yes}
7873 LIBS="$ac_save_LIBS"
7876 if test "x$enable_win16" = "xyes"
7877 then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7879 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7880 if test "$cross_compiling" = yes; then :
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7882 $as_echo "cross-compiling, assuming yes" >&6; }
7883 else
7884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7885 /* end confdefs.h. */
7886 asm(".text\n"
7887 "bad:\tnop;nop\n"
7888 "good:\tnop;nop\n\t"
7889 ".globl _testfunc\n"
7890 "_testfunc:\tcallw good");
7891 extern void testfunc();
7893 main ()
7895 unsigned short *p = (unsigned short *)testfunc;
7896 return p[0] != 0xe866 || p[1] != 0xfffa
7898 return 0;
7900 _ACEOF
7901 if ac_fn_c_try_run "$LINENO"; then :
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7903 $as_echo "yes" >&6; }
7904 else
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7906 $as_echo "no" >&6; }
7907 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
7909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7910 conftest.$ac_objext conftest.beam conftest.$ac_ext
7915 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7916 LIBWINE_RULES="
7917 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7919 all: libwine.dylib
7921 libwine.$libwine_version.dylib: \$(OBJS)
7922 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7924 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7925 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7927 libwine.dylib: libwine.$libwine_soversion.dylib
7928 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7930 install install-lib:: libwine.$libwine_version.dylib
7931 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7932 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7934 install install-dev::
7935 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7937 uninstall::
7938 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7942 as_fn_append LOADER_RULES "
7943 $wine_binary: main.o wine_info.plist
7944 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7946 wine-installed: main.o wine_info.plist
7947 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7951 linux-android*)
7952 DLLFLAGS="$DLLFLAGS -fPIC"
7953 DLLPREFIX="lib"
7954 LDEXECFLAGS=""
7955 dlldir="\${libdir}"
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7957 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7958 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
7961 ac_wine_try_cflags_saved=$CFLAGS
7962 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7964 /* end confdefs.h. */
7965 int main(int argc, char **argv) { return 0; }
7966 _ACEOF
7967 if ac_fn_c_try_link "$LINENO"; then :
7968 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7969 else
7970 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7972 rm -f core conftest.err conftest.$ac_objext \
7973 conftest$ac_exeext conftest.$ac_ext
7974 CFLAGS=$ac_wine_try_cflags_saved
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7977 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7978 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7979 LDEXECFLAGS="-Wl,--export-dynamic"
7981 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7983 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7984 if eval \${$as_ac_var+:} false; then :
7985 $as_echo_n "(cached) " >&6
7986 else
7987 ac_wine_try_cflags_saved=$CFLAGS
7988 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7990 /* end confdefs.h. */
7991 int main(int argc, char **argv) { return 0; }
7992 _ACEOF
7993 if ac_fn_c_try_link "$LINENO"; then :
7994 eval "$as_ac_var=yes"
7995 else
7996 eval "$as_ac_var=no"
7998 rm -f core conftest.err conftest.$ac_objext \
7999 conftest$ac_exeext conftest.$ac_ext
8000 CFLAGS=$ac_wine_try_cflags_saved
8002 eval ac_res=\$$as_ac_var
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8004 $as_echo "$ac_res" >&6; }
8005 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8006 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8007 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8008 else
8009 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8011 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8012 if eval \${$as_ac_var+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 ac_wine_try_cflags_saved=$CFLAGS
8016 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8018 /* end confdefs.h. */
8019 int main(int argc, char **argv) { return 0; }
8020 _ACEOF
8021 if ac_fn_c_try_link "$LINENO"; then :
8022 eval "$as_ac_var=yes"
8023 else
8024 eval "$as_ac_var=no"
8026 rm -f core conftest.err conftest.$ac_objext \
8027 conftest$ac_exeext conftest.$ac_ext
8028 CFLAGS=$ac_wine_try_cflags_saved
8030 eval ac_res=\$$as_ac_var
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8032 $as_echo "$ac_res" >&6; }
8033 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8034 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8035 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8040 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8041 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8042 $as_echo_n "(cached) " >&6
8043 else
8044 ac_wine_try_cflags_saved=$CFLAGS
8045 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8047 /* end confdefs.h. */
8048 int main(int argc, char **argv) { return 0; }
8049 _ACEOF
8050 if ac_fn_c_try_link "$LINENO"; then :
8051 ac_cv_cflags__Wl___enable_new_dtags=yes
8052 else
8053 ac_cv_cflags__Wl___enable_new_dtags=no
8055 rm -f core conftest.err conftest.$ac_objext \
8056 conftest$ac_exeext conftest.$ac_ext
8057 CFLAGS=$ac_wine_try_cflags_saved
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8060 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8061 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8062 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8065 case $host_cpu in
8066 *i[3456789]86* | x86_64)
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8068 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8069 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8070 $as_echo_n "(cached) " >&6
8071 else
8072 ac_wine_try_cflags_saved=$CFLAGS
8073 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8075 /* end confdefs.h. */
8076 int main(int argc, char **argv) { return 0; }
8077 _ACEOF
8078 if ac_fn_c_try_link "$LINENO"; then :
8079 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8080 else
8081 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8083 rm -f core conftest.err conftest.$ac_objext \
8084 conftest$ac_exeext conftest.$ac_ext
8085 CFLAGS=$ac_wine_try_cflags_saved
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8088 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8089 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8090 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8093 esac
8095 libwine_targets="libwine.so"
8096 LIBWINE_RULES="
8097 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8099 all: libwine.so
8101 libwine.so: \$(OBJS)
8102 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8104 install install-lib:: libwine.so
8105 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8107 uninstall::
8108 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8112 as_fn_append LOADER_RULES "
8113 $wine_binary: main.o
8114 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8116 wine-installed: main.o
8117 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8122 DLLFLAGS="$DLLFLAGS -fPIC"
8123 LDEXECFLAGS=""
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8125 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8126 if ${ac_cv_c_dll_gnuelf+:} false; then :
8127 $as_echo_n "(cached) " >&6
8128 else
8129 ac_wine_try_cflags_saved=$CFLAGS
8130 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h. */
8133 void myfunc() {}
8134 _ACEOF
8135 if ac_fn_c_try_link "$LINENO"; then :
8136 ac_cv_c_dll_gnuelf="yes"
8137 else
8138 ac_cv_c_dll_gnuelf="no"
8140 rm -f core conftest.err conftest.$ac_objext \
8141 conftest$ac_exeext conftest.$ac_ext
8142 CFLAGS=$ac_wine_try_cflags_saved
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8145 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8146 if test "$ac_cv_c_dll_gnuelf" = "yes"
8147 then
8148 LDSHARED="\$(CC) -shared"
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8150 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8151 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8152 $as_echo_n "(cached) " >&6
8153 else
8154 ac_wine_try_cflags_saved=$CFLAGS
8155 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8157 /* end confdefs.h. */
8158 int main(int argc, char **argv) { return 0; }
8159 _ACEOF
8160 if ac_fn_c_try_link "$LINENO"; then :
8161 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8162 else
8163 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8165 rm -f core conftest.err conftest.$ac_objext \
8166 conftest$ac_exeext conftest.$ac_ext
8167 CFLAGS=$ac_wine_try_cflags_saved
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8170 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8171 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8172 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8173 else
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8175 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8176 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8177 $as_echo_n "(cached) " >&6
8178 else
8179 ac_wine_try_cflags_saved=$CFLAGS
8180 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h. */
8183 int main(int argc, char **argv) { return 0; }
8184 _ACEOF
8185 if ac_fn_c_try_link "$LINENO"; then :
8186 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8187 else
8188 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8190 rm -f core conftest.err conftest.$ac_objext \
8191 conftest$ac_exeext conftest.$ac_ext
8192 CFLAGS=$ac_wine_try_cflags_saved
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8195 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8196 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8197 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8201 echo '{ global: *; };' >conftest.map
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8203 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8204 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 ac_wine_try_cflags_saved=$CFLAGS
8208 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8210 /* end confdefs.h. */
8211 int main(int argc, char **argv) { return 0; }
8212 _ACEOF
8213 if ac_fn_c_try_link "$LINENO"; then :
8214 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8215 else
8216 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8218 rm -f core conftest.err conftest.$ac_objext \
8219 conftest$ac_exeext conftest.$ac_ext
8220 CFLAGS=$ac_wine_try_cflags_saved
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8223 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8224 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8225 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8227 rm -f conftest.map
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8230 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8231 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8232 $as_echo_n "(cached) " >&6
8233 else
8234 ac_wine_try_cflags_saved=$CFLAGS
8235 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8237 /* end confdefs.h. */
8238 int main(int argc, char **argv) { return 0; }
8239 _ACEOF
8240 if ac_fn_c_try_link "$LINENO"; then :
8241 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8242 else
8243 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8245 rm -f core conftest.err conftest.$ac_objext \
8246 conftest$ac_exeext conftest.$ac_ext
8247 CFLAGS=$ac_wine_try_cflags_saved
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8250 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8251 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8252 LDEXECFLAGS="-Wl,--export-dynamic"
8255 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8257 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8258 if eval \${$as_ac_var+:} false; then :
8259 $as_echo_n "(cached) " >&6
8260 else
8261 ac_wine_try_cflags_saved=$CFLAGS
8262 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8264 /* end confdefs.h. */
8265 int main(int argc, char **argv) { return 0; }
8266 _ACEOF
8267 if ac_fn_c_try_link "$LINENO"; then :
8268 eval "$as_ac_var=yes"
8269 else
8270 eval "$as_ac_var=no"
8272 rm -f core conftest.err conftest.$ac_objext \
8273 conftest$ac_exeext conftest.$ac_ext
8274 CFLAGS=$ac_wine_try_cflags_saved
8276 eval ac_res=\$$as_ac_var
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8278 $as_echo "$ac_res" >&6; }
8279 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8280 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8281 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8282 else
8283 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8285 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8286 if eval \${$as_ac_var+:} false; then :
8287 $as_echo_n "(cached) " >&6
8288 else
8289 ac_wine_try_cflags_saved=$CFLAGS
8290 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8292 /* end confdefs.h. */
8293 int main(int argc, char **argv) { return 0; }
8294 _ACEOF
8295 if ac_fn_c_try_link "$LINENO"; then :
8296 eval "$as_ac_var=yes"
8297 else
8298 eval "$as_ac_var=no"
8300 rm -f core conftest.err conftest.$ac_objext \
8301 conftest$ac_exeext conftest.$ac_ext
8302 CFLAGS=$ac_wine_try_cflags_saved
8304 eval ac_res=\$$as_ac_var
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8306 $as_echo "$ac_res" >&6; }
8307 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8308 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8309 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8314 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8315 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8316 $as_echo_n "(cached) " >&6
8317 else
8318 ac_wine_try_cflags_saved=$CFLAGS
8319 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h. */
8322 int main(int argc, char **argv) { return 0; }
8323 _ACEOF
8324 if ac_fn_c_try_link "$LINENO"; then :
8325 ac_cv_cflags__Wl___enable_new_dtags=yes
8326 else
8327 ac_cv_cflags__Wl___enable_new_dtags=no
8329 rm -f core conftest.err conftest.$ac_objext \
8330 conftest$ac_exeext conftest.$ac_ext
8331 CFLAGS=$ac_wine_try_cflags_saved
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8334 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8335 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8336 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8339 case $host_cpu in
8340 *i[3456789]86* | x86_64)
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8342 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8343 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8344 $as_echo_n "(cached) " >&6
8345 else
8346 ac_wine_try_cflags_saved=$CFLAGS
8347 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 int main(int argc, char **argv) { return 0; }
8351 _ACEOF
8352 if ac_fn_c_try_link "$LINENO"; then :
8353 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8354 else
8355 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8357 rm -f core conftest.err conftest.$ac_objext \
8358 conftest$ac_exeext conftest.$ac_ext
8359 CFLAGS=$ac_wine_try_cflags_saved
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8362 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8363 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8364 case $host_os in
8365 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8366 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8367 esac
8370 # Extract the first word of "prelink", so it can be a program name with args.
8371 set dummy prelink; ac_word=$2
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8373 $as_echo_n "checking for $ac_word... " >&6; }
8374 if ${ac_cv_path_PRELINK+:} false; then :
8375 $as_echo_n "(cached) " >&6
8376 else
8377 case $PRELINK in
8378 [\\/]* | ?:[\\/]*)
8379 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8383 for as_dir in /sbin /usr/sbin $PATH
8385 IFS=$as_save_IFS
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8389 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8391 break 2
8393 done
8394 done
8395 IFS=$as_save_IFS
8397 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8399 esac
8401 PRELINK=$ac_cv_path_PRELINK
8402 if test -n "$PRELINK"; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8404 $as_echo "$PRELINK" >&6; }
8405 else
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8407 $as_echo "no" >&6; }
8411 if test "x$PRELINK" = xfalse
8412 then
8413 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8416 esac
8418 else
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8420 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8421 if ${ac_cv_c_dll_unixware+:} false; then :
8422 $as_echo_n "(cached) " >&6
8423 else
8424 ac_wine_try_cflags_saved=$CFLAGS
8425 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8428 void myfunc() {}
8429 _ACEOF
8430 if ac_fn_c_try_link "$LINENO"; then :
8431 ac_cv_c_dll_unixware="yes"
8432 else
8433 ac_cv_c_dll_unixware="no"
8435 rm -f core conftest.err conftest.$ac_objext \
8436 conftest$ac_exeext conftest.$ac_ext
8437 CFLAGS=$ac_wine_try_cflags_saved
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8440 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8441 if test "$ac_cv_c_dll_unixware" = "yes"
8442 then
8443 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8446 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8447 LIBWINE_RULES="
8448 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8450 all: libwine.so
8452 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8453 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8455 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8456 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8458 libwine.so: libwine.so.$libwine_soversion
8459 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8461 install install-lib:: libwine.so.$libwine_version
8462 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8463 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8465 install install-dev::
8466 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8468 uninstall::
8469 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8473 as_fn_append LOADER_RULES "
8474 $wine_binary: main.o
8475 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8477 wine-installed: main.o
8478 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8481 esac
8483 as_fn_append LIBWINE_RULES "
8484 EXTRA_TARGETS = $libwine_targets
8487 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8488 enable_winemac_drv=${enable_winemac_drv:-no}
8490 CROSSTARGET=""
8492 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8493 then
8494 case "$host_cpu" in
8495 i[3456789]86*)
8496 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
8497 mingw32-gcc" ;;
8498 x86_64)
8499 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 " ;;
8501 ac_prefix_list="" ;;
8502 esac
8503 for ac_prog in $ac_prefix_list
8505 # Extract the first word of "$ac_prog", so it can be a program name with args.
8506 set dummy $ac_prog; ac_word=$2
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8508 $as_echo_n "checking for $ac_word... " >&6; }
8509 if ${ac_cv_prog_CROSSCC+:} false; then :
8510 $as_echo_n "(cached) " >&6
8511 else
8512 if test -n "$CROSSCC"; then
8513 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8514 else
8515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8516 for as_dir in $PATH
8518 IFS=$as_save_IFS
8519 test -z "$as_dir" && as_dir=.
8520 for ac_exec_ext in '' $ac_executable_extensions; do
8521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8522 ac_cv_prog_CROSSCC="$ac_prog"
8523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8524 break 2
8526 done
8527 done
8528 IFS=$as_save_IFS
8532 CROSSCC=$ac_cv_prog_CROSSCC
8533 if test -n "$CROSSCC"; then
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8535 $as_echo "$CROSSCC" >&6; }
8536 else
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8538 $as_echo "no" >&6; }
8542 test -n "$CROSSCC" && break
8543 done
8544 test -n "$CROSSCC" || CROSSCC="false"
8546 if test "$CROSSCC" != "false"
8547 then
8548 ac_save_CC="$CC"
8549 CC="$CROSSCC"
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8551 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8556 main ()
8560 return 0;
8562 _ACEOF
8563 if ac_fn_c_try_compile "$LINENO"; then :
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8565 $as_echo "yes" >&6; }
8566 set x $CROSSCC
8567 shift
8568 while test $# -ge 1
8570 case "$1" in
8571 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8572 esac
8573 shift
8574 done
8575 else
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8577 $as_echo "no" >&6; }
8579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8580 CC="$ac_save_CC"
8585 if test "$ac_cv_header_pthread_h" = "yes"
8586 then
8587 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8588 if test "x$ac_cv_func_pthread_create" = xyes; then :
8590 else
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8592 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8593 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8594 $as_echo_n "(cached) " >&6
8595 else
8596 ac_check_lib_save_LIBS=$LIBS
8597 LIBS="-lpthread $LIBS"
8598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8599 /* end confdefs.h. */
8601 /* Override any GCC internal prototype to avoid an error.
8602 Use char because int might match the return type of a GCC
8603 builtin and then its argument prototype would still apply. */
8604 #ifdef __cplusplus
8605 extern "C"
8606 #endif
8607 char pthread_create ();
8609 main ()
8611 return pthread_create ();
8613 return 0;
8615 _ACEOF
8616 if ac_fn_c_try_link "$LINENO"; then :
8617 ac_cv_lib_pthread_pthread_create=yes
8618 else
8619 ac_cv_lib_pthread_pthread_create=no
8621 rm -f core conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 LIBS=$ac_check_lib_save_LIBS
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8626 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8627 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8628 PTHREAD_LIBS="-lpthread"
8635 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8636 case "x$with_pthread" in
8637 xno) ;;
8638 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8639 Wine cannot support threads without libpthread.
8640 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8641 esac
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8646 $as_echo_n "checking for X... " >&6; }
8649 # Check whether --with-x was given.
8650 if test "${with_x+set}" = set; then :
8651 withval=$with_x;
8654 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8655 if test "x$with_x" = xno; then
8656 # The user explicitly disabled X.
8657 have_x=disabled
8658 else
8659 case $x_includes,$x_libraries in #(
8660 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8661 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8662 $as_echo_n "(cached) " >&6
8663 else
8664 # One or both of the vars are not set, and there is no cached value.
8665 ac_x_includes=no ac_x_libraries=no
8666 rm -f -r conftest.dir
8667 if mkdir conftest.dir; then
8668 cd conftest.dir
8669 cat >Imakefile <<'_ACEOF'
8670 incroot:
8671 @echo incroot='${INCROOT}'
8672 usrlibdir:
8673 @echo usrlibdir='${USRLIBDIR}'
8674 libdir:
8675 @echo libdir='${LIBDIR}'
8676 _ACEOF
8677 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8678 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8679 for ac_var in incroot usrlibdir libdir; do
8680 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8681 done
8682 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8683 for ac_extension in a so sl dylib la dll; do
8684 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8685 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8686 ac_im_usrlibdir=$ac_im_libdir; break
8688 done
8689 # Screen out bogus values from the imake configuration. They are
8690 # bogus both because they are the default anyway, and because
8691 # using them would break gcc on systems where it needs fixed includes.
8692 case $ac_im_incroot in
8693 /usr/include) ac_x_includes= ;;
8694 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8695 esac
8696 case $ac_im_usrlibdir in
8697 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8698 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8699 esac
8701 cd ..
8702 rm -f -r conftest.dir
8705 # Standard set of common directories for X headers.
8706 # Check X11 before X11Rn because it is often a symlink to the current release.
8707 ac_x_header_dirs='
8708 /usr/X11/include
8709 /usr/X11R7/include
8710 /usr/X11R6/include
8711 /usr/X11R5/include
8712 /usr/X11R4/include
8714 /usr/include/X11
8715 /usr/include/X11R7
8716 /usr/include/X11R6
8717 /usr/include/X11R5
8718 /usr/include/X11R4
8720 /usr/local/X11/include
8721 /usr/local/X11R7/include
8722 /usr/local/X11R6/include
8723 /usr/local/X11R5/include
8724 /usr/local/X11R4/include
8726 /usr/local/include/X11
8727 /usr/local/include/X11R7
8728 /usr/local/include/X11R6
8729 /usr/local/include/X11R5
8730 /usr/local/include/X11R4
8732 /usr/X386/include
8733 /usr/x386/include
8734 /usr/XFree86/include/X11
8736 /usr/include
8737 /usr/local/include
8738 /usr/unsupported/include
8739 /usr/athena/include
8740 /usr/local/x11r5/include
8741 /usr/lpp/Xamples/include
8743 /usr/openwin/include
8744 /usr/openwin/share/include'
8746 if test "$ac_x_includes" = no; then
8747 # Guess where to find include files, by looking for Xlib.h.
8748 # First, try using that file with no special directory specified.
8749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8751 #include <X11/Xlib.h>
8752 _ACEOF
8753 if ac_fn_c_try_cpp "$LINENO"; then :
8754 # We can compile using X headers with no special include directory.
8755 ac_x_includes=
8756 else
8757 for ac_dir in $ac_x_header_dirs; do
8758 if test -r "$ac_dir/X11/Xlib.h"; then
8759 ac_x_includes=$ac_dir
8760 break
8762 done
8764 rm -f conftest.err conftest.i conftest.$ac_ext
8765 fi # $ac_x_includes = no
8767 if test "$ac_x_libraries" = no; then
8768 # Check for the libraries.
8769 # See if we find them without any special options.
8770 # Don't add to $LIBS permanently.
8771 ac_save_LIBS=$LIBS
8772 LIBS="-lX11 $LIBS"
8773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8775 #include <X11/Xlib.h>
8777 main ()
8779 XrmInitialize ()
8781 return 0;
8783 _ACEOF
8784 if ac_fn_c_try_link "$LINENO"; then :
8785 LIBS=$ac_save_LIBS
8786 # We can link X programs with no special library path.
8787 ac_x_libraries=
8788 else
8789 LIBS=$ac_save_LIBS
8790 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8792 # Don't even attempt the hair of trying to link an X program!
8793 for ac_extension in a so sl dylib la dll; do
8794 if test -r "$ac_dir/libX11.$ac_extension"; then
8795 ac_x_libraries=$ac_dir
8796 break 2
8798 done
8799 done
8801 rm -f core conftest.err conftest.$ac_objext \
8802 conftest$ac_exeext conftest.$ac_ext
8803 fi # $ac_x_libraries = no
8805 case $ac_x_includes,$ac_x_libraries in #(
8806 no,* | *,no | *\'*)
8807 # Didn't find X, or a directory has "'" in its name.
8808 ac_cv_have_x="have_x=no";; #(
8810 # Record where we found X for the cache.
8811 ac_cv_have_x="have_x=yes\
8812 ac_x_includes='$ac_x_includes'\
8813 ac_x_libraries='$ac_x_libraries'"
8814 esac
8816 ;; #(
8817 *) have_x=yes;;
8818 esac
8819 eval "$ac_cv_have_x"
8820 fi # $with_x != no
8822 if test "$have_x" != yes; then
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8824 $as_echo "$have_x" >&6; }
8825 no_x=yes
8826 else
8827 # If each of the values was on the command line, it overrides each guess.
8828 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8829 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8830 # Update the cache value to reflect the command line values.
8831 ac_cv_have_x="have_x=yes\
8832 ac_x_includes='$x_includes'\
8833 ac_x_libraries='$x_libraries'"
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8835 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8838 if test "$no_x" = yes; then
8839 # Not all programs may use this symbol, but it does not hurt to define it.
8841 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8843 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8844 else
8845 if test -n "$x_includes"; then
8846 X_CFLAGS="$X_CFLAGS -I$x_includes"
8849 # It would also be nice to do this for all -L options, not just this one.
8850 if test -n "$x_libraries"; then
8851 X_LIBS="$X_LIBS -L$x_libraries"
8852 # For Solaris; some versions of Sun CC require a space after -R and
8853 # others require no space. Words are not sufficient . . . .
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8855 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8856 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8857 ac_xsave_c_werror_flag=$ac_c_werror_flag
8858 ac_c_werror_flag=yes
8859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8863 main ()
8867 return 0;
8869 _ACEOF
8870 if ac_fn_c_try_link "$LINENO"; then :
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8872 $as_echo "no" >&6; }
8873 X_LIBS="$X_LIBS -R$x_libraries"
8874 else
8875 LIBS="$ac_xsave_LIBS -R $x_libraries"
8876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8877 /* end confdefs.h. */
8880 main ()
8884 return 0;
8886 _ACEOF
8887 if ac_fn_c_try_link "$LINENO"; then :
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8889 $as_echo "yes" >&6; }
8890 X_LIBS="$X_LIBS -R $x_libraries"
8891 else
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8893 $as_echo "neither works" >&6; }
8895 rm -f core conftest.err conftest.$ac_objext \
8896 conftest$ac_exeext conftest.$ac_ext
8898 rm -f core conftest.err conftest.$ac_objext \
8899 conftest$ac_exeext conftest.$ac_ext
8900 ac_c_werror_flag=$ac_xsave_c_werror_flag
8901 LIBS=$ac_xsave_LIBS
8904 # Check for system-dependent libraries X programs must link with.
8905 # Do this before checking for the system-independent R6 libraries
8906 # (-lICE), since we may need -lsocket or whatever for X linking.
8908 if test "$ISC" = yes; then
8909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8910 else
8911 # Martyn Johnson says this is needed for Ultrix, if the X
8912 # libraries were built with DECnet support. And Karl Berry says
8913 # the Alpha needs dnet_stub (dnet does not exist).
8914 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
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 XOpenDisplay ();
8926 main ()
8928 return XOpenDisplay ();
8930 return 0;
8932 _ACEOF
8933 if ac_fn_c_try_link "$LINENO"; then :
8935 else
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8937 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8938 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8939 $as_echo_n "(cached) " >&6
8940 else
8941 ac_check_lib_save_LIBS=$LIBS
8942 LIBS="-ldnet $LIBS"
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8949 #ifdef __cplusplus
8950 extern "C"
8951 #endif
8952 char dnet_ntoa ();
8954 main ()
8956 return dnet_ntoa ();
8958 return 0;
8960 _ACEOF
8961 if ac_fn_c_try_link "$LINENO"; then :
8962 ac_cv_lib_dnet_dnet_ntoa=yes
8963 else
8964 ac_cv_lib_dnet_dnet_ntoa=no
8966 rm -f core conftest.err conftest.$ac_objext \
8967 conftest$ac_exeext conftest.$ac_ext
8968 LIBS=$ac_check_lib_save_LIBS
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8971 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8972 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8973 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8976 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8978 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8979 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8980 $as_echo_n "(cached) " >&6
8981 else
8982 ac_check_lib_save_LIBS=$LIBS
8983 LIBS="-ldnet_stub $LIBS"
8984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8985 /* end confdefs.h. */
8987 /* Override any GCC internal prototype to avoid an error.
8988 Use char because int might match the return type of a GCC
8989 builtin and then its argument prototype would still apply. */
8990 #ifdef __cplusplus
8991 extern "C"
8992 #endif
8993 char dnet_ntoa ();
8995 main ()
8997 return dnet_ntoa ();
8999 return 0;
9001 _ACEOF
9002 if ac_fn_c_try_link "$LINENO"; then :
9003 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9004 else
9005 ac_cv_lib_dnet_stub_dnet_ntoa=no
9007 rm -f core conftest.err conftest.$ac_objext \
9008 conftest$ac_exeext conftest.$ac_ext
9009 LIBS=$ac_check_lib_save_LIBS
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9012 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9013 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9014 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9019 rm -f core conftest.err conftest.$ac_objext \
9020 conftest$ac_exeext conftest.$ac_ext
9021 LIBS="$ac_xsave_LIBS"
9023 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9024 # to get the SysV transport functions.
9025 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9026 # needs -lnsl.
9027 # The nsl library prevents programs from opening the X display
9028 # on Irix 5.2, according to T.E. Dickey.
9029 # The functions gethostbyname, getservbyname, and inet_addr are
9030 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9031 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9032 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9036 if test $ac_cv_func_gethostbyname = no; then
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9038 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9039 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9040 $as_echo_n "(cached) " >&6
9041 else
9042 ac_check_lib_save_LIBS=$LIBS
9043 LIBS="-lnsl $LIBS"
9044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9047 /* Override any GCC internal prototype to avoid an error.
9048 Use char because int might match the return type of a GCC
9049 builtin and then its argument prototype would still apply. */
9050 #ifdef __cplusplus
9051 extern "C"
9052 #endif
9053 char gethostbyname ();
9055 main ()
9057 return gethostbyname ();
9059 return 0;
9061 _ACEOF
9062 if ac_fn_c_try_link "$LINENO"; then :
9063 ac_cv_lib_nsl_gethostbyname=yes
9064 else
9065 ac_cv_lib_nsl_gethostbyname=no
9067 rm -f core conftest.err conftest.$ac_objext \
9068 conftest$ac_exeext conftest.$ac_ext
9069 LIBS=$ac_check_lib_save_LIBS
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9072 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9073 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9074 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9077 if test $ac_cv_lib_nsl_gethostbyname = no; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9079 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9080 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9081 $as_echo_n "(cached) " >&6
9082 else
9083 ac_check_lib_save_LIBS=$LIBS
9084 LIBS="-lbsd $LIBS"
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9088 /* Override any GCC internal prototype to avoid an error.
9089 Use char because int might match the return type of a GCC
9090 builtin and then its argument prototype would still apply. */
9091 #ifdef __cplusplus
9092 extern "C"
9093 #endif
9094 char gethostbyname ();
9096 main ()
9098 return gethostbyname ();
9100 return 0;
9102 _ACEOF
9103 if ac_fn_c_try_link "$LINENO"; then :
9104 ac_cv_lib_bsd_gethostbyname=yes
9105 else
9106 ac_cv_lib_bsd_gethostbyname=no
9108 rm -f core conftest.err conftest.$ac_objext \
9109 conftest$ac_exeext conftest.$ac_ext
9110 LIBS=$ac_check_lib_save_LIBS
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9113 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9114 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9115 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9121 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9122 # socket/setsockopt and other routines are undefined under SCO ODT
9123 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9124 # on later versions), says Simon Leinen: it contains gethostby*
9125 # variants that don't use the name server (or something). -lsocket
9126 # must be given before -lnsl if both are needed. We assume that
9127 # if connect needs -lnsl, so does gethostbyname.
9128 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9129 if test "x$ac_cv_func_connect" = xyes; then :
9133 if test $ac_cv_func_connect = no; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9135 $as_echo_n "checking for connect in -lsocket... " >&6; }
9136 if ${ac_cv_lib_socket_connect+:} false; then :
9137 $as_echo_n "(cached) " >&6
9138 else
9139 ac_check_lib_save_LIBS=$LIBS
9140 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9142 /* end confdefs.h. */
9144 /* Override any GCC internal prototype to avoid an error.
9145 Use char because int might match the return type of a GCC
9146 builtin and then its argument prototype would still apply. */
9147 #ifdef __cplusplus
9148 extern "C"
9149 #endif
9150 char connect ();
9152 main ()
9154 return connect ();
9156 return 0;
9158 _ACEOF
9159 if ac_fn_c_try_link "$LINENO"; then :
9160 ac_cv_lib_socket_connect=yes
9161 else
9162 ac_cv_lib_socket_connect=no
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9166 LIBS=$ac_check_lib_save_LIBS
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9169 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9170 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9171 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9176 # Guillermo Gomez says -lposix is necessary on A/UX.
9177 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9178 if test "x$ac_cv_func_remove" = xyes; then :
9182 if test $ac_cv_func_remove = no; then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9184 $as_echo_n "checking for remove in -lposix... " >&6; }
9185 if ${ac_cv_lib_posix_remove+:} false; then :
9186 $as_echo_n "(cached) " >&6
9187 else
9188 ac_check_lib_save_LIBS=$LIBS
9189 LIBS="-lposix $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 remove ();
9201 main ()
9203 return remove ();
9205 return 0;
9207 _ACEOF
9208 if ac_fn_c_try_link "$LINENO"; then :
9209 ac_cv_lib_posix_remove=yes
9210 else
9211 ac_cv_lib_posix_remove=no
9213 rm -f core conftest.err conftest.$ac_objext \
9214 conftest$ac_exeext conftest.$ac_ext
9215 LIBS=$ac_check_lib_save_LIBS
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9218 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9219 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9220 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9225 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9226 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9227 if test "x$ac_cv_func_shmat" = xyes; then :
9231 if test $ac_cv_func_shmat = no; then
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9233 $as_echo_n "checking for shmat in -lipc... " >&6; }
9234 if ${ac_cv_lib_ipc_shmat+:} false; then :
9235 $as_echo_n "(cached) " >&6
9236 else
9237 ac_check_lib_save_LIBS=$LIBS
9238 LIBS="-lipc $LIBS"
9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9242 /* Override any GCC internal prototype to avoid an error.
9243 Use char because int might match the return type of a GCC
9244 builtin and then its argument prototype would still apply. */
9245 #ifdef __cplusplus
9246 extern "C"
9247 #endif
9248 char shmat ();
9250 main ()
9252 return shmat ();
9254 return 0;
9256 _ACEOF
9257 if ac_fn_c_try_link "$LINENO"; then :
9258 ac_cv_lib_ipc_shmat=yes
9259 else
9260 ac_cv_lib_ipc_shmat=no
9262 rm -f core conftest.err conftest.$ac_objext \
9263 conftest$ac_exeext conftest.$ac_ext
9264 LIBS=$ac_check_lib_save_LIBS
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9267 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9268 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9269 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9275 # Check for libraries that X11R6 Xt/Xaw programs need.
9276 ac_save_LDFLAGS=$LDFLAGS
9277 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9278 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9279 # check for ICE first), but we must link in the order -lSM -lICE or
9280 # we get undefined symbols. So assume we have SM if we have ICE.
9281 # These have to be linked with before -lX11, unlike the other
9282 # libraries we check for below, so use a different variable.
9283 # John Interrante, Karl Berry
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9285 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9286 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9287 $as_echo_n "(cached) " >&6
9288 else
9289 ac_check_lib_save_LIBS=$LIBS
9290 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9292 /* end confdefs.h. */
9294 /* Override any GCC internal prototype to avoid an error.
9295 Use char because int might match the return type of a GCC
9296 builtin and then its argument prototype would still apply. */
9297 #ifdef __cplusplus
9298 extern "C"
9299 #endif
9300 char IceConnectionNumber ();
9302 main ()
9304 return IceConnectionNumber ();
9306 return 0;
9308 _ACEOF
9309 if ac_fn_c_try_link "$LINENO"; then :
9310 ac_cv_lib_ICE_IceConnectionNumber=yes
9311 else
9312 ac_cv_lib_ICE_IceConnectionNumber=no
9314 rm -f core conftest.err conftest.$ac_objext \
9315 conftest$ac_exeext conftest.$ac_ext
9316 LIBS=$ac_check_lib_save_LIBS
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9319 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9320 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9321 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9324 LDFLAGS=$ac_save_LDFLAGS
9329 if test "$have_x" = "yes"
9330 then
9331 ac_save_CPPFLAGS="$CPPFLAGS"
9332 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9335 $as_echo_n "checking for -lX11... " >&6; }
9336 if ${ac_cv_lib_soname_X11+:} false; then :
9337 $as_echo_n "(cached) " >&6
9338 else
9339 ac_check_soname_save_LIBS=$LIBS
9340 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9342 /* end confdefs.h. */
9344 /* Override any GCC internal prototype to avoid an error.
9345 Use char because int might match the return type of a GCC
9346 builtin and then its argument prototype would still apply. */
9347 #ifdef __cplusplus
9348 extern "C"
9349 #endif
9350 char XCreateWindow ();
9352 main ()
9354 return XCreateWindow ();
9356 return 0;
9358 _ACEOF
9359 if ac_fn_c_try_link "$LINENO"; then :
9360 case "$LIBEXT" in
9361 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9362 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'` ;;
9363 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9364 if ${ac_cv_lib_soname_X11:+false} :; then :
9365 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9366 fi ;;
9367 esac
9369 rm -f core conftest.err conftest.$ac_objext \
9370 conftest$ac_exeext conftest.$ac_ext
9371 LIBS=$ac_check_soname_save_LIBS
9373 if ${ac_cv_lib_soname_X11:+false} :; then :
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9375 $as_echo "not found" >&6; }
9377 else
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9379 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9381 cat >>confdefs.h <<_ACEOF
9382 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9383 _ACEOF
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9388 $as_echo_n "checking for -lXext... " >&6; }
9389 if ${ac_cv_lib_soname_Xext+:} false; then :
9390 $as_echo_n "(cached) " >&6
9391 else
9392 ac_check_soname_save_LIBS=$LIBS
9393 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9397 /* Override any GCC internal prototype to avoid an error.
9398 Use char because int might match the return type of a GCC
9399 builtin and then its argument prototype would still apply. */
9400 #ifdef __cplusplus
9401 extern "C"
9402 #endif
9403 char XextCreateExtension ();
9405 main ()
9407 return XextCreateExtension ();
9409 return 0;
9411 _ACEOF
9412 if ac_fn_c_try_link "$LINENO"; then :
9413 case "$LIBEXT" in
9414 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9415 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'` ;;
9416 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9417 if ${ac_cv_lib_soname_Xext:+false} :; then :
9418 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9419 fi ;;
9420 esac
9422 rm -f core conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 LIBS=$ac_check_soname_save_LIBS
9426 if ${ac_cv_lib_soname_Xext:+false} :; then :
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9428 $as_echo "not found" >&6; }
9430 else
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9432 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9434 cat >>confdefs.h <<_ACEOF
9435 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9436 _ACEOF
9438 X_LIBS="$X_LIBS -lXext"
9440 X_LIBS="$X_LIBS -lX11"
9442 for ac_header in X11/Xlib.h \
9443 X11/XKBlib.h \
9444 X11/Xutil.h \
9445 X11/Xcursor/Xcursor.h \
9446 X11/extensions/shape.h \
9447 X11/extensions/XInput.h \
9448 X11/extensions/XInput2.h \
9449 X11/extensions/XShm.h \
9450 X11/extensions/Xcomposite.h \
9451 X11/extensions/Xinerama.h \
9452 X11/extensions/Xrandr.h \
9453 X11/extensions/Xrender.h \
9454 X11/extensions/xf86vmode.h \
9455 X11/extensions/xf86vmproto.h
9456 do :
9457 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9458 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9459 # include <X11/Xlib.h>
9460 #endif
9461 #ifdef HAVE_X11_XUTIL_H
9462 # include <X11/Xutil.h>
9463 #endif
9465 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9466 cat >>confdefs.h <<_ACEOF
9467 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9468 _ACEOF
9472 done
9475 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9476 then
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9478 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9479 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9480 $as_echo_n "(cached) " >&6
9481 else
9482 ac_check_lib_save_LIBS=$LIBS
9483 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9487 /* Override any GCC internal prototype to avoid an error.
9488 Use char because int might match the return type of a GCC
9489 builtin and then its argument prototype would still apply. */
9490 #ifdef __cplusplus
9491 extern "C"
9492 #endif
9493 char XkbQueryExtension ();
9495 main ()
9497 return XkbQueryExtension ();
9499 return 0;
9501 _ACEOF
9502 if ac_fn_c_try_link "$LINENO"; then :
9503 ac_cv_lib_X11_XkbQueryExtension=yes
9504 else
9505 ac_cv_lib_X11_XkbQueryExtension=no
9507 rm -f core conftest.err conftest.$ac_objext \
9508 conftest$ac_exeext conftest.$ac_ext
9509 LIBS=$ac_check_lib_save_LIBS
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9512 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9513 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9515 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9521 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9522 then
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9524 $as_echo_n "checking for -lXcursor... " >&6; }
9525 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9526 $as_echo_n "(cached) " >&6
9527 else
9528 ac_check_soname_save_LIBS=$LIBS
9529 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9533 /* Override any GCC internal prototype to avoid an error.
9534 Use char because int might match the return type of a GCC
9535 builtin and then its argument prototype would still apply. */
9536 #ifdef __cplusplus
9537 extern "C"
9538 #endif
9539 char XcursorImageLoadCursor ();
9541 main ()
9543 return XcursorImageLoadCursor ();
9545 return 0;
9547 _ACEOF
9548 if ac_fn_c_try_link "$LINENO"; then :
9549 case "$LIBEXT" in
9550 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9551 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'` ;;
9552 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9553 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9554 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9555 fi ;;
9556 esac
9558 rm -f core conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_soname_save_LIBS
9562 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9564 $as_echo "not found" >&6; }
9566 else
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9568 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9570 cat >>confdefs.h <<_ACEOF
9571 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9572 _ACEOF
9577 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9578 case "x$with_xcursor" in
9579 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9580 xno) ;;
9581 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9582 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9583 esac
9586 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9587 then
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9589 $as_echo_n "checking for -lXi... " >&6; }
9590 if ${ac_cv_lib_soname_Xi+:} false; then :
9591 $as_echo_n "(cached) " >&6
9592 else
9593 ac_check_soname_save_LIBS=$LIBS
9594 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h. */
9598 /* Override any GCC internal prototype to avoid an error.
9599 Use char because int might match the return type of a GCC
9600 builtin and then its argument prototype would still apply. */
9601 #ifdef __cplusplus
9602 extern "C"
9603 #endif
9604 char XOpenDevice ();
9606 main ()
9608 return XOpenDevice ();
9610 return 0;
9612 _ACEOF
9613 if ac_fn_c_try_link "$LINENO"; then :
9614 case "$LIBEXT" in
9615 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9616 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'` ;;
9617 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9618 if ${ac_cv_lib_soname_Xi:+false} :; then :
9619 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9620 fi ;;
9621 esac
9623 rm -f core conftest.err conftest.$ac_objext \
9624 conftest$ac_exeext conftest.$ac_ext
9625 LIBS=$ac_check_soname_save_LIBS
9627 if ${ac_cv_lib_soname_Xi:+false} :; then :
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9629 $as_echo "not found" >&6; }
9631 else
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9633 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9635 cat >>confdefs.h <<_ACEOF
9636 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9637 _ACEOF
9642 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9643 case "x$with_xinput" in
9644 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9645 xno) ;;
9646 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9647 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9648 esac
9651 if test "x$ac_cv_lib_soname_Xi" != x
9652 then
9653 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9654 case "x$with_xinput2" in
9655 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9656 xno) ;;
9657 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9658 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9659 esac
9663 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9664 then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9666 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9667 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9668 $as_echo_n "(cached) " >&6
9669 else
9670 ac_check_lib_save_LIBS=$LIBS
9671 LIBS="-lXext $X_LIBS $X_EXTRA_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 XShmQueryExtension ();
9683 main ()
9685 return XShmQueryExtension ();
9687 return 0;
9689 _ACEOF
9690 if ac_fn_c_try_link "$LINENO"; then :
9691 ac_cv_lib_Xext_XShmQueryExtension=yes
9692 else
9693 ac_cv_lib_Xext_XShmQueryExtension=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_Xext_XShmQueryExtension" >&5
9700 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9701 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9703 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9708 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9709 case "x$with_xshm" in
9710 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9711 xno) ;;
9712 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9713 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9714 esac
9717 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9718 then
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9720 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9721 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9722 $as_echo_n "(cached) " >&6
9723 else
9724 ac_check_lib_save_LIBS=$LIBS
9725 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h. */
9729 /* Override any GCC internal prototype to avoid an error.
9730 Use char because int might match the return type of a GCC
9731 builtin and then its argument prototype would still apply. */
9732 #ifdef __cplusplus
9733 extern "C"
9734 #endif
9735 char XShapeQueryExtension ();
9737 main ()
9739 return XShapeQueryExtension ();
9741 return 0;
9743 _ACEOF
9744 if ac_fn_c_try_link "$LINENO"; then :
9745 ac_cv_lib_Xext_XShapeQueryExtension=yes
9746 else
9747 ac_cv_lib_Xext_XShapeQueryExtension=no
9749 rm -f core conftest.err conftest.$ac_objext \
9750 conftest$ac_exeext conftest.$ac_ext
9751 LIBS=$ac_check_lib_save_LIBS
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9754 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9755 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9757 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9762 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9763 case "x$with_xshape" in
9764 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9765 xno) ;;
9766 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9767 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9768 esac
9771 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9772 then
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9774 $as_echo_n "checking for -lXxf86vm... " >&6; }
9775 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 ac_check_soname_save_LIBS=$LIBS
9779 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9783 /* Override any GCC internal prototype to avoid an error.
9784 Use char because int might match the return type of a GCC
9785 builtin and then its argument prototype would still apply. */
9786 #ifdef __cplusplus
9787 extern "C"
9788 #endif
9789 char XF86VidModeQueryExtension ();
9791 main ()
9793 return XF86VidModeQueryExtension ();
9795 return 0;
9797 _ACEOF
9798 if ac_fn_c_try_link "$LINENO"; then :
9799 case "$LIBEXT" in
9800 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9801 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'` ;;
9802 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9803 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9804 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9805 fi ;;
9806 esac
9808 rm -f core conftest.err conftest.$ac_objext \
9809 conftest$ac_exeext conftest.$ac_ext
9810 LIBS=$ac_check_soname_save_LIBS
9812 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9814 $as_echo "not found" >&6; }
9816 else
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9818 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9820 cat >>confdefs.h <<_ACEOF
9821 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9822 _ACEOF
9827 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9828 case "x$with_xxf86vm" in
9829 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9830 xno) ;;
9831 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9832 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9833 esac
9836 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9837 then
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9839 $as_echo_n "checking for -lXrender... " >&6; }
9840 if ${ac_cv_lib_soname_Xrender+:} false; then :
9841 $as_echo_n "(cached) " >&6
9842 else
9843 ac_check_soname_save_LIBS=$LIBS
9844 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9848 /* Override any GCC internal prototype to avoid an error.
9849 Use char because int might match the return type of a GCC
9850 builtin and then its argument prototype would still apply. */
9851 #ifdef __cplusplus
9852 extern "C"
9853 #endif
9854 char XRenderQueryExtension ();
9856 main ()
9858 return XRenderQueryExtension ();
9860 return 0;
9862 _ACEOF
9863 if ac_fn_c_try_link "$LINENO"; then :
9864 case "$LIBEXT" in
9865 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9866 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'` ;;
9867 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9868 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9869 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9870 fi ;;
9871 esac
9873 rm -f core conftest.err conftest.$ac_objext \
9874 conftest$ac_exeext conftest.$ac_ext
9875 LIBS=$ac_check_soname_save_LIBS
9877 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9879 $as_echo "not found" >&6; }
9881 else
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9883 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9885 cat >>confdefs.h <<_ACEOF
9886 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9887 _ACEOF
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9890 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9891 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 ac_check_lib_save_LIBS=$LIBS
9895 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9902 #ifdef __cplusplus
9903 extern "C"
9904 #endif
9905 char XRenderSetPictureTransform ();
9907 main ()
9909 return XRenderSetPictureTransform ();
9911 return 0;
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9916 else
9917 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9919 rm -f core conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 LIBS=$ac_check_lib_save_LIBS
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9924 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9925 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9927 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9932 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9933 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9934 $as_echo_n "(cached) " >&6
9935 else
9936 ac_check_lib_save_LIBS=$LIBS
9937 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9941 /* Override any GCC internal prototype to avoid an error.
9942 Use char because int might match the return type of a GCC
9943 builtin and then its argument prototype would still apply. */
9944 #ifdef __cplusplus
9945 extern "C"
9946 #endif
9947 char XRenderCreateLinearGradient ();
9949 main ()
9951 return XRenderCreateLinearGradient ();
9953 return 0;
9955 _ACEOF
9956 if ac_fn_c_try_link "$LINENO"; then :
9957 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9958 else
9959 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9961 rm -f core conftest.err conftest.$ac_objext \
9962 conftest$ac_exeext conftest.$ac_ext
9963 LIBS=$ac_check_lib_save_LIBS
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9966 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9967 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9969 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9976 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9977 case "x$with_xrender" in
9978 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9979 xno) ;;
9980 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9981 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9982 esac
9985 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9986 then
9987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9989 #include <X11/Xlib.h>
9990 #include <X11/extensions/Xrandr.h>
9992 main ()
9994 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9996 return 0;
9998 _ACEOF
9999 if ac_fn_c_try_compile "$LINENO"; then :
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10001 $as_echo_n "checking for -lXrandr... " >&6; }
10002 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10003 $as_echo_n "(cached) " >&6
10004 else
10005 ac_check_soname_save_LIBS=$LIBS
10006 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10010 /* Override any GCC internal prototype to avoid an error.
10011 Use char because int might match the return type of a GCC
10012 builtin and then its argument prototype would still apply. */
10013 #ifdef __cplusplus
10014 extern "C"
10015 #endif
10016 char XRRQueryExtension ();
10018 main ()
10020 return XRRQueryExtension ();
10022 return 0;
10024 _ACEOF
10025 if ac_fn_c_try_link "$LINENO"; then :
10026 case "$LIBEXT" in
10027 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10028 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'` ;;
10029 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10030 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10031 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10032 fi ;;
10033 esac
10035 rm -f core conftest.err conftest.$ac_objext \
10036 conftest$ac_exeext conftest.$ac_ext
10037 LIBS=$ac_check_soname_save_LIBS
10039 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10041 $as_echo "not found" >&6; }
10043 else
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10045 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10047 cat >>confdefs.h <<_ACEOF
10048 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10049 _ACEOF
10051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10053 #include <X11/Xlib.h>
10054 #include <X11/extensions/Xrandr.h>
10056 main ()
10058 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10060 return 0;
10062 _ACEOF
10063 if ac_fn_c_try_compile "$LINENO"; then :
10065 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10073 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10074 case "x$with_xrandr" in
10075 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10076 xno) ;;
10077 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10078 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10079 esac
10082 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10083 then
10084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10086 #include <X11/Xlib.h>
10087 #include <X11/extensions/Xinerama.h>
10089 main ()
10091 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10093 return 0;
10095 _ACEOF
10096 if ac_fn_c_try_compile "$LINENO"; then :
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10098 $as_echo_n "checking for -lXinerama... " >&6; }
10099 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10100 $as_echo_n "(cached) " >&6
10101 else
10102 ac_check_soname_save_LIBS=$LIBS
10103 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10105 /* end confdefs.h. */
10107 /* Override any GCC internal prototype to avoid an error.
10108 Use char because int might match the return type of a GCC
10109 builtin and then its argument prototype would still apply. */
10110 #ifdef __cplusplus
10111 extern "C"
10112 #endif
10113 char XineramaQueryScreens ();
10115 main ()
10117 return XineramaQueryScreens ();
10119 return 0;
10121 _ACEOF
10122 if ac_fn_c_try_link "$LINENO"; then :
10123 case "$LIBEXT" in
10124 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10125 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'` ;;
10126 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10127 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10128 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10129 fi ;;
10130 esac
10132 rm -f core conftest.err conftest.$ac_objext \
10133 conftest$ac_exeext conftest.$ac_ext
10134 LIBS=$ac_check_soname_save_LIBS
10136 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10138 $as_echo "not found" >&6; }
10140 else
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10142 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10144 cat >>confdefs.h <<_ACEOF
10145 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10146 _ACEOF
10151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10153 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10154 case "x$with_xinerama" in
10155 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10156 xno) ;;
10157 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10158 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10159 esac
10162 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10163 then
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10165 $as_echo_n "checking for -lXcomposite... " >&6; }
10166 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10167 $as_echo_n "(cached) " >&6
10168 else
10169 ac_check_soname_save_LIBS=$LIBS
10170 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10174 /* Override any GCC internal prototype to avoid an error.
10175 Use char because int might match the return type of a GCC
10176 builtin and then its argument prototype would still apply. */
10177 #ifdef __cplusplus
10178 extern "C"
10179 #endif
10180 char XCompositeRedirectWindow ();
10182 main ()
10184 return XCompositeRedirectWindow ();
10186 return 0;
10188 _ACEOF
10189 if ac_fn_c_try_link "$LINENO"; then :
10190 case "$LIBEXT" in
10191 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10192 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'` ;;
10193 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10194 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10195 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10196 fi ;;
10197 esac
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 LIBS=$ac_check_soname_save_LIBS
10203 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10205 $as_echo "not found" >&6; }
10207 else
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10209 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10211 cat >>confdefs.h <<_ACEOF
10212 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10213 _ACEOF
10218 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10219 case "x$with_xcomposite" in
10220 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10221 xno) ;;
10222 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10223 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10224 esac
10227 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10228 #include <X11/Xlib.h>
10229 #endif
10231 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10233 cat >>confdefs.h <<_ACEOF
10234 #define HAVE_XICCALLBACK_CALLBACK 1
10235 _ACEOF
10239 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10240 #include <X11/Xlib.h>
10241 #endif
10243 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10245 cat >>confdefs.h <<_ACEOF
10246 #define HAVE_XEVENT_XCOOKIE 1
10247 _ACEOF
10254 opengl_msg=""
10255 if test "x$with_opengl" != "xno"
10256 then
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10258 $as_echo_n "checking for -lGL... " >&6; }
10259 if ${ac_cv_lib_soname_GL+:} false; then :
10260 $as_echo_n "(cached) " >&6
10261 else
10262 ac_check_soname_save_LIBS=$LIBS
10263 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10270 #ifdef __cplusplus
10271 extern "C"
10272 #endif
10273 char glXCreateContext ();
10275 main ()
10277 return glXCreateContext ();
10279 return 0;
10281 _ACEOF
10282 if ac_fn_c_try_link "$LINENO"; then :
10283 case "$LIBEXT" in
10284 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10285 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'` ;;
10286 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10287 if ${ac_cv_lib_soname_GL:+false} :; then :
10288 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10289 fi ;;
10290 esac
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_soname_save_LIBS
10296 if ${ac_cv_lib_soname_GL:+false} :; then :
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10298 $as_echo "not found" >&6; }
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10300 $as_echo_n "checking for -lGL... " >&6; }
10301 if ${ac_cv_lib_soname_GL+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_check_soname_save_LIBS=$LIBS
10305 LIBS="-lGL $X_LIBS -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"
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 glXCreateContext ();
10317 main ()
10319 return glXCreateContext ();
10321 return 0;
10323 _ACEOF
10324 if ac_fn_c_try_link "$LINENO"; then :
10325 case "$LIBEXT" in
10326 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10327 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'` ;;
10328 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10329 if ${ac_cv_lib_soname_GL:+false} :; then :
10330 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$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 ${ac_cv_lib_soname_GL:+false} :; then :
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10340 $as_echo "not found" >&6; }
10341 if test -f /usr/X11R6/lib/libGL.a
10342 then
10343 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10344 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10345 else
10346 opengl_msg="No OpenGL library found on this system."
10348 else
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10350 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10352 cat >>confdefs.h <<_ACEOF
10353 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10354 _ACEOF
10356 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"
10358 else
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10360 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10362 cat >>confdefs.h <<_ACEOF
10363 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10364 _ACEOF
10366 OPENGL_LIBS="-lGL"
10368 if test "x$with_glu" != "xno"
10369 then
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10371 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10372 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10373 $as_echo_n "(cached) " >&6
10374 else
10375 ac_check_lib_save_LIBS=$LIBS
10376 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10380 /* Override any GCC internal prototype to avoid an error.
10381 Use char because int might match the return type of a GCC
10382 builtin and then its argument prototype would still apply. */
10383 #ifdef __cplusplus
10384 extern "C"
10385 #endif
10386 char gluLookAt ();
10388 main ()
10390 return gluLookAt ();
10392 return 0;
10394 _ACEOF
10395 if ac_fn_c_try_link "$LINENO"; then :
10396 ac_cv_lib_GLU_gluLookAt=yes
10397 else
10398 ac_cv_lib_GLU_gluLookAt=no
10400 rm -f core conftest.err conftest.$ac_objext \
10401 conftest$ac_exeext conftest.$ac_ext
10402 LIBS=$ac_check_lib_save_LIBS
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10405 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10406 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10410 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10411 case "x$with_glu" in
10412 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10413 xno) ;;
10414 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10415 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10416 esac
10420 if test "x$with_osmesa" != "xno"
10421 then
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10423 $as_echo_n "checking for -lOSMesa... " >&6; }
10424 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10425 $as_echo_n "(cached) " >&6
10426 else
10427 ac_check_soname_save_LIBS=$LIBS
10428 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10430 /* end confdefs.h. */
10432 /* Override any GCC internal prototype to avoid an error.
10433 Use char because int might match the return type of a GCC
10434 builtin and then its argument prototype would still apply. */
10435 #ifdef __cplusplus
10436 extern "C"
10437 #endif
10438 char glAccum ();
10440 main ()
10442 return glAccum ();
10444 return 0;
10446 _ACEOF
10447 if ac_fn_c_try_link "$LINENO"; then :
10448 case "$LIBEXT" in
10449 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10450 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'` ;;
10451 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10452 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10453 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10454 fi ;;
10455 esac
10457 rm -f core conftest.err conftest.$ac_objext \
10458 conftest$ac_exeext conftest.$ac_ext
10459 LIBS=$ac_check_soname_save_LIBS
10461 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10463 $as_echo "not found" >&6; }
10465 else
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10467 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10469 cat >>confdefs.h <<_ACEOF
10470 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10471 _ACEOF
10475 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10476 case "x$with_osmesa" in
10477 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10478 xno) ;;
10479 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10480 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10481 esac
10485 if test -n "$opengl_msg"; then :
10486 case "x$with_opengl" in
10487 x) as_fn_append wine_warnings "|$opengl_msg
10488 OpenGL and Direct3D won't be supported." ;;
10489 xno) ;;
10490 *) as_fn_error $? "$opengl_msg
10491 OpenGL and Direct3D won't be supported.
10492 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10493 esac
10496 CPPFLAGS="$ac_save_CPPFLAGS"
10497 else
10498 X_CFLAGS=""
10499 X_LIBS=""
10500 enable_winex11_drv=${enable_winex11_drv:-no}
10502 if test "x$X_LIBS" = "x"; then :
10503 case "x$with_x" in
10504 xno) ;;
10505 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10506 without X support, which probably isn't what you want. You will need
10507 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10508 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10509 esac
10512 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10514 if test "$ac_cv_header_CL_cl_h" = "yes"
10515 then
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10517 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10518 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10519 $as_echo_n "(cached) " >&6
10520 else
10521 ac_check_lib_save_LIBS=$LIBS
10522 LIBS="-lOpenCL $LIBS"
10523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10524 /* end confdefs.h. */
10526 /* Override any GCC internal prototype to avoid an error.
10527 Use char because int might match the return type of a GCC
10528 builtin and then its argument prototype would still apply. */
10529 #ifdef __cplusplus
10530 extern "C"
10531 #endif
10532 char clGetPlatformInfo ();
10534 main ()
10536 return clGetPlatformInfo ();
10538 return 0;
10540 _ACEOF
10541 if ac_fn_c_try_link "$LINENO"; then :
10542 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10543 else
10544 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10546 rm -f core conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LIBS=$ac_check_lib_save_LIBS
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10551 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10552 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10553 OPENCL_LIBS="-lOpenCL"
10558 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10559 case "x$with_opencl" in
10560 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10561 xno) ;;
10562 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10563 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10564 esac
10566 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10568 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10569 then
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10571 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10572 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10573 $as_echo_n "(cached) " >&6
10574 else
10575 ac_check_lib_save_LIBS=$LIBS
10576 LIBS="-lpcap $LIBS"
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10583 #ifdef __cplusplus
10584 extern "C"
10585 #endif
10586 char pcap_create ();
10588 main ()
10590 return pcap_create ();
10592 return 0;
10594 _ACEOF
10595 if ac_fn_c_try_link "$LINENO"; then :
10596 ac_cv_lib_pcap_pcap_create=yes
10597 else
10598 ac_cv_lib_pcap_pcap_create=no
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 LIBS=$ac_check_lib_save_LIBS
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10605 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10606 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10607 LIBPCAP="-lpcap"
10612 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10613 case "x$with_pcap" in
10614 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10615 xno) ;;
10616 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10617 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10618 esac
10620 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10623 if test "x$with_xml" != "xno"
10624 then
10625 if ${XML2_CFLAGS:+false} :; then :
10626 if ${PKG_CONFIG+:} false; then :
10627 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10630 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10631 if ${XML2_LIBS:+false} :; then :
10632 if ${PKG_CONFIG+:} false; then :
10633 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10636 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10637 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10638 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10639 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10640 ac_save_CPPFLAGS=$CPPFLAGS
10641 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10642 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10643 do :
10644 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10645 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10646 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10647 cat >>confdefs.h <<_ACEOF
10648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10649 _ACEOF
10653 done
10655 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"
10656 then
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10658 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10659 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10660 $as_echo_n "(cached) " >&6
10661 else
10662 ac_check_lib_save_LIBS=$LIBS
10663 LIBS="-lxml2 $XML2_LIBS $LIBS"
10664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10667 /* Override any GCC internal prototype to avoid an error.
10668 Use char because int might match the return type of a GCC
10669 builtin and then its argument prototype would still apply. */
10670 #ifdef __cplusplus
10671 extern "C"
10672 #endif
10673 char xmlParseMemory ();
10675 main ()
10677 return xmlParseMemory ();
10679 return 0;
10681 _ACEOF
10682 if ac_fn_c_try_link "$LINENO"; then :
10683 ac_cv_lib_xml2_xmlParseMemory=yes
10684 else
10685 ac_cv_lib_xml2_xmlParseMemory=no
10687 rm -f core conftest.err conftest.$ac_objext \
10688 conftest$ac_exeext conftest.$ac_ext
10689 LIBS=$ac_check_lib_save_LIBS
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10692 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10693 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10695 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10697 else
10698 XML2_LIBS=""
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10702 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10703 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10704 $as_echo_n "(cached) " >&6
10705 else
10706 ac_check_lib_save_LIBS=$LIBS
10707 LIBS="-lxml2 $XML2_LIBS $LIBS"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10714 #ifdef __cplusplus
10715 extern "C"
10716 #endif
10717 char xmlReadMemory ();
10719 main ()
10721 return xmlReadMemory ();
10723 return 0;
10725 _ACEOF
10726 if ac_fn_c_try_link "$LINENO"; then :
10727 ac_cv_lib_xml2_xmlReadMemory=yes
10728 else
10729 ac_cv_lib_xml2_xmlReadMemory=no
10731 rm -f core conftest.err conftest.$ac_objext \
10732 conftest$ac_exeext conftest.$ac_ext
10733 LIBS=$ac_check_lib_save_LIBS
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10736 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10737 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10739 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10744 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10745 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10746 $as_echo_n "(cached) " >&6
10747 else
10748 ac_check_lib_save_LIBS=$LIBS
10749 LIBS="-lxml2 $XML2_LIBS $LIBS"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10756 #ifdef __cplusplus
10757 extern "C"
10758 #endif
10759 char xmlNewDocPI ();
10761 main ()
10763 return xmlNewDocPI ();
10765 return 0;
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"; then :
10769 ac_cv_lib_xml2_xmlNewDocPI=yes
10770 else
10771 ac_cv_lib_xml2_xmlNewDocPI=no
10773 rm -f core conftest.err conftest.$ac_objext \
10774 conftest$ac_exeext conftest.$ac_ext
10775 LIBS=$ac_check_lib_save_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10778 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10779 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10781 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10786 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10787 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10788 $as_echo_n "(cached) " >&6
10789 else
10790 ac_check_lib_save_LIBS=$LIBS
10791 LIBS="-lxml2 $XML2_LIBS $LIBS"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char xmlSchemaSetParserStructuredErrors ();
10803 main ()
10805 return xmlSchemaSetParserStructuredErrors ();
10807 return 0;
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"; then :
10811 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10812 else
10813 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 LIBS=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10820 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10821 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10823 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10828 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10829 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10830 $as_echo_n "(cached) " >&6
10831 else
10832 ac_check_lib_save_LIBS=$LIBS
10833 LIBS="-lxml2 $XML2_LIBS $LIBS"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10837 /* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10840 #ifdef __cplusplus
10841 extern "C"
10842 #endif
10843 char xmlSchemaSetValidStructuredErrors ();
10845 main ()
10847 return xmlSchemaSetValidStructuredErrors ();
10849 return 0;
10851 _ACEOF
10852 if ac_fn_c_try_link "$LINENO"; then :
10853 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10854 else
10855 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10857 rm -f core conftest.err conftest.$ac_objext \
10858 conftest$ac_exeext conftest.$ac_ext
10859 LIBS=$ac_check_lib_save_LIBS
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10862 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10863 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10865 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10870 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10871 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10872 $as_echo_n "(cached) " >&6
10873 else
10874 ac_check_lib_save_LIBS=$LIBS
10875 LIBS="-lxml2 $XML2_LIBS $LIBS"
10876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10879 /* Override any GCC internal prototype to avoid an error.
10880 Use char because int might match the return type of a GCC
10881 builtin and then its argument prototype would still apply. */
10882 #ifdef __cplusplus
10883 extern "C"
10884 #endif
10885 char xmlFirstElementChild ();
10887 main ()
10889 return xmlFirstElementChild ();
10891 return 0;
10893 _ACEOF
10894 if ac_fn_c_try_link "$LINENO"; then :
10895 ac_cv_lib_xml2_xmlFirstElementChild=yes
10896 else
10897 ac_cv_lib_xml2_xmlFirstElementChild=no
10899 rm -f core conftest.err conftest.$ac_objext \
10900 conftest$ac_exeext conftest.$ac_ext
10901 LIBS=$ac_check_lib_save_LIBS
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10904 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10905 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10907 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10911 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10913 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10915 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10919 else
10920 XML2_CFLAGS=""
10921 XML2_LIBS=""
10923 CPPFLAGS=$ac_save_CPPFLAGS
10924 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10925 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10928 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10929 case "x$with_xml" in
10930 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10931 xno) ;;
10932 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10933 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10934 esac
10937 if test "x$with_xslt" != "xno"
10938 then
10939 if ${XSLT_CFLAGS:+false} :; then :
10940 if ${PKG_CONFIG+:} false; then :
10941 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10944 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10945 if ${XSLT_LIBS:+false} :; then :
10946 if ${PKG_CONFIG+:} false; then :
10947 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10950 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10951 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10952 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10953 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10954 ac_save_CPPFLAGS=$CPPFLAGS
10955 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10956 for ac_header in libxslt/pattern.h libxslt/transform.h
10957 do :
10958 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10959 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10960 # include <libxslt/pattern.h>
10961 #endif
10963 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10964 cat >>confdefs.h <<_ACEOF
10965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10966 _ACEOF
10970 done
10972 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10973 then
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10975 $as_echo_n "checking for -lxslt... " >&6; }
10976 if ${ac_cv_lib_soname_xslt+:} false; then :
10977 $as_echo_n "(cached) " >&6
10978 else
10979 ac_check_soname_save_LIBS=$LIBS
10980 LIBS="-lxslt $XSLT_LIBS $LIBS"
10981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10984 /* Override any GCC internal prototype to avoid an error.
10985 Use char because int might match the return type of a GCC
10986 builtin and then its argument prototype would still apply. */
10987 #ifdef __cplusplus
10988 extern "C"
10989 #endif
10990 char xsltCompilePattern ();
10992 main ()
10994 return xsltCompilePattern ();
10996 return 0;
10998 _ACEOF
10999 if ac_fn_c_try_link "$LINENO"; then :
11000 case "$LIBEXT" in
11001 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11002 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'` ;;
11003 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11004 if ${ac_cv_lib_soname_xslt:+false} :; then :
11005 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11006 fi ;;
11007 esac
11009 rm -f core conftest.err conftest.$ac_objext \
11010 conftest$ac_exeext conftest.$ac_ext
11011 LIBS=$ac_check_soname_save_LIBS
11013 if ${ac_cv_lib_soname_xslt:+false} :; then :
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11015 $as_echo "not found" >&6; }
11017 else
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11019 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11021 cat >>confdefs.h <<_ACEOF
11022 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11023 _ACEOF
11027 else
11028 XSLT_CFLAGS=""
11030 CPPFLAGS=$ac_save_CPPFLAGS
11031 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11032 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11035 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11036 case "x$with_xslt" in
11037 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11038 xno) ;;
11039 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11040 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11041 esac
11044 if test "x$with_dbus" != "xno"
11045 then
11046 if ${DBUS_CFLAGS:+false} :; then :
11047 if ${PKG_CONFIG+:} false; then :
11048 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11052 if ${DBUS_LIBS:+false} :; then :
11053 if ${PKG_CONFIG+:} false; then :
11054 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11059 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11060 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11061 ac_save_CPPFLAGS=$CPPFLAGS
11062 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11063 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11064 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11066 $as_echo_n "checking for -ldbus-1... " >&6; }
11067 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11068 $as_echo_n "(cached) " >&6
11069 else
11070 ac_check_soname_save_LIBS=$LIBS
11071 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11075 /* Override any GCC internal prototype to avoid an error.
11076 Use char because int might match the return type of a GCC
11077 builtin and then its argument prototype would still apply. */
11078 #ifdef __cplusplus
11079 extern "C"
11080 #endif
11081 char dbus_connection_close ();
11083 main ()
11085 return dbus_connection_close ();
11087 return 0;
11089 _ACEOF
11090 if ac_fn_c_try_link "$LINENO"; then :
11091 case "$LIBEXT" in
11092 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11093 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'` ;;
11094 *) 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'`
11095 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11096 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11097 fi ;;
11098 esac
11100 rm -f core conftest.err conftest.$ac_objext \
11101 conftest$ac_exeext conftest.$ac_ext
11102 LIBS=$ac_check_soname_save_LIBS
11104 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11106 $as_echo "not found" >&6; }
11107 DBUS_CFLAGS=""
11108 else
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11110 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11112 cat >>confdefs.h <<_ACEOF
11113 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11114 _ACEOF
11118 else
11119 DBUS_CFLAGS=""
11123 CPPFLAGS=$ac_save_CPPFLAGS
11124 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11125 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11128 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11129 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11130 case "x$with_dbus" in
11131 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11132 xno) ;;
11133 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11134 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11135 esac
11138 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11139 then
11140 if ${HAL_CFLAGS:+false} :; then :
11141 if ${PKG_CONFIG+:} false; then :
11142 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11146 if ${HAL_LIBS:+false} :; then :
11147 if ${PKG_CONFIG+:} false; then :
11148 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11152 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11153 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11154 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11155 ac_save_CPPFLAGS=$CPPFLAGS
11156 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11157 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11158 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11160 $as_echo_n "checking for -lhal... " >&6; }
11161 if ${ac_cv_lib_soname_hal+:} false; then :
11162 $as_echo_n "(cached) " >&6
11163 else
11164 ac_check_soname_save_LIBS=$LIBS
11165 LIBS="-lhal $HAL_LIBS $LIBS"
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11172 #ifdef __cplusplus
11173 extern "C"
11174 #endif
11175 char libhal_ctx_new ();
11177 main ()
11179 return libhal_ctx_new ();
11181 return 0;
11183 _ACEOF
11184 if ac_fn_c_try_link "$LINENO"; then :
11185 case "$LIBEXT" in
11186 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11187 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'` ;;
11188 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11189 if ${ac_cv_lib_soname_hal:+false} :; then :
11190 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11191 fi ;;
11192 esac
11194 rm -f core conftest.err conftest.$ac_objext \
11195 conftest$ac_exeext conftest.$ac_ext
11196 LIBS=$ac_check_soname_save_LIBS
11198 if ${ac_cv_lib_soname_hal:+false} :; then :
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11200 $as_echo "not found" >&6; }
11201 HAL_CFLAGS=""
11202 else
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11204 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11206 cat >>confdefs.h <<_ACEOF
11207 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11208 _ACEOF
11212 else
11213 HAL_CFLAGS=""
11217 CPPFLAGS=$ac_save_CPPFLAGS
11218 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11219 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11221 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11222 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11223 case "x$with_hal" in
11224 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11225 xno) ;;
11226 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11227 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11228 esac
11232 if test "x$with_gnutls" != "xno"
11233 then
11234 if ${GNUTLS_CFLAGS:+false} :; then :
11235 if ${PKG_CONFIG+:} false; then :
11236 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11240 if ${GNUTLS_LIBS:+false} :; then :
11241 if ${PKG_CONFIG+:} false; then :
11242 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11247 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11248 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11249 ac_save_CPPFLAGS=$CPPFLAGS
11250 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11251 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11252 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11255 #include <gnutls/gnutls.h>
11256 #include <gnutls/crypto.h>
11258 main ()
11260 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11262 return 0;
11264 _ACEOF
11265 if ac_fn_c_try_compile "$LINENO"; then :
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11267 $as_echo_n "checking for -lgnutls... " >&6; }
11268 if ${ac_cv_lib_soname_gnutls+:} false; then :
11269 $as_echo_n "(cached) " >&6
11270 else
11271 ac_check_soname_save_LIBS=$LIBS
11272 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11276 /* Override any GCC internal prototype to avoid an error.
11277 Use char because int might match the return type of a GCC
11278 builtin and then its argument prototype would still apply. */
11279 #ifdef __cplusplus
11280 extern "C"
11281 #endif
11282 char gnutls_global_init ();
11284 main ()
11286 return gnutls_global_init ();
11288 return 0;
11290 _ACEOF
11291 if ac_fn_c_try_link "$LINENO"; then :
11292 case "$LIBEXT" in
11293 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11294 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11295 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11296 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11297 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11298 fi ;;
11299 esac
11301 rm -f core conftest.err conftest.$ac_objext \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_soname_save_LIBS
11305 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11307 $as_echo "not found" >&6; }
11308 GNUTLS_CFLAGS=""
11309 else
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11311 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11313 cat >>confdefs.h <<_ACEOF
11314 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11315 _ACEOF
11320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11321 else
11322 GNUTLS_CFLAGS=""
11326 CPPFLAGS=$ac_save_CPPFLAGS
11327 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11328 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11331 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11332 case "x$with_gnutls" in
11333 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11334 xno) ;;
11335 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11336 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11337 esac
11340 CURSES_LIBS=""
11341 if test "$ac_cv_header_ncurses_h" = "yes"
11342 then
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11344 $as_echo_n "checking for -lncurses... " >&6; }
11345 if ${ac_cv_lib_soname_ncurses+:} false; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_soname_save_LIBS=$LIBS
11349 LIBS="-lncurses $LIBS"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11356 #ifdef __cplusplus
11357 extern "C"
11358 #endif
11359 char waddch ();
11361 main ()
11363 return waddch ();
11365 return 0;
11367 _ACEOF
11368 if ac_fn_c_try_link "$LINENO"; then :
11369 case "$LIBEXT" in
11370 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11371 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11372 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11373 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11374 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11375 fi ;;
11376 esac
11378 rm -f core conftest.err conftest.$ac_objext \
11379 conftest$ac_exeext conftest.$ac_ext
11380 LIBS=$ac_check_soname_save_LIBS
11382 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11384 $as_echo "not found" >&6; }
11386 else
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11388 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11390 cat >>confdefs.h <<_ACEOF
11391 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11392 _ACEOF
11394 CURSES_LIBS="-lncurses"
11396 elif test "$ac_cv_header_curses_h" = "yes"
11397 then
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11399 $as_echo_n "checking for -lcurses... " >&6; }
11400 if ${ac_cv_lib_soname_curses+:} false; then :
11401 $as_echo_n "(cached) " >&6
11402 else
11403 ac_check_soname_save_LIBS=$LIBS
11404 LIBS="-lcurses $LIBS"
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11408 /* Override any GCC internal prototype to avoid an error.
11409 Use char because int might match the return type of a GCC
11410 builtin and then its argument prototype would still apply. */
11411 #ifdef __cplusplus
11412 extern "C"
11413 #endif
11414 char waddch ();
11416 main ()
11418 return waddch ();
11420 return 0;
11422 _ACEOF
11423 if ac_fn_c_try_link "$LINENO"; then :
11424 case "$LIBEXT" in
11425 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11426 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'` ;;
11427 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11428 if ${ac_cv_lib_soname_curses:+false} :; then :
11429 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11430 fi ;;
11431 esac
11433 rm -f core conftest.err conftest.$ac_objext \
11434 conftest$ac_exeext conftest.$ac_ext
11435 LIBS=$ac_check_soname_save_LIBS
11437 if ${ac_cv_lib_soname_curses:+false} :; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11439 $as_echo "not found" >&6; }
11441 else
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11443 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11445 cat >>confdefs.h <<_ACEOF
11446 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11447 _ACEOF
11449 CURSES_LIBS="-lcurses"
11452 ac_save_LIBS="$LIBS"
11453 LIBS="$LIBS $CURSES_LIBS"
11454 for ac_func in mousemask
11455 do :
11456 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11457 if test "x$ac_cv_func_mousemask" = xyes; then :
11458 cat >>confdefs.h <<_ACEOF
11459 #define HAVE_MOUSEMASK 1
11460 _ACEOF
11463 done
11465 LIBS="$ac_save_LIBS"
11466 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11467 case "x$with_curses" in
11468 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11469 xno) ;;
11470 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11471 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11472 esac
11475 if test "x$with_sane" != "xno"
11476 then
11477 if ${SANE_CFLAGS:+false} :; then :
11478 if ${PKG_CONFIG+:} false; then :
11479 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11482 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11483 if ${SANE_LIBS:+false} :; then :
11484 if ${PKG_CONFIG+:} false; then :
11485 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11488 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11490 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11491 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11492 ac_save_CPPFLAGS=$CPPFLAGS
11493 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11494 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11495 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11497 $as_echo_n "checking for -lsane... " >&6; }
11498 if ${ac_cv_lib_soname_sane+:} false; then :
11499 $as_echo_n "(cached) " >&6
11500 else
11501 ac_check_soname_save_LIBS=$LIBS
11502 LIBS="-lsane $SANE_LIBS $LIBS"
11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11506 /* Override any GCC internal prototype to avoid an error.
11507 Use char because int might match the return type of a GCC
11508 builtin and then its argument prototype would still apply. */
11509 #ifdef __cplusplus
11510 extern "C"
11511 #endif
11512 char sane_init ();
11514 main ()
11516 return sane_init ();
11518 return 0;
11520 _ACEOF
11521 if ac_fn_c_try_link "$LINENO"; then :
11522 case "$LIBEXT" in
11523 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11524 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'` ;;
11525 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11526 if ${ac_cv_lib_soname_sane:+false} :; then :
11527 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11528 fi ;;
11529 esac
11531 rm -f core conftest.err conftest.$ac_objext \
11532 conftest$ac_exeext conftest.$ac_ext
11533 LIBS=$ac_check_soname_save_LIBS
11535 if ${ac_cv_lib_soname_sane:+false} :; then :
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11537 $as_echo "not found" >&6; }
11538 SANE_CFLAGS=""
11539 else
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11541 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11543 cat >>confdefs.h <<_ACEOF
11544 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11545 _ACEOF
11549 else
11550 SANE_CFLAGS=""
11554 CPPFLAGS=$ac_save_CPPFLAGS
11555 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11556 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11559 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11560 case "x$with_sane" in
11561 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11562 xno) ;;
11563 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11564 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11565 esac
11568 if test "x$with_v4l" != "xno"
11569 then
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11571 $as_echo_n "checking for -lv4l1... " >&6; }
11572 if ${ac_cv_lib_soname_v4l1+:} false; then :
11573 $as_echo_n "(cached) " >&6
11574 else
11575 ac_check_soname_save_LIBS=$LIBS
11576 LIBS="-lv4l1 $LIBS"
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11580 /* Override any GCC internal prototype to avoid an error.
11581 Use char because int might match the return type of a GCC
11582 builtin and then its argument prototype would still apply. */
11583 #ifdef __cplusplus
11584 extern "C"
11585 #endif
11586 char v4l1_open ();
11588 main ()
11590 return v4l1_open ();
11592 return 0;
11594 _ACEOF
11595 if ac_fn_c_try_link "$LINENO"; then :
11596 case "$LIBEXT" in
11597 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11598 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'` ;;
11599 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11600 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11601 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11602 fi ;;
11603 esac
11605 rm -f core conftest.err conftest.$ac_objext \
11606 conftest$ac_exeext conftest.$ac_ext
11607 LIBS=$ac_check_soname_save_LIBS
11609 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11611 $as_echo "not found" >&6; }
11613 else
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11615 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11617 cat >>confdefs.h <<_ACEOF
11618 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11619 _ACEOF
11624 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11625 case "x$with_v4l" in
11626 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11627 xno) ;;
11628 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11629 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11630 esac
11633 if test "x$with_gphoto" != "xno"
11634 then
11635 if ${GPHOTO2_CFLAGS:+false} :; then :
11636 if ${PKG_CONFIG+:} false; then :
11637 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11640 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11641 if ${GPHOTO2_LIBS:+false} :; then :
11642 if ${PKG_CONFIG+:} false; then :
11643 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11646 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11647 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11648 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11649 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11650 ac_save_CPPFLAGS=$CPPFLAGS
11651 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11652 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11653 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11655 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11656 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11657 $as_echo_n "(cached) " >&6
11658 else
11659 ac_check_lib_save_LIBS=$LIBS
11660 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11662 /* end confdefs.h. */
11664 /* Override any GCC internal prototype to avoid an error.
11665 Use char because int might match the return type of a GCC
11666 builtin and then its argument prototype would still apply. */
11667 #ifdef __cplusplus
11668 extern "C"
11669 #endif
11670 char gp_camera_new ();
11672 main ()
11674 return gp_camera_new ();
11676 return 0;
11678 _ACEOF
11679 if ac_fn_c_try_link "$LINENO"; then :
11680 ac_cv_lib_gphoto2_gp_camera_new=yes
11681 else
11682 ac_cv_lib_gphoto2_gp_camera_new=no
11684 rm -f core conftest.err conftest.$ac_objext \
11685 conftest$ac_exeext conftest.$ac_ext
11686 LIBS=$ac_check_lib_save_LIBS
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11689 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11690 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11692 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11694 else
11695 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11698 else
11699 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11703 CPPFLAGS=$ac_save_CPPFLAGS
11704 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11705 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11707 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11708 if ${PKG_CONFIG+:} false; then :
11709 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11712 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11713 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11714 if ${PKG_CONFIG+:} false; then :
11715 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11718 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11719 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11720 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11721 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11722 ac_save_CPPFLAGS=$CPPFLAGS
11723 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11724 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11725 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11727 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11728 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11729 $as_echo_n "(cached) " >&6
11730 else
11731 ac_check_lib_save_LIBS=$LIBS
11732 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11734 /* end confdefs.h. */
11736 /* Override any GCC internal prototype to avoid an error.
11737 Use char because int might match the return type of a GCC
11738 builtin and then its argument prototype would still apply. */
11739 #ifdef __cplusplus
11740 extern "C"
11741 #endif
11742 char gp_port_info_list_new ();
11744 main ()
11746 return gp_port_info_list_new ();
11748 return 0;
11750 _ACEOF
11751 if ac_fn_c_try_link "$LINENO"; then :
11752 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11753 else
11754 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11756 rm -f core conftest.err conftest.$ac_objext \
11757 conftest$ac_exeext conftest.$ac_ext
11758 LIBS=$ac_check_lib_save_LIBS
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11761 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11762 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11764 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11766 else
11767 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11770 else
11771 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11775 CPPFLAGS=$ac_save_CPPFLAGS
11776 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11777 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11780 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11781 case "x$with_gphoto" in
11782 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11783 xno) ;;
11784 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11785 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11786 esac
11788 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11789 case "x$with_gphoto" in
11790 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11791 xno) ;;
11792 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11793 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11794 esac
11798 if test "$ac_cv_header_resolv_h" = "yes"
11799 then
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11801 $as_echo_n "checking for resolver library... " >&6; }
11802 if ${ac_cv_have_resolv+:} false; then :
11803 $as_echo_n "(cached) " >&6
11804 else
11805 ac_save_LIBS="$LIBS"
11806 for lib in '' -lresolv
11808 LIBS="$lib $ac_save_LIBS"
11809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11811 #ifdef HAVE_NETINET_IN_H
11812 #include <netinet/in.h>
11813 #endif
11814 #include <resolv.h>
11816 main ()
11818 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11820 return 0;
11822 _ACEOF
11823 if ac_fn_c_try_link "$LINENO"; then :
11824 ac_cv_have_resolv=${lib:-"none required"}
11825 else
11826 ac_cv_have_resolv="not found"
11828 rm -f core conftest.err conftest.$ac_objext \
11829 conftest$ac_exeext conftest.$ac_ext
11830 test "x$ac_cv_have_resolv" = "xnot found" || break
11831 done
11832 LIBS="$ac_save_LIBS"
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11835 $as_echo "$ac_cv_have_resolv" >&6; }
11837 case "$ac_cv_have_resolv" in
11838 "not found") ;;
11839 "none required")
11841 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11844 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11846 RESOLV_LIBS=$ac_cv_have_resolv
11848 esac
11851 if test "x$with_lcms2" != "xno"
11852 then
11853 if ${LCMS2_CFLAGS:+false} :; then :
11854 if ${PKG_CONFIG+:} false; then :
11855 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11859 if ${LCMS2_LIBS:+false} :; then :
11860 if ${PKG_CONFIG+:} false; then :
11861 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11865 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11866 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11867 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11868 ac_save_CPPFLAGS=$CPPFLAGS
11869 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11870 for ac_header in lcms2.h
11871 do :
11872 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11873 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11874 cat >>confdefs.h <<_ACEOF
11875 #define HAVE_LCMS2_H 1
11876 _ACEOF
11880 done
11882 if test "$ac_cv_header_lcms2_h" = "yes"
11883 then
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11885 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11886 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11887 $as_echo_n "(cached) " >&6
11888 else
11889 ac_check_lib_save_LIBS=$LIBS
11890 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11897 #ifdef __cplusplus
11898 extern "C"
11899 #endif
11900 char cmsOpenProfileFromFile ();
11902 main ()
11904 return cmsOpenProfileFromFile ();
11906 return 0;
11908 _ACEOF
11909 if ac_fn_c_try_link "$LINENO"; then :
11910 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11911 else
11912 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11914 rm -f core conftest.err conftest.$ac_objext \
11915 conftest$ac_exeext conftest.$ac_ext
11916 LIBS=$ac_check_lib_save_LIBS
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11919 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11920 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11922 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11924 else
11925 LCMS2_LIBS=""
11928 else
11929 LCMS2_CFLAGS=""
11930 LCMS2_LIBS=""
11932 CPPFLAGS=$ac_save_CPPFLAGS
11933 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11934 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11937 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11938 case "x$with_cms" in
11939 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11940 xno) ;;
11941 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11942 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11943 esac
11946 if test "x$with_freetype" != "xno"
11947 then
11948 if ${FREETYPE_CFLAGS:+false} :; then :
11949 if ${PKG_CONFIG+:} false; then :
11950 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11953 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11954 if ${FREETYPE_LIBS:+false} :; then :
11955 if ${PKG_CONFIG+:} false; then :
11956 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11959 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11960 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11961 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11962 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11963 ac_save_CPPFLAGS=$CPPFLAGS
11964 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11965 for ac_header in ft2build.h
11966 do :
11967 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11968 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11969 cat >>confdefs.h <<_ACEOF
11970 #define HAVE_FT2BUILD_H 1
11971 _ACEOF
11975 done
11977 if test "$ac_cv_header_ft2build_h" = "yes"
11978 then
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11980 $as_echo_n "checking for -lfreetype... " >&6; }
11981 if ${ac_cv_lib_soname_freetype+:} false; then :
11982 $as_echo_n "(cached) " >&6
11983 else
11984 ac_check_soname_save_LIBS=$LIBS
11985 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11989 /* Override any GCC internal prototype to avoid an error.
11990 Use char because int might match the return type of a GCC
11991 builtin and then its argument prototype would still apply. */
11992 #ifdef __cplusplus
11993 extern "C"
11994 #endif
11995 char FT_Init_FreeType ();
11997 main ()
11999 return FT_Init_FreeType ();
12001 return 0;
12003 _ACEOF
12004 if ac_fn_c_try_link "$LINENO"; then :
12005 case "$LIBEXT" in
12006 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12007 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'` ;;
12008 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12009 if ${ac_cv_lib_soname_freetype:+false} :; then :
12010 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12011 fi ;;
12012 esac
12014 rm -f core conftest.err conftest.$ac_objext \
12015 conftest$ac_exeext conftest.$ac_ext
12016 LIBS=$ac_check_soname_save_LIBS
12018 if ${ac_cv_lib_soname_freetype:+false} :; then :
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12020 $as_echo "not found" >&6; }
12021 FREETYPE_LIBS=""
12022 else
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12024 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12026 cat >>confdefs.h <<_ACEOF
12027 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12028 _ACEOF
12031 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12033 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12034 #include FT_MODULE_H
12036 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12038 cat >>confdefs.h <<_ACEOF
12039 #define HAVE_FT_TRUETYPEENGINETYPE 1
12040 _ACEOF
12046 else
12047 FREETYPE_CFLAGS=""
12048 FREETYPE_LIBS=""
12050 CPPFLAGS=$ac_save_CPPFLAGS
12051 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12052 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12055 if test "x$ac_cv_lib_soname_freetype" = x; then :
12056 case "x$with_freetype" in
12057 xno) ;;
12058 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12059 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12060 esac
12062 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12065 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12066 if ${ac_cv_c_ppdev+:} false; then :
12067 $as_echo_n "(cached) " >&6
12068 else
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12071 #ifdef HAVE_SYS_IOCTL_H
12072 # include <sys/ioctl.h>
12073 #endif
12074 #include <linux/ppdev.h>
12076 main ()
12078 ioctl (1,PPCLAIM,0)
12080 return 0;
12082 _ACEOF
12083 if ac_fn_c_try_compile "$LINENO"; then :
12084 ac_cv_c_ppdev="yes"
12085 else
12086 ac_cv_c_ppdev="no"
12088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12091 $as_echo "$ac_cv_c_ppdev" >&6; }
12092 if test "$ac_cv_c_ppdev" = "yes"
12093 then
12095 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12099 ac_wine_check_funcs_save_LIBS="$LIBS"
12100 LIBS="$LIBS $PTHREAD_LIBS"
12101 for ac_func in \
12102 pthread_attr_get_np \
12103 pthread_getattr_np \
12104 pthread_getthreadid_np \
12105 pthread_get_stackaddr_np \
12106 pthread_get_stacksize_np
12107 do :
12108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12110 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12111 cat >>confdefs.h <<_ACEOF
12112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12113 _ACEOF
12116 done
12118 LIBS="$ac_wine_check_funcs_save_LIBS"
12120 if test "$ac_cv_header_zlib_h" = "yes"
12121 then
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12123 $as_echo_n "checking for inflate in -lz... " >&6; }
12124 if ${ac_cv_lib_z_inflate+:} false; then :
12125 $as_echo_n "(cached) " >&6
12126 else
12127 ac_check_lib_save_LIBS=$LIBS
12128 LIBS="-lz $LIBS"
12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12132 /* Override any GCC internal prototype to avoid an error.
12133 Use char because int might match the return type of a GCC
12134 builtin and then its argument prototype would still apply. */
12135 #ifdef __cplusplus
12136 extern "C"
12137 #endif
12138 char inflate ();
12140 main ()
12142 return inflate ();
12144 return 0;
12146 _ACEOF
12147 if ac_fn_c_try_link "$LINENO"; then :
12148 ac_cv_lib_z_inflate=yes
12149 else
12150 ac_cv_lib_z_inflate=no
12152 rm -f core conftest.err conftest.$ac_objext \
12153 conftest$ac_exeext conftest.$ac_ext
12154 LIBS=$ac_check_lib_save_LIBS
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12157 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12158 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12160 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12162 Z_LIBS="-lz"
12167 if test "x$Z_LIBS" = "x"; then :
12168 case "x$with_zlib" in
12169 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12170 xno) ;;
12171 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12172 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12173 esac
12176 if test "x$enable_tools" != xno
12177 then
12178 if test "$ac_cv_header_gettext_po_h" = "yes"
12179 then
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12181 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12182 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12183 $as_echo_n "(cached) " >&6
12184 else
12185 ac_check_lib_save_LIBS=$LIBS
12186 LIBS="-lgettextpo $LIBS"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 /* Override any GCC internal prototype to avoid an error.
12191 Use char because int might match the return type of a GCC
12192 builtin and then its argument prototype would still apply. */
12193 #ifdef __cplusplus
12194 extern "C"
12195 #endif
12196 char po_message_msgctxt ();
12198 main ()
12200 return po_message_msgctxt ();
12202 return 0;
12204 _ACEOF
12205 if ac_fn_c_try_link "$LINENO"; then :
12206 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12207 else
12208 ac_cv_lib_gettextpo_po_message_msgctxt=no
12210 rm -f core conftest.err conftest.$ac_objext \
12211 conftest$ac_exeext conftest.$ac_ext
12212 LIBS=$ac_check_lib_save_LIBS
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12215 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12216 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12218 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12220 GETTEXTPO_LIBS="-lgettextpo"
12225 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12226 case "x$with_gettextpo" in
12227 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12228 xno) ;;
12229 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12230 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12231 esac
12235 if test "x$with_gstreamer" != "xno"
12236 then
12237 if ${GSTREAMER_CFLAGS:+false} :; then :
12238 if ${PKG_CONFIG+:} false; then :
12239 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12243 if ${GSTREAMER_LIBS:+false} :; then :
12244 if ${PKG_CONFIG+:} false; then :
12245 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12250 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12251 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12252 ac_save_CPPFLAGS=$CPPFLAGS
12253 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12254 ac_gst_incl=""
12255 for i in $GSTREAMER_CFLAGS
12257 case "$i" in
12258 -I*) ac_gst_incl="$ac_gst_incl $i";;
12259 esac
12260 done
12261 GSTREAMER_CFLAGS=$ac_gst_incl
12262 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12263 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12264 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12265 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12266 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12268 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12270 /* end confdefs.h. */
12271 #include <gst/app/gstappsink.h>
12273 main ()
12275 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12277 return 0;
12279 _ACEOF
12280 if ac_fn_c_try_compile "$LINENO"; then :
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12282 $as_echo "yes" >&6; }
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12284 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12285 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12286 $as_echo_n "(cached) " >&6
12287 else
12288 ac_check_lib_save_LIBS=$LIBS
12289 LIBS="-lgstreamer-0.10 $LIBS"
12290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12293 /* Override any GCC internal prototype to avoid an error.
12294 Use char because int might match the return type of a GCC
12295 builtin and then its argument prototype would still apply. */
12296 #ifdef __cplusplus
12297 extern "C"
12298 #endif
12299 char gst_pad_get_caps_reffed ();
12301 main ()
12303 return gst_pad_get_caps_reffed ();
12305 return 0;
12307 _ACEOF
12308 if ac_fn_c_try_link "$LINENO"; then :
12309 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12310 else
12311 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12313 rm -f core conftest.err conftest.$ac_objext \
12314 conftest$ac_exeext conftest.$ac_ext
12315 LIBS=$ac_check_lib_save_LIBS
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12318 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12319 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12321 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12322 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12323 $as_echo_n "(cached) " >&6
12324 else
12325 ac_check_lib_save_LIBS=$LIBS
12326 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $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 gst_app_buffer_new ();
12338 main ()
12340 return gst_app_buffer_new ();
12342 return 0;
12344 _ACEOF
12345 if ac_fn_c_try_link "$LINENO"; then :
12346 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12347 else
12348 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=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_gstapp_0_10_gst_app_buffer_new" >&5
12355 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12356 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12362 else
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12364 $as_echo "no" >&6; }
12366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12370 else
12371 GSTREAMER_CFLAGS=""
12375 CPPFLAGS=$ac_save_CPPFLAGS
12376 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12377 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12380 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12381 case "x$with_gstreamer" in
12382 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12383 xno) ;;
12384 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12385 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12386 esac
12388 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12390 ALSA_LIBS=""
12392 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12393 then
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12395 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12396 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12397 $as_echo_n "(cached) " >&6
12398 else
12399 ac_check_lib_save_LIBS=$LIBS
12400 LIBS="-lasound $LIBS"
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12404 /* Override any GCC internal prototype to avoid an error.
12405 Use char because int might match the return type of a GCC
12406 builtin and then its argument prototype would still apply. */
12407 #ifdef __cplusplus
12408 extern "C"
12409 #endif
12410 char snd_pcm_hw_params_get_access_mask ();
12412 main ()
12414 return snd_pcm_hw_params_get_access_mask ();
12416 return 0;
12418 _ACEOF
12419 if ac_fn_c_try_link "$LINENO"; then :
12420 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12421 else
12422 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12424 rm -f core conftest.err conftest.$ac_objext \
12425 conftest$ac_exeext conftest.$ac_ext
12426 LIBS=$ac_check_lib_save_LIBS
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12429 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12430 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12433 #ifdef HAVE_ALSA_ASOUNDLIB_H
12434 #include <alsa/asoundlib.h>
12435 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12436 #include <sys/asoundlib.h>
12437 #endif
12439 main ()
12441 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12443 return 0;
12445 _ACEOF
12446 if ac_fn_c_try_compile "$LINENO"; then :
12447 ALSA_LIBS="-lasound"
12449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12454 if test "x$with_oss" != xno
12455 then
12456 ac_save_CPPFLAGS="$CPPFLAGS"
12457 if test -f /etc/oss.conf
12458 then
12459 . /etc/oss.conf
12461 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12462 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12463 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12464 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12465 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12467 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12469 cat >>confdefs.h <<_ACEOF
12470 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12471 _ACEOF
12473 OSS4_CFLAGS="$ac_oss_incl"
12480 CPPFLAGS="$ac_save_CPPFLAGS"
12481 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12482 then
12483 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12487 if test "x$with_capi" != "xno"
12488 then
12489 if ${CAPI20_CFLAGS:+false} :; then :
12490 if ${PKG_CONFIG+:} false; then :
12491 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12495 if ${CAPI20_LIBS:+false} :; then :
12496 if ${PKG_CONFIG+:} false; then :
12497 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12502 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12503 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12504 ac_save_CPPFLAGS=$CPPFLAGS
12505 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12506 for ac_header in capi20.h linux/capi.h
12507 do :
12508 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12509 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12511 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12512 cat >>confdefs.h <<_ACEOF
12513 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12514 _ACEOF
12518 done
12520 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12521 then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12523 $as_echo_n "checking for -lcapi20... " >&6; }
12524 if ${ac_cv_lib_soname_capi20+:} false; then :
12525 $as_echo_n "(cached) " >&6
12526 else
12527 ac_check_soname_save_LIBS=$LIBS
12528 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12532 /* Override any GCC internal prototype to avoid an error.
12533 Use char because int might match the return type of a GCC
12534 builtin and then its argument prototype would still apply. */
12535 #ifdef __cplusplus
12536 extern "C"
12537 #endif
12538 char capi20_register ();
12540 main ()
12542 return capi20_register ();
12544 return 0;
12546 _ACEOF
12547 if ac_fn_c_try_link "$LINENO"; then :
12548 case "$LIBEXT" in
12549 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12550 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'` ;;
12551 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12552 if ${ac_cv_lib_soname_capi20:+false} :; then :
12553 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12554 fi ;;
12555 esac
12557 rm -f core conftest.err conftest.$ac_objext \
12558 conftest$ac_exeext conftest.$ac_ext
12559 LIBS=$ac_check_soname_save_LIBS
12561 if ${ac_cv_lib_soname_capi20:+false} :; then :
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12563 $as_echo "not found" >&6; }
12565 else
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12567 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12569 cat >>confdefs.h <<_ACEOF
12570 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12571 _ACEOF
12576 CPPFLAGS=$ac_save_CPPFLAGS
12577 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12578 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12581 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12582 case "x$with_capi" in
12583 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12584 xno) ;;
12585 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12586 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12587 esac
12590 CUPS_CFLAGS=""
12592 if test "x$with_cups" != "xno"
12593 then
12594 ac_save_CPPFLAGS="$CPPFLAGS"
12595 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12596 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12597 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12598 for ac_header in cups/cups.h
12599 do :
12600 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12601 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12602 cat >>confdefs.h <<_ACEOF
12603 #define HAVE_CUPS_CUPS_H 1
12604 _ACEOF
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12606 $as_echo_n "checking for -lcups... " >&6; }
12607 if ${ac_cv_lib_soname_cups+:} false; then :
12608 $as_echo_n "(cached) " >&6
12609 else
12610 ac_check_soname_save_LIBS=$LIBS
12611 LIBS="-lcups $ac_cups_libs $LIBS"
12612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12613 /* end confdefs.h. */
12615 /* Override any GCC internal prototype to avoid an error.
12616 Use char because int might match the return type of a GCC
12617 builtin and then its argument prototype would still apply. */
12618 #ifdef __cplusplus
12619 extern "C"
12620 #endif
12621 char cupsGetDefault ();
12623 main ()
12625 return cupsGetDefault ();
12627 return 0;
12629 _ACEOF
12630 if ac_fn_c_try_link "$LINENO"; then :
12631 case "$LIBEXT" in
12632 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12633 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'` ;;
12634 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12635 if ${ac_cv_lib_soname_cups:+false} :; then :
12636 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12637 fi ;;
12638 esac
12640 rm -f core conftest.err conftest.$ac_objext \
12641 conftest$ac_exeext conftest.$ac_ext
12642 LIBS=$ac_check_soname_save_LIBS
12644 if ${ac_cv_lib_soname_cups:+false} :; then :
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12646 $as_echo "not found" >&6; }
12648 else
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12650 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12652 cat >>confdefs.h <<_ACEOF
12653 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12654 _ACEOF
12656 CUPS_CFLAGS="$ac_cups_cflags"
12660 done
12662 CPPFLAGS="$ac_save_CPPFLAGS"
12664 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12665 case "x$with_cups" in
12666 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12667 xno) ;;
12668 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12669 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12670 esac
12673 if test "x$with_fontconfig" != "xno"
12674 then
12675 if ${FONTCONFIG_CFLAGS:+false} :; then :
12676 if ${PKG_CONFIG+:} false; then :
12677 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12680 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12681 if ${FONTCONFIG_LIBS:+false} :; then :
12682 if ${PKG_CONFIG+:} false; then :
12683 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12686 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12688 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12689 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12690 ac_save_CPPFLAGS=$CPPFLAGS
12691 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12692 for ac_header in fontconfig/fontconfig.h
12693 do :
12694 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12695 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12696 cat >>confdefs.h <<_ACEOF
12697 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12698 _ACEOF
12702 done
12704 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12705 then
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12707 $as_echo_n "checking for -lfontconfig... " >&6; }
12708 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12709 $as_echo_n "(cached) " >&6
12710 else
12711 ac_check_soname_save_LIBS=$LIBS
12712 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12716 /* Override any GCC internal prototype to avoid an error.
12717 Use char because int might match the return type of a GCC
12718 builtin and then its argument prototype would still apply. */
12719 #ifdef __cplusplus
12720 extern "C"
12721 #endif
12722 char FcInit ();
12724 main ()
12726 return FcInit ();
12728 return 0;
12730 _ACEOF
12731 if ac_fn_c_try_link "$LINENO"; then :
12732 case "$LIBEXT" in
12733 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12734 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'` ;;
12735 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12736 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12737 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12738 fi ;;
12739 esac
12741 rm -f core conftest.err conftest.$ac_objext \
12742 conftest$ac_exeext conftest.$ac_ext
12743 LIBS=$ac_check_soname_save_LIBS
12745 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12747 $as_echo "not found" >&6; }
12748 FONTCONFIG_CFLAGS=""
12749 else
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12751 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12753 cat >>confdefs.h <<_ACEOF
12754 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12755 _ACEOF
12759 else
12760 FONTCONFIG_CFLAGS=""
12762 CPPFLAGS=$ac_save_CPPFLAGS
12763 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12764 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12767 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12768 case "x$with_fontconfig" in
12769 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12770 xno) ;;
12771 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12772 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12773 esac
12776 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12777 then
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12779 $as_echo_n "checking for -lgsm... " >&6; }
12780 if ${ac_cv_lib_soname_gsm+:} false; then :
12781 $as_echo_n "(cached) " >&6
12782 else
12783 ac_check_soname_save_LIBS=$LIBS
12784 LIBS="-lgsm $LIBS"
12785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12786 /* end confdefs.h. */
12788 /* Override any GCC internal prototype to avoid an error.
12789 Use char because int might match the return type of a GCC
12790 builtin and then its argument prototype would still apply. */
12791 #ifdef __cplusplus
12792 extern "C"
12793 #endif
12794 char gsm_create ();
12796 main ()
12798 return gsm_create ();
12800 return 0;
12802 _ACEOF
12803 if ac_fn_c_try_link "$LINENO"; then :
12804 case "$LIBEXT" in
12805 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12806 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'` ;;
12807 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12808 if ${ac_cv_lib_soname_gsm:+false} :; then :
12809 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12810 fi ;;
12811 esac
12813 rm -f core conftest.err conftest.$ac_objext \
12814 conftest$ac_exeext conftest.$ac_ext
12815 LIBS=$ac_check_soname_save_LIBS
12817 if ${ac_cv_lib_soname_gsm:+false} :; then :
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12819 $as_echo "not found" >&6; }
12821 else
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12823 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12825 cat >>confdefs.h <<_ACEOF
12826 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12827 _ACEOF
12832 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12833 case "x$with_gsm" in
12834 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12835 xno) ;;
12836 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12837 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12838 esac
12841 if test "x$with_jpeg" != "xno"
12842 then
12843 if ${JPEG_CFLAGS:+false} :; then :
12844 if ${PKG_CONFIG+:} false; then :
12845 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12849 if ${JPEG_LIBS:+false} :; then :
12850 if ${PKG_CONFIG+:} false; then :
12851 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12856 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12857 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12858 ac_save_CPPFLAGS=$CPPFLAGS
12859 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12860 for ac_header in jpeglib.h
12861 do :
12862 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12863 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12864 cat >>confdefs.h <<_ACEOF
12865 #define HAVE_JPEGLIB_H 1
12866 _ACEOF
12870 done
12872 if test "$ac_cv_header_jpeglib_h" = "yes"
12873 then
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12875 $as_echo_n "checking for -ljpeg... " >&6; }
12876 if ${ac_cv_lib_soname_jpeg+:} false; then :
12877 $as_echo_n "(cached) " >&6
12878 else
12879 ac_check_soname_save_LIBS=$LIBS
12880 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12884 /* Override any GCC internal prototype to avoid an error.
12885 Use char because int might match the return type of a GCC
12886 builtin and then its argument prototype would still apply. */
12887 #ifdef __cplusplus
12888 extern "C"
12889 #endif
12890 char jpeg_start_decompress ();
12892 main ()
12894 return jpeg_start_decompress ();
12896 return 0;
12898 _ACEOF
12899 if ac_fn_c_try_link "$LINENO"; then :
12900 case "$LIBEXT" in
12901 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12902 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'` ;;
12903 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12904 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12905 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12906 fi ;;
12907 esac
12909 rm -f core conftest.err conftest.$ac_objext \
12910 conftest$ac_exeext conftest.$ac_ext
12911 LIBS=$ac_check_soname_save_LIBS
12913 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12915 $as_echo "not found" >&6; }
12916 JPEG_CFLAGS=""
12917 else
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12919 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12921 cat >>confdefs.h <<_ACEOF
12922 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12923 _ACEOF
12927 else
12928 JPEG_CFLAGS=""
12930 CPPFLAGS=$ac_save_CPPFLAGS
12931 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12932 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12935 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12936 case "x$with_jpeg" in
12937 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12938 xno) ;;
12939 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12940 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12941 esac
12944 if test "x$with_png" != "xno"
12945 then
12946 if ${PNG_CFLAGS:+false} :; then :
12947 if ${PKG_CONFIG+:} false; then :
12948 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12951 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12952 if ${PNG_LIBS:+false} :; then :
12953 if ${PKG_CONFIG+:} false; then :
12954 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12957 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12959 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12960 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12961 ac_save_CPPFLAGS=$CPPFLAGS
12962 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12963 for ac_header in png.h
12964 do :
12965 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12966 if test "x$ac_cv_header_png_h" = xyes; then :
12967 cat >>confdefs.h <<_ACEOF
12968 #define HAVE_PNG_H 1
12969 _ACEOF
12973 done
12975 if test "$ac_cv_header_png_h" = "yes"
12976 then
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12978 $as_echo_n "checking for -lpng... " >&6; }
12979 if ${ac_cv_lib_soname_png+:} false; then :
12980 $as_echo_n "(cached) " >&6
12981 else
12982 ac_check_soname_save_LIBS=$LIBS
12983 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12987 /* Override any GCC internal prototype to avoid an error.
12988 Use char because int might match the return type of a GCC
12989 builtin and then its argument prototype would still apply. */
12990 #ifdef __cplusplus
12991 extern "C"
12992 #endif
12993 char png_create_read_struct ();
12995 main ()
12997 return png_create_read_struct ();
12999 return 0;
13001 _ACEOF
13002 if ac_fn_c_try_link "$LINENO"; then :
13003 case "$LIBEXT" in
13004 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13005 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'` ;;
13006 *) 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'`
13007 if ${ac_cv_lib_soname_png:+false} :; then :
13008 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13009 fi ;;
13010 esac
13012 rm -f core conftest.err conftest.$ac_objext \
13013 conftest$ac_exeext conftest.$ac_ext
13014 LIBS=$ac_check_soname_save_LIBS
13016 if ${ac_cv_lib_soname_png:+false} :; then :
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13018 $as_echo "not found" >&6; }
13019 PNG_CFLAGS=""
13020 else
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13022 $as_echo "$ac_cv_lib_soname_png" >&6; }
13024 cat >>confdefs.h <<_ACEOF
13025 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13026 _ACEOF
13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13030 #include <png.h>
13032 main ()
13034 typeof(png_set_expand_gray_1_2_4_to_8) *p
13036 return 0;
13038 _ACEOF
13039 if ac_fn_c_try_compile "$LINENO"; then :
13041 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13046 else
13047 PNG_CFLAGS=""
13049 CPPFLAGS=$ac_save_CPPFLAGS
13050 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13051 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13054 if test "x$ac_cv_lib_soname_png" = "x"; then :
13055 case "x$with_png" in
13056 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13057 xno) ;;
13058 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13059 This is an error since --with-png was requested." "$LINENO" 5 ;;
13060 esac
13063 if test "x$with_tiff" != "xno"
13064 then
13065 if ${TIFF_CFLAGS:+false} :; then :
13066 if ${PKG_CONFIG+:} false; then :
13067 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13071 if ${TIFF_LIBS:+false} :; then :
13072 if ${PKG_CONFIG+:} false; then :
13073 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13078 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13079 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13080 ac_save_CPPFLAGS=$CPPFLAGS
13081 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13082 for ac_header in tiffio.h
13083 do :
13084 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13085 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13086 cat >>confdefs.h <<_ACEOF
13087 #define HAVE_TIFFIO_H 1
13088 _ACEOF
13092 done
13094 if test "$ac_cv_header_tiffio_h" = "yes"
13095 then
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13097 $as_echo_n "checking for -ltiff... " >&6; }
13098 if ${ac_cv_lib_soname_tiff+:} false; then :
13099 $as_echo_n "(cached) " >&6
13100 else
13101 ac_check_soname_save_LIBS=$LIBS
13102 LIBS="-ltiff $TIFF_LIBS $LIBS"
13103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13104 /* end confdefs.h. */
13106 /* Override any GCC internal prototype to avoid an error.
13107 Use char because int might match the return type of a GCC
13108 builtin and then its argument prototype would still apply. */
13109 #ifdef __cplusplus
13110 extern "C"
13111 #endif
13112 char TIFFClientOpen ();
13114 main ()
13116 return TIFFClientOpen ();
13118 return 0;
13120 _ACEOF
13121 if ac_fn_c_try_link "$LINENO"; then :
13122 case "$LIBEXT" in
13123 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13124 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'` ;;
13125 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13126 if ${ac_cv_lib_soname_tiff:+false} :; then :
13127 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13128 fi ;;
13129 esac
13131 rm -f core conftest.err conftest.$ac_objext \
13132 conftest$ac_exeext conftest.$ac_ext
13133 LIBS=$ac_check_soname_save_LIBS
13135 if ${ac_cv_lib_soname_tiff:+false} :; then :
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13137 $as_echo "not found" >&6; }
13139 else
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13141 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13143 cat >>confdefs.h <<_ACEOF
13144 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13145 _ACEOF
13150 CPPFLAGS=$ac_save_CPPFLAGS
13151 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13152 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13155 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13156 case "x$with_tiff" in
13157 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13158 xno) ;;
13159 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13160 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13161 esac
13164 if test "x$with_mpg123" != "xno"
13165 then
13166 if ${MPG123_CFLAGS:+false} :; then :
13167 if ${PKG_CONFIG+:} false; then :
13168 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13172 if ${MPG123_LIBS:+false} :; then :
13173 if ${PKG_CONFIG+:} false; then :
13174 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13178 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13179 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13180 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13181 ac_save_CPPFLAGS=$CPPFLAGS
13182 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13183 for ac_header in mpg123.h
13184 do :
13185 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13186 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13187 cat >>confdefs.h <<_ACEOF
13188 #define HAVE_MPG123_H 1
13189 _ACEOF
13193 done
13195 if test "$ac_cv_header_mpg123_h" = "yes"
13196 then
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13198 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13199 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13200 $as_echo_n "(cached) " >&6
13201 else
13202 ac_check_lib_save_LIBS=$LIBS
13203 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13207 /* Override any GCC internal prototype to avoid an error.
13208 Use char because int might match the return type of a GCC
13209 builtin and then its argument prototype would still apply. */
13210 #ifdef __cplusplus
13211 extern "C"
13212 #endif
13213 char mpg123_feed ();
13215 main ()
13217 return mpg123_feed ();
13219 return 0;
13221 _ACEOF
13222 if ac_fn_c_try_link "$LINENO"; then :
13223 ac_cv_lib_mpg123_mpg123_feed=yes
13224 else
13225 ac_cv_lib_mpg123_mpg123_feed=no
13227 rm -f core conftest.err conftest.$ac_objext \
13228 conftest$ac_exeext conftest.$ac_ext
13229 LIBS=$ac_check_lib_save_LIBS
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13232 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13233 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13235 else
13236 MPG123_LIBS=""
13239 else
13240 MPG123_CFLAGS=""
13241 MPG123_LIBS=""
13243 CPPFLAGS=$ac_save_CPPFLAGS
13244 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13245 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13248 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13249 case "x$with_mpg123" in
13250 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13251 xno) ;;
13252 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13253 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13254 esac
13256 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}
13258 if test "$ac_cv_header_AL_al_h" = "yes"
13259 then
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13261 $as_echo_n "checking for -lopenal... " >&6; }
13262 if ${ac_cv_lib_soname_openal+:} false; then :
13263 $as_echo_n "(cached) " >&6
13264 else
13265 ac_check_soname_save_LIBS=$LIBS
13266 LIBS="-lopenal $LIBS"
13267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13268 /* end confdefs.h. */
13270 /* Override any GCC internal prototype to avoid an error.
13271 Use char because int might match the return type of a GCC
13272 builtin and then its argument prototype would still apply. */
13273 #ifdef __cplusplus
13274 extern "C"
13275 #endif
13276 char alGetSource3i ();
13278 main ()
13280 return alGetSource3i ();
13282 return 0;
13284 _ACEOF
13285 if ac_fn_c_try_link "$LINENO"; then :
13286 case "$LIBEXT" in
13287 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13288 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'` ;;
13289 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13290 if ${ac_cv_lib_soname_openal:+false} :; then :
13291 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13292 fi ;;
13293 esac
13295 rm -f core conftest.err conftest.$ac_objext \
13296 conftest$ac_exeext conftest.$ac_ext
13297 LIBS=$ac_check_soname_save_LIBS
13299 if ${ac_cv_lib_soname_openal:+false} :; then :
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13301 $as_echo "not found" >&6; }
13303 else
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13305 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13307 cat >>confdefs.h <<_ACEOF
13308 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13309 _ACEOF
13311 OPENAL_LIBS="-lopenal"
13313 ac_cv_lib_openal=yes
13315 cat >>confdefs.h <<_ACEOF
13316 #define HAVE_OPENAL 1
13317 _ACEOF
13321 if test "x$ac_cv_lib_openal" != xyes; then :
13322 case "x$with_openal" in
13323 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13324 xno) ;;
13325 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13326 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13327 esac
13329 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13331 if test "$ac_cv_header_kstat_h" = "yes"
13332 then
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13334 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13335 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13336 $as_echo_n "(cached) " >&6
13337 else
13338 ac_check_lib_save_LIBS=$LIBS
13339 LIBS="-lkstat $LIBS"
13340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13343 /* Override any GCC internal prototype to avoid an error.
13344 Use char because int might match the return type of a GCC
13345 builtin and then its argument prototype would still apply. */
13346 #ifdef __cplusplus
13347 extern "C"
13348 #endif
13349 char kstat_open ();
13351 main ()
13353 return kstat_open ();
13355 return 0;
13357 _ACEOF
13358 if ac_fn_c_try_link "$LINENO"; then :
13359 ac_cv_lib_kstat_kstat_open=yes
13360 else
13361 ac_cv_lib_kstat_kstat_open=no
13363 rm -f core conftest.err conftest.$ac_objext \
13364 conftest$ac_exeext conftest.$ac_ext
13365 LIBS=$ac_check_lib_save_LIBS
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13368 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13369 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13371 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13373 KSTAT_LIBS="-lkstat"
13379 if test "$ac_cv_header_libprocstat_h" = "yes"
13380 then
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13382 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13383 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13384 $as_echo_n "(cached) " >&6
13385 else
13386 ac_check_lib_save_LIBS=$LIBS
13387 LIBS="-lprocstat $LIBS"
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13391 /* Override any GCC internal prototype to avoid an error.
13392 Use char because int might match the return type of a GCC
13393 builtin and then its argument prototype would still apply. */
13394 #ifdef __cplusplus
13395 extern "C"
13396 #endif
13397 char procstat_open_sysctl ();
13399 main ()
13401 return procstat_open_sysctl ();
13403 return 0;
13405 _ACEOF
13406 if ac_fn_c_try_link "$LINENO"; then :
13407 ac_cv_lib_procstat_procstat_open_sysctl=yes
13408 else
13409 ac_cv_lib_procstat_procstat_open_sysctl=no
13411 rm -f core conftest.err conftest.$ac_objext \
13412 conftest$ac_exeext conftest.$ac_ext
13413 LIBS=$ac_check_lib_save_LIBS
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13416 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13417 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13419 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13421 PROCSTAT_LIBS="-lprocstat"
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13428 $as_echo_n "checking for -lodbc... " >&6; }
13429 if ${ac_cv_lib_soname_odbc+:} false; then :
13430 $as_echo_n "(cached) " >&6
13431 else
13432 ac_check_soname_save_LIBS=$LIBS
13433 LIBS="-lodbc $LIBS"
13434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13437 /* Override any GCC internal prototype to avoid an error.
13438 Use char because int might match the return type of a GCC
13439 builtin and then its argument prototype would still apply. */
13440 #ifdef __cplusplus
13441 extern "C"
13442 #endif
13443 char SQLConnect ();
13445 main ()
13447 return SQLConnect ();
13449 return 0;
13451 _ACEOF
13452 if ac_fn_c_try_link "$LINENO"; then :
13453 case "$LIBEXT" in
13454 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13455 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'` ;;
13456 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13457 if ${ac_cv_lib_soname_odbc:+false} :; then :
13458 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13459 fi ;;
13460 esac
13462 rm -f core conftest.err conftest.$ac_objext \
13463 conftest$ac_exeext conftest.$ac_ext
13464 LIBS=$ac_check_soname_save_LIBS
13466 if ${ac_cv_lib_soname_odbc:+false} :; then :
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13468 $as_echo "not found" >&6; }
13469 cat >>confdefs.h <<_ACEOF
13470 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13471 _ACEOF
13473 else
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13475 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13477 cat >>confdefs.h <<_ACEOF
13478 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13479 _ACEOF
13484 if test "x$with_netapi" != "xno"
13485 then
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13487 $as_echo_n "checking for -lnetapi... " >&6; }
13488 if ${ac_cv_lib_soname_netapi+:} false; then :
13489 $as_echo_n "(cached) " >&6
13490 else
13491 ac_check_soname_save_LIBS=$LIBS
13492 LIBS="-lnetapi $LIBS"
13493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h. */
13496 /* Override any GCC internal prototype to avoid an error.
13497 Use char because int might match the return type of a GCC
13498 builtin and then its argument prototype would still apply. */
13499 #ifdef __cplusplus
13500 extern "C"
13501 #endif
13502 char libnetapi_init ();
13504 main ()
13506 return libnetapi_init ();
13508 return 0;
13510 _ACEOF
13511 if ac_fn_c_try_link "$LINENO"; then :
13512 case "$LIBEXT" in
13513 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13514 dylib) ac_cv_lib_soname_netapi=`otool -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13515 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13516 if ${ac_cv_lib_soname_netapi:+false} :; then :
13517 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13518 fi ;;
13519 esac
13521 rm -f core conftest.err conftest.$ac_objext \
13522 conftest$ac_exeext conftest.$ac_ext
13523 LIBS=$ac_check_soname_save_LIBS
13525 if ${ac_cv_lib_soname_netapi:+false} :; then :
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13527 $as_echo "not found" >&6; }
13528 cat >>confdefs.h <<_ACEOF
13529 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13530 _ACEOF
13532 else
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13534 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13536 cat >>confdefs.h <<_ACEOF
13537 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13538 _ACEOF
13544 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13545 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13546 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13547 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13549 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13550 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13551 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13552 then
13553 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13557 EXTRACFLAGS=""
13559 if test "x${GCC}" = "xyes"
13560 then
13561 EXTRACFLAGS="-Wall -pipe"
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13564 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13565 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13566 $as_echo_n "(cached) " >&6
13567 else
13568 if test "$cross_compiling" = yes; then :
13569 ac_cv_c_gcc_strength_bug="yes"
13570 else
13571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13573 int L[4] = {0,1,2,3};
13575 main ()
13577 static int Array[3];
13578 unsigned int B = 3;
13579 int i;
13580 for(i=0; i<B; i++) Array[i] = i - 3;
13581 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13582 L[i] = 4;
13583 return (Array[1] != -2 || L[2] != 3)
13585 return 0;
13587 _ACEOF
13588 if ac_fn_c_try_run "$LINENO"; then :
13589 ac_cv_c_gcc_strength_bug="no"
13590 else
13591 ac_cv_c_gcc_strength_bug="yes"
13593 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13594 conftest.$ac_objext conftest.beam conftest.$ac_ext
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13599 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13600 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13601 then
13602 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13606 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13607 if ${ac_cv_cflags__fno_builtin+:} false; then :
13608 $as_echo_n "(cached) " >&6
13609 else
13610 ac_wine_try_cflags_saved=$CFLAGS
13611 CFLAGS="$CFLAGS -fno-builtin"
13612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13613 /* end confdefs.h. */
13614 int main(int argc, char **argv) { return 0; }
13615 _ACEOF
13616 if ac_fn_c_try_link "$LINENO"; then :
13617 ac_cv_cflags__fno_builtin=yes
13618 else
13619 ac_cv_cflags__fno_builtin=no
13621 rm -f core conftest.err conftest.$ac_objext \
13622 conftest$ac_exeext conftest.$ac_ext
13623 CFLAGS=$ac_wine_try_cflags_saved
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13626 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13627 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13628 BUILTINFLAG="-fno-builtin"
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13632 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13633 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13634 $as_echo_n "(cached) " >&6
13635 else
13636 ac_wine_try_cflags_saved=$CFLAGS
13637 CFLAGS="$CFLAGS -fno-strict-aliasing"
13638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13639 /* end confdefs.h. */
13640 int main(int argc, char **argv) { return 0; }
13641 _ACEOF
13642 if ac_fn_c_try_link "$LINENO"; then :
13643 ac_cv_cflags__fno_strict_aliasing=yes
13644 else
13645 ac_cv_cflags__fno_strict_aliasing=no
13647 rm -f core conftest.err conftest.$ac_objext \
13648 conftest$ac_exeext conftest.$ac_ext
13649 CFLAGS=$ac_wine_try_cflags_saved
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13652 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13653 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13654 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13656 saved_CFLAGS=$CFLAGS
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13658 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13659 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13660 $as_echo_n "(cached) " >&6
13661 else
13662 ac_wine_try_cflags_saved=$CFLAGS
13663 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13665 /* end confdefs.h. */
13666 int main(int argc, char **argv) { return 0; }
13667 _ACEOF
13668 if ac_fn_c_try_link "$LINENO"; then :
13669 ac_cv_cflags__Werror_unknown_warning_option=yes
13670 else
13671 ac_cv_cflags__Werror_unknown_warning_option=no
13673 rm -f core conftest.err conftest.$ac_objext \
13674 conftest$ac_exeext conftest.$ac_ext
13675 CFLAGS=$ac_wine_try_cflags_saved
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13678 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13679 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13680 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13683 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13684 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13685 $as_echo_n "(cached) " >&6
13686 else
13687 ac_wine_try_cflags_saved=$CFLAGS
13688 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h. */
13691 int main(int argc, char **argv) { return 0; }
13692 _ACEOF
13693 if ac_fn_c_try_link "$LINENO"; then :
13694 ac_cv_cflags__Wdeclaration_after_statement=yes
13695 else
13696 ac_cv_cflags__Wdeclaration_after_statement=no
13698 rm -f core conftest.err conftest.$ac_objext \
13699 conftest$ac_exeext conftest.$ac_ext
13700 CFLAGS=$ac_wine_try_cflags_saved
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13703 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13704 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13705 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13708 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13709 if ${ac_cv_cflags__Wempty_body+:} false; then :
13710 $as_echo_n "(cached) " >&6
13711 else
13712 ac_wine_try_cflags_saved=$CFLAGS
13713 CFLAGS="$CFLAGS -Wempty-body"
13714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13715 /* end confdefs.h. */
13716 int main(int argc, char **argv) { return 0; }
13717 _ACEOF
13718 if ac_fn_c_try_link "$LINENO"; then :
13719 ac_cv_cflags__Wempty_body=yes
13720 else
13721 ac_cv_cflags__Wempty_body=no
13723 rm -f core conftest.err conftest.$ac_objext \
13724 conftest$ac_exeext conftest.$ac_ext
13725 CFLAGS=$ac_wine_try_cflags_saved
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13728 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13729 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13730 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13733 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13734 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13735 $as_echo_n "(cached) " >&6
13736 else
13737 ac_wine_try_cflags_saved=$CFLAGS
13738 CFLAGS="$CFLAGS -Wignored-qualifiers"
13739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13741 int main(int argc, char **argv) { return 0; }
13742 _ACEOF
13743 if ac_fn_c_try_link "$LINENO"; then :
13744 ac_cv_cflags__Wignored_qualifiers=yes
13745 else
13746 ac_cv_cflags__Wignored_qualifiers=no
13748 rm -f core conftest.err conftest.$ac_objext \
13749 conftest$ac_exeext conftest.$ac_ext
13750 CFLAGS=$ac_wine_try_cflags_saved
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13753 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13754 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13755 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13758 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13759 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13760 $as_echo_n "(cached) " >&6
13761 else
13762 ac_wine_try_cflags_saved=$CFLAGS
13763 CFLAGS="$CFLAGS -Wstrict-prototypes"
13764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h. */
13766 int main(int argc, char **argv) { return 0; }
13767 _ACEOF
13768 if ac_fn_c_try_link "$LINENO"; then :
13769 ac_cv_cflags__Wstrict_prototypes=yes
13770 else
13771 ac_cv_cflags__Wstrict_prototypes=no
13773 rm -f core conftest.err conftest.$ac_objext \
13774 conftest$ac_exeext conftest.$ac_ext
13775 CFLAGS=$ac_wine_try_cflags_saved
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13778 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13779 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13780 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13783 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13784 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13785 $as_echo_n "(cached) " >&6
13786 else
13787 ac_wine_try_cflags_saved=$CFLAGS
13788 CFLAGS="$CFLAGS -Wtype-limits"
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13791 int main(int argc, char **argv) { return 0; }
13792 _ACEOF
13793 if ac_fn_c_try_link "$LINENO"; then :
13794 ac_cv_cflags__Wtype_limits=yes
13795 else
13796 ac_cv_cflags__Wtype_limits=no
13798 rm -f core conftest.err conftest.$ac_objext \
13799 conftest$ac_exeext conftest.$ac_ext
13800 CFLAGS=$ac_wine_try_cflags_saved
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13803 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13804 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13805 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13808 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13809 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13810 $as_echo_n "(cached) " >&6
13811 else
13812 ac_wine_try_cflags_saved=$CFLAGS
13813 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13816 int main(int argc, char **argv) { return 0; }
13817 _ACEOF
13818 if ac_fn_c_try_link "$LINENO"; then :
13819 ac_cv_cflags__Wunused_but_set_parameter=yes
13820 else
13821 ac_cv_cflags__Wunused_but_set_parameter=no
13823 rm -f core conftest.err conftest.$ac_objext \
13824 conftest$ac_exeext conftest.$ac_ext
13825 CFLAGS=$ac_wine_try_cflags_saved
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13828 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13829 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13830 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13833 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13834 if ${ac_cv_cflags__Wvla+:} false; then :
13835 $as_echo_n "(cached) " >&6
13836 else
13837 ac_wine_try_cflags_saved=$CFLAGS
13838 CFLAGS="$CFLAGS -Wvla"
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13841 int main(int argc, char **argv) { return 0; }
13842 _ACEOF
13843 if ac_fn_c_try_link "$LINENO"; then :
13844 ac_cv_cflags__Wvla=yes
13845 else
13846 ac_cv_cflags__Wvla=no
13848 rm -f core conftest.err conftest.$ac_objext \
13849 conftest$ac_exeext conftest.$ac_ext
13850 CFLAGS=$ac_wine_try_cflags_saved
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13853 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13854 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13855 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13858 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13859 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13860 $as_echo_n "(cached) " >&6
13861 else
13862 ac_wine_try_cflags_saved=$CFLAGS
13863 CFLAGS="$CFLAGS -Wwrite-strings"
13864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13865 /* end confdefs.h. */
13866 int main(int argc, char **argv) { return 0; }
13867 _ACEOF
13868 if ac_fn_c_try_link "$LINENO"; then :
13869 ac_cv_cflags__Wwrite_strings=yes
13870 else
13871 ac_cv_cflags__Wwrite_strings=no
13873 rm -f core conftest.err conftest.$ac_objext \
13874 conftest$ac_exeext conftest.$ac_ext
13875 CFLAGS=$ac_wine_try_cflags_saved
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13878 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13879 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13880 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13884 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13885 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13886 $as_echo_n "(cached) " >&6
13887 else
13888 ac_wine_try_cflags_saved=$CFLAGS
13889 CFLAGS="$CFLAGS -Wpointer-arith"
13890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h. */
13892 int main(int argc, char **argv) { return 0; }
13893 _ACEOF
13894 if ac_fn_c_try_link "$LINENO"; then :
13895 ac_cv_cflags__Wpointer_arith=yes
13896 else
13897 ac_cv_cflags__Wpointer_arith=no
13899 rm -f core conftest.err conftest.$ac_objext \
13900 conftest$ac_exeext conftest.$ac_ext
13901 CFLAGS=$ac_wine_try_cflags_saved
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13904 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13905 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13906 saved_string_h_CFLAGS=$CFLAGS
13907 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13909 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13910 if ${ac_cv_c_string_h_warnings+:} false; then :
13911 $as_echo_n "(cached) " >&6
13912 else
13913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13915 #include <string.h>
13917 main ()
13921 return 0;
13923 _ACEOF
13924 if ac_fn_c_try_compile "$LINENO"; then :
13925 ac_cv_c_string_h_warnings=no
13926 else
13927 ac_cv_c_string_h_warnings=yes
13929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13932 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13933 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13934 CFLAGS=$saved_string_h_CFLAGS
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13938 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13939 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13940 $as_echo_n "(cached) " >&6
13941 else
13942 ac_wine_try_cflags_saved=$CFLAGS
13943 CFLAGS="$CFLAGS -Wlogical-op"
13944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13946 int main(int argc, char **argv) { return 0; }
13947 _ACEOF
13948 if ac_fn_c_try_link "$LINENO"; then :
13949 ac_cv_cflags__Wlogical_op=yes
13950 else
13951 ac_cv_cflags__Wlogical_op=no
13953 rm -f core conftest.err conftest.$ac_objext \
13954 conftest$ac_exeext conftest.$ac_ext
13955 CFLAGS=$ac_wine_try_cflags_saved
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13958 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13959 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13960 saved_string_h_CFLAGS=$CFLAGS
13961 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13963 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13964 if ${ac_cv_c_logicalop_noisy+:} false; then :
13965 $as_echo_n "(cached) " >&6
13966 else
13967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13968 /* end confdefs.h. */
13969 #include <string.h>
13970 char*f(const char *h,char n) {return strchr(h,n);}
13972 main ()
13976 return 0;
13978 _ACEOF
13979 if ac_fn_c_try_compile "$LINENO"; then :
13980 ac_cv_c_logicalop_noisy=no
13981 else
13982 ac_cv_c_logicalop_noisy=yes
13984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13987 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13988 CFLAGS=$saved_string_h_CFLAGS
13989 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13992 CFLAGS=$saved_CFLAGS
13994 for ac_flag in $CFLAGS; do
13995 case $ac_flag in
13996 -g) case $host_os in
13997 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13998 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13999 if ${ac_cv_cflags__gstabsp+:} false; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 ac_wine_try_cflags_saved=$CFLAGS
14003 CFLAGS="$CFLAGS -gstabs+"
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14006 int main(int argc, char **argv) { return 0; }
14007 _ACEOF
14008 if ac_fn_c_try_link "$LINENO"; then :
14009 ac_cv_cflags__gstabsp=yes
14010 else
14011 ac_cv_cflags__gstabsp=no
14013 rm -f core conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14015 CFLAGS=$ac_wine_try_cflags_saved
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14018 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14019 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14020 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14021 fi ;;
14022 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14023 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14024 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14025 $as_echo_n "(cached) " >&6
14026 else
14027 ac_wine_try_cflags_saved=$CFLAGS
14028 CFLAGS="$CFLAGS -gdwarf-2"
14029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14031 int main(int argc, char **argv) { return 0; }
14032 _ACEOF
14033 if ac_fn_c_try_link "$LINENO"; then :
14034 ac_cv_cflags__gdwarf_2=yes
14035 else
14036 ac_cv_cflags__gdwarf_2=no
14038 rm -f core conftest.err conftest.$ac_objext \
14039 conftest$ac_exeext conftest.$ac_ext
14040 CFLAGS=$ac_wine_try_cflags_saved
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14043 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14044 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14045 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14048 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14049 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 ac_wine_try_cflags_saved=$CFLAGS
14053 CFLAGS="$CFLAGS -gstrict-dwarf"
14054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14056 int main(int argc, char **argv) { return 0; }
14057 _ACEOF
14058 if ac_fn_c_try_link "$LINENO"; then :
14059 ac_cv_cflags__gstrict_dwarf=yes
14060 else
14061 ac_cv_cflags__gstrict_dwarf=no
14063 rm -f core conftest.err conftest.$ac_objext \
14064 conftest$ac_exeext conftest.$ac_ext
14065 CFLAGS=$ac_wine_try_cflags_saved
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14068 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14069 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14070 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14071 fi ;;
14072 esac ;;
14073 esac
14074 done
14076 case $host_cpu in
14077 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14078 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14079 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14080 $as_echo_n "(cached) " >&6
14081 else
14082 ac_wine_try_cflags_saved=$CFLAGS
14083 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14086 int main(int argc, char **argv) { return 0; }
14087 _ACEOF
14088 if ac_fn_c_try_link "$LINENO"; then :
14089 ac_cv_cflags__fno_omit_frame_pointer=yes
14090 else
14091 ac_cv_cflags__fno_omit_frame_pointer=no
14093 rm -f core conftest.err conftest.$ac_objext \
14094 conftest$ac_exeext conftest.$ac_ext
14095 CFLAGS=$ac_wine_try_cflags_saved
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14098 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14099 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14100 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14101 fi ;;
14102 esac
14104 case $host in
14105 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14106 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14107 if ${ac_cv_cflags__Wno_format+:} false; then :
14108 $as_echo_n "(cached) " >&6
14109 else
14110 ac_wine_try_cflags_saved=$CFLAGS
14111 CFLAGS="$CFLAGS -Wno-format"
14112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14114 int main(int argc, char **argv) { return 0; }
14115 _ACEOF
14116 if ac_fn_c_try_link "$LINENO"; then :
14117 ac_cv_cflags__Wno_format=yes
14118 else
14119 ac_cv_cflags__Wno_format=no
14121 rm -f core conftest.err conftest.$ac_objext \
14122 conftest$ac_exeext conftest.$ac_ext
14123 CFLAGS=$ac_wine_try_cflags_saved
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14126 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14127 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14128 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14129 fi ;;
14130 esac
14132 if test "x$enable_maintainer_mode" = "xyes"
14133 then
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14135 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14136 if ${ac_cv_cflags__Werror+:} false; then :
14137 $as_echo_n "(cached) " >&6
14138 else
14139 ac_wine_try_cflags_saved=$CFLAGS
14140 CFLAGS="$CFLAGS -Werror"
14141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14142 /* end confdefs.h. */
14143 int main(int argc, char **argv) { return 0; }
14144 _ACEOF
14145 if ac_fn_c_try_link "$LINENO"; then :
14146 ac_cv_cflags__Werror=yes
14147 else
14148 ac_cv_cflags__Werror=no
14150 rm -f core conftest.err conftest.$ac_objext \
14151 conftest$ac_exeext conftest.$ac_ext
14152 CFLAGS=$ac_wine_try_cflags_saved
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14155 $as_echo "$ac_cv_cflags__Werror" >&6; }
14156 if test "x$ac_cv_cflags__Werror" = xyes; then :
14157 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14161 saved_CFLAGS="$CFLAGS"
14162 CFLAGS="$CFLAGS -Werror"
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14164 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14165 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14166 $as_echo_n "(cached) " >&6
14167 else
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14170 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14172 main ()
14176 return 0;
14178 _ACEOF
14179 if ac_fn_c_try_compile "$LINENO"; then :
14180 ac_cv_have_ms_hook_prologue="yes"
14181 else
14182 ac_cv_have_ms_hook_prologue="no"
14184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14187 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14188 CFLAGS="$saved_CFLAGS"
14189 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14190 then
14192 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14194 else
14195 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14202 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14203 if ${ac_cv_c_fortify_enabled+:} false; then :
14204 $as_echo_n "(cached) " >&6
14205 else
14206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14207 /* end confdefs.h. */
14208 #include <string.h>
14210 main ()
14212 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14213 #error Fortify enabled
14214 #endif
14216 return 0;
14218 _ACEOF
14219 if ac_fn_c_try_compile "$LINENO"; then :
14220 ac_cv_c_fortify_enabled=no
14221 else
14222 ac_cv_c_fortify_enabled=yes
14224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14227 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14228 if test "$ac_cv_c_fortify_enabled" = yes
14229 then
14230 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14235 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14236 if ${ac_cv_c_extern_prefix+:} false; then :
14237 $as_echo_n "(cached) " >&6
14238 else
14239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14241 extern int ac_test;
14243 main ()
14245 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14247 return 0;
14249 _ACEOF
14250 if ac_fn_c_try_link "$LINENO"; then :
14251 ac_cv_c_extern_prefix="yes"
14252 else
14253 ac_cv_c_extern_prefix="no"
14255 rm -f core conftest.err conftest.$ac_objext \
14256 conftest$ac_exeext conftest.$ac_ext
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14259 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14261 case $host_cpu in
14262 *i[3456789]86*)
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14264 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14265 if ${ac_cv_c_stdcall_suffix+:} false; then :
14266 $as_echo_n "(cached) " >&6
14267 else
14268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14270 #ifndef _MSC_VER
14271 #define __stdcall __attribute__((__stdcall__))
14272 #endif
14273 int __stdcall ac_test(int i) { return i; }
14275 main ()
14277 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14279 return 0;
14281 _ACEOF
14282 if ac_fn_c_try_link "$LINENO"; then :
14283 ac_cv_c_stdcall_suffix="yes"
14284 else
14285 ac_cv_c_stdcall_suffix="no"
14287 rm -f core conftest.err conftest.$ac_objext \
14288 conftest$ac_exeext conftest.$ac_ext
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14291 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14292 *) ac_cv_c_stdcall_suffix="no" ;;
14293 esac
14296 if test "$ac_cv_c_extern_prefix" = "yes"
14297 then
14298 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14300 asm_name_prefix="_"
14301 else
14302 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14304 asm_name_prefix=""
14308 if test "$ac_cv_c_stdcall_suffix" = "yes"
14309 then
14310 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14312 else
14313 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14319 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14320 if ${ac_cv_asm_func_def+:} false; then :
14321 $as_echo_n "(cached) " >&6
14322 else
14323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14327 main ()
14329 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14331 return 0;
14333 _ACEOF
14334 if ac_fn_c_try_link "$LINENO"; then :
14335 ac_cv_asm_func_def=".def"
14336 else
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14341 main ()
14343 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14345 return 0;
14347 _ACEOF
14348 if ac_fn_c_try_link "$LINENO"; then :
14349 ac_cv_asm_func_def=".type @function"
14350 else
14351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14352 /* end confdefs.h. */
14355 main ()
14357 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14359 return 0;
14361 _ACEOF
14362 if ac_fn_c_try_link "$LINENO"; then :
14363 ac_cv_asm_func_def=".type 2"
14364 else
14365 ac_cv_asm_func_def="unknown"
14367 rm -f core conftest.err conftest.$ac_objext \
14368 conftest$ac_exeext conftest.$ac_ext
14370 rm -f core conftest.err conftest.$ac_objext \
14371 conftest$ac_exeext conftest.$ac_ext
14373 rm -f core conftest.err conftest.$ac_objext \
14374 conftest$ac_exeext conftest.$ac_ext
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14377 $as_echo "$ac_cv_asm_func_def" >&6; }
14380 case "$ac_cv_asm_func_def" in
14381 ".def")
14382 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14384 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14385 ".type @function")
14386 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14388 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14389 ".type 2")
14390 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14392 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14394 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14396 asm_func_header="" ;;
14397 esac
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14400 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14401 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14402 $as_echo_n "(cached) " >&6
14403 else
14404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14405 /* end confdefs.h. */
14406 asm(".text\n\t.long 0");
14408 main ()
14412 return 0;
14414 _ACEOF
14415 if ac_fn_c_try_compile "$LINENO"; then :
14416 ac_cv_c_asm_outside_funcs="yes"
14417 else
14418 ac_cv_c_asm_outside_funcs="no"
14420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14423 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14426 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14427 if ${ac_cv_c_dot_previous+:} false; then :
14428 $as_echo_n "(cached) " >&6
14429 else
14430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14431 /* end confdefs.h. */
14434 main ()
14436 asm(".text\nac_test:\t.long 0\n\t.previous");
14438 return 0;
14440 _ACEOF
14441 if ac_fn_c_try_link "$LINENO"; then :
14442 ac_cv_c_dot_previous="yes"
14443 else
14444 ac_cv_c_dot_previous="no"
14446 rm -f core conftest.err conftest.$ac_objext \
14447 conftest$ac_exeext conftest.$ac_ext
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14450 $as_echo "$ac_cv_c_dot_previous" >&6; }
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14453 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14454 if ${ac_cv_c_cfi_support+:} false; then :
14455 $as_echo_n "(cached) " >&6
14456 else
14457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14459 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14461 main ()
14465 return 0;
14467 _ACEOF
14468 if ac_fn_c_try_compile "$LINENO"; then :
14469 ac_cv_c_cfi_support="yes"
14470 else
14471 ac_cv_c_cfi_support="no"
14473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14476 $as_echo "$ac_cv_c_cfi_support" >&6; }
14478 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14479 asm_func_trailer=""
14480 if test "$ac_cv_c_dot_previous" = "yes"
14481 then
14482 asm_func_trailer="\\n\\t.previous"
14484 if test "$ac_cv_c_cfi_support" = "yes"
14485 then
14486 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14487 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14489 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14491 UNWINDFLAGS=-fasynchronous-unwind-tables
14493 else
14494 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14498 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14501 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14502 then
14503 cat >>confdefs.h <<_ACEOF
14504 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14505 _ACEOF
14507 else
14508 cat >>confdefs.h <<_ACEOF
14509 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14510 _ACEOF
14514 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14517 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14521 case $build_os in
14522 cygwin*|mingw32*) TOOLSEXT=".exe"
14524 esac
14526 case $host_os in
14527 linux*)
14528 case $host_cpu in
14529 *i[3456789]86*|x86_64*)
14530 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14531 loader_programs="$loader_programs $wine_binary-preloader"
14532 as_fn_append LOADER_RULES "
14533 $wine_binary-preloader: preloader.o
14534 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14536 install install-lib:: $wine_binary-preloader
14537 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14539 uninstall::
14540 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14542 preloader_EXTRADEFS = $BUILTINFLAG
14543 " ;;
14544 esac
14546 esac
14547 as_fn_append LOADER_RULES "
14548 PROGRAMS = $loader_programs
14552 ac_save_CFLAGS="$CFLAGS"
14553 CFLAGS="$CFLAGS $BUILTINFLAG"
14554 for ac_func in \
14555 __res_get_state \
14556 __res_getservers \
14557 _finite \
14558 _isnan \
14559 _pclose \
14560 _popen \
14561 _snprintf \
14562 _spawnvp \
14563 _strdup \
14564 _stricmp \
14565 _strnicmp \
14566 _strtoi64 \
14567 _strtoui64 \
14568 _vsnprintf \
14569 asctime_r \
14570 chsize \
14571 dlopen \
14572 epoll_create \
14573 ffs \
14574 fnmatch \
14575 fork \
14576 fpclass \
14577 fstatfs \
14578 fstatvfs \
14579 ftruncate \
14580 futimens \
14581 futimes \
14582 futimesat \
14583 getattrlist \
14584 getdirentries \
14585 getopt_long_only \
14586 getpwuid \
14587 gettimeofday \
14588 getuid \
14589 if_nameindex \
14590 kqueue \
14591 lstat \
14592 memmove \
14593 mmap \
14594 pclose \
14595 pipe2 \
14596 poll \
14597 popen \
14598 port_create \
14599 prctl \
14600 pread \
14601 proc_pidinfo \
14602 pwrite \
14603 readdir \
14604 readlink \
14605 sched_yield \
14606 select \
14607 setproctitle \
14608 setrlimit \
14609 settimeofday \
14610 sigaltstack \
14611 sigprocmask \
14612 snprintf \
14613 statfs \
14614 statvfs \
14615 strcasecmp \
14616 strdup \
14617 strerror \
14618 strncasecmp \
14619 strtold \
14620 strtoll \
14621 strtoull \
14622 symlink \
14623 tcdrain \
14624 thr_kill2 \
14625 timegm \
14626 usleep \
14627 vsnprintf
14629 do :
14630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14632 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14633 cat >>confdefs.h <<_ACEOF
14634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14635 _ACEOF
14638 done
14640 CFLAGS="$ac_save_CFLAGS"
14642 if test "$ac_cv_func_dlopen" = no
14643 then
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14645 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14646 if ${ac_cv_lib_dl_dlopen+:} false; then :
14647 $as_echo_n "(cached) " >&6
14648 else
14649 ac_check_lib_save_LIBS=$LIBS
14650 LIBS="-ldl $LIBS"
14651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14654 /* Override any GCC internal prototype to avoid an error.
14655 Use char because int might match the return type of a GCC
14656 builtin and then its argument prototype would still apply. */
14657 #ifdef __cplusplus
14658 extern "C"
14659 #endif
14660 char dlopen ();
14662 main ()
14664 return dlopen ();
14666 return 0;
14668 _ACEOF
14669 if ac_fn_c_try_link "$LINENO"; then :
14670 ac_cv_lib_dl_dlopen=yes
14671 else
14672 ac_cv_lib_dl_dlopen=no
14674 rm -f core conftest.err conftest.$ac_objext \
14675 conftest$ac_exeext conftest.$ac_ext
14676 LIBS=$ac_check_lib_save_LIBS
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14679 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14680 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14681 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14682 DL_LIBS="-ldl"
14687 ac_wine_check_funcs_save_LIBS="$LIBS"
14688 LIBS="$LIBS $DL_LIBS"
14689 for ac_func in dladdr
14690 do :
14691 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14692 if test "x$ac_cv_func_dladdr" = xyes; then :
14693 cat >>confdefs.h <<_ACEOF
14694 #define HAVE_DLADDR 1
14695 _ACEOF
14698 done
14700 LIBS="$ac_wine_check_funcs_save_LIBS"
14702 if test "$ac_cv_func_poll" = no
14703 then
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14705 $as_echo_n "checking for poll in -lpoll... " >&6; }
14706 if ${ac_cv_lib_poll_poll+:} false; then :
14707 $as_echo_n "(cached) " >&6
14708 else
14709 ac_check_lib_save_LIBS=$LIBS
14710 LIBS="-lpoll $LIBS"
14711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712 /* end confdefs.h. */
14714 /* Override any GCC internal prototype to avoid an error.
14715 Use char because int might match the return type of a GCC
14716 builtin and then its argument prototype would still apply. */
14717 #ifdef __cplusplus
14718 extern "C"
14719 #endif
14720 char poll ();
14722 main ()
14724 return poll ();
14726 return 0;
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"; then :
14730 ac_cv_lib_poll_poll=yes
14731 else
14732 ac_cv_lib_poll_poll=no
14734 rm -f core conftest.err conftest.$ac_objext \
14735 conftest$ac_exeext conftest.$ac_ext
14736 LIBS=$ac_check_lib_save_LIBS
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14739 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14740 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14741 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14742 POLL_LIBS="-lpoll"
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14749 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14750 if ${ac_cv_search_gethostbyname+:} false; then :
14751 $as_echo_n "(cached) " >&6
14752 else
14753 ac_func_search_save_LIBS=$LIBS
14754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14757 /* Override any GCC internal prototype to avoid an error.
14758 Use char because int might match the return type of a GCC
14759 builtin and then its argument prototype would still apply. */
14760 #ifdef __cplusplus
14761 extern "C"
14762 #endif
14763 char gethostbyname ();
14765 main ()
14767 return gethostbyname ();
14769 return 0;
14771 _ACEOF
14772 for ac_lib in '' nsl; do
14773 if test -z "$ac_lib"; then
14774 ac_res="none required"
14775 else
14776 ac_res=-l$ac_lib
14777 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14779 if ac_fn_c_try_link "$LINENO"; then :
14780 ac_cv_search_gethostbyname=$ac_res
14782 rm -f core conftest.err conftest.$ac_objext \
14783 conftest$ac_exeext
14784 if ${ac_cv_search_gethostbyname+:} false; then :
14785 break
14787 done
14788 if ${ac_cv_search_gethostbyname+:} false; then :
14790 else
14791 ac_cv_search_gethostbyname=no
14793 rm conftest.$ac_ext
14794 LIBS=$ac_func_search_save_LIBS
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14797 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14798 ac_res=$ac_cv_search_gethostbyname
14799 if test "$ac_res" != no; then :
14800 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14806 $as_echo_n "checking for library containing connect... " >&6; }
14807 if ${ac_cv_search_connect+:} false; then :
14808 $as_echo_n "(cached) " >&6
14809 else
14810 ac_func_search_save_LIBS=$LIBS
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14817 #ifdef __cplusplus
14818 extern "C"
14819 #endif
14820 char connect ();
14822 main ()
14824 return connect ();
14826 return 0;
14828 _ACEOF
14829 for ac_lib in '' socket; do
14830 if test -z "$ac_lib"; then
14831 ac_res="none required"
14832 else
14833 ac_res=-l$ac_lib
14834 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14836 if ac_fn_c_try_link "$LINENO"; then :
14837 ac_cv_search_connect=$ac_res
14839 rm -f core conftest.err conftest.$ac_objext \
14840 conftest$ac_exeext
14841 if ${ac_cv_search_connect+:} false; then :
14842 break
14844 done
14845 if ${ac_cv_search_connect+:} false; then :
14847 else
14848 ac_cv_search_connect=no
14850 rm conftest.$ac_ext
14851 LIBS=$ac_func_search_save_LIBS
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14854 $as_echo "$ac_cv_search_connect" >&6; }
14855 ac_res=$ac_cv_search_connect
14856 if test "$ac_res" != no; then :
14857 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14863 $as_echo_n "checking for library containing inet_aton... " >&6; }
14864 if ${ac_cv_search_inet_aton+:} false; then :
14865 $as_echo_n "(cached) " >&6
14866 else
14867 ac_func_search_save_LIBS=$LIBS
14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14871 /* Override any GCC internal prototype to avoid an error.
14872 Use char because int might match the return type of a GCC
14873 builtin and then its argument prototype would still apply. */
14874 #ifdef __cplusplus
14875 extern "C"
14876 #endif
14877 char inet_aton ();
14879 main ()
14881 return inet_aton ();
14883 return 0;
14885 _ACEOF
14886 for ac_lib in '' resolv; do
14887 if test -z "$ac_lib"; then
14888 ac_res="none required"
14889 else
14890 ac_res=-l$ac_lib
14891 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14893 if ac_fn_c_try_link "$LINENO"; then :
14894 ac_cv_search_inet_aton=$ac_res
14896 rm -f core conftest.err conftest.$ac_objext \
14897 conftest$ac_exeext
14898 if ${ac_cv_search_inet_aton+:} false; then :
14899 break
14901 done
14902 if ${ac_cv_search_inet_aton+:} false; then :
14904 else
14905 ac_cv_search_inet_aton=no
14907 rm conftest.$ac_ext
14908 LIBS=$ac_func_search_save_LIBS
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14911 $as_echo "$ac_cv_search_inet_aton" >&6; }
14912 ac_res=$ac_cv_search_inet_aton
14913 if test "$ac_res" != no; then :
14914 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14919 for ac_func in \
14920 getaddrinfo \
14921 getnameinfo \
14922 getnetbyname \
14923 getprotobyname \
14924 getprotobynumber \
14925 getservbyport \
14926 inet_addr \
14927 inet_network \
14928 inet_ntop \
14929 inet_pton \
14930 sendmsg \
14931 socketpair \
14933 do :
14934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14936 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14937 cat >>confdefs.h <<_ACEOF
14938 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14939 _ACEOF
14942 done
14945 ac_save_LIBS=$LIBS
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14947 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14948 if ${ac_cv_search_clock_gettime+:} false; then :
14949 $as_echo_n "(cached) " >&6
14950 else
14951 ac_func_search_save_LIBS=$LIBS
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14955 /* Override any GCC internal prototype to avoid an error.
14956 Use char because int might match the return type of a GCC
14957 builtin and then its argument prototype would still apply. */
14958 #ifdef __cplusplus
14959 extern "C"
14960 #endif
14961 char clock_gettime ();
14963 main ()
14965 return clock_gettime ();
14967 return 0;
14969 _ACEOF
14970 for ac_lib in '' rt; do
14971 if test -z "$ac_lib"; then
14972 ac_res="none required"
14973 else
14974 ac_res=-l$ac_lib
14975 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14977 if ac_fn_c_try_link "$LINENO"; then :
14978 ac_cv_search_clock_gettime=$ac_res
14980 rm -f core conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext
14982 if ${ac_cv_search_clock_gettime+:} false; then :
14983 break
14985 done
14986 if ${ac_cv_search_clock_gettime+:} false; then :
14988 else
14989 ac_cv_search_clock_gettime=no
14991 rm conftest.$ac_ext
14992 LIBS=$ac_func_search_save_LIBS
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14995 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14996 ac_res=$ac_cv_search_clock_gettime
14997 if test "$ac_res" != no; then :
14998 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15000 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15002 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15006 LIBS=$ac_save_LIBS
15008 LDAP_LIBS=""
15010 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15011 then
15012 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15014 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15016 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15017 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15018 $as_echo_n "(cached) " >&6
15019 else
15020 ac_check_lib_save_LIBS=$LIBS
15021 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15025 /* Override any GCC internal prototype to avoid an error.
15026 Use char because int might match the return type of a GCC
15027 builtin and then its argument prototype would still apply. */
15028 #ifdef __cplusplus
15029 extern "C"
15030 #endif
15031 char ldap_initialize ();
15033 main ()
15035 return ldap_initialize ();
15037 return 0;
15039 _ACEOF
15040 if ac_fn_c_try_link "$LINENO"; then :
15041 ac_cv_lib_ldap_r_ldap_initialize=yes
15042 else
15043 ac_cv_lib_ldap_r_ldap_initialize=no
15045 rm -f core conftest.err conftest.$ac_objext \
15046 conftest$ac_exeext conftest.$ac_ext
15047 LIBS=$ac_check_lib_save_LIBS
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15050 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15051 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15053 $as_echo_n "checking for ber_init in -llber... " >&6; }
15054 if ${ac_cv_lib_lber_ber_init+:} false; then :
15055 $as_echo_n "(cached) " >&6
15056 else
15057 ac_check_lib_save_LIBS=$LIBS
15058 LIBS="-llber $PTHREAD_LIBS $LIBS"
15059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15062 /* Override any GCC internal prototype to avoid an error.
15063 Use char because int might match the return type of a GCC
15064 builtin and then its argument prototype would still apply. */
15065 #ifdef __cplusplus
15066 extern "C"
15067 #endif
15068 char ber_init ();
15070 main ()
15072 return ber_init ();
15074 return 0;
15076 _ACEOF
15077 if ac_fn_c_try_link "$LINENO"; then :
15078 ac_cv_lib_lber_ber_init=yes
15079 else
15080 ac_cv_lib_lber_ber_init=no
15082 rm -f core conftest.err conftest.$ac_objext \
15083 conftest$ac_exeext conftest.$ac_ext
15084 LIBS=$ac_check_lib_save_LIBS
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15087 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15088 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15090 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15092 LDAP_LIBS="-lldap_r -llber"
15099 ac_wine_check_funcs_save_LIBS="$LIBS"
15100 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15101 for ac_func in \
15102 ldap_count_references \
15103 ldap_first_reference \
15104 ldap_next_reference \
15105 ldap_parse_reference \
15106 ldap_parse_sort_control \
15107 ldap_parse_sortresponse_control \
15108 ldap_parse_vlv_control \
15109 ldap_parse_vlvresponse_control
15110 do :
15111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15113 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15114 cat >>confdefs.h <<_ACEOF
15115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15116 _ACEOF
15119 done
15121 LIBS="$ac_wine_check_funcs_save_LIBS"
15123 if test "x$LDAP_LIBS" = "x"; then :
15124 case "x$with_ldap" in
15125 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15126 xno) ;;
15127 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15128 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15129 esac
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15133 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15134 if ${wine_cv_one_arg_mkdir+:} false; then :
15135 $as_echo_n "(cached) " >&6
15136 else
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15139 #include <sys/stat.h>
15141 main ()
15143 mkdir("foo");
15145 return 0;
15147 _ACEOF
15148 if ac_fn_c_try_compile "$LINENO"; then :
15149 wine_cv_one_arg_mkdir=yes
15150 else
15151 wine_cv_one_arg_mkdir=no
15153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15156 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15157 if test "$wine_cv_one_arg_mkdir" = "yes"
15158 then
15160 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15165 $as_echo_n "checking for sched_setaffinity... " >&6; }
15166 if ${wine_cv_have_sched_setaffinity+:} false; then :
15167 $as_echo_n "(cached) " >&6
15168 else
15169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15171 #define _GNU_SOURCE
15172 #include <sched.h>
15174 main ()
15176 sched_setaffinity(0, 0, 0);
15178 return 0;
15180 _ACEOF
15181 if ac_fn_c_try_link "$LINENO"; then :
15182 wine_cv_have_sched_setaffinity=yes
15183 else
15184 wine_cv_have_sched_setaffinity=no
15186 rm -f core conftest.err conftest.$ac_objext \
15187 conftest$ac_exeext conftest.$ac_ext
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15190 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15191 if test "$wine_cv_have_sched_setaffinity" = "yes"
15192 then
15194 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15199 $as_echo_n "checking for fallocate... " >&6; }
15200 if ${wine_cv_have_fallocate+:} false; then :
15201 $as_echo_n "(cached) " >&6
15202 else
15203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15204 /* end confdefs.h. */
15205 #define _GNU_SOURCE
15206 #include <fcntl.h>
15208 main ()
15210 fallocate(-1, 0, 0, 0);
15212 return 0;
15214 _ACEOF
15215 if ac_fn_c_try_link "$LINENO"; then :
15216 wine_cv_have_fallocate=yes
15217 else
15218 wine_cv_have_fallocate=no
15220 rm -f core conftest.err conftest.$ac_objext \
15221 conftest$ac_exeext conftest.$ac_ext
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15224 $as_echo "$wine_cv_have_fallocate" >&6; }
15225 if test "$wine_cv_have_fallocate" = "yes"
15226 then
15228 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15234 $as_echo_n "checking for inline... " >&6; }
15235 if ${ac_cv_c_inline+:} false; then :
15236 $as_echo_n "(cached) " >&6
15237 else
15238 ac_cv_c_inline=no
15239 for ac_kw in inline __inline__ __inline; do
15240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h. */
15242 #ifndef __cplusplus
15243 typedef int foo_t;
15244 static $ac_kw foo_t static_foo () {return 0; }
15245 $ac_kw foo_t foo () {return 0; }
15246 #endif
15248 _ACEOF
15249 if ac_fn_c_try_compile "$LINENO"; then :
15250 ac_cv_c_inline=$ac_kw
15252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15253 test "$ac_cv_c_inline" != no && break
15254 done
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15258 $as_echo "$ac_cv_c_inline" >&6; }
15260 case $ac_cv_c_inline in
15261 inline | yes) ;;
15263 case $ac_cv_c_inline in
15264 no) ac_val=;;
15265 *) ac_val=$ac_cv_c_inline;;
15266 esac
15267 cat >>confdefs.h <<_ACEOF
15268 #ifndef __cplusplus
15269 #define inline $ac_val
15270 #endif
15271 _ACEOF
15273 esac
15275 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15276 if test "x$ac_cv_type_mode_t" = xyes; then :
15278 cat >>confdefs.h <<_ACEOF
15279 #define HAVE_MODE_T 1
15280 _ACEOF
15284 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15285 if test "x$ac_cv_type_off_t" = xyes; then :
15287 cat >>confdefs.h <<_ACEOF
15288 #define HAVE_OFF_T 1
15289 _ACEOF
15293 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15294 if test "x$ac_cv_type_pid_t" = xyes; then :
15296 cat >>confdefs.h <<_ACEOF
15297 #define HAVE_PID_T 1
15298 _ACEOF
15302 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15303 if test "x$ac_cv_type_size_t" = xyes; then :
15305 cat >>confdefs.h <<_ACEOF
15306 #define HAVE_SIZE_T 1
15307 _ACEOF
15311 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15312 if test "x$ac_cv_type_ssize_t" = xyes; then :
15314 cat >>confdefs.h <<_ACEOF
15315 #define HAVE_SSIZE_T 1
15316 _ACEOF
15320 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15321 if test "x$ac_cv_type_long_long" = xyes; then :
15323 cat >>confdefs.h <<_ACEOF
15324 #define HAVE_LONG_LONG 1
15325 _ACEOF
15329 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15330 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15332 cat >>confdefs.h <<_ACEOF
15333 #define HAVE_FSBLKCNT_T 1
15334 _ACEOF
15338 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15339 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15341 cat >>confdefs.h <<_ACEOF
15342 #define HAVE_FSFILCNT_T 1
15343 _ACEOF
15348 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15349 #include <signal.h>
15351 if test "x$ac_cv_type_sigset_t" = xyes; then :
15353 cat >>confdefs.h <<_ACEOF
15354 #define HAVE_SIGSET_T 1
15355 _ACEOF
15360 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15362 if test "x$ac_cv_type_request_sense" = xyes; then :
15364 cat >>confdefs.h <<_ACEOF
15365 #define HAVE_REQUEST_SENSE 1
15366 _ACEOF
15372 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15373 #ifdef HAVE_SYS_SOCKET_H
15374 #include <sys/socket.h>
15375 #endif
15376 #ifdef HAVE_SYS_SOCKETVAR_H
15377 #include <sys/socketvar.h>
15378 #endif
15379 #ifdef HAVE_NET_ROUTE_H
15380 #include <net/route.h>
15381 #endif
15382 #ifdef HAVE_NETINET_IN_H
15383 #include <netinet/in.h>
15384 #endif
15385 #ifdef HAVE_NETINET_IN_SYSTM_H
15386 #include <netinet/in_systm.h>
15387 #endif
15388 #ifdef HAVE_NETINET_IP_H
15389 #include <netinet/ip.h>
15390 #endif
15391 #ifdef HAVE_NETINET_IN_PCB_H
15392 #include <netinet/in_pcb.h>
15393 #endif
15395 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15397 cat >>confdefs.h <<_ACEOF
15398 #define HAVE_STRUCT_XINPGEN 1
15399 _ACEOF
15405 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15406 #include <link.h>
15407 #endif
15408 #ifdef HAVE_SYS_LINK_H
15409 #include <sys/link.h>
15410 #endif
15412 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15414 cat >>confdefs.h <<_ACEOF
15415 #define HAVE_STRUCT_R_DEBUG 1
15416 _ACEOF
15420 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15421 #include <link.h>
15422 #endif
15423 #ifdef HAVE_SYS_LINK_H
15424 #include <sys/link.h>
15425 #endif
15427 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15429 cat >>confdefs.h <<_ACEOF
15430 #define HAVE_STRUCT_LINK_MAP 1
15431 _ACEOF
15437 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15438 #include <linux/input.h>
15439 #endif
15441 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15443 cat >>confdefs.h <<_ACEOF
15444 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15445 _ACEOF
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15452 $as_echo_n "checking for sigaddset... " >&6; }
15453 if ${wine_cv_have_sigaddset+:} false; then :
15454 $as_echo_n "(cached) " >&6
15455 else
15456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15457 /* end confdefs.h. */
15458 #include <signal.h>
15460 main ()
15462 sigset_t set; sigaddset(&set,SIGTERM);
15464 return 0;
15466 _ACEOF
15467 if ac_fn_c_try_link "$LINENO"; then :
15468 wine_cv_have_sigaddset=yes
15469 else
15470 wine_cv_have_sigaddset=no
15472 rm -f core conftest.err conftest.$ac_objext \
15473 conftest$ac_exeext conftest.$ac_ext
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15476 $as_echo "$wine_cv_have_sigaddset" >&6; }
15477 if test "$wine_cv_have_sigaddset" = "yes"
15478 then
15480 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15486 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15487 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15488 $as_echo_n "(cached) " >&6
15489 else
15490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15491 /* end confdefs.h. */
15492 #include <netdb.h>
15494 main ()
15497 char *name=0;
15498 struct hostent he;
15499 struct hostent *result;
15500 char *buf=0;
15501 int bufsize=0;
15502 int errnr;
15503 char *addr=0;
15504 int addrlen=0;
15505 int addrtype=0;
15506 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15507 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15510 return 0;
15512 _ACEOF
15513 if ac_fn_c_try_link "$LINENO"; then :
15514 wine_cv_linux_gethostbyname_r_6=yes
15515 else
15516 wine_cv_linux_gethostbyname_r_6=no
15519 rm -f core conftest.err conftest.$ac_objext \
15520 conftest$ac_exeext conftest.$ac_ext
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15524 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15525 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15526 then
15528 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15532 if test "$ac_cv_header_linux_joystick_h" = "yes"
15533 then
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15535 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15536 if ${wine_cv_linux_joystick_22_api+:} false; then :
15537 $as_echo_n "(cached) " >&6
15538 else
15539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15540 /* end confdefs.h. */
15542 #include <sys/ioctl.h>
15543 #include <sys/types.h>
15544 #include <linux/joystick.h>
15546 struct js_event blub;
15547 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15548 #error "no 2.2 header"
15549 #endif
15552 main ()
15554 /*empty*/
15556 return 0;
15558 _ACEOF
15559 if ac_fn_c_try_compile "$LINENO"; then :
15560 wine_cv_linux_joystick_22_api=yes
15561 else
15562 wine_cv_linux_joystick_22_api=no
15564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15568 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15569 if test "$wine_cv_linux_joystick_22_api" = "yes"
15570 then
15572 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15578 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15579 #ifdef HAVE_SYS_PARAM_H
15580 # include <sys/param.h>
15581 #endif
15582 #ifdef HAVE_SYS_MOUNT_H
15583 # include <sys/mount.h>
15584 #endif
15585 #ifdef HAVE_SYS_VFS_H
15586 # include <sys/vfs.h>
15587 #endif
15588 #ifdef HAVE_SYS_STATFS_H
15589 # include <sys/statfs.h>
15590 #endif
15592 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15594 cat >>confdefs.h <<_ACEOF
15595 #define HAVE_STRUCT_STATFS_F_BFREE 1
15596 _ACEOF
15600 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15601 #ifdef HAVE_SYS_PARAM_H
15602 # include <sys/param.h>
15603 #endif
15604 #ifdef HAVE_SYS_MOUNT_H
15605 # include <sys/mount.h>
15606 #endif
15607 #ifdef HAVE_SYS_VFS_H
15608 # include <sys/vfs.h>
15609 #endif
15610 #ifdef HAVE_SYS_STATFS_H
15611 # include <sys/statfs.h>
15612 #endif
15614 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15616 cat >>confdefs.h <<_ACEOF
15617 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15618 _ACEOF
15622 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15623 #ifdef HAVE_SYS_PARAM_H
15624 # include <sys/param.h>
15625 #endif
15626 #ifdef HAVE_SYS_MOUNT_H
15627 # include <sys/mount.h>
15628 #endif
15629 #ifdef HAVE_SYS_VFS_H
15630 # include <sys/vfs.h>
15631 #endif
15632 #ifdef HAVE_SYS_STATFS_H
15633 # include <sys/statfs.h>
15634 #endif
15636 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15638 cat >>confdefs.h <<_ACEOF
15639 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15640 _ACEOF
15644 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15645 #ifdef HAVE_SYS_PARAM_H
15646 # include <sys/param.h>
15647 #endif
15648 #ifdef HAVE_SYS_MOUNT_H
15649 # include <sys/mount.h>
15650 #endif
15651 #ifdef HAVE_SYS_VFS_H
15652 # include <sys/vfs.h>
15653 #endif
15654 #ifdef HAVE_SYS_STATFS_H
15655 # include <sys/statfs.h>
15656 #endif
15658 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15660 cat >>confdefs.h <<_ACEOF
15661 #define HAVE_STRUCT_STATFS_F_FFREE 1
15662 _ACEOF
15666 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15667 #ifdef HAVE_SYS_PARAM_H
15668 # include <sys/param.h>
15669 #endif
15670 #ifdef HAVE_SYS_MOUNT_H
15671 # include <sys/mount.h>
15672 #endif
15673 #ifdef HAVE_SYS_VFS_H
15674 # include <sys/vfs.h>
15675 #endif
15676 #ifdef HAVE_SYS_STATFS_H
15677 # include <sys/statfs.h>
15678 #endif
15680 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15682 cat >>confdefs.h <<_ACEOF
15683 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15684 _ACEOF
15688 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15689 #ifdef HAVE_SYS_PARAM_H
15690 # include <sys/param.h>
15691 #endif
15692 #ifdef HAVE_SYS_MOUNT_H
15693 # include <sys/mount.h>
15694 #endif
15695 #ifdef HAVE_SYS_VFS_H
15696 # include <sys/vfs.h>
15697 #endif
15698 #ifdef HAVE_SYS_STATFS_H
15699 # include <sys/statfs.h>
15700 #endif
15702 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15704 cat >>confdefs.h <<_ACEOF
15705 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15706 _ACEOF
15712 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15713 #include <sys/statvfs.h>
15714 #endif
15716 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15718 cat >>confdefs.h <<_ACEOF
15719 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15720 _ACEOF
15726 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15727 #include <dirent.h>
15728 #endif
15730 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15732 cat >>confdefs.h <<_ACEOF
15733 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15734 _ACEOF
15740 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15741 #ifdef HAVE_SYS_SOCKET_H
15742 # include <sys/socket.h>
15743 #endif
15744 #ifdef HAVE_SYS_UN_H
15745 # include <sys/un.h>
15746 #endif
15748 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15750 cat >>confdefs.h <<_ACEOF
15751 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15752 _ACEOF
15756 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15757 #ifdef HAVE_SYS_SOCKET_H
15758 # include <sys/socket.h>
15759 #endif
15760 #ifdef HAVE_SYS_UN_H
15761 # include <sys/un.h>
15762 #endif
15764 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15768 _ACEOF
15772 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15773 #ifdef HAVE_SYS_SOCKET_H
15774 # include <sys/socket.h>
15775 #endif
15776 #ifdef HAVE_SYS_UN_H
15777 # include <sys/un.h>
15778 #endif
15780 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15782 cat >>confdefs.h <<_ACEOF
15783 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15784 _ACEOF
15790 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15791 #ifdef HAVE_SCSI_SG_H
15792 #include <scsi/sg.h>
15793 #endif
15795 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15797 cat >>confdefs.h <<_ACEOF
15798 #define HAVE_SCSIREQ_T_CMD 1
15799 _ACEOF
15803 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>
15804 #ifdef HAVE_SCSI_SG_H
15805 #include <scsi/sg.h>
15806 #endif
15808 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15810 cat >>confdefs.h <<_ACEOF
15811 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15812 _ACEOF
15818 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15820 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15822 cat >>confdefs.h <<_ACEOF
15823 #define HAVE_SIGINFO_T_SI_FD 1
15824 _ACEOF
15830 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15831 #ifdef HAVE_SYS_MTIO_H
15832 #include <sys/mtio.h>
15833 #endif
15835 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15839 _ACEOF
15843 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15844 #ifdef HAVE_SYS_MTIO_H
15845 #include <sys/mtio.h>
15846 #endif
15848 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15850 cat >>confdefs.h <<_ACEOF
15851 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15852 _ACEOF
15856 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15857 #ifdef HAVE_SYS_MTIO_H
15858 #include <sys/mtio.h>
15859 #endif
15861 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15863 cat >>confdefs.h <<_ACEOF
15864 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15865 _ACEOF
15871 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15872 #include <getopt.h>
15873 #endif
15875 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15877 cat >>confdefs.h <<_ACEOF
15878 #define HAVE_STRUCT_OPTION_NAME 1
15879 _ACEOF
15885 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15886 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15888 cat >>confdefs.h <<_ACEOF
15889 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15890 _ACEOF
15894 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15895 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15897 cat >>confdefs.h <<_ACEOF
15898 #define HAVE_STRUCT_STAT_ST_MTIM 1
15899 _ACEOF
15903 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15904 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15906 cat >>confdefs.h <<_ACEOF
15907 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15908 _ACEOF
15912 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15913 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15915 cat >>confdefs.h <<_ACEOF
15916 #define HAVE_STRUCT_STAT_ST_CTIM 1
15917 _ACEOF
15921 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15922 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15924 cat >>confdefs.h <<_ACEOF
15925 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15926 _ACEOF
15930 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15931 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15933 cat >>confdefs.h <<_ACEOF
15934 #define HAVE_STRUCT_STAT_ST_ATIM 1
15935 _ACEOF
15939 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15940 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15944 _ACEOF
15948 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15949 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15951 cat >>confdefs.h <<_ACEOF
15952 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15953 _ACEOF
15957 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15958 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15962 _ACEOF
15966 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15967 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15969 cat >>confdefs.h <<_ACEOF
15970 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15971 _ACEOF
15975 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15976 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15978 cat >>confdefs.h <<_ACEOF
15979 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15980 _ACEOF
15984 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15985 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15989 _ACEOF
15995 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
15996 #include <sys/types.h>
15997 #endif
15998 #ifdef HAVE_NETINET_IN_H
15999 #include <netinet/in.h>
16000 #endif
16002 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16004 cat >>confdefs.h <<_ACEOF
16005 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16006 _ACEOF
16012 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16013 #include <resolv.h>
16014 #endif
16016 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16018 cat >>confdefs.h <<_ACEOF
16019 #define HAVE_STRUCT___RES_STATE 1
16020 _ACEOF
16026 ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
16027 #include <resolv.h>
16028 #endif
16030 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16032 cat >>confdefs.h <<_ACEOF
16033 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16034 _ACEOF
16040 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16041 #include <sys/types.h>
16042 #endif
16043 #ifdef HAVE_NETINET_IN_H
16044 # include <netinet/in.h>
16045 #endif
16046 #ifdef HAVE_ARPA_NAMESER_H
16047 # include <arpa/nameser.h>
16048 #endif
16050 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16052 cat >>confdefs.h <<_ACEOF
16053 #define HAVE_NS_MSG__MSG_PTR 1
16054 _ACEOF
16060 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16061 #include <sys/types.h>
16062 #endif
16063 #ifdef HAVE_NETINET_IP_H
16064 #include <netinet/ip.h>
16065 #endif
16066 #ifdef HAVE_NETINET_IP_ICMP_H
16067 #include <netinet/ip_icmp.h>
16068 #endif
16069 #ifdef HAVE_NETINET_ICMP_VAR_H
16070 #include <netinet/icmp_var.h>
16071 #endif
16073 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16075 cat >>confdefs.h <<_ACEOF
16076 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16077 _ACEOF
16083 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16084 #include <sys/types.h>
16085 #endif
16086 #ifdef HAVE_ALIAS_H
16087 #include <alias.h>
16088 #endif
16089 #ifdef HAVE_SYS_SOCKET_H
16090 #include <sys/socket.h>
16091 #endif
16092 #ifdef HAVE_SYS_SOCKETVAR_H
16093 #include <sys/socketvar.h>
16094 #endif
16095 #ifdef HAVE_SYS_TIMEOUT_H
16096 #include <sys/timeout.h>
16097 #endif
16098 #ifdef HAVE_NETINET_IN_H
16099 #include <netinet/in.h>
16100 #endif
16101 #ifdef HAVE_NETINET_IN_SYSTM_H
16102 #include <netinet/in_systm.h>
16103 #endif
16104 #ifdef HAVE_NETINET_IP_H
16105 #include <netinet/ip.h>
16106 #endif
16107 #ifdef HAVE_NETINET_IP_VAR_H
16108 #include <netinet/ip_var.h>
16109 #endif
16110 #ifdef HAVE_NETINET_IP_ICMP_H
16111 #include <netinet/ip_icmp.h>
16112 #endif
16113 #ifdef HAVE_NETINET_ICMP_VAR_H
16114 #include <netinet/icmp_var.h>
16115 #endif
16117 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16119 cat >>confdefs.h <<_ACEOF
16120 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16121 _ACEOF
16127 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16128 #include <sys/types.h>
16129 #endif
16130 #ifdef HAVE_SYS_SOCKETVAR_H
16131 #include <sys/socketvar.h>
16132 #endif
16133 #ifdef HAVE_NETINET_IN_H
16134 #include <netinet/in.h>
16135 #endif
16136 #ifdef HAVE_NETINET_IP_VAR_H
16137 #include <netinet/ip_var.h>
16138 #endif
16140 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16144 _ACEOF
16150 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
16151 #include <netinet/ip_var.h>
16152 #endif
16154 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16156 cat >>confdefs.h <<_ACEOF
16157 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16158 _ACEOF
16164 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16165 #include <sys/types.h>
16166 #endif
16167 #ifdef HAVE_SYS_SOCKETVAR_H
16168 #include <sys/socketvar.h>
16169 #endif
16170 #ifdef HAVE_NETINET_IN_H
16171 #include <netinet/in.h>
16172 #endif
16173 #ifdef HAVE_NETINET_TCP_H
16174 #include <netinet/tcp.h>
16175 #endif
16176 #ifdef HAVE_NETINET_TCP_VAR_H
16177 #include <netinet/tcp_var.h>
16178 #endif
16180 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16182 cat >>confdefs.h <<_ACEOF
16183 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16184 _ACEOF
16190 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
16191 #include <netinet/tcp_var.h>
16192 #endif
16194 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16196 cat >>confdefs.h <<_ACEOF
16197 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16198 _ACEOF
16204 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16205 #include <sys/types.h>
16206 #endif
16207 #ifdef HAVE_NETINET_IN_H
16208 #include <netinet/in.h>
16209 #endif
16210 #ifdef HAVE_NETINET_IP_VAR_H
16211 #include <netinet/ip_var.h>
16212 #endif
16213 #ifdef HAVE_NETINET_UDP_H
16214 #include <netinet/udp.h>
16215 #endif
16216 #ifdef HAVE_NETINET_UDP_VAR_H
16217 #include <netinet/udp_var.h>
16218 #endif
16220 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16222 cat >>confdefs.h <<_ACEOF
16223 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16224 _ACEOF
16230 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16231 #include <sys/types.h>
16232 #endif
16233 #ifdef HAVE_NET_IF_H
16234 # include <net/if.h>
16235 #endif
16237 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16239 cat >>confdefs.h <<_ACEOF
16240 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16241 _ACEOF
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16248 $as_echo_n "checking for timezone variable... " >&6; }
16249 if ${ac_cv_have_timezone+:} false; then :
16250 $as_echo_n "(cached) " >&6
16251 else
16252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16253 /* end confdefs.h. */
16254 #include <time.h>
16256 main ()
16258 timezone = 1
16260 return 0;
16262 _ACEOF
16263 if ac_fn_c_try_link "$LINENO"; then :
16264 ac_cv_have_timezone="yes"
16265 else
16266 ac_cv_have_timezone="no"
16268 rm -f core conftest.err conftest.$ac_objext \
16269 conftest$ac_exeext conftest.$ac_ext
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16272 $as_echo "$ac_cv_have_timezone" >&6; }
16273 if test "$ac_cv_have_timezone" = "yes"
16274 then
16276 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16280 $as_echo_n "checking for daylight variable... " >&6; }
16281 if ${ac_cv_have_daylight+:} false; then :
16282 $as_echo_n "(cached) " >&6
16283 else
16284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16285 /* end confdefs.h. */
16286 #include <time.h>
16288 main ()
16290 daylight = 1
16292 return 0;
16294 _ACEOF
16295 if ac_fn_c_try_link "$LINENO"; then :
16296 ac_cv_have_daylight="yes"
16297 else
16298 ac_cv_have_daylight="no"
16300 rm -f core conftest.err conftest.$ac_objext \
16301 conftest$ac_exeext conftest.$ac_ext
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16304 $as_echo "$ac_cv_have_daylight" >&6; }
16305 if test "$ac_cv_have_daylight" = "yes"
16306 then
16308 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16312 ac_save_LIBS="$LIBS"
16313 LIBS="$LIBS -lm"
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16315 $as_echo_n "checking for isfinite... " >&6; }
16316 if ${ac_cv_have_isfinite+:} false; then :
16317 $as_echo_n "(cached) " >&6
16318 else
16319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h. */
16321 #define _GNU_SOURCE
16322 #include <math.h>
16324 main ()
16326 float f = 0.0; return isfinite(f)
16328 return 0;
16330 _ACEOF
16331 if ac_fn_c_try_link "$LINENO"; then :
16332 ac_cv_have_isfinite="yes"
16333 else
16334 ac_cv_have_isfinite="no"
16336 rm -f core conftest.err conftest.$ac_objext \
16337 conftest$ac_exeext conftest.$ac_ext
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16340 $as_echo "$ac_cv_have_isfinite" >&6; }
16341 if test "$ac_cv_have_isfinite" = "yes"
16342 then
16344 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16349 $as_echo_n "checking for isinf... " >&6; }
16350 if ${ac_cv_have_isinf+:} false; then :
16351 $as_echo_n "(cached) " >&6
16352 else
16353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16354 /* end confdefs.h. */
16355 #include <math.h>
16357 main ()
16359 float f = 0.0; return isinf(f)
16361 return 0;
16363 _ACEOF
16364 if ac_fn_c_try_link "$LINENO"; then :
16365 ac_cv_have_isinf="yes"
16366 else
16367 ac_cv_have_isinf="no"
16369 rm -f core conftest.err conftest.$ac_objext \
16370 conftest$ac_exeext conftest.$ac_ext
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16373 $as_echo "$ac_cv_have_isinf" >&6; }
16374 if test "$ac_cv_have_isinf" = "yes"
16375 then
16377 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16382 $as_echo_n "checking for isnan... " >&6; }
16383 if ${ac_cv_have_isnan+:} false; then :
16384 $as_echo_n "(cached) " >&6
16385 else
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16388 #include <math.h>
16390 main ()
16392 float f = 0.0; return isnan(f)
16394 return 0;
16396 _ACEOF
16397 if ac_fn_c_try_link "$LINENO"; then :
16398 ac_cv_have_isnan="yes"
16399 else
16400 ac_cv_have_isnan="no"
16402 rm -f core conftest.err conftest.$ac_objext \
16403 conftest$ac_exeext conftest.$ac_ext
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16406 $as_echo "$ac_cv_have_isnan" >&6; }
16407 if test "$ac_cv_have_isnan" = "yes"
16408 then
16410 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16414 for ac_func in \
16415 cbrt \
16416 cbrtf \
16417 exp2 \
16418 exp2f \
16419 llrint \
16420 llrintf \
16421 llround \
16422 llroundf \
16423 log2 \
16424 log2f \
16425 lrint \
16426 lrintf \
16427 lround \
16428 lroundf \
16429 rint \
16430 rintf \
16431 round \
16432 roundf \
16433 trunc \
16434 truncf
16436 do :
16437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16439 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16440 cat >>confdefs.h <<_ACEOF
16441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16442 _ACEOF
16445 done
16447 LIBS="$ac_save_LIBS"
16450 case $host_cpu in
16451 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16452 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16453 if ${ac_cv_cpp_def___i386__+:} false; then :
16454 $as_echo_n "(cached) " >&6
16455 else
16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h. */
16458 #ifndef __i386__
16460 #endif
16461 _ACEOF
16462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16463 $EGREP "yes" >/dev/null 2>&1; then :
16464 ac_cv_cpp_def___i386__=yes
16465 else
16466 ac_cv_cpp_def___i386__=no
16468 rm -f conftest*
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16472 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16473 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16474 CFLAGS="$CFLAGS -D__i386__"
16475 LINTFLAGS="$LINTFLAGS -D__i386__"
16476 fi ;;
16477 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16478 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16479 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16480 $as_echo_n "(cached) " >&6
16481 else
16482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16483 /* end confdefs.h. */
16484 #ifndef __x86_64__
16486 #endif
16487 _ACEOF
16488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16489 $EGREP "yes" >/dev/null 2>&1; then :
16490 ac_cv_cpp_def___x86_64__=yes
16491 else
16492 ac_cv_cpp_def___x86_64__=no
16494 rm -f conftest*
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16498 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16499 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16500 CFLAGS="$CFLAGS -D__x86_64__"
16501 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16502 fi ;;
16503 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16504 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16505 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16506 $as_echo_n "(cached) " >&6
16507 else
16508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16509 /* end confdefs.h. */
16510 #ifndef __sparc64__
16512 #endif
16513 _ACEOF
16514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16515 $EGREP "yes" >/dev/null 2>&1; then :
16516 ac_cv_cpp_def___sparc64__=yes
16517 else
16518 ac_cv_cpp_def___sparc64__=no
16520 rm -f conftest*
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16524 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16525 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16526 CFLAGS="$CFLAGS -D__sparc64__"
16527 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16528 fi ;;
16529 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16530 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16531 if ${ac_cv_cpp_def___sparc__+:} false; then :
16532 $as_echo_n "(cached) " >&6
16533 else
16534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16536 #ifndef __sparc__
16538 #endif
16539 _ACEOF
16540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16541 $EGREP "yes" >/dev/null 2>&1; then :
16542 ac_cv_cpp_def___sparc__=yes
16543 else
16544 ac_cv_cpp_def___sparc__=no
16546 rm -f conftest*
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16550 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16551 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16552 CFLAGS="$CFLAGS -D__sparc__"
16553 LINTFLAGS="$LINTFLAGS -D__sparc__"
16554 fi ;;
16555 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16556 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16557 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16558 $as_echo_n "(cached) " >&6
16559 else
16560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16561 /* end confdefs.h. */
16562 #ifndef __powerpc64__
16564 #endif
16565 _ACEOF
16566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16567 $EGREP "yes" >/dev/null 2>&1; then :
16568 ac_cv_cpp_def___powerpc64__=yes
16569 else
16570 ac_cv_cpp_def___powerpc64__=no
16572 rm -f conftest*
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16576 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16577 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16578 CFLAGS="$CFLAGS -D__powerpc64__"
16579 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16580 fi ;;
16581 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16582 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16583 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16584 $as_echo_n "(cached) " >&6
16585 else
16586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16587 /* end confdefs.h. */
16588 #ifndef __powerpc__
16590 #endif
16591 _ACEOF
16592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16593 $EGREP "yes" >/dev/null 2>&1; then :
16594 ac_cv_cpp_def___powerpc__=yes
16595 else
16596 ac_cv_cpp_def___powerpc__=no
16598 rm -f conftest*
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16602 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16603 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16604 CFLAGS="$CFLAGS -D__powerpc__"
16605 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16606 fi ;;
16607 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16608 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16609 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16610 $as_echo_n "(cached) " >&6
16611 else
16612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16613 /* end confdefs.h. */
16614 #ifndef __aarch64__
16616 #endif
16617 _ACEOF
16618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16619 $EGREP "yes" >/dev/null 2>&1; then :
16620 ac_cv_cpp_def___aarch64__=yes
16621 else
16622 ac_cv_cpp_def___aarch64__=no
16624 rm -f conftest*
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16628 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16629 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16630 CFLAGS="$CFLAGS -D__aarch64__"
16631 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16632 fi ;;
16633 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16634 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16635 if ${ac_cv_cpp_def___arm__+:} false; then :
16636 $as_echo_n "(cached) " >&6
16637 else
16638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16640 #ifndef __arm__
16642 #endif
16643 _ACEOF
16644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16645 $EGREP "yes" >/dev/null 2>&1; then :
16646 ac_cv_cpp_def___arm__=yes
16647 else
16648 ac_cv_cpp_def___arm__=no
16650 rm -f conftest*
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16654 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16655 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16656 CFLAGS="$CFLAGS -D__arm__"
16657 LINTFLAGS="$LINTFLAGS -D__arm__"
16658 fi ;;
16659 esac
16661 case $host_vendor in
16662 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16663 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16664 if ${ac_cv_cpp_def___sun__+:} false; then :
16665 $as_echo_n "(cached) " >&6
16666 else
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16669 #ifndef __sun__
16671 #endif
16672 _ACEOF
16673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16674 $EGREP "yes" >/dev/null 2>&1; then :
16675 ac_cv_cpp_def___sun__=yes
16676 else
16677 ac_cv_cpp_def___sun__=no
16679 rm -f conftest*
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16683 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16684 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16685 CFLAGS="$CFLAGS -D__sun__"
16686 LINTFLAGS="$LINTFLAGS -D__sun__"
16687 fi ;;
16688 esac
16694 ac_config_commands="$ac_config_commands include/stamp-h"
16696 $as_echo_n "creating Makefile rules..." >&6
16698 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16699 SOCKET_LIBS = $SOCKET_LIBS
16700 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16701 IOKIT_LIBS = $IOKIT_LIBS
16702 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16703 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16704 CORESERVICES_LIBS = $CORESERVICES_LIBS
16705 APPKIT_LIBS = $APPKIT_LIBS
16706 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16707 SECURITY_LIBS = $SECURITY_LIBS
16708 COREAUDIO_LIBS = $COREAUDIO_LIBS
16709 OPENAL_LIBS = $OPENAL_LIBS
16710 OPENCL_LIBS = $OPENCL_LIBS
16711 QUICKTIME_LIBS = $QUICKTIME_LIBS
16712 CARBON_LIBS = $CARBON_LIBS
16713 PTHREAD_LIBS = $PTHREAD_LIBS
16714 X_CFLAGS = $X_CFLAGS
16715 X_PRE_LIBS = $X_PRE_LIBS
16716 X_LIBS = $X_LIBS
16717 X_EXTRA_LIBS = $X_EXTRA_LIBS
16718 XML2_CFLAGS = $XML2_CFLAGS
16719 XML2_LIBS = $XML2_LIBS
16720 XSLT_CFLAGS = $XSLT_CFLAGS
16721 XSLT_LIBS = $XSLT_LIBS
16722 DBUS_CFLAGS = $DBUS_CFLAGS
16723 DBUS_LIBS = $DBUS_LIBS
16724 HAL_CFLAGS = $HAL_CFLAGS
16725 HAL_LIBS = $HAL_LIBS
16726 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16727 GNUTLS_LIBS = $GNUTLS_LIBS
16728 SANE_CFLAGS = $SANE_CFLAGS
16729 SANE_LIBS = $SANE_LIBS
16730 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16731 GPHOTO2_LIBS = $GPHOTO2_LIBS
16732 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16733 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16734 RESOLV_LIBS = $RESOLV_LIBS
16735 LCMS2_CFLAGS = $LCMS2_CFLAGS
16736 LCMS2_LIBS = $LCMS2_LIBS
16737 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16738 FREETYPE_LIBS = $FREETYPE_LIBS
16739 Z_LIBS = $Z_LIBS
16740 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16741 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16742 GSTREAMER_LIBS = $GSTREAMER_LIBS
16743 ALSA_LIBS = $ALSA_LIBS
16744 OSS4_CFLAGS = $OSS4_CFLAGS
16745 CAPI20_CFLAGS = $CAPI20_CFLAGS
16746 CAPI20_LIBS = $CAPI20_LIBS
16747 CUPS_CFLAGS = $CUPS_CFLAGS
16748 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16749 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16750 JPEG_CFLAGS = $JPEG_CFLAGS
16751 JPEG_LIBS = $JPEG_LIBS
16752 PNG_CFLAGS = $PNG_CFLAGS
16753 PNG_LIBS = $PNG_LIBS
16754 TIFF_CFLAGS = $TIFF_CFLAGS
16755 TIFF_LIBS = $TIFF_LIBS
16756 MPG123_CFLAGS = $MPG123_CFLAGS
16757 MPG123_LIBS = $MPG123_LIBS
16758 KSTAT_LIBS = $KSTAT_LIBS
16759 PROCSTAT_LIBS = $PROCSTAT_LIBS
16760 DL_LIBS = $DL_LIBS
16761 POLL_LIBS = $POLL_LIBS
16762 RT_LIBS = $RT_LIBS
16763 LDAP_LIBS = $LDAP_LIBS
16768 wine_fn_append_rule "
16769 # Rules automatically generated by configure
16771 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16773 .INIT: Makefile
16774 .MAKEFILEDEPS:
16775 all: Makefile
16776 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16777 @./config.status Make.tmp Makefile"
16779 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16780 .gitignore: config.status
16781 @./config.status .gitignore"
16783 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16784 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16786 if test "x$enable_fonts" != xno; then
16787 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16788 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16789 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16790 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16791 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16793 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16794 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16795 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16796 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16797 ac_config_links="$ac_config_links wine:tools/winewrapper"
16798 wine_fn_config_symlink wine
16799 if test "x$enable_win64" != xno; then
16800 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16801 wine_fn_config_symlink wine64
16804 wine_fn_config_dll acledit enable_acledit
16805 wine_fn_config_dll aclui enable_aclui implib
16806 wine_fn_config_dll activeds enable_activeds implib
16807 wine_fn_config_dll actxprxy enable_actxprxy clean
16808 wine_fn_config_lib adsiid
16809 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16810 wine_fn_config_test dlls/advapi32/tests advapi32_test
16811 wine_fn_config_dll advpack enable_advpack implib
16812 wine_fn_config_test dlls/advpack/tests advpack_test
16813 wine_fn_config_dll amstream enable_amstream clean
16814 wine_fn_config_test dlls/amstream/tests amstream_test
16815 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16816 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16817 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16818 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16819 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16820 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16821 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16822 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16823 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16824 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16825 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16826 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16827 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16828 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16829 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16830 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16831 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16832 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16833 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16834 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16835 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16836 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16837 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16838 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16839 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16840 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16841 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16842 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16843 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16844 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16845 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16846 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16847 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16848 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16849 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16850 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16851 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16852 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16853 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16854 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16855 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16856 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16857 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16858 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16859 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16860 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16861 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16862 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16863 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16864 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16865 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16866 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16867 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16868 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16869 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16870 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16871 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16872 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16873 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16874 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16875 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16876 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16877 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16878 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16879 wine_fn_config_dll apphelp enable_apphelp
16880 wine_fn_config_test dlls/apphelp/tests apphelp_test
16881 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16882 wine_fn_config_dll atl enable_atl clean,implib
16883 wine_fn_config_test dlls/atl/tests atl_test
16884 wine_fn_config_dll atl100 enable_atl100 clean,implib
16885 wine_fn_config_test dlls/atl100/tests atl100_test
16886 wine_fn_config_dll atl110 enable_atl110 clean
16887 wine_fn_config_dll atl80 enable_atl80 clean,implib
16888 wine_fn_config_test dlls/atl80/tests atl80_test
16889 wine_fn_config_dll atl90 enable_atl90 clean
16890 wine_fn_config_dll authz enable_authz
16891 wine_fn_config_dll avicap32 enable_avicap32 implib
16892 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16893 wine_fn_config_test dlls/avifil32/tests avifil32_test
16894 wine_fn_config_dll avifile.dll16 enable_win16
16895 wine_fn_config_dll avrt enable_avrt implib
16896 wine_fn_config_dll bcrypt enable_bcrypt
16897 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16898 wine_fn_config_dll browseui enable_browseui clean,po
16899 wine_fn_config_test dlls/browseui/tests browseui_test
16900 wine_fn_config_dll cabinet enable_cabinet implib
16901 wine_fn_config_test dlls/cabinet/tests cabinet_test
16902 wine_fn_config_dll capi2032 enable_capi2032 implib
16903 wine_fn_config_dll cards enable_cards implib
16904 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16905 wine_fn_config_dll clusapi enable_clusapi implib
16906 wine_fn_config_dll comcat enable_comcat
16907 wine_fn_config_test dlls/comcat/tests comcat_test
16908 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16909 wine_fn_config_test dlls/comctl32/tests comctl32_test
16910 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16911 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16912 wine_fn_config_dll comm.drv16 enable_win16
16913 wine_fn_config_dll commdlg.dll16 enable_win16
16914 wine_fn_config_dll compobj.dll16 enable_win16
16915 wine_fn_config_dll compstui enable_compstui implib
16916 wine_fn_config_dll comsvcs enable_comsvcs implib
16917 wine_fn_config_dll credui enable_credui implib,po
16918 wine_fn_config_test dlls/credui/tests credui_test
16919 wine_fn_config_dll crtdll enable_crtdll implib
16920 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16921 wine_fn_config_test dlls/crypt32/tests crypt32_test
16922 wine_fn_config_dll cryptdlg enable_cryptdlg po
16923 wine_fn_config_dll cryptdll enable_cryptdll implib
16924 wine_fn_config_dll cryptext enable_cryptext
16925 wine_fn_config_dll cryptnet enable_cryptnet implib
16926 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16927 wine_fn_config_dll cryptui enable_cryptui implib,po
16928 wine_fn_config_test dlls/cryptui/tests cryptui_test
16929 wine_fn_config_dll ctapi32 enable_ctapi32
16930 wine_fn_config_dll ctl3d.dll16 enable_win16
16931 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16932 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16933 wine_fn_config_dll d2d1 enable_d2d1 implib
16934 wine_fn_config_test dlls/d2d1/tests d2d1_test
16935 wine_fn_config_dll d3d10 enable_d3d10 implib
16936 wine_fn_config_test dlls/d3d10/tests d3d10_test
16937 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16938 wine_fn_config_dll d3d10core enable_d3d10core implib
16939 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16940 wine_fn_config_dll d3d11 enable_d3d11
16941 wine_fn_config_dll d3d8 enable_d3d8 implib
16942 wine_fn_config_test dlls/d3d8/tests d3d8_test
16943 wine_fn_config_dll d3d9 enable_d3d9 implib
16944 wine_fn_config_test dlls/d3d9/tests d3d9_test
16945 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16946 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16947 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16948 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16949 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16950 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16951 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16952 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16953 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16954 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16955 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16956 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16957 wine_fn_config_dll d3dim enable_d3dim implib
16958 wine_fn_config_dll d3drm enable_d3drm implib
16959 wine_fn_config_test dlls/d3drm/tests d3drm_test
16960 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16961 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16962 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16963 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16964 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16965 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16966 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16967 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16968 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16969 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16970 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16971 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16972 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16973 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16974 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16975 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16976 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16977 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16978 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16979 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16980 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16981 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16982 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16983 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16984 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16985 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16986 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16987 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16988 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16989 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16990 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16991 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16992 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16993 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16994 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16995 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16996 wine_fn_config_dll dbgeng enable_dbgeng implib
16997 wine_fn_config_dll dbghelp enable_dbghelp implib
16998 wine_fn_config_dll dciman32 enable_dciman32 implib
16999 wine_fn_config_dll ddeml.dll16 enable_win16
17000 wine_fn_config_dll ddraw enable_ddraw clean,implib
17001 wine_fn_config_test dlls/ddraw/tests ddraw_test
17002 wine_fn_config_dll ddrawex enable_ddrawex clean
17003 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17004 wine_fn_config_dll devenum enable_devenum clean,po
17005 wine_fn_config_test dlls/devenum/tests devenum_test
17006 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17007 wine_fn_config_dll difxapi enable_difxapi
17008 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17009 wine_fn_config_test dlls/dinput/tests dinput_test
17010 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17011 wine_fn_config_test dlls/dinput8/tests dinput8_test
17012 wine_fn_config_dll dispdib.dll16 enable_win16
17013 wine_fn_config_dll dispex enable_dispex clean
17014 wine_fn_config_test dlls/dispex/tests dispex_test
17015 wine_fn_config_dll display.drv16 enable_win16
17016 wine_fn_config_dll dmband enable_dmband clean
17017 wine_fn_config_test dlls/dmband/tests dmband_test
17018 wine_fn_config_dll dmcompos enable_dmcompos clean
17019 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17020 wine_fn_config_dll dmime enable_dmime clean
17021 wine_fn_config_test dlls/dmime/tests dmime_test
17022 wine_fn_config_dll dmloader enable_dmloader clean
17023 wine_fn_config_test dlls/dmloader/tests dmloader_test
17024 wine_fn_config_dll dmscript enable_dmscript clean
17025 wine_fn_config_test dlls/dmscript/tests dmscript_test
17026 wine_fn_config_dll dmstyle enable_dmstyle clean
17027 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17028 wine_fn_config_dll dmsynth enable_dmsynth clean
17029 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17030 wine_fn_config_dll dmusic enable_dmusic clean
17031 wine_fn_config_test dlls/dmusic/tests dmusic_test
17032 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17033 wine_fn_config_dll dnsapi enable_dnsapi implib
17034 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17035 wine_fn_config_dll dplay enable_dplay implib
17036 wine_fn_config_dll dplayx enable_dplayx clean,implib
17037 wine_fn_config_test dlls/dplayx/tests dplayx_test
17038 wine_fn_config_dll dpnaddr enable_dpnaddr
17039 wine_fn_config_dll dpnet enable_dpnet clean,implib
17040 wine_fn_config_test dlls/dpnet/tests dpnet_test
17041 wine_fn_config_dll dpnhpast enable_dpnhpast
17042 wine_fn_config_dll dpnlobby enable_dpnlobby
17043 wine_fn_config_dll dpvoice enable_dpvoice clean
17044 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17045 wine_fn_config_dll dpwsockx enable_dpwsockx
17046 wine_fn_config_dll drmclien enable_drmclien
17047 wine_fn_config_dll dsound enable_dsound clean,implib
17048 wine_fn_config_test dlls/dsound/tests dsound_test
17049 wine_fn_config_dll dssenh enable_dssenh
17050 wine_fn_config_test dlls/dssenh/tests dssenh_test
17051 wine_fn_config_dll dswave enable_dswave clean
17052 wine_fn_config_test dlls/dswave/tests dswave_test
17053 wine_fn_config_dll dwmapi enable_dwmapi implib
17054 wine_fn_config_dll dwrite enable_dwrite implib
17055 wine_fn_config_test dlls/dwrite/tests dwrite_test
17056 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17057 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17058 wine_fn_config_lib dxerr8
17059 wine_fn_config_lib dxerr9
17060 wine_fn_config_dll dxgi enable_dxgi implib
17061 wine_fn_config_test dlls/dxgi/tests dxgi_test
17062 wine_fn_config_lib dxguid
17063 wine_fn_config_dll dxva2 enable_dxva2
17064 wine_fn_config_dll explorerframe enable_explorerframe clean
17065 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17066 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17067 wine_fn_config_dll faultrep enable_faultrep implib
17068 wine_fn_config_test dlls/faultrep/tests faultrep_test
17069 wine_fn_config_dll fltlib enable_fltlib
17070 wine_fn_config_dll fntcache enable_fntcache
17071 wine_fn_config_dll fontsub enable_fontsub
17072 wine_fn_config_dll fusion enable_fusion
17073 wine_fn_config_test dlls/fusion/tests fusion_test
17074 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17075 wine_fn_config_dll gameux enable_gameux clean
17076 wine_fn_config_test dlls/gameux/tests gameux_test
17077 wine_fn_config_dll gdi.exe16 enable_win16
17078 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17079 wine_fn_config_test dlls/gdi32/tests gdi32_test
17080 wine_fn_config_dll gdiplus enable_gdiplus implib
17081 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17082 wine_fn_config_dll glu32 enable_glu32 implib
17083 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17084 wine_fn_config_dll gpkcsp enable_gpkcsp
17085 wine_fn_config_dll hal enable_hal
17086 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17087 wine_fn_config_dll hid enable_hid implib
17088 wine_fn_config_dll hlink enable_hlink clean,implib
17089 wine_fn_config_test dlls/hlink/tests hlink_test
17090 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17091 wine_fn_config_dll httpapi enable_httpapi
17092 wine_fn_config_dll iccvid enable_iccvid po
17093 wine_fn_config_dll icmp enable_icmp
17094 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17095 wine_fn_config_test dlls/ieframe/tests ieframe_test
17096 wine_fn_config_dll ifsmgr.vxd enable_win16
17097 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17098 wine_fn_config_dll imagehlp enable_imagehlp implib
17099 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17100 wine_fn_config_dll imm.dll16 enable_win16
17101 wine_fn_config_dll imm32 enable_imm32 implib
17102 wine_fn_config_test dlls/imm32/tests imm32_test
17103 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17104 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17105 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17106 wine_fn_config_dll inetmib1 enable_inetmib1
17107 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17108 wine_fn_config_dll infosoft enable_infosoft clean
17109 wine_fn_config_test dlls/infosoft/tests infosoft_test
17110 wine_fn_config_dll initpki enable_initpki
17111 wine_fn_config_dll inkobj enable_inkobj
17112 wine_fn_config_dll inseng enable_inseng clean
17113 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17114 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17115 wine_fn_config_dll itircl enable_itircl
17116 wine_fn_config_dll itss enable_itss clean
17117 wine_fn_config_test dlls/itss/tests itss_test
17118 wine_fn_config_dll joy.cpl enable_joy_cpl po
17119 wine_fn_config_dll jscript enable_jscript clean,po
17120 wine_fn_config_test dlls/jscript/tests jscript_test
17121 wine_fn_config_dll jsproxy enable_jsproxy implib
17122 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17123 wine_fn_config_test dlls/kernel32/tests kernel32_test
17124 wine_fn_config_dll keyboard.drv16 enable_win16
17125 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17126 wine_fn_config_dll ksuser enable_ksuser
17127 wine_fn_config_dll ktmw32 enable_ktmw32
17128 wine_fn_config_dll loadperf enable_loadperf implib
17129 wine_fn_config_dll localspl enable_localspl po
17130 wine_fn_config_test dlls/localspl/tests localspl_test
17131 wine_fn_config_dll localui enable_localui po
17132 wine_fn_config_test dlls/localui/tests localui_test
17133 wine_fn_config_dll lz32 enable_lz32 implib
17134 wine_fn_config_test dlls/lz32/tests lz32_test
17135 wine_fn_config_dll lzexpand.dll16 enable_win16
17136 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17137 wine_fn_config_test dlls/mapi32/tests mapi32_test
17138 wine_fn_config_dll mapistub enable_mapistub
17139 wine_fn_config_dll mciavi32 enable_mciavi32
17140 wine_fn_config_dll mcicda enable_mcicda
17141 wine_fn_config_dll mciqtz32 enable_mciqtz32
17142 wine_fn_config_dll mciseq enable_mciseq
17143 wine_fn_config_dll mciwave enable_mciwave
17144 wine_fn_config_dll mgmtapi enable_mgmtapi
17145 wine_fn_config_dll midimap enable_midimap
17146 wine_fn_config_dll mlang enable_mlang clean,implib
17147 wine_fn_config_test dlls/mlang/tests mlang_test
17148 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17149 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17150 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17151 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17152 wine_fn_config_dll mmdevldr.vxd enable_win16
17153 wine_fn_config_dll mmsystem.dll16 enable_win16
17154 wine_fn_config_dll monodebg.vxd enable_win16
17155 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17156 wine_fn_config_dll mouse.drv16 enable_win16
17157 wine_fn_config_dll mpr enable_mpr implib,po
17158 wine_fn_config_test dlls/mpr/tests mpr_test
17159 wine_fn_config_dll mprapi enable_mprapi implib
17160 wine_fn_config_dll msacm.dll16 enable_win16
17161 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17162 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17163 wine_fn_config_test dlls/msacm32/tests msacm32_test
17164 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17165 wine_fn_config_dll msasn1 enable_msasn1 implib
17166 wine_fn_config_dll mscat32 enable_mscat32
17167 wine_fn_config_dll mscms enable_mscms implib
17168 wine_fn_config_test dlls/mscms/tests mscms_test
17169 wine_fn_config_dll mscoree enable_mscoree clean
17170 wine_fn_config_test dlls/mscoree/tests mscoree_test
17171 wine_fn_config_dll msctf enable_msctf clean
17172 wine_fn_config_test dlls/msctf/tests msctf_test
17173 wine_fn_config_dll msdaps enable_msdaps clean
17174 wine_fn_config_dll msdmo enable_msdmo implib
17175 wine_fn_config_dll msftedit enable_msftedit
17176 wine_fn_config_dll msg711.acm enable_msg711_acm
17177 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17178 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17179 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17180 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17181 wine_fn_config_dll msi enable_msi clean,implib,po
17182 wine_fn_config_test dlls/msi/tests msi_test
17183 wine_fn_config_dll msident enable_msident clean
17184 wine_fn_config_dll msimg32 enable_msimg32 implib
17185 wine_fn_config_dll msimsg enable_msimsg
17186 wine_fn_config_dll msimtf enable_msimtf clean
17187 wine_fn_config_dll msisip enable_msisip
17188 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17189 wine_fn_config_dll msls31 enable_msls31
17190 wine_fn_config_dll msnet32 enable_msnet32
17191 wine_fn_config_dll mspatcha enable_mspatcha
17192 wine_fn_config_dll msrle32 enable_msrle32 po
17193 wine_fn_config_test dlls/msrle32/tests msrle32_test
17194 wine_fn_config_dll mssign32 enable_mssign32
17195 wine_fn_config_dll mssip32 enable_mssip32
17196 wine_fn_config_dll mstask enable_mstask clean
17197 wine_fn_config_test dlls/mstask/tests mstask_test
17198 wine_fn_config_dll msvcirt enable_msvcirt
17199 wine_fn_config_dll msvcm80 enable_msvcm80
17200 wine_fn_config_dll msvcm90 enable_msvcm90
17201 wine_fn_config_dll msvcp100 enable_msvcp100
17202 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17203 wine_fn_config_dll msvcp110 enable_msvcp110
17204 wine_fn_config_dll msvcp120 enable_msvcp120
17205 wine_fn_config_dll msvcp60 enable_msvcp60
17206 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17207 wine_fn_config_dll msvcp70 enable_msvcp70
17208 wine_fn_config_dll msvcp71 enable_msvcp71
17209 wine_fn_config_dll msvcp80 enable_msvcp80
17210 wine_fn_config_dll msvcp90 enable_msvcp90
17211 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17212 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17213 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17214 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17215 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17216 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17217 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17218 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17219 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17220 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17221 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17222 wine_fn_config_dll msvcrt enable_msvcrt implib
17223 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17224 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17225 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17226 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17227 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17228 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17229 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17230 wine_fn_config_dll msvidc32 enable_msvidc32 po
17231 wine_fn_config_dll msvideo.dll16 enable_win16
17232 wine_fn_config_dll mswsock enable_mswsock implib
17233 wine_fn_config_dll msxml enable_msxml clean
17234 wine_fn_config_dll msxml2 enable_msxml2 clean
17235 wine_fn_config_dll msxml3 enable_msxml3 clean
17236 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17237 wine_fn_config_dll msxml4 enable_msxml4 clean
17238 wine_fn_config_dll msxml6 enable_msxml6 clean
17239 wine_fn_config_dll nddeapi enable_nddeapi implib
17240 wine_fn_config_dll ndis.sys enable_ndis_sys
17241 wine_fn_config_dll netapi32 enable_netapi32 implib
17242 wine_fn_config_test dlls/netapi32/tests netapi32_test
17243 wine_fn_config_dll netcfgx enable_netcfgx clean
17244 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17245 wine_fn_config_dll netprofm enable_netprofm clean
17246 wine_fn_config_test dlls/netprofm/tests netprofm_test
17247 wine_fn_config_dll newdev enable_newdev implib
17248 wine_fn_config_dll normaliz enable_normaliz implib
17249 wine_fn_config_dll npmshtml enable_npmshtml
17250 wine_fn_config_dll npptools enable_npptools
17251 wine_fn_config_dll ntdll enable_ntdll implib
17252 wine_fn_config_test dlls/ntdll/tests ntdll_test
17253 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17254 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17255 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17256 wine_fn_config_dll ntprint enable_ntprint
17257 wine_fn_config_test dlls/ntprint/tests ntprint_test
17258 wine_fn_config_dll objsel enable_objsel clean
17259 wine_fn_config_dll odbc32 enable_odbc32 implib
17260 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17261 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17262 wine_fn_config_dll odbccu32 enable_odbccu32
17263 wine_fn_config_dll ole2.dll16 enable_win16
17264 wine_fn_config_dll ole2conv.dll16 enable_win16
17265 wine_fn_config_dll ole2disp.dll16 enable_win16
17266 wine_fn_config_dll ole2nls.dll16 enable_win16
17267 wine_fn_config_dll ole2prox.dll16 enable_win16
17268 wine_fn_config_dll ole2thk.dll16 enable_win16
17269 wine_fn_config_dll ole32 enable_ole32 clean,implib
17270 wine_fn_config_test dlls/ole32/tests ole32_test
17271 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17272 wine_fn_config_test dlls/oleacc/tests oleacc_test
17273 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17274 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17275 wine_fn_config_dll olecli.dll16 enable_win16
17276 wine_fn_config_dll olecli32 enable_olecli32 implib
17277 wine_fn_config_dll oledb32 enable_oledb32 clean
17278 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17279 wine_fn_config_dll oledlg enable_oledlg implib,po
17280 wine_fn_config_dll olepro32 enable_olepro32 implib
17281 wine_fn_config_dll olesvr.dll16 enable_win16
17282 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17283 wine_fn_config_dll olethk32 enable_olethk32
17284 wine_fn_config_dll openal32 enable_openal32
17285 wine_fn_config_dll opencl enable_opencl
17286 wine_fn_config_dll opengl32 enable_opengl32 implib
17287 wine_fn_config_test dlls/opengl32/tests opengl32_test
17288 wine_fn_config_dll packager enable_packager clean
17289 wine_fn_config_test dlls/packager/tests packager_test
17290 wine_fn_config_dll pdh enable_pdh implib
17291 wine_fn_config_test dlls/pdh/tests pdh_test
17292 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17293 wine_fn_config_dll pidgen enable_pidgen
17294 wine_fn_config_dll powrprof enable_powrprof implib
17295 wine_fn_config_dll printui enable_printui
17296 wine_fn_config_dll prntvpt enable_prntvpt
17297 wine_fn_config_dll propsys enable_propsys clean,implib
17298 wine_fn_config_test dlls/propsys/tests propsys_test
17299 wine_fn_config_dll psapi enable_psapi implib
17300 wine_fn_config_test dlls/psapi/tests psapi_test
17301 wine_fn_config_dll pstorec enable_pstorec clean
17302 wine_fn_config_dll qcap enable_qcap
17303 wine_fn_config_test dlls/qcap/tests qcap_test
17304 wine_fn_config_dll qedit enable_qedit clean
17305 wine_fn_config_test dlls/qedit/tests qedit_test
17306 wine_fn_config_dll qmgr enable_qmgr clean
17307 wine_fn_config_test dlls/qmgr/tests qmgr_test
17308 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17309 wine_fn_config_dll quartz enable_quartz clean,implib
17310 wine_fn_config_test dlls/quartz/tests quartz_test clean
17311 wine_fn_config_dll query enable_query
17312 wine_fn_config_dll rasapi16.dll16 enable_win16
17313 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17314 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17315 wine_fn_config_dll rasdlg enable_rasdlg implib
17316 wine_fn_config_dll regapi enable_regapi
17317 wine_fn_config_dll resutils enable_resutils implib
17318 wine_fn_config_dll riched20 enable_riched20 implib
17319 wine_fn_config_test dlls/riched20/tests riched20_test
17320 wine_fn_config_dll riched32 enable_riched32
17321 wine_fn_config_test dlls/riched32/tests riched32_test
17322 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17323 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17324 wine_fn_config_dll rsabase enable_rsabase
17325 wine_fn_config_dll rsaenh enable_rsaenh implib
17326 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17327 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17328 wine_fn_config_dll rtutils enable_rtutils implib
17329 wine_fn_config_dll samlib enable_samlib
17330 wine_fn_config_dll sane.ds enable_sane_ds po
17331 wine_fn_config_dll scarddlg enable_scarddlg
17332 wine_fn_config_dll sccbase enable_sccbase
17333 wine_fn_config_dll schannel enable_schannel
17334 wine_fn_config_test dlls/schannel/tests schannel_test
17335 wine_fn_config_dll schedsvc enable_schedsvc clean
17336 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17337 wine_fn_config_dll scrrun enable_scrrun clean
17338 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17339 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17340 wine_fn_config_dll secur32 enable_secur32 implib
17341 wine_fn_config_test dlls/secur32/tests secur32_test
17342 wine_fn_config_dll security enable_security
17343 wine_fn_config_dll sensapi enable_sensapi implib
17344 wine_fn_config_dll serialui enable_serialui implib,po
17345 wine_fn_config_test dlls/serialui/tests serialui_test
17346 wine_fn_config_dll setupapi enable_setupapi implib,po
17347 wine_fn_config_test dlls/setupapi/tests setupapi_test
17348 wine_fn_config_dll setupx.dll16 enable_win16
17349 wine_fn_config_dll sfc enable_sfc implib
17350 wine_fn_config_dll sfc_os enable_sfc_os implib
17351 wine_fn_config_dll shdoclc enable_shdoclc po
17352 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17353 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17354 wine_fn_config_dll shell.dll16 enable_win16
17355 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17356 wine_fn_config_test dlls/shell32/tests shell32_test
17357 wine_fn_config_dll shfolder enable_shfolder implib
17358 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17359 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17360 wine_fn_config_dll slbcsp enable_slbcsp
17361 wine_fn_config_dll slc enable_slc implib
17362 wine_fn_config_dll snmpapi enable_snmpapi implib
17363 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17364 wine_fn_config_dll softpub enable_softpub
17365 wine_fn_config_dll sound.drv16 enable_win16
17366 wine_fn_config_dll spoolss enable_spoolss implib
17367 wine_fn_config_test dlls/spoolss/tests spoolss_test
17368 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17369 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17370 wine_fn_config_dll sti enable_sti clean,implib
17371 wine_fn_config_test dlls/sti/tests sti_test
17372 wine_fn_config_dll storage.dll16 enable_win16
17373 wine_fn_config_dll stress.dll16 enable_win16
17374 wine_fn_config_lib strmbase
17375 wine_fn_config_lib strmiids
17376 wine_fn_config_dll svrapi enable_svrapi
17377 wine_fn_config_dll sxs enable_sxs implib
17378 wine_fn_config_test dlls/sxs/tests sxs_test
17379 wine_fn_config_dll system.drv16 enable_win16
17380 wine_fn_config_dll t2embed enable_t2embed
17381 wine_fn_config_dll tapi32 enable_tapi32 implib
17382 wine_fn_config_dll taskschd enable_taskschd clean
17383 wine_fn_config_test dlls/taskschd/tests taskschd_test
17384 wine_fn_config_dll toolhelp.dll16 enable_win16
17385 wine_fn_config_dll traffic enable_traffic
17386 wine_fn_config_dll twain.dll16 enable_win16
17387 wine_fn_config_dll twain_32 enable_twain_32
17388 wine_fn_config_test dlls/twain_32/tests twain_32_test
17389 wine_fn_config_dll typelib.dll16 enable_win16
17390 wine_fn_config_dll unicows enable_unicows implib
17391 wine_fn_config_dll updspapi enable_updspapi
17392 wine_fn_config_dll url enable_url implib
17393 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17394 wine_fn_config_test dlls/urlmon/tests urlmon_test
17395 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17396 wine_fn_config_dll user.exe16 enable_win16
17397 wine_fn_config_dll user32 enable_user32 clean,implib,po
17398 wine_fn_config_test dlls/user32/tests user32_test
17399 wine_fn_config_dll userenv enable_userenv implib
17400 wine_fn_config_test dlls/userenv/tests userenv_test
17401 wine_fn_config_dll usp10 enable_usp10 implib
17402 wine_fn_config_test dlls/usp10/tests usp10_test
17403 wine_fn_config_lib uuid
17404 wine_fn_config_dll uxtheme enable_uxtheme implib
17405 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17406 wine_fn_config_dll vbscript enable_vbscript clean
17407 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17408 wine_fn_config_dll vcomp enable_vcomp
17409 wine_fn_config_dll vcomp100 enable_vcomp100
17410 wine_fn_config_dll vcomp90 enable_vcomp90
17411 wine_fn_config_dll vdhcp.vxd enable_win16
17412 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17413 wine_fn_config_dll ver.dll16 enable_win16
17414 wine_fn_config_dll version enable_version implib
17415 wine_fn_config_test dlls/version/tests version_test
17416 wine_fn_config_dll vmm.vxd enable_win16
17417 wine_fn_config_dll vnbt.vxd enable_win16
17418 wine_fn_config_dll vnetbios.vxd enable_win16
17419 wine_fn_config_dll vssapi enable_vssapi
17420 wine_fn_config_dll vtdapi.vxd enable_win16
17421 wine_fn_config_dll vwin32.vxd enable_win16
17422 wine_fn_config_dll w32skrnl enable_win16
17423 wine_fn_config_dll w32sys.dll16 enable_win16
17424 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17425 wine_fn_config_dll wbemprox enable_wbemprox clean
17426 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17427 wine_fn_config_dll webservices enable_webservices implib
17428 wine_fn_config_dll wer enable_wer implib
17429 wine_fn_config_test dlls/wer/tests wer_test
17430 wine_fn_config_dll wevtapi enable_wevtapi
17431 wine_fn_config_dll wiaservc enable_wiaservc clean
17432 wine_fn_config_dll win32s16.dll16 enable_win16
17433 wine_fn_config_dll win87em.dll16 enable_win16
17434 wine_fn_config_dll winaspi.dll16 enable_win16
17435 wine_fn_config_dll windebug.dll16 enable_win16
17436 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17437 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17438 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17439 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17440 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17441 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17442 wine_fn_config_lib winecrt0
17443 wine_fn_config_dll wined3d enable_wined3d implib
17444 wine_fn_config_dll winegstreamer enable_winegstreamer
17445 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17446 wine_fn_config_dll winemac.drv enable_winemac_drv
17447 wine_fn_config_dll winemapi enable_winemapi
17448 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17449 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17450 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17451 wine_fn_config_dll wineps16.drv16 enable_win16
17452 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17453 wine_fn_config_dll winex11.drv enable_winex11_drv
17454 wine_fn_config_dll wing.dll16 enable_win16
17455 wine_fn_config_dll wing32 enable_wing32
17456 wine_fn_config_dll winhttp enable_winhttp clean,implib
17457 wine_fn_config_test dlls/winhttp/tests winhttp_test
17458 wine_fn_config_dll wininet enable_wininet implib,po
17459 wine_fn_config_test dlls/wininet/tests wininet_test
17460 wine_fn_config_dll winmm enable_winmm implib,po
17461 wine_fn_config_test dlls/winmm/tests winmm_test
17462 wine_fn_config_dll winnls.dll16 enable_win16
17463 wine_fn_config_dll winnls32 enable_winnls32 implib
17464 wine_fn_config_dll winscard enable_winscard implib
17465 wine_fn_config_dll winsock.dll16 enable_win16
17466 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17467 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17468 wine_fn_config_dll winsta enable_winsta
17469 wine_fn_config_dll wintab.dll16 enable_win16
17470 wine_fn_config_dll wintab32 enable_wintab32 implib
17471 wine_fn_config_test dlls/wintab32/tests wintab32_test
17472 wine_fn_config_dll wintrust enable_wintrust implib
17473 wine_fn_config_test dlls/wintrust/tests wintrust_test
17474 wine_fn_config_dll wlanapi enable_wlanapi
17475 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17476 wine_fn_config_test dlls/wldap32/tests wldap32_test
17477 wine_fn_config_dll wmi enable_wmi
17478 wine_fn_config_dll wmiutils enable_wmiutils clean
17479 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17480 wine_fn_config_dll wmp enable_wmp clean
17481 wine_fn_config_test dlls/wmp/tests wmp_test
17482 wine_fn_config_dll wmvcore enable_wmvcore
17483 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17484 wine_fn_config_dll wow32 enable_win16 implib
17485 wine_fn_config_dll wpcap enable_wpcap
17486 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17487 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17488 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17489 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17490 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17491 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17492 wine_fn_config_dll wsock32 enable_wsock32 implib
17493 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17494 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17495 wine_fn_config_dll wuapi enable_wuapi clean
17496 wine_fn_config_dll wuaueng enable_wuaueng
17497 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17498 wine_fn_config_dll xinput1_1 enable_xinput1_1
17499 wine_fn_config_dll xinput1_2 enable_xinput1_2
17500 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17501 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17502 wine_fn_config_dll xinput1_4 enable_xinput1_4
17503 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17504 wine_fn_config_dll xmllite enable_xmllite implib
17505 wine_fn_config_test dlls/xmllite/tests xmllite_test
17506 wine_fn_config_dll xolehlp enable_xolehlp
17507 wine_fn_config_dll xpsprint enable_xpsprint
17508 wine_fn_config_dll xpssvcs enable_xpssvcs
17509 wine_fn_config_makefile documentation enable_documentation clean
17510 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17511 wine_fn_config_makefile include enable_include clean,install-dev
17512 wine_fn_config_makefile libs/port enable_libs_port
17513 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17514 wine_fn_config_makefile libs/wpp enable_libs_wpp
17515 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17516 wine_fn_config_program arp enable_arp install
17517 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17518 wine_fn_config_program attrib enable_attrib install,po
17519 wine_fn_config_program cabarc enable_cabarc install
17520 wine_fn_config_program cacls enable_cacls install
17521 wine_fn_config_program clock enable_clock install,po
17522 wine_fn_config_program cmd enable_cmd install,po
17523 wine_fn_config_test programs/cmd/tests cmd.exe_test
17524 wine_fn_config_program conhost enable_conhost install
17525 wine_fn_config_program control enable_control install
17526 wine_fn_config_program cscript enable_cscript clean,install
17527 wine_fn_config_program dpnsvr enable_dpnsvr install
17528 wine_fn_config_program dxdiag enable_dxdiag install,po
17529 wine_fn_config_program eject enable_eject install
17530 wine_fn_config_program expand enable_expand install
17531 wine_fn_config_program explorer enable_explorer install,po
17532 wine_fn_config_program extrac32 enable_extrac32 install
17533 wine_fn_config_program findstr enable_findstr install
17534 wine_fn_config_program hh enable_hh install
17535 wine_fn_config_program hostname enable_hostname install,po
17536 wine_fn_config_program icinfo enable_icinfo install
17537 wine_fn_config_program iexplore enable_iexplore install
17538 wine_fn_config_program ipconfig enable_ipconfig install,po
17539 wine_fn_config_program lodctr enable_lodctr install
17540 wine_fn_config_program mofcomp enable_mofcomp install
17541 wine_fn_config_program mshta enable_mshta install
17542 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17543 wine_fn_config_program net enable_net install,po
17544 wine_fn_config_program netsh enable_netsh install
17545 wine_fn_config_program netstat enable_netstat install,po
17546 wine_fn_config_program ngen enable_ngen install
17547 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17548 wine_fn_config_program oleview enable_oleview install,po
17549 wine_fn_config_program ping enable_ping install
17550 wine_fn_config_program plugplay enable_plugplay install
17551 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17552 wine_fn_config_program progman enable_progman install,po
17553 wine_fn_config_program reg enable_reg install,po
17554 wine_fn_config_test programs/reg/tests reg.exe_test
17555 wine_fn_config_program regasm enable_regasm install
17556 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17557 wine_fn_config_test programs/regedit/tests regedit.exe_test
17558 wine_fn_config_program regsvcs enable_regsvcs install
17559 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17560 wine_fn_config_program rpcss enable_rpcss clean,install
17561 wine_fn_config_program rundll.exe16 enable_win16 install
17562 wine_fn_config_program rundll32 enable_rundll32 install
17563 wine_fn_config_program sc enable_sc install
17564 wine_fn_config_program schtasks enable_schtasks install
17565 wine_fn_config_program sdbinst enable_sdbinst install
17566 wine_fn_config_program secedit enable_secedit install
17567 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17568 wine_fn_config_program services enable_services clean,install
17569 wine_fn_config_test programs/services/tests services.exe_test
17570 wine_fn_config_program spoolsv enable_spoolsv install
17571 wine_fn_config_program start enable_start install,po
17572 wine_fn_config_program svchost enable_svchost install
17573 wine_fn_config_program systeminfo enable_systeminfo install
17574 wine_fn_config_program taskkill enable_taskkill install,po
17575 wine_fn_config_program tasklist enable_tasklist install
17576 wine_fn_config_program taskmgr enable_taskmgr install,po
17577 wine_fn_config_program termsv enable_termsv install
17578 wine_fn_config_program uninstaller enable_uninstaller install,po
17579 wine_fn_config_program unlodctr enable_unlodctr install
17580 wine_fn_config_program view enable_view install,po
17581 wine_fn_config_program wevtutil enable_wevtutil install
17582 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17583 wine_fn_config_program winebrowser enable_winebrowser install
17584 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17585 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17586 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17587 wine_fn_config_program winedevice enable_winedevice install
17588 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17589 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17590 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17591 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17592 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17593 wine_fn_config_program winetest enable_winetest clean
17594 wine_fn_config_program winevdm enable_win16 install
17595 wine_fn_config_program winhelp.exe16 enable_win16 install
17596 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17597 wine_fn_config_program winoldap.mod16 enable_win16 install
17598 wine_fn_config_program winver enable_winver install
17599 wine_fn_config_program wmic enable_wmic install,po
17600 wine_fn_config_program wordpad enable_wordpad install,po
17601 wine_fn_config_program write enable_write install,po
17602 wine_fn_config_program wscript enable_wscript clean,install
17603 wine_fn_config_test programs/wscript/tests wscript.exe_test
17604 wine_fn_config_program wusa enable_wusa install
17605 wine_fn_config_program xcopy enable_xcopy install,po
17606 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17607 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17608 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17609 wine_fn_config_tool tools/sfnt2fon clean
17610 wine_fn_config_tool tools/widl clean,install-dev,manpage
17611 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17612 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17613 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17614 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17615 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17617 LINGUAS="\
17618 ar \
17619 bg \
17620 ca \
17621 cs \
17622 da \
17623 de \
17624 el \
17625 en \
17626 en_US \
17627 eo \
17628 es \
17629 fa \
17630 fi \
17631 fr \
17632 he \
17633 hi \
17634 hr \
17635 hu \
17636 it \
17637 ja \
17638 ko \
17639 lt \
17640 ml \
17641 nb_NO \
17642 nl \
17643 or \
17644 pa \
17645 pl \
17646 pt_BR \
17647 pt_PT \
17648 rm \
17649 ro \
17650 ru \
17651 sk \
17652 sl \
17653 sr_RS@cyrillic \
17654 sr_RS@latin \
17655 sv \
17656 te \
17657 th \
17658 tr \
17659 uk \
17660 wa \
17661 zh_CN \
17662 zh_TW"
17667 wine_fn_ignore_file ".gitignore"
17668 wine_fn_ignore_file "Makefile"
17669 wine_fn_ignore_file "TAGS"
17670 wine_fn_ignore_file "tags"
17671 wine_fn_ignore_file "autom4te.cache"
17672 wine_fn_ignore_file "config.cache"
17673 wine_fn_ignore_file "config.log"
17674 wine_fn_ignore_file "config.status"
17675 wine_fn_ignore_file "configure.lineno"
17676 wine_fn_ignore_file "include/config.h"
17677 wine_fn_ignore_file "include/stamp-h"
17678 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17680 if test "x$enable_tools" != xno
17681 then
17682 wine_fn_ignore_file "tools/makedep$ac_exeext"
17683 ac_config_commands="$ac_config_commands tools/makedep"
17687 ac_config_commands="$ac_config_commands Makefile"
17690 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17694 if test "x$enable_maintainer_mode" = xyes
17695 then
17696 wine_fn_append_rule "configure: configure.ac aclocal.m4
17697 autoconf --warnings=all
17698 include/config.h.in: include/stamp-h.in
17699 include/stamp-h.in: configure.ac aclocal.m4
17700 autoheader --warnings=all
17701 @echo timestamp > \$@"
17704 if test "x$with_gettextpo" = xyes
17705 then
17706 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17707 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17708 \$(LINGUAS:%=po/%.po): po/wine.pot
17709 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17710 po/wine.pot: \$(ALL_POT_FILES)
17711 msgcat -o \$@ \$(ALL_POT_FILES)"
17714 if test "$MSGFMT" != false
17715 then
17716 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17717 clean::
17718 \$(RM) \$(LINGUAS:%=po/%.mo)"
17720 posrc="po"
17721 test "$srcdir" = . || posrc="$srcdir/po"
17722 for i in $LINGUAS
17724 wine_fn_ignore_file "po/$i.mo"
17725 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17726 \$(MSGFMT) -o \$@ $posrc/$i.po"
17727 done
17728 else
17729 LINGUAS=
17732 if test "x$enable_tools" != xno
17733 then
17734 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17735 @./config.status tools/makedep
17736 Makefile: tools/makedep$ac_exeext
17737 distclean:: clean
17738 \$(RM) tools/makedep$ac_exeext"
17739 else
17740 wine_fn_append_rule "\$(MAKEDEP):
17741 @echo \"You need to run make in $TOOLSDIR first\" && false"
17744 if test -n "$with_wine64"
17745 then
17746 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17747 fonts server tools:
17748 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17749 $with_wine64/loader/wine:
17750 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17751 $with_wine64/loader/wine-preloader:
17752 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17753 clean::
17754 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17755 else
17756 as_fn_append LOADER_RULES "
17757 install install-lib:: wine.inf install-man-pages
17758 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17759 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17761 uninstall::
17762 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17766 if test "$srcdir" = .
17767 then
17768 ac_config_commands="$ac_config_commands .gitignore"
17772 $as_echo " done" >&6
17773 cat >confcache <<\_ACEOF
17774 # This file is a shell script that caches the results of configure
17775 # tests run on this system so they can be shared between configure
17776 # scripts and configure runs, see configure's option --config-cache.
17777 # It is not useful on other systems. If it contains results you don't
17778 # want to keep, you may remove or edit it.
17780 # config.status only pays attention to the cache file if you give it
17781 # the --recheck option to rerun configure.
17783 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17784 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17785 # following values.
17787 _ACEOF
17789 # The following way of writing the cache mishandles newlines in values,
17790 # but we know of no workaround that is simple, portable, and efficient.
17791 # So, we kill variables containing newlines.
17792 # Ultrix sh set writes to stderr and can't be redirected directly,
17793 # and sets the high bit in the cache file unless we assign to the vars.
17795 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17796 eval ac_val=\$$ac_var
17797 case $ac_val in #(
17798 *${as_nl}*)
17799 case $ac_var in #(
17800 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17801 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17802 esac
17803 case $ac_var in #(
17804 _ | IFS | as_nl) ;; #(
17805 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17806 *) { eval $ac_var=; unset $ac_var;} ;;
17807 esac ;;
17808 esac
17809 done
17811 (set) 2>&1 |
17812 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17813 *${as_nl}ac_space=\ *)
17814 # `set' does not quote correctly, so add quotes: double-quote
17815 # substitution turns \\\\ into \\, and sed turns \\ into \.
17816 sed -n \
17817 "s/'/'\\\\''/g;
17818 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17819 ;; #(
17821 # `set' quotes correctly as required by POSIX, so do not add quotes.
17822 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17824 esac |
17825 sort
17827 sed '
17828 /^ac_cv_env_/b end
17829 t clear
17830 :clear
17831 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17832 t end
17833 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17834 :end' >>confcache
17835 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17836 if test -w "$cache_file"; then
17837 if test "x$cache_file" != "x/dev/null"; then
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17839 $as_echo "$as_me: updating cache $cache_file" >&6;}
17840 if test ! -f "$cache_file" || test -h "$cache_file"; then
17841 cat confcache >"$cache_file"
17842 else
17843 case $cache_file in #(
17844 */* | ?:*)
17845 mv -f confcache "$cache_file"$$ &&
17846 mv -f "$cache_file"$$ "$cache_file" ;; #(
17848 mv -f confcache "$cache_file" ;;
17849 esac
17852 else
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17854 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17857 rm -f confcache
17859 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17860 # Let make expand exec_prefix.
17861 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17863 DEFS=-DHAVE_CONFIG_H
17865 ac_libobjs=
17866 ac_ltlibobjs=
17868 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17869 # 1. Remove the extension, and $U if already installed.
17870 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17871 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17872 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17873 # will be set to the directory where LIBOBJS objects are built.
17874 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17875 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17876 done
17877 LIBOBJS=$ac_libobjs
17879 LTLIBOBJS=$ac_ltlibobjs
17883 : "${CONFIG_STATUS=./config.status}"
17884 ac_write_fail=0
17885 ac_clean_files_save=$ac_clean_files
17886 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17888 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17889 as_write_fail=0
17890 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17891 #! $SHELL
17892 # Generated by $as_me.
17893 # Run this file to recreate the current configuration.
17894 # Compiler output produced by configure, useful for debugging
17895 # configure, is in config.log if it exists.
17897 debug=false
17898 ac_cs_recheck=false
17899 ac_cs_silent=false
17901 SHELL=\${CONFIG_SHELL-$SHELL}
17902 export SHELL
17903 _ASEOF
17904 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17905 ## -------------------- ##
17906 ## M4sh Initialization. ##
17907 ## -------------------- ##
17909 # Be more Bourne compatible
17910 DUALCASE=1; export DUALCASE # for MKS sh
17911 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17912 emulate sh
17913 NULLCMD=:
17914 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17915 # is contrary to our usage. Disable this feature.
17916 alias -g '${1+"$@"}'='"$@"'
17917 setopt NO_GLOB_SUBST
17918 else
17919 case `(set -o) 2>/dev/null` in #(
17920 *posix*) :
17921 set -o posix ;; #(
17922 *) :
17924 esac
17928 as_nl='
17930 export as_nl
17931 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17932 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17933 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17934 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17935 # Prefer a ksh shell builtin over an external printf program on Solaris,
17936 # but without wasting forks for bash or zsh.
17937 if test -z "$BASH_VERSION$ZSH_VERSION" \
17938 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17939 as_echo='print -r --'
17940 as_echo_n='print -rn --'
17941 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17942 as_echo='printf %s\n'
17943 as_echo_n='printf %s'
17944 else
17945 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17946 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17947 as_echo_n='/usr/ucb/echo -n'
17948 else
17949 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17950 as_echo_n_body='eval
17951 arg=$1;
17952 case $arg in #(
17953 *"$as_nl"*)
17954 expr "X$arg" : "X\\(.*\\)$as_nl";
17955 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17956 esac;
17957 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17959 export as_echo_n_body
17960 as_echo_n='sh -c $as_echo_n_body as_echo'
17962 export as_echo_body
17963 as_echo='sh -c $as_echo_body as_echo'
17966 # The user is always right.
17967 if test "${PATH_SEPARATOR+set}" != set; then
17968 PATH_SEPARATOR=:
17969 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17970 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17971 PATH_SEPARATOR=';'
17976 # IFS
17977 # We need space, tab and new line, in precisely that order. Quoting is
17978 # there to prevent editors from complaining about space-tab.
17979 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17980 # splitting by setting IFS to empty value.)
17981 IFS=" "" $as_nl"
17983 # Find who we are. Look in the path if we contain no directory separator.
17984 as_myself=
17985 case $0 in #((
17986 *[\\/]* ) as_myself=$0 ;;
17987 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17988 for as_dir in $PATH
17990 IFS=$as_save_IFS
17991 test -z "$as_dir" && as_dir=.
17992 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17993 done
17994 IFS=$as_save_IFS
17997 esac
17998 # We did not find ourselves, most probably we were run as `sh COMMAND'
17999 # in which case we are not to be found in the path.
18000 if test "x$as_myself" = x; then
18001 as_myself=$0
18003 if test ! -f "$as_myself"; then
18004 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18005 exit 1
18008 # Unset variables that we do not need and which cause bugs (e.g. in
18009 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18010 # suppresses any "Segmentation fault" message there. '((' could
18011 # trigger a bug in pdksh 5.2.14.
18012 for as_var in BASH_ENV ENV MAIL MAILPATH
18013 do eval test x\${$as_var+set} = xset \
18014 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18015 done
18016 PS1='$ '
18017 PS2='> '
18018 PS4='+ '
18020 # NLS nuisances.
18021 LC_ALL=C
18022 export LC_ALL
18023 LANGUAGE=C
18024 export LANGUAGE
18026 # CDPATH.
18027 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18030 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18031 # ----------------------------------------
18032 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18033 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18034 # script with STATUS, using 1 if that was 0.
18035 as_fn_error ()
18037 as_status=$1; test $as_status -eq 0 && as_status=1
18038 if test "$4"; then
18039 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18040 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18042 $as_echo "$as_me: error: $2" >&2
18043 as_fn_exit $as_status
18044 } # as_fn_error
18047 # as_fn_set_status STATUS
18048 # -----------------------
18049 # Set $? to STATUS, without forking.
18050 as_fn_set_status ()
18052 return $1
18053 } # as_fn_set_status
18055 # as_fn_exit STATUS
18056 # -----------------
18057 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18058 as_fn_exit ()
18060 set +e
18061 as_fn_set_status $1
18062 exit $1
18063 } # as_fn_exit
18065 # as_fn_unset VAR
18066 # ---------------
18067 # Portably unset VAR.
18068 as_fn_unset ()
18070 { eval $1=; unset $1;}
18072 as_unset=as_fn_unset
18073 # as_fn_append VAR VALUE
18074 # ----------------------
18075 # Append the text in VALUE to the end of the definition contained in VAR. Take
18076 # advantage of any shell optimizations that allow amortized linear growth over
18077 # repeated appends, instead of the typical quadratic growth present in naive
18078 # implementations.
18079 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18080 eval 'as_fn_append ()
18082 eval $1+=\$2
18084 else
18085 as_fn_append ()
18087 eval $1=\$$1\$2
18089 fi # as_fn_append
18091 # as_fn_arith ARG...
18092 # ------------------
18093 # Perform arithmetic evaluation on the ARGs, and store the result in the
18094 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18095 # must be portable across $(()) and expr.
18096 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18097 eval 'as_fn_arith ()
18099 as_val=$(( $* ))
18101 else
18102 as_fn_arith ()
18104 as_val=`expr "$@" || test $? -eq 1`
18106 fi # as_fn_arith
18109 if expr a : '\(a\)' >/dev/null 2>&1 &&
18110 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18111 as_expr=expr
18112 else
18113 as_expr=false
18116 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18117 as_basename=basename
18118 else
18119 as_basename=false
18122 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18123 as_dirname=dirname
18124 else
18125 as_dirname=false
18128 as_me=`$as_basename -- "$0" ||
18129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18130 X"$0" : 'X\(//\)$' \| \
18131 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18132 $as_echo X/"$0" |
18133 sed '/^.*\/\([^/][^/]*\)\/*$/{
18134 s//\1/
18137 /^X\/\(\/\/\)$/{
18138 s//\1/
18141 /^X\/\(\/\).*/{
18142 s//\1/
18145 s/.*/./; q'`
18147 # Avoid depending upon Character Ranges.
18148 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18149 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18150 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18151 as_cr_digits='0123456789'
18152 as_cr_alnum=$as_cr_Letters$as_cr_digits
18154 ECHO_C= ECHO_N= ECHO_T=
18155 case `echo -n x` in #(((((
18156 -n*)
18157 case `echo 'xy\c'` in
18158 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18159 xy) ECHO_C='\c';;
18160 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18161 ECHO_T=' ';;
18162 esac;;
18164 ECHO_N='-n';;
18165 esac
18167 rm -f conf$$ conf$$.exe conf$$.file
18168 if test -d conf$$.dir; then
18169 rm -f conf$$.dir/conf$$.file
18170 else
18171 rm -f conf$$.dir
18172 mkdir conf$$.dir 2>/dev/null
18174 if (echo >conf$$.file) 2>/dev/null; then
18175 if ln -s conf$$.file conf$$ 2>/dev/null; then
18176 as_ln_s='ln -s'
18177 # ... but there are two gotchas:
18178 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18179 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18180 # In both cases, we have to default to `cp -pR'.
18181 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18182 as_ln_s='cp -pR'
18183 elif ln conf$$.file conf$$ 2>/dev/null; then
18184 as_ln_s=ln
18185 else
18186 as_ln_s='cp -pR'
18188 else
18189 as_ln_s='cp -pR'
18191 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18192 rmdir conf$$.dir 2>/dev/null
18195 # as_fn_mkdir_p
18196 # -------------
18197 # Create "$as_dir" as a directory, including parents if necessary.
18198 as_fn_mkdir_p ()
18201 case $as_dir in #(
18202 -*) as_dir=./$as_dir;;
18203 esac
18204 test -d "$as_dir" || eval $as_mkdir_p || {
18205 as_dirs=
18206 while :; do
18207 case $as_dir in #(
18208 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18209 *) as_qdir=$as_dir;;
18210 esac
18211 as_dirs="'$as_qdir' $as_dirs"
18212 as_dir=`$as_dirname -- "$as_dir" ||
18213 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18214 X"$as_dir" : 'X\(//\)[^/]' \| \
18215 X"$as_dir" : 'X\(//\)$' \| \
18216 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18217 $as_echo X"$as_dir" |
18218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18219 s//\1/
18222 /^X\(\/\/\)[^/].*/{
18223 s//\1/
18226 /^X\(\/\/\)$/{
18227 s//\1/
18230 /^X\(\/\).*/{
18231 s//\1/
18234 s/.*/./; q'`
18235 test -d "$as_dir" && break
18236 done
18237 test -z "$as_dirs" || eval "mkdir $as_dirs"
18238 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18241 } # as_fn_mkdir_p
18242 if mkdir -p . 2>/dev/null; then
18243 as_mkdir_p='mkdir -p "$as_dir"'
18244 else
18245 test -d ./-p && rmdir ./-p
18246 as_mkdir_p=false
18250 # as_fn_executable_p FILE
18251 # -----------------------
18252 # Test if FILE is an executable regular file.
18253 as_fn_executable_p ()
18255 test -f "$1" && test -x "$1"
18256 } # as_fn_executable_p
18257 as_test_x='test -x'
18258 as_executable_p=as_fn_executable_p
18260 # Sed expression to map a string onto a valid CPP name.
18261 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18263 # Sed expression to map a string onto a valid variable name.
18264 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18267 exec 6>&1
18268 ## ----------------------------------- ##
18269 ## Main body of $CONFIG_STATUS script. ##
18270 ## ----------------------------------- ##
18271 _ASEOF
18272 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18275 # Save the log message, to keep $0 and so on meaningful, and to
18276 # report actual input values of CONFIG_FILES etc. instead of their
18277 # values after options handling.
18278 ac_log="
18279 This file was extended by Wine $as_me 1.7.32, which was
18280 generated by GNU Autoconf 2.69. Invocation command line was
18282 CONFIG_FILES = $CONFIG_FILES
18283 CONFIG_HEADERS = $CONFIG_HEADERS
18284 CONFIG_LINKS = $CONFIG_LINKS
18285 CONFIG_COMMANDS = $CONFIG_COMMANDS
18286 $ $0 $@
18288 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18291 _ACEOF
18293 case $ac_config_files in *"
18294 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18295 esac
18297 case $ac_config_headers in *"
18298 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18299 esac
18302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18303 # Files that config.status was made for.
18304 config_files="$ac_config_files"
18305 config_headers="$ac_config_headers"
18306 config_links="$ac_config_links"
18307 config_commands="$ac_config_commands"
18309 _ACEOF
18311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18312 ac_cs_usage="\
18313 \`$as_me' instantiates files and other configuration actions
18314 from templates according to the current configuration. Unless the files
18315 and actions are specified as TAGs, all are instantiated by default.
18317 Usage: $0 [OPTION]... [TAG]...
18319 -h, --help print this help, then exit
18320 -V, --version print version number and configuration settings, then exit
18321 --config print configuration, then exit
18322 -q, --quiet, --silent
18323 do not print progress messages
18324 -d, --debug don't remove temporary files
18325 --recheck update $as_me by reconfiguring in the same conditions
18326 --file=FILE[:TEMPLATE]
18327 instantiate the configuration file FILE
18328 --header=FILE[:TEMPLATE]
18329 instantiate the configuration header FILE
18331 Configuration files:
18332 $config_files
18334 Configuration headers:
18335 $config_headers
18337 Configuration links:
18338 $config_links
18340 Configuration commands:
18341 $config_commands
18343 Report bugs to <wine-devel@winehq.org>.
18344 Wine home page: <http://www.winehq.org>."
18346 _ACEOF
18347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18348 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18349 ac_cs_version="\\
18350 Wine config.status 1.7.32
18351 configured by $0, generated by GNU Autoconf 2.69,
18352 with options \\"\$ac_cs_config\\"
18354 Copyright (C) 2012 Free Software Foundation, Inc.
18355 This config.status script is free software; the Free Software Foundation
18356 gives unlimited permission to copy, distribute and modify it."
18358 ac_pwd='$ac_pwd'
18359 srcdir='$srcdir'
18360 test -n "\$AWK" || AWK=awk
18361 _ACEOF
18363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18364 # The default lists apply if the user does not specify any file.
18365 ac_need_defaults=:
18366 while test $# != 0
18368 case $1 in
18369 --*=?*)
18370 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18371 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18372 ac_shift=:
18374 --*=)
18375 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18376 ac_optarg=
18377 ac_shift=:
18380 ac_option=$1
18381 ac_optarg=$2
18382 ac_shift=shift
18384 esac
18386 case $ac_option in
18387 # Handling of the options.
18388 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18389 ac_cs_recheck=: ;;
18390 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18391 $as_echo "$ac_cs_version"; exit ;;
18392 --config | --confi | --conf | --con | --co | --c )
18393 $as_echo "$ac_cs_config"; exit ;;
18394 --debug | --debu | --deb | --de | --d | -d )
18395 debug=: ;;
18396 --file | --fil | --fi | --f )
18397 $ac_shift
18398 case $ac_optarg in
18399 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18400 '') as_fn_error $? "missing file argument" ;;
18401 esac
18402 as_fn_append CONFIG_FILES " '$ac_optarg'"
18403 ac_need_defaults=false;;
18404 --header | --heade | --head | --hea )
18405 $ac_shift
18406 case $ac_optarg in
18407 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18408 esac
18409 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18410 ac_need_defaults=false;;
18411 --he | --h)
18412 # Conflict between --help and --header
18413 as_fn_error $? "ambiguous option: \`$1'
18414 Try \`$0 --help' for more information.";;
18415 --help | --hel | -h )
18416 $as_echo "$ac_cs_usage"; exit ;;
18417 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18418 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18419 ac_cs_silent=: ;;
18421 # This is an error.
18422 -*) as_fn_error $? "unrecognized option: \`$1'
18423 Try \`$0 --help' for more information." ;;
18425 *) as_fn_append ac_config_targets " $1"
18426 ac_need_defaults=false ;;
18428 esac
18429 shift
18430 done
18432 ac_configure_extra_args=
18434 if $ac_cs_silent; then
18435 exec 6>/dev/null
18436 ac_configure_extra_args="$ac_configure_extra_args --silent"
18439 _ACEOF
18440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18441 if \$ac_cs_recheck; then
18442 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18443 shift
18444 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18445 CONFIG_SHELL='$SHELL'
18446 export CONFIG_SHELL
18447 exec "\$@"
18450 _ACEOF
18451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18452 exec 5>>config.log
18454 echo
18455 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18456 ## Running $as_me. ##
18457 _ASBOX
18458 $as_echo "$ac_log"
18459 } >&5
18461 _ACEOF
18462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18464 # INIT-COMMANDS
18466 wine_fn_output_makedep ()
18468 as_dir=tools; as_fn_mkdir_p
18469 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18471 wine_fn_output_makefile ()
18473 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18474 `cat $wine_rules_file`
18475 _WINE_EOF
18476 as_fn_error $? "could not create Makefile" "$LINENO" 5
18478 wine_fn_output_gitignore ()
18480 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18481 $GITIGNORE
18482 _WINE_EOF
18483 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18486 _ACEOF
18488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18490 # Handling of arguments.
18491 for ac_config_target in $ac_config_targets
18493 case $ac_config_target in
18494 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18495 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18496 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18497 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18498 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18499 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18500 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18501 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18502 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18503 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18504 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18505 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18506 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18507 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18509 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18510 esac
18511 done
18514 # If the user did not use the arguments to specify the items to instantiate,
18515 # then the envvar interface is used. Set only those that are not.
18516 # We use the long form for the default assignment because of an extremely
18517 # bizarre bug on SunOS 4.1.3.
18518 if $ac_need_defaults; then
18519 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18520 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18521 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18522 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18525 # Have a temporary directory for convenience. Make it in the build tree
18526 # simply because there is no reason against having it here, and in addition,
18527 # creating and moving files from /tmp can sometimes cause problems.
18528 # Hook for its removal unless debugging.
18529 # Note that there is a small window in which the directory will not be cleaned:
18530 # after its creation but before its name has been assigned to `$tmp'.
18531 $debug ||
18533 tmp= ac_tmp=
18534 trap 'exit_status=$?
18535 : "${ac_tmp:=$tmp}"
18536 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18538 trap 'as_fn_exit 1' 1 2 13 15
18540 # Create a (secure) tmp directory for tmp files.
18543 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18544 test -d "$tmp"
18545 } ||
18547 tmp=./conf$$-$RANDOM
18548 (umask 077 && mkdir "$tmp")
18549 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18550 ac_tmp=$tmp
18552 # Set up the scripts for CONFIG_FILES section.
18553 # No need to generate them if there are no CONFIG_FILES.
18554 # This happens for instance with `./config.status config.h'.
18555 if test -n "$CONFIG_FILES"; then
18558 ac_cr=`echo X | tr X '\015'`
18559 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18560 # But we know of no other shell where ac_cr would be empty at this
18561 # point, so we can use a bashism as a fallback.
18562 if test "x$ac_cr" = x; then
18563 eval ac_cr=\$\'\\r\'
18565 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18566 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18567 ac_cs_awk_cr='\\r'
18568 else
18569 ac_cs_awk_cr=$ac_cr
18572 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18573 _ACEOF
18577 echo "cat >conf$$subs.awk <<_ACEOF" &&
18578 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18579 echo "_ACEOF"
18580 } >conf$$subs.sh ||
18581 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18582 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18583 ac_delim='%!_!# '
18584 for ac_last_try in false false false false false :; do
18585 . ./conf$$subs.sh ||
18586 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18588 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18589 if test $ac_delim_n = $ac_delim_num; then
18590 break
18591 elif $ac_last_try; then
18592 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18593 else
18594 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18596 done
18597 rm -f conf$$subs.sh
18599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18600 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18601 _ACEOF
18602 sed -n '
18604 s/^/S["/; s/!.*/"]=/
18607 s/^[^!]*!//
18608 :repl
18609 t repl
18610 s/'"$ac_delim"'$//
18611 t delim
18614 s/\(.\{148\}\)..*/\1/
18615 t more1
18616 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18619 b repl
18620 :more1
18621 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18624 s/.\{148\}//
18625 t nl
18626 :delim
18628 s/\(.\{148\}\)..*/\1/
18629 t more2
18630 s/["\\]/\\&/g; s/^/"/; s/$/"/
18633 :more2
18634 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18637 s/.\{148\}//
18638 t delim
18639 ' <conf$$subs.awk | sed '
18640 /^[^""]/{
18642 s/\n//
18644 ' >>$CONFIG_STATUS || ac_write_fail=1
18645 rm -f conf$$subs.awk
18646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18647 _ACAWK
18648 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18649 for (key in S) S_is_set[key] = 1
18650 FS = "\a"
18654 line = $ 0
18655 nfields = split(line, field, "@")
18656 substed = 0
18657 len = length(field[1])
18658 for (i = 2; i < nfields; i++) {
18659 key = field[i]
18660 keylen = length(key)
18661 if (S_is_set[key]) {
18662 value = S[key]
18663 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18664 len += length(value) + length(field[++i])
18665 substed = 1
18666 } else
18667 len += 1 + keylen
18670 print line
18673 _ACAWK
18674 _ACEOF
18675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18676 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18677 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18678 else
18680 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18681 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18682 _ACEOF
18684 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18685 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18686 # trailing colons and then remove the whole line if VPATH becomes empty
18687 # (actually we leave an empty line to preserve line numbers).
18688 if test "x$srcdir" = x.; then
18689 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18691 s///
18692 s/^/:/
18693 s/[ ]*$/:/
18694 s/:\$(srcdir):/:/g
18695 s/:\${srcdir}:/:/g
18696 s/:@srcdir@:/:/g
18697 s/^:*//
18698 s/:*$//
18700 s/\(=[ ]*\).*/\1/
18702 s/\n//
18703 s/^[^=]*=[ ]*$//
18707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18708 fi # test -n "$CONFIG_FILES"
18710 # Set up the scripts for CONFIG_HEADERS section.
18711 # No need to generate them if there are no CONFIG_HEADERS.
18712 # This happens for instance with `./config.status Makefile'.
18713 if test -n "$CONFIG_HEADERS"; then
18714 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18715 BEGIN {
18716 _ACEOF
18718 # Transform confdefs.h into an awk script `defines.awk', embedded as
18719 # here-document in config.status, that substitutes the proper values into
18720 # config.h.in to produce config.h.
18722 # Create a delimiter string that does not exist in confdefs.h, to ease
18723 # handling of long lines.
18724 ac_delim='%!_!# '
18725 for ac_last_try in false false :; do
18726 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18727 if test -z "$ac_tt"; then
18728 break
18729 elif $ac_last_try; then
18730 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18731 else
18732 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18734 done
18736 # For the awk script, D is an array of macro values keyed by name,
18737 # likewise P contains macro parameters if any. Preserve backslash
18738 # newline sequences.
18740 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18741 sed -n '
18742 s/.\{148\}/&'"$ac_delim"'/g
18743 t rset
18744 :rset
18745 s/^[ ]*#[ ]*define[ ][ ]*/ /
18746 t def
18748 :def
18749 s/\\$//
18750 t bsnl
18751 s/["\\]/\\&/g
18752 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18753 D["\1"]=" \3"/p
18754 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18756 :bsnl
18757 s/["\\]/\\&/g
18758 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18759 D["\1"]=" \3\\\\\\n"\\/p
18760 t cont
18761 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18762 t cont
18764 :cont
18766 s/.\{148\}/&'"$ac_delim"'/g
18767 t clear
18768 :clear
18769 s/\\$//
18770 t bsnlc
18771 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18773 :bsnlc
18774 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18775 b cont
18776 ' <confdefs.h | sed '
18777 s/'"$ac_delim"'/"\\\
18778 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18781 for (key in D) D_is_set[key] = 1
18782 FS = "\a"
18784 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18785 line = \$ 0
18786 split(line, arg, " ")
18787 if (arg[1] == "#") {
18788 defundef = arg[2]
18789 mac1 = arg[3]
18790 } else {
18791 defundef = substr(arg[1], 2)
18792 mac1 = arg[2]
18794 split(mac1, mac2, "(") #)
18795 macro = mac2[1]
18796 prefix = substr(line, 1, index(line, defundef) - 1)
18797 if (D_is_set[macro]) {
18798 # Preserve the white space surrounding the "#".
18799 print prefix "define", macro P[macro] D[macro]
18800 next
18801 } else {
18802 # Replace #undef with comments. This is necessary, for example,
18803 # in the case of _POSIX_SOURCE, which is predefined and required
18804 # on some systems where configure will not decide to define it.
18805 if (defundef == "undef") {
18806 print "/*", prefix defundef, macro, "*/"
18807 next
18811 { print }
18812 _ACAWK
18813 _ACEOF
18814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18815 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18816 fi # test -n "$CONFIG_HEADERS"
18819 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18820 shift
18821 for ac_tag
18823 case $ac_tag in
18824 :[FHLC]) ac_mode=$ac_tag; continue;;
18825 esac
18826 case $ac_mode$ac_tag in
18827 :[FHL]*:*);;
18828 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18829 :[FH]-) ac_tag=-:-;;
18830 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18831 esac
18832 ac_save_IFS=$IFS
18833 IFS=:
18834 set x $ac_tag
18835 IFS=$ac_save_IFS
18836 shift
18837 ac_file=$1
18838 shift
18840 case $ac_mode in
18841 :L) ac_source=$1;;
18842 :[FH])
18843 ac_file_inputs=
18844 for ac_f
18846 case $ac_f in
18847 -) ac_f="$ac_tmp/stdin";;
18848 *) # Look for the file first in the build tree, then in the source tree
18849 # (if the path is not absolute). The absolute path cannot be DOS-style,
18850 # because $ac_f cannot contain `:'.
18851 test -f "$ac_f" ||
18852 case $ac_f in
18853 [\\/$]*) false;;
18854 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18855 esac ||
18856 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18857 esac
18858 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18859 as_fn_append ac_file_inputs " '$ac_f'"
18860 done
18862 # Let's still pretend it is `configure' which instantiates (i.e., don't
18863 # use $as_me), people would be surprised to read:
18864 # /* config.h. Generated by config.status. */
18865 configure_input='Generated from '`
18866 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18867 `' by configure.'
18868 if test x"$ac_file" != x-; then
18869 configure_input="$ac_file. $configure_input"
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18871 $as_echo "$as_me: creating $ac_file" >&6;}
18873 # Neutralize special characters interpreted by sed in replacement strings.
18874 case $configure_input in #(
18875 *\&* | *\|* | *\\* )
18876 ac_sed_conf_input=`$as_echo "$configure_input" |
18877 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18878 *) ac_sed_conf_input=$configure_input;;
18879 esac
18881 case $ac_tag in
18882 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18883 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18884 esac
18886 esac
18888 ac_dir=`$as_dirname -- "$ac_file" ||
18889 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18890 X"$ac_file" : 'X\(//\)[^/]' \| \
18891 X"$ac_file" : 'X\(//\)$' \| \
18892 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18893 $as_echo X"$ac_file" |
18894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18895 s//\1/
18898 /^X\(\/\/\)[^/].*/{
18899 s//\1/
18902 /^X\(\/\/\)$/{
18903 s//\1/
18906 /^X\(\/\).*/{
18907 s//\1/
18910 s/.*/./; q'`
18911 as_dir="$ac_dir"; as_fn_mkdir_p
18912 ac_builddir=.
18914 case "$ac_dir" in
18915 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18917 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18918 # A ".." for each directory in $ac_dir_suffix.
18919 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18920 case $ac_top_builddir_sub in
18921 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18922 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18923 esac ;;
18924 esac
18925 ac_abs_top_builddir=$ac_pwd
18926 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18927 # for backward compatibility:
18928 ac_top_builddir=$ac_top_build_prefix
18930 case $srcdir in
18931 .) # We are building in place.
18932 ac_srcdir=.
18933 ac_top_srcdir=$ac_top_builddir_sub
18934 ac_abs_top_srcdir=$ac_pwd ;;
18935 [\\/]* | ?:[\\/]* ) # Absolute name.
18936 ac_srcdir=$srcdir$ac_dir_suffix;
18937 ac_top_srcdir=$srcdir
18938 ac_abs_top_srcdir=$srcdir ;;
18939 *) # Relative name.
18940 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18941 ac_top_srcdir=$ac_top_build_prefix$srcdir
18942 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18943 esac
18944 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18947 case $ac_mode in
18950 # CONFIG_FILE
18953 _ACEOF
18955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18956 # If the template does not know about datarootdir, expand it.
18957 # FIXME: This hack should be removed a few years after 2.60.
18958 ac_datarootdir_hack=; ac_datarootdir_seen=
18959 ac_sed_dataroot='
18960 /datarootdir/ {
18964 /@datadir@/p
18965 /@docdir@/p
18966 /@infodir@/p
18967 /@localedir@/p
18968 /@mandir@/p'
18969 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18970 *datarootdir*) ac_datarootdir_seen=yes;;
18971 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18973 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18974 _ACEOF
18975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18976 ac_datarootdir_hack='
18977 s&@datadir@&$datadir&g
18978 s&@docdir@&$docdir&g
18979 s&@infodir@&$infodir&g
18980 s&@localedir@&$localedir&g
18981 s&@mandir@&$mandir&g
18982 s&\\\${datarootdir}&$datarootdir&g' ;;
18983 esac
18984 _ACEOF
18986 # Neutralize VPATH when `$srcdir' = `.'.
18987 # Shell code in configure.ac might set extrasub.
18988 # FIXME: do we really want to maintain this feature?
18989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18990 ac_sed_extra="$ac_vpsub
18991 $extrasub
18992 _ACEOF
18993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18995 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18996 s|@configure_input@|$ac_sed_conf_input|;t t
18997 s&@top_builddir@&$ac_top_builddir_sub&;t t
18998 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18999 s&@srcdir@&$ac_srcdir&;t t
19000 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19001 s&@top_srcdir@&$ac_top_srcdir&;t t
19002 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19003 s&@builddir@&$ac_builddir&;t t
19004 s&@abs_builddir@&$ac_abs_builddir&;t t
19005 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19006 $ac_datarootdir_hack
19008 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19009 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19011 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19012 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19013 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19014 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19016 which seems to be undefined. Please make sure it is defined" >&5
19017 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19018 which seems to be undefined. Please make sure it is defined" >&2;}
19020 rm -f "$ac_tmp/stdin"
19021 case $ac_file in
19022 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19023 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19024 esac \
19025 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19029 # CONFIG_HEADER
19031 if test x"$ac_file" != x-; then
19033 $as_echo "/* $configure_input */" \
19034 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19035 } >"$ac_tmp/config.h" \
19036 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19037 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19038 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19039 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19040 else
19041 rm -f "$ac_file"
19042 mv "$ac_tmp/config.h" "$ac_file" \
19043 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19045 else
19046 $as_echo "/* $configure_input */" \
19047 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19048 || as_fn_error $? "could not create -" "$LINENO" 5
19053 # CONFIG_LINK
19056 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19058 else
19059 # Prefer the file from the source tree if names are identical.
19060 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19061 ac_source=$srcdir/$ac_source
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19065 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19067 if test ! -r "$ac_source"; then
19068 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19070 rm -f "$ac_file"
19072 # Try a relative symlink, then a hard link, then a copy.
19073 case $ac_source in
19074 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19075 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19076 esac
19077 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19078 ln "$ac_source" "$ac_file" 2>/dev/null ||
19079 cp -p "$ac_source" "$ac_file" ||
19080 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19083 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19084 $as_echo "$as_me: executing $ac_file commands" >&6;}
19086 esac
19089 case $ac_file$ac_mode in
19090 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19091 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19092 "Makefile":C) wine_fn_output_makefile Makefile ;;
19093 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19095 esac
19096 done # for ac_tag
19099 as_fn_exit 0
19100 _ACEOF
19101 ac_clean_files=$ac_clean_files_save
19103 test $ac_write_fail = 0 ||
19104 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19107 # configure is writing to config.log, and then calls config.status.
19108 # config.status does its own redirection, appending to config.log.
19109 # Unfortunately, on DOS this fails, as config.log is still kept open
19110 # by configure, so config.status won't be able to write to it; its
19111 # output is simply discarded. So we exec the FD to /dev/null,
19112 # effectively closing config.log, so it can be properly (re)opened and
19113 # appended to by config.status. When coming back to configure, we
19114 # need to make the FD available again.
19115 if test "$no_create" != yes; then
19116 ac_cs_success=:
19117 ac_config_status_args=
19118 test "$silent" = yes &&
19119 ac_config_status_args="$ac_config_status_args --quiet"
19120 exec 5>/dev/null
19121 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19122 exec 5>>config.log
19123 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19124 # would make configure fail if this is the last instruction.
19125 $ac_cs_success || as_fn_exit 1
19127 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19129 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19133 if test "$no_create" = "yes"
19134 then
19135 exit 0
19138 ac_save_IFS="$IFS"
19139 if test "x$wine_notices != "x; then
19140 echo >&6
19141 IFS="|"
19142 for msg in $wine_notices; do
19143 IFS="$ac_save_IFS"
19144 if ${msg:+false} :; then :
19146 else
19147 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19148 $as_echo "$as_me: $msg" >&6;}
19150 done
19152 IFS="|"
19153 for msg in $wine_warnings; do
19154 IFS="$ac_save_IFS"
19155 if ${msg:+false} :; then :
19157 else
19158 echo >&2
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19160 $as_echo "$as_me: WARNING: $msg" >&2;}
19162 done
19163 IFS="$ac_save_IFS"
19165 $as_echo "
19166 $as_me: Finished. Do '${ac_make}' to compile Wine.
19167 " >&6