regsvr32: Update program version.
[wine.git] / configure
blobeebde01415488ee1f9c629eb0cf70cd41a4ecc43
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_combase
939 enable_comcat
940 enable_comctl32
941 enable_comdlg32
942 enable_compstui
943 enable_comsvcs
944 enable_credui
945 enable_crtdll
946 enable_crypt32
947 enable_cryptdlg
948 enable_cryptdll
949 enable_cryptext
950 enable_cryptnet
951 enable_cryptui
952 enable_ctapi32
953 enable_ctl3d32
954 enable_d2d1
955 enable_d3d10
956 enable_d3d10_1
957 enable_d3d10core
958 enable_d3d11
959 enable_d3d8
960 enable_d3d9
961 enable_d3dcompiler_33
962 enable_d3dcompiler_34
963 enable_d3dcompiler_35
964 enable_d3dcompiler_36
965 enable_d3dcompiler_37
966 enable_d3dcompiler_38
967 enable_d3dcompiler_39
968 enable_d3dcompiler_40
969 enable_d3dcompiler_41
970 enable_d3dcompiler_42
971 enable_d3dcompiler_43
972 enable_d3dim
973 enable_d3drm
974 enable_d3dx10_33
975 enable_d3dx10_34
976 enable_d3dx10_35
977 enable_d3dx10_36
978 enable_d3dx10_37
979 enable_d3dx10_38
980 enable_d3dx10_39
981 enable_d3dx10_40
982 enable_d3dx10_41
983 enable_d3dx10_42
984 enable_d3dx10_43
985 enable_d3dx11_42
986 enable_d3dx11_43
987 enable_d3dx9_24
988 enable_d3dx9_25
989 enable_d3dx9_26
990 enable_d3dx9_27
991 enable_d3dx9_28
992 enable_d3dx9_29
993 enable_d3dx9_30
994 enable_d3dx9_31
995 enable_d3dx9_32
996 enable_d3dx9_33
997 enable_d3dx9_34
998 enable_d3dx9_35
999 enable_d3dx9_36
1000 enable_d3dx9_37
1001 enable_d3dx9_38
1002 enable_d3dx9_39
1003 enable_d3dx9_40
1004 enable_d3dx9_41
1005 enable_d3dx9_42
1006 enable_d3dx9_43
1007 enable_d3dxof
1008 enable_dbgeng
1009 enable_dbghelp
1010 enable_dciman32
1011 enable_ddraw
1012 enable_ddrawex
1013 enable_devenum
1014 enable_dhcpcsvc
1015 enable_difxapi
1016 enable_dinput
1017 enable_dinput8
1018 enable_dispex
1019 enable_dmband
1020 enable_dmcompos
1021 enable_dmime
1022 enable_dmloader
1023 enable_dmscript
1024 enable_dmstyle
1025 enable_dmsynth
1026 enable_dmusic
1027 enable_dmusic32
1028 enable_dnsapi
1029 enable_dplay
1030 enable_dplayx
1031 enable_dpnaddr
1032 enable_dpnet
1033 enable_dpnhpast
1034 enable_dpnlobby
1035 enable_dpvoice
1036 enable_dpwsockx
1037 enable_drmclien
1038 enable_dsound
1039 enable_dssenh
1040 enable_dswave
1041 enable_dwmapi
1042 enable_dwrite
1043 enable_dxdiagn
1044 enable_dxgi
1045 enable_dxva2
1046 enable_explorerframe
1047 enable_ext_ms_win_gdi_devcaps_l1_1_0
1048 enable_faultrep
1049 enable_fltlib
1050 enable_fntcache
1051 enable_fontsub
1052 enable_fusion
1053 enable_fwpuclnt
1054 enable_gameux
1055 enable_gdi32
1056 enable_gdiplus
1057 enable_glu32
1058 enable_gphoto2_ds
1059 enable_gpkcsp
1060 enable_hal
1061 enable_hhctrl_ocx
1062 enable_hid
1063 enable_hlink
1064 enable_hnetcfg
1065 enable_httpapi
1066 enable_iccvid
1067 enable_icmp
1068 enable_ieframe
1069 enable_imaadp32_acm
1070 enable_imagehlp
1071 enable_imm32
1072 enable_inetcomm
1073 enable_inetcpl_cpl
1074 enable_inetmib1
1075 enable_infosoft
1076 enable_initpki
1077 enable_inkobj
1078 enable_inseng
1079 enable_iphlpapi
1080 enable_itircl
1081 enable_itss
1082 enable_joy_cpl
1083 enable_jscript
1084 enable_jsproxy
1085 enable_kernel32
1086 enable_ksuser
1087 enable_ktmw32
1088 enable_loadperf
1089 enable_localspl
1090 enable_localui
1091 enable_lz32
1092 enable_mapi32
1093 enable_mapistub
1094 enable_mciavi32
1095 enable_mcicda
1096 enable_mciqtz32
1097 enable_mciseq
1098 enable_mciwave
1099 enable_mfplat
1100 enable_mgmtapi
1101 enable_midimap
1102 enable_mlang
1103 enable_mmcndmgr
1104 enable_mmdevapi
1105 enable_mountmgr_sys
1106 enable_mpr
1107 enable_mprapi
1108 enable_msacm32_drv
1109 enable_msacm32
1110 enable_msadp32_acm
1111 enable_msasn1
1112 enable_mscat32
1113 enable_mscms
1114 enable_mscoree
1115 enable_msctf
1116 enable_msdaps
1117 enable_msdmo
1118 enable_msftedit
1119 enable_msg711_acm
1120 enable_msgsm32_acm
1121 enable_mshtml_tlb
1122 enable_mshtml
1123 enable_msi
1124 enable_msident
1125 enable_msimg32
1126 enable_msimsg
1127 enable_msimtf
1128 enable_msisip
1129 enable_msisys_ocx
1130 enable_msls31
1131 enable_msnet32
1132 enable_mspatcha
1133 enable_msrle32
1134 enable_mssign32
1135 enable_mssip32
1136 enable_mstask
1137 enable_msvcirt
1138 enable_msvcm80
1139 enable_msvcm90
1140 enable_msvcp100
1141 enable_msvcp110
1142 enable_msvcp120
1143 enable_msvcp120_app
1144 enable_msvcp60
1145 enable_msvcp70
1146 enable_msvcp71
1147 enable_msvcp80
1148 enable_msvcp90
1149 enable_msvcr100
1150 enable_msvcr110
1151 enable_msvcr120
1152 enable_msvcr120_app
1153 enable_msvcr70
1154 enable_msvcr71
1155 enable_msvcr80
1156 enable_msvcr90
1157 enable_msvcrt
1158 enable_msvcrt20
1159 enable_msvcrt40
1160 enable_msvcrtd
1161 enable_msvfw32
1162 enable_msvidc32
1163 enable_mswsock
1164 enable_msxml
1165 enable_msxml2
1166 enable_msxml3
1167 enable_msxml4
1168 enable_msxml6
1169 enable_nddeapi
1170 enable_ndis_sys
1171 enable_netapi32
1172 enable_netcfgx
1173 enable_netprofm
1174 enable_newdev
1175 enable_normaliz
1176 enable_npmshtml
1177 enable_npptools
1178 enable_ntdll
1179 enable_ntdsapi
1180 enable_ntoskrnl_exe
1181 enable_ntprint
1182 enable_objsel
1183 enable_odbc32
1184 enable_odbccp32
1185 enable_odbccu32
1186 enable_ole32
1187 enable_oleacc
1188 enable_oleaut32
1189 enable_olecli32
1190 enable_oledb32
1191 enable_oledlg
1192 enable_olepro32
1193 enable_olesvr32
1194 enable_olethk32
1195 enable_openal32
1196 enable_opencl
1197 enable_opengl32
1198 enable_packager
1199 enable_pdh
1200 enable_photometadatahandler
1201 enable_pidgen
1202 enable_powrprof
1203 enable_printui
1204 enable_prntvpt
1205 enable_propsys
1206 enable_psapi
1207 enable_pstorec
1208 enable_qcap
1209 enable_qedit
1210 enable_qmgr
1211 enable_qmgrprxy
1212 enable_quartz
1213 enable_query
1214 enable_rasapi32
1215 enable_rasdlg
1216 enable_regapi
1217 enable_resutils
1218 enable_riched20
1219 enable_riched32
1220 enable_rpcrt4
1221 enable_rsabase
1222 enable_rsaenh
1223 enable_rstrtmgr
1224 enable_rtutils
1225 enable_samlib
1226 enable_sane_ds
1227 enable_scarddlg
1228 enable_sccbase
1229 enable_schannel
1230 enable_schedsvc
1231 enable_scrrun
1232 enable_scsiport_sys
1233 enable_secur32
1234 enable_security
1235 enable_sensapi
1236 enable_serialui
1237 enable_setupapi
1238 enable_sfc
1239 enable_sfc_os
1240 enable_shdoclc
1241 enable_shdocvw
1242 enable_shell32
1243 enable_shfolder
1244 enable_shlwapi
1245 enable_slbcsp
1246 enable_slc
1247 enable_snmpapi
1248 enable_softpub
1249 enable_spoolss
1250 enable_stdole2_tlb
1251 enable_stdole32_tlb
1252 enable_sti
1253 enable_svrapi
1254 enable_sxs
1255 enable_t2embed
1256 enable_tapi32
1257 enable_taskschd
1258 enable_traffic
1259 enable_twain_32
1260 enable_unicows
1261 enable_updspapi
1262 enable_url
1263 enable_urlmon
1264 enable_usbd_sys
1265 enable_user32
1266 enable_userenv
1267 enable_usp10
1268 enable_uxtheme
1269 enable_vbscript
1270 enable_vcomp
1271 enable_vcomp100
1272 enable_vcomp90
1273 enable_vdmdbg
1274 enable_version
1275 enable_vssapi
1276 enable_wbemdisp
1277 enable_wbemprox
1278 enable_webservices
1279 enable_wer
1280 enable_wevtapi
1281 enable_wiaservc
1282 enable_windowscodecs
1283 enable_windowscodecsext
1284 enable_winealsa_drv
1285 enable_winecoreaudio_drv
1286 enable_wined3d
1287 enable_winegstreamer
1288 enable_winejoystick_drv
1289 enable_winemac_drv
1290 enable_winemapi
1291 enable_winemp3_acm
1292 enable_wineoss_drv
1293 enable_wineps_drv
1294 enable_wineqtdecoder
1295 enable_winex11_drv
1296 enable_wing32
1297 enable_winhttp
1298 enable_wininet
1299 enable_winmm
1300 enable_winnls32
1301 enable_winscard
1302 enable_winspool_drv
1303 enable_winsta
1304 enable_wintab32
1305 enable_wintrust
1306 enable_wlanapi
1307 enable_wldap32
1308 enable_wmi
1309 enable_wmiutils
1310 enable_wmp
1311 enable_wmvcore
1312 enable_wnaspi32
1313 enable_wpcap
1314 enable_ws2_32
1315 enable_wshom_ocx
1316 enable_wsnmp32
1317 enable_wsock32
1318 enable_wtsapi32
1319 enable_wuapi
1320 enable_wuaueng
1321 enable_xapofx1_1
1322 enable_xinput1_1
1323 enable_xinput1_2
1324 enable_xinput1_3
1325 enable_xinput1_4
1326 enable_xinput9_1_0
1327 enable_xmllite
1328 enable_xolehlp
1329 enable_xpsprint
1330 enable_xpssvcs
1331 enable_documentation
1332 enable_fonts
1333 enable_include
1334 enable_libs_port
1335 enable_libs_wine
1336 enable_libs_wpp
1337 enable_loader
1338 enable_arp
1339 enable_aspnet_regiis
1340 enable_attrib
1341 enable_cabarc
1342 enable_cacls
1343 enable_clock
1344 enable_cmd
1345 enable_conhost
1346 enable_control
1347 enable_cscript
1348 enable_dpnsvr
1349 enable_dxdiag
1350 enable_eject
1351 enable_expand
1352 enable_explorer
1353 enable_extrac32
1354 enable_findstr
1355 enable_hh
1356 enable_hostname
1357 enable_icinfo
1358 enable_iexplore
1359 enable_ipconfig
1360 enable_lodctr
1361 enable_mofcomp
1362 enable_mshta
1363 enable_msiexec
1364 enable_net
1365 enable_netsh
1366 enable_netstat
1367 enable_ngen
1368 enable_notepad
1369 enable_oleview
1370 enable_ping
1371 enable_plugplay
1372 enable_presentationfontcache
1373 enable_progman
1374 enable_reg
1375 enable_regasm
1376 enable_regedit
1377 enable_regsvcs
1378 enable_regsvr32
1379 enable_rpcss
1380 enable_rundll32
1381 enable_sc
1382 enable_schtasks
1383 enable_sdbinst
1384 enable_secedit
1385 enable_servicemodelreg
1386 enable_services
1387 enable_spoolsv
1388 enable_start
1389 enable_svchost
1390 enable_systeminfo
1391 enable_taskkill
1392 enable_tasklist
1393 enable_taskmgr
1394 enable_termsv
1395 enable_uninstaller
1396 enable_unlodctr
1397 enable_view
1398 enable_wevtutil
1399 enable_wineboot
1400 enable_winebrowser
1401 enable_winecfg
1402 enable_wineconsole
1403 enable_winedbg
1404 enable_winedevice
1405 enable_winefile
1406 enable_winemenubuilder
1407 enable_winemine
1408 enable_winemsibuilder
1409 enable_winepath
1410 enable_winetest
1411 enable_winhlp32
1412 enable_winver
1413 enable_wmic
1414 enable_wordpad
1415 enable_write
1416 enable_wscript
1417 enable_wusa
1418 enable_xcopy
1419 enable_server
1420 enable_tools
1422 ac_precious_vars='build_alias
1423 host_alias
1424 target_alias
1426 CFLAGS
1427 LDFLAGS
1428 LIBS
1429 CPPFLAGS
1431 CXXFLAGS
1434 XMKMF
1435 XML2_CFLAGS
1436 XML2_LIBS
1437 XSLT_CFLAGS
1438 XSLT_LIBS
1439 DBUS_CFLAGS
1440 DBUS_LIBS
1441 HAL_CFLAGS
1442 HAL_LIBS
1443 GNUTLS_CFLAGS
1444 GNUTLS_LIBS
1445 SANE_CFLAGS
1446 SANE_LIBS
1447 GPHOTO2_CFLAGS
1448 GPHOTO2_LIBS
1449 GPHOTO2_PORT_CFLAGS
1450 GPHOTO2_PORT_LIBS
1451 LCMS2_CFLAGS
1452 LCMS2_LIBS
1453 FREETYPE_CFLAGS
1454 FREETYPE_LIBS
1455 GSTREAMER_CFLAGS
1456 GSTREAMER_LIBS
1457 CAPI20_CFLAGS
1458 CAPI20_LIBS
1459 FONTCONFIG_CFLAGS
1460 FONTCONFIG_LIBS
1461 JPEG_CFLAGS
1462 JPEG_LIBS
1463 PNG_CFLAGS
1464 PNG_LIBS
1465 TIFF_CFLAGS
1466 TIFF_LIBS
1467 MPG123_CFLAGS
1468 MPG123_LIBS'
1471 # Initialize some variables set by options.
1472 ac_init_help=
1473 ac_init_version=false
1474 ac_unrecognized_opts=
1475 ac_unrecognized_sep=
1476 # The variables have the same names as the options, with
1477 # dashes changed to underlines.
1478 cache_file=/dev/null
1479 exec_prefix=NONE
1480 no_create=
1481 no_recursion=
1482 prefix=NONE
1483 program_prefix=NONE
1484 program_suffix=NONE
1485 program_transform_name=s,x,x,
1486 silent=
1487 site=
1488 srcdir=
1489 verbose=
1490 x_includes=NONE
1491 x_libraries=NONE
1493 # Installation directory options.
1494 # These are left unexpanded so users can "make install exec_prefix=/foo"
1495 # and all the variables that are supposed to be based on exec_prefix
1496 # by default will actually change.
1497 # Use braces instead of parens because sh, perl, etc. also accept them.
1498 # (The list follows the same order as the GNU Coding Standards.)
1499 bindir='${exec_prefix}/bin'
1500 sbindir='${exec_prefix}/sbin'
1501 libexecdir='${exec_prefix}/libexec'
1502 datarootdir='${prefix}/share'
1503 datadir='${datarootdir}'
1504 sysconfdir='${prefix}/etc'
1505 sharedstatedir='${prefix}/com'
1506 localstatedir='${prefix}/var'
1507 includedir='${prefix}/include'
1508 oldincludedir='/usr/include'
1509 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1510 infodir='${datarootdir}/info'
1511 htmldir='${docdir}'
1512 dvidir='${docdir}'
1513 pdfdir='${docdir}'
1514 psdir='${docdir}'
1515 libdir='${exec_prefix}/lib'
1516 localedir='${datarootdir}/locale'
1517 mandir='${datarootdir}/man'
1519 ac_prev=
1520 ac_dashdash=
1521 for ac_option
1523 # If the previous option needs an argument, assign it.
1524 if test -n "$ac_prev"; then
1525 eval $ac_prev=\$ac_option
1526 ac_prev=
1527 continue
1530 case $ac_option in
1531 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1532 *=) ac_optarg= ;;
1533 *) ac_optarg=yes ;;
1534 esac
1536 # Accept the important Cygnus configure options, so we can diagnose typos.
1538 case $ac_dashdash$ac_option in
1540 ac_dashdash=yes ;;
1542 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1543 ac_prev=bindir ;;
1544 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1545 bindir=$ac_optarg ;;
1547 -build | --build | --buil | --bui | --bu)
1548 ac_prev=build_alias ;;
1549 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1550 build_alias=$ac_optarg ;;
1552 -cache-file | --cache-file | --cache-fil | --cache-fi \
1553 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1554 ac_prev=cache_file ;;
1555 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1556 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1557 cache_file=$ac_optarg ;;
1559 --config-cache | -C)
1560 cache_file=config.cache ;;
1562 -datadir | --datadir | --datadi | --datad)
1563 ac_prev=datadir ;;
1564 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1565 datadir=$ac_optarg ;;
1567 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1568 | --dataroo | --dataro | --datar)
1569 ac_prev=datarootdir ;;
1570 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1571 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1572 datarootdir=$ac_optarg ;;
1574 -disable-* | --disable-*)
1575 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1576 # Reject names that are not valid shell variable names.
1577 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1578 as_fn_error $? "invalid feature name: $ac_useropt"
1579 ac_useropt_orig=$ac_useropt
1580 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1581 case $ac_user_opts in
1583 "enable_$ac_useropt"
1584 "*) ;;
1585 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1586 ac_unrecognized_sep=', ';;
1587 esac
1588 eval enable_$ac_useropt=no ;;
1590 -docdir | --docdir | --docdi | --doc | --do)
1591 ac_prev=docdir ;;
1592 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1593 docdir=$ac_optarg ;;
1595 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1596 ac_prev=dvidir ;;
1597 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1598 dvidir=$ac_optarg ;;
1600 -enable-* | --enable-*)
1601 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1602 # Reject names that are not valid shell variable names.
1603 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1604 as_fn_error $? "invalid feature name: $ac_useropt"
1605 ac_useropt_orig=$ac_useropt
1606 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1607 case $ac_user_opts in
1609 "enable_$ac_useropt"
1610 "*) ;;
1611 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1612 ac_unrecognized_sep=', ';;
1613 esac
1614 eval enable_$ac_useropt=\$ac_optarg ;;
1616 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1617 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1618 | --exec | --exe | --ex)
1619 ac_prev=exec_prefix ;;
1620 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1621 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1622 | --exec=* | --exe=* | --ex=*)
1623 exec_prefix=$ac_optarg ;;
1625 -gas | --gas | --ga | --g)
1626 # Obsolete; use --with-gas.
1627 with_gas=yes ;;
1629 -help | --help | --hel | --he | -h)
1630 ac_init_help=long ;;
1631 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1632 ac_init_help=recursive ;;
1633 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1634 ac_init_help=short ;;
1636 -host | --host | --hos | --ho)
1637 ac_prev=host_alias ;;
1638 -host=* | --host=* | --hos=* | --ho=*)
1639 host_alias=$ac_optarg ;;
1641 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1642 ac_prev=htmldir ;;
1643 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1644 | --ht=*)
1645 htmldir=$ac_optarg ;;
1647 -includedir | --includedir | --includedi | --included | --include \
1648 | --includ | --inclu | --incl | --inc)
1649 ac_prev=includedir ;;
1650 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1651 | --includ=* | --inclu=* | --incl=* | --inc=*)
1652 includedir=$ac_optarg ;;
1654 -infodir | --infodir | --infodi | --infod | --info | --inf)
1655 ac_prev=infodir ;;
1656 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1657 infodir=$ac_optarg ;;
1659 -libdir | --libdir | --libdi | --libd)
1660 ac_prev=libdir ;;
1661 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1662 libdir=$ac_optarg ;;
1664 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1665 | --libexe | --libex | --libe)
1666 ac_prev=libexecdir ;;
1667 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1668 | --libexe=* | --libex=* | --libe=*)
1669 libexecdir=$ac_optarg ;;
1671 -localedir | --localedir | --localedi | --localed | --locale)
1672 ac_prev=localedir ;;
1673 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1674 localedir=$ac_optarg ;;
1676 -localstatedir | --localstatedir | --localstatedi | --localstated \
1677 | --localstate | --localstat | --localsta | --localst | --locals)
1678 ac_prev=localstatedir ;;
1679 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1680 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1681 localstatedir=$ac_optarg ;;
1683 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1684 ac_prev=mandir ;;
1685 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1686 mandir=$ac_optarg ;;
1688 -nfp | --nfp | --nf)
1689 # Obsolete; use --without-fp.
1690 with_fp=no ;;
1692 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1693 | --no-cr | --no-c | -n)
1694 no_create=yes ;;
1696 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1697 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1698 no_recursion=yes ;;
1700 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1701 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1702 | --oldin | --oldi | --old | --ol | --o)
1703 ac_prev=oldincludedir ;;
1704 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1705 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1706 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1707 oldincludedir=$ac_optarg ;;
1709 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1710 ac_prev=prefix ;;
1711 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1712 prefix=$ac_optarg ;;
1714 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1715 | --program-pre | --program-pr | --program-p)
1716 ac_prev=program_prefix ;;
1717 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1718 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1719 program_prefix=$ac_optarg ;;
1721 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1722 | --program-suf | --program-su | --program-s)
1723 ac_prev=program_suffix ;;
1724 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1725 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1726 program_suffix=$ac_optarg ;;
1728 -program-transform-name | --program-transform-name \
1729 | --program-transform-nam | --program-transform-na \
1730 | --program-transform-n | --program-transform- \
1731 | --program-transform | --program-transfor \
1732 | --program-transfo | --program-transf \
1733 | --program-trans | --program-tran \
1734 | --progr-tra | --program-tr | --program-t)
1735 ac_prev=program_transform_name ;;
1736 -program-transform-name=* | --program-transform-name=* \
1737 | --program-transform-nam=* | --program-transform-na=* \
1738 | --program-transform-n=* | --program-transform-=* \
1739 | --program-transform=* | --program-transfor=* \
1740 | --program-transfo=* | --program-transf=* \
1741 | --program-trans=* | --program-tran=* \
1742 | --progr-tra=* | --program-tr=* | --program-t=*)
1743 program_transform_name=$ac_optarg ;;
1745 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1746 ac_prev=pdfdir ;;
1747 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1748 pdfdir=$ac_optarg ;;
1750 -psdir | --psdir | --psdi | --psd | --ps)
1751 ac_prev=psdir ;;
1752 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1753 psdir=$ac_optarg ;;
1755 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1756 | -silent | --silent | --silen | --sile | --sil)
1757 silent=yes ;;
1759 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1760 ac_prev=sbindir ;;
1761 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1762 | --sbi=* | --sb=*)
1763 sbindir=$ac_optarg ;;
1765 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1766 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1767 | --sharedst | --shareds | --shared | --share | --shar \
1768 | --sha | --sh)
1769 ac_prev=sharedstatedir ;;
1770 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1771 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1772 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1773 | --sha=* | --sh=*)
1774 sharedstatedir=$ac_optarg ;;
1776 -site | --site | --sit)
1777 ac_prev=site ;;
1778 -site=* | --site=* | --sit=*)
1779 site=$ac_optarg ;;
1781 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1782 ac_prev=srcdir ;;
1783 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1784 srcdir=$ac_optarg ;;
1786 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1787 | --syscon | --sysco | --sysc | --sys | --sy)
1788 ac_prev=sysconfdir ;;
1789 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1790 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1791 sysconfdir=$ac_optarg ;;
1793 -target | --target | --targe | --targ | --tar | --ta | --t)
1794 ac_prev=target_alias ;;
1795 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1796 target_alias=$ac_optarg ;;
1798 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1799 verbose=yes ;;
1801 -version | --version | --versio | --versi | --vers | -V)
1802 ac_init_version=: ;;
1804 -with-* | --with-*)
1805 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1806 # Reject names that are not valid shell variable names.
1807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1808 as_fn_error $? "invalid package name: $ac_useropt"
1809 ac_useropt_orig=$ac_useropt
1810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1811 case $ac_user_opts in
1813 "with_$ac_useropt"
1814 "*) ;;
1815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1816 ac_unrecognized_sep=', ';;
1817 esac
1818 eval with_$ac_useropt=\$ac_optarg ;;
1820 -without-* | --without-*)
1821 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1822 # Reject names that are not valid shell variable names.
1823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1824 as_fn_error $? "invalid package name: $ac_useropt"
1825 ac_useropt_orig=$ac_useropt
1826 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1827 case $ac_user_opts in
1829 "with_$ac_useropt"
1830 "*) ;;
1831 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1832 ac_unrecognized_sep=', ';;
1833 esac
1834 eval with_$ac_useropt=no ;;
1836 --x)
1837 # Obsolete; use --with-x.
1838 with_x=yes ;;
1840 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1841 | --x-incl | --x-inc | --x-in | --x-i)
1842 ac_prev=x_includes ;;
1843 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1844 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1845 x_includes=$ac_optarg ;;
1847 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1848 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1849 ac_prev=x_libraries ;;
1850 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1851 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1852 x_libraries=$ac_optarg ;;
1854 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1855 Try \`$0 --help' for more information"
1858 *=*)
1859 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1860 # Reject names that are not valid shell variable names.
1861 case $ac_envvar in #(
1862 '' | [0-9]* | *[!_$as_cr_alnum]* )
1863 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1864 esac
1865 eval $ac_envvar=\$ac_optarg
1866 export $ac_envvar ;;
1869 # FIXME: should be removed in autoconf 3.0.
1870 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1871 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1872 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1873 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1876 esac
1877 done
1879 if test -n "$ac_prev"; then
1880 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1881 as_fn_error $? "missing argument to $ac_option"
1884 if test -n "$ac_unrecognized_opts"; then
1885 case $enable_option_checking in
1886 no) ;;
1887 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1888 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1889 esac
1892 # Check all directory arguments for consistency.
1893 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1894 datadir sysconfdir sharedstatedir localstatedir includedir \
1895 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1896 libdir localedir mandir
1898 eval ac_val=\$$ac_var
1899 # Remove trailing slashes.
1900 case $ac_val in
1901 */ )
1902 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1903 eval $ac_var=\$ac_val;;
1904 esac
1905 # Be sure to have absolute directory names.
1906 case $ac_val in
1907 [\\/$]* | ?:[\\/]* ) continue;;
1908 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1909 esac
1910 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1911 done
1913 # There might be people who depend on the old broken behavior: `$host'
1914 # used to hold the argument of --host etc.
1915 # FIXME: To remove some day.
1916 build=$build_alias
1917 host=$host_alias
1918 target=$target_alias
1920 # FIXME: To remove some day.
1921 if test "x$host_alias" != x; then
1922 if test "x$build_alias" = x; then
1923 cross_compiling=maybe
1924 elif test "x$build_alias" != "x$host_alias"; then
1925 cross_compiling=yes
1929 ac_tool_prefix=
1930 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1932 test "$silent" = yes && exec 6>/dev/null
1935 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1936 ac_ls_di=`ls -di .` &&
1937 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1938 as_fn_error $? "working directory cannot be determined"
1939 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1940 as_fn_error $? "pwd does not report name of working directory"
1943 # Find the source files, if location was not specified.
1944 if test -z "$srcdir"; then
1945 ac_srcdir_defaulted=yes
1946 # Try the directory containing this script, then the parent directory.
1947 ac_confdir=`$as_dirname -- "$as_myself" ||
1948 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1949 X"$as_myself" : 'X\(//\)[^/]' \| \
1950 X"$as_myself" : 'X\(//\)$' \| \
1951 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1952 $as_echo X"$as_myself" |
1953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1954 s//\1/
1957 /^X\(\/\/\)[^/].*/{
1958 s//\1/
1961 /^X\(\/\/\)$/{
1962 s//\1/
1965 /^X\(\/\).*/{
1966 s//\1/
1969 s/.*/./; q'`
1970 srcdir=$ac_confdir
1971 if test ! -r "$srcdir/$ac_unique_file"; then
1972 srcdir=..
1974 else
1975 ac_srcdir_defaulted=no
1977 if test ! -r "$srcdir/$ac_unique_file"; then
1978 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1979 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1981 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1982 ac_abs_confdir=`(
1983 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1984 pwd)`
1985 # When building in place, set srcdir=.
1986 if test "$ac_abs_confdir" = "$ac_pwd"; then
1987 srcdir=.
1989 # Remove unnecessary trailing slashes from srcdir.
1990 # Double slashes in file names in object file debugging info
1991 # mess up M-x gdb in Emacs.
1992 case $srcdir in
1993 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1994 esac
1995 for ac_var in $ac_precious_vars; do
1996 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1997 eval ac_env_${ac_var}_value=\$${ac_var}
1998 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1999 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2000 done
2003 # Report the --help message.
2005 if test "$ac_init_help" = "long"; then
2006 # Omit some internal or obsolete options to make the list less imposing.
2007 # This message is too long to be a string in the A/UX 3.1 sh.
2008 cat <<_ACEOF
2009 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2011 Usage: $0 [OPTION]... [VAR=VALUE]...
2013 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2014 VAR=VALUE. See below for descriptions of some of the useful variables.
2016 Defaults for the options are specified in brackets.
2018 Configuration:
2019 -h, --help display this help and exit
2020 --help=short display options specific to this package
2021 --help=recursive display the short help of all the included packages
2022 -V, --version display version information and exit
2023 -q, --quiet, --silent do not print \`checking ...' messages
2024 --cache-file=FILE cache test results in FILE [disabled]
2025 -C, --config-cache alias for \`--cache-file=config.cache'
2026 -n, --no-create do not create output files
2027 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2029 Installation directories:
2030 --prefix=PREFIX install architecture-independent files in PREFIX
2031 [$ac_default_prefix]
2032 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2033 [PREFIX]
2035 By default, \`make install' will install all the files in
2036 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2037 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2038 for instance \`--prefix=\$HOME'.
2040 For better control, use the options below.
2042 Fine tuning of the installation directories:
2043 --bindir=DIR user executables [EPREFIX/bin]
2044 --sbindir=DIR system admin executables [EPREFIX/sbin]
2045 --libexecdir=DIR program executables [EPREFIX/libexec]
2046 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2047 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2048 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2049 --libdir=DIR object code libraries [EPREFIX/lib]
2050 --includedir=DIR C header files [PREFIX/include]
2051 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2052 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2053 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2054 --infodir=DIR info documentation [DATAROOTDIR/info]
2055 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2056 --mandir=DIR man documentation [DATAROOTDIR/man]
2057 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2058 --htmldir=DIR html documentation [DOCDIR]
2059 --dvidir=DIR dvi documentation [DOCDIR]
2060 --pdfdir=DIR pdf documentation [DOCDIR]
2061 --psdir=DIR ps documentation [DOCDIR]
2062 _ACEOF
2064 cat <<\_ACEOF
2066 X features:
2067 --x-includes=DIR X include files are in DIR
2068 --x-libraries=DIR X library files are in DIR
2070 System types:
2071 --build=BUILD configure for building on BUILD [guessed]
2072 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2073 _ACEOF
2076 if test -n "$ac_init_help"; then
2077 case $ac_init_help in
2078 short | recursive ) echo "Configuration of Wine 1.7.32:";;
2079 esac
2080 cat <<\_ACEOF
2082 Optional Features:
2083 --disable-option-checking ignore unrecognized --enable/--with options
2084 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2085 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2086 --disable-win16 do not include Win16 support
2087 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2088 binaries)
2089 --disable-tests do not build the regression tests
2090 --enable-maintainer-mode
2091 enable maintainer-specific build rules
2092 --disable-largefile omit support for large files
2094 Optional Packages:
2095 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2096 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2097 --without-alsa do not use the Alsa sound support
2098 --without-capi do not use CAPI (ISDN support)
2099 --without-cms do not use CMS (color management support)
2100 --without-coreaudio do not use the CoreAudio sound support
2101 --without-cups do not use CUPS
2102 --without-curses do not use (n)curses
2103 --without-dbus do not use DBus (dynamic device support)
2104 --without-fontconfig do not use fontconfig
2105 --without-freetype do not use the FreeType library
2106 --without-gettext do not use gettext
2107 --with-gettextpo use the GetTextPO library to rebuild po files
2108 --without-gphoto do not use gphoto (Digital Camera support)
2109 --without-glu do not use the GLU library
2110 --without-gnutls do not use GnuTLS (schannel support)
2111 --without-gsm do not use libgsm (GSM 06.10 codec support)
2112 --without-gstreamer do not use GStreamer (codecs support)
2113 --without-hal do not use HAL (dynamic device support)
2114 --without-jpeg do not use JPEG
2115 --without-ldap do not use LDAP
2116 --without-mpg123 do not use the mpg123 library
2117 --without-netapi do not use the Samba NetAPI library
2118 --without-openal do not use OpenAL
2119 --without-opencl do not use OpenCL
2120 --without-opengl do not use OpenGL
2121 --without-osmesa do not use the OSMesa library
2122 --without-oss do not use the OSS sound support
2123 --without-pcap do not use the Packet Capture library
2124 --without-png do not use PNG
2125 --without-pthread do not use the pthread library
2126 --without-sane do not use SANE (scanner support)
2127 --without-tiff do not use TIFF
2128 --without-v4l do not use v4l1 (v4l support)
2129 --without-xcomposite do not use the Xcomposite extension
2130 --without-xcursor do not use the Xcursor extension
2131 --without-xinerama do not use Xinerama (multi-monitor support)
2132 --without-xinput do not use the Xinput extension
2133 --without-xinput2 do not use the Xinput 2 extension
2134 --without-xml do not use XML
2135 --without-xrandr do not use Xrandr (resolution changes)
2136 --without-xrender do not use the Xrender extension
2137 --without-xshape do not use the Xshape extension
2138 --without-xshm do not use XShm (shared memory extension)
2139 --without-xslt do not use XSLT
2140 --without-xxf86vm do not use XFree video mode extension
2141 --without-zlib do not use Zlib (data compression)
2142 --with-wine-tools=DIR use Wine tools from directory DIR
2143 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2144 --with-x use the X Window System
2146 Some influential environment variables:
2147 CC C compiler command
2148 CFLAGS C compiler flags
2149 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2150 nonstandard directory <lib dir>
2151 LIBS libraries to pass to the linker, e.g. -l<library>
2152 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2153 you have headers in a nonstandard directory <include dir>
2154 CXX C++ compiler command
2155 CXXFLAGS C++ compiler flags
2156 CPP C preprocessor
2157 XMKMF Path to xmkmf, Makefile generator for X Window System
2158 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2159 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2160 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2161 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2162 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2163 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2164 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2165 HAL_LIBS Linker flags for hal, overriding pkg-config
2166 GNUTLS_CFLAGS
2167 C compiler flags for gnutls, overriding pkg-config
2168 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2169 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2170 SANE_LIBS Linker flags for libsane, overriding pkg-config
2171 GPHOTO2_CFLAGS
2172 C compiler flags for libgphoto2, overriding pkg-config
2173 GPHOTO2_LIBS
2174 Linker flags for libgphoto2, overriding pkg-config
2175 GPHOTO2_PORT_CFLAGS
2176 C compiler flags for libgphoto2_port, overriding pkg-config
2177 GPHOTO2_PORT_LIBS
2178 Linker flags for libgphoto2_port, overriding pkg-config
2179 LCMS2_CFLAGS
2180 C compiler flags for lcms2, overriding pkg-config
2181 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2182 FREETYPE_CFLAGS
2183 C compiler flags for freetype2, overriding pkg-config
2184 FREETYPE_LIBS
2185 Linker flags for freetype2, overriding pkg-config
2186 GSTREAMER_CFLAGS
2187 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2188 GSTREAMER_LIBS
2189 Linker flags for gstreamer-app-0.10, overriding pkg-config
2190 CAPI20_CFLAGS
2191 C compiler flags for capi20, overriding pkg-config
2192 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2193 FONTCONFIG_CFLAGS
2194 C compiler flags for fontconfig, overriding pkg-config
2195 FONTCONFIG_LIBS
2196 Linker flags for fontconfig, overriding pkg-config
2197 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2198 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2199 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2200 PNG_LIBS Linker flags for libpng, overriding pkg-config
2201 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2202 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2203 MPG123_CFLAGS
2204 C compiler flags for libmpg123, overriding pkg-config
2205 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2207 Use these variables to override the choices made by `configure' or to help
2208 it to find libraries and programs with nonstandard names/locations.
2210 Report bugs to <wine-devel@winehq.org>.
2211 Wine home page: <http://www.winehq.org>.
2212 _ACEOF
2213 ac_status=$?
2216 if test "$ac_init_help" = "recursive"; then
2217 # If there are subdirs, report their specific --help.
2218 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2219 test -d "$ac_dir" ||
2220 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2221 continue
2222 ac_builddir=.
2224 case "$ac_dir" in
2225 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2227 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2228 # A ".." for each directory in $ac_dir_suffix.
2229 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2230 case $ac_top_builddir_sub in
2231 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2232 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2233 esac ;;
2234 esac
2235 ac_abs_top_builddir=$ac_pwd
2236 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2237 # for backward compatibility:
2238 ac_top_builddir=$ac_top_build_prefix
2240 case $srcdir in
2241 .) # We are building in place.
2242 ac_srcdir=.
2243 ac_top_srcdir=$ac_top_builddir_sub
2244 ac_abs_top_srcdir=$ac_pwd ;;
2245 [\\/]* | ?:[\\/]* ) # Absolute name.
2246 ac_srcdir=$srcdir$ac_dir_suffix;
2247 ac_top_srcdir=$srcdir
2248 ac_abs_top_srcdir=$srcdir ;;
2249 *) # Relative name.
2250 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2251 ac_top_srcdir=$ac_top_build_prefix$srcdir
2252 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2253 esac
2254 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2256 cd "$ac_dir" || { ac_status=$?; continue; }
2257 # Check for guested configure.
2258 if test -f "$ac_srcdir/configure.gnu"; then
2259 echo &&
2260 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2261 elif test -f "$ac_srcdir/configure"; then
2262 echo &&
2263 $SHELL "$ac_srcdir/configure" --help=recursive
2264 else
2265 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2266 fi || ac_status=$?
2267 cd "$ac_pwd" || { ac_status=$?; break; }
2268 done
2271 test -n "$ac_init_help" && exit $ac_status
2272 if $ac_init_version; then
2273 cat <<\_ACEOF
2274 Wine configure 1.7.32
2275 generated by GNU Autoconf 2.69
2277 Copyright (C) 2012 Free Software Foundation, Inc.
2278 This configure script is free software; the Free Software Foundation
2279 gives unlimited permission to copy, distribute and modify it.
2280 _ACEOF
2281 exit
2284 ## ------------------------ ##
2285 ## Autoconf initialization. ##
2286 ## ------------------------ ##
2288 # ac_fn_c_try_compile LINENO
2289 # --------------------------
2290 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2291 ac_fn_c_try_compile ()
2293 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2294 rm -f conftest.$ac_objext
2295 if { { ac_try="$ac_compile"
2296 case "(($ac_try" in
2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2298 *) ac_try_echo=$ac_try;;
2299 esac
2300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2301 $as_echo "$ac_try_echo"; } >&5
2302 (eval "$ac_compile") 2>conftest.err
2303 ac_status=$?
2304 if test -s conftest.err; then
2305 grep -v '^ *+' conftest.err >conftest.er1
2306 cat conftest.er1 >&5
2307 mv -f conftest.er1 conftest.err
2309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2310 test $ac_status = 0; } && {
2311 test -z "$ac_c_werror_flag" ||
2312 test ! -s conftest.err
2313 } && test -s conftest.$ac_objext; then :
2314 ac_retval=0
2315 else
2316 $as_echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.$ac_ext >&5
2319 ac_retval=1
2321 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2322 as_fn_set_status $ac_retval
2324 } # ac_fn_c_try_compile
2326 # ac_fn_cxx_try_compile LINENO
2327 # ----------------------------
2328 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2329 ac_fn_cxx_try_compile ()
2331 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2332 rm -f conftest.$ac_objext
2333 if { { ac_try="$ac_compile"
2334 case "(($ac_try" in
2335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;;
2337 esac
2338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_compile") 2>conftest.err
2341 ac_status=$?
2342 if test -s conftest.err; then
2343 grep -v '^ *+' conftest.err >conftest.er1
2344 cat conftest.er1 >&5
2345 mv -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; } && {
2349 test -z "$ac_cxx_werror_flag" ||
2350 test ! -s conftest.err
2351 } && test -s conftest.$ac_objext; then :
2352 ac_retval=0
2353 else
2354 $as_echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.$ac_ext >&5
2357 ac_retval=1
2359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360 as_fn_set_status $ac_retval
2362 } # ac_fn_cxx_try_compile
2364 # ac_fn_c_try_link LINENO
2365 # -----------------------
2366 # Try to link conftest.$ac_ext, and return whether this succeeded.
2367 ac_fn_c_try_link ()
2369 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2370 rm -f conftest.$ac_objext conftest$ac_exeext
2371 if { { ac_try="$ac_link"
2372 case "(($ac_try" in
2373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374 *) ac_try_echo=$ac_try;;
2375 esac
2376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2377 $as_echo "$ac_try_echo"; } >&5
2378 (eval "$ac_link") 2>conftest.err
2379 ac_status=$?
2380 if test -s conftest.err; then
2381 grep -v '^ *+' conftest.err >conftest.er1
2382 cat conftest.er1 >&5
2383 mv -f conftest.er1 conftest.err
2385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2386 test $ac_status = 0; } && {
2387 test -z "$ac_c_werror_flag" ||
2388 test ! -s conftest.err
2389 } && test -s conftest$ac_exeext && {
2390 test "$cross_compiling" = yes ||
2391 test -x conftest$ac_exeext
2392 }; then :
2393 ac_retval=0
2394 else
2395 $as_echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.$ac_ext >&5
2398 ac_retval=1
2400 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2401 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2402 # interfere with the next link command; also delete a directory that is
2403 # left behind by Apple's compiler. We do this before executing the actions.
2404 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2405 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2406 as_fn_set_status $ac_retval
2408 } # ac_fn_c_try_link
2410 # ac_fn_c_try_cpp LINENO
2411 # ----------------------
2412 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2413 ac_fn_c_try_cpp ()
2415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2416 if { { ac_try="$ac_cpp conftest.$ac_ext"
2417 case "(($ac_try" in
2418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2419 *) ac_try_echo=$ac_try;;
2420 esac
2421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2422 $as_echo "$ac_try_echo"; } >&5
2423 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2424 ac_status=$?
2425 if test -s conftest.err; then
2426 grep -v '^ *+' conftest.err >conftest.er1
2427 cat conftest.er1 >&5
2428 mv -f conftest.er1 conftest.err
2430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2431 test $ac_status = 0; } > conftest.i && {
2432 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2433 test ! -s conftest.err
2434 }; then :
2435 ac_retval=0
2436 else
2437 $as_echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.$ac_ext >&5
2440 ac_retval=1
2442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2443 as_fn_set_status $ac_retval
2445 } # ac_fn_c_try_cpp
2447 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2448 # -------------------------------------------------------
2449 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2450 # the include files in INCLUDES and setting the cache variable VAR
2451 # accordingly.
2452 ac_fn_c_check_header_mongrel ()
2454 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2455 if eval \${$3+:} false; then :
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2457 $as_echo_n "checking for $2... " >&6; }
2458 if eval \${$3+:} false; then :
2459 $as_echo_n "(cached) " >&6
2461 eval ac_res=\$$3
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2463 $as_echo "$ac_res" >&6; }
2464 else
2465 # Is the header compilable?
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2467 $as_echo_n "checking $2 usability... " >&6; }
2468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h. */
2471 #include <$2>
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474 ac_header_compiler=yes
2475 else
2476 ac_header_compiler=no
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2480 $as_echo "$ac_header_compiler" >&6; }
2482 # Is the header present?
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2484 $as_echo_n "checking $2 presence... " >&6; }
2485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h. */
2487 #include <$2>
2488 _ACEOF
2489 if ac_fn_c_try_cpp "$LINENO"; then :
2490 ac_header_preproc=yes
2491 else
2492 ac_header_preproc=no
2494 rm -f conftest.err conftest.i conftest.$ac_ext
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2496 $as_echo "$ac_header_preproc" >&6; }
2498 # So? What about this header?
2499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2500 yes:no: )
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2502 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2504 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2506 no:yes:* )
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2508 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2510 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2512 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2514 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2516 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2517 ( $as_echo "## ------------------------------------ ##
2518 ## Report this to wine-devel@winehq.org ##
2519 ## ------------------------------------ ##"
2520 ) | sed "s/^/$as_me: WARNING: /" >&2
2522 esac
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524 $as_echo_n "checking for $2... " >&6; }
2525 if eval \${$3+:} false; then :
2526 $as_echo_n "(cached) " >&6
2527 else
2528 eval "$3=\$ac_header_compiler"
2530 eval ac_res=\$$3
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2532 $as_echo "$ac_res" >&6; }
2534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2536 } # ac_fn_c_check_header_mongrel
2538 # ac_fn_c_try_run LINENO
2539 # ----------------------
2540 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2541 # that executables *can* be run.
2542 ac_fn_c_try_run ()
2544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2545 if { { ac_try="$ac_link"
2546 case "(($ac_try" in
2547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2549 esac
2550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2551 $as_echo "$ac_try_echo"; } >&5
2552 (eval "$ac_link") 2>&5
2553 ac_status=$?
2554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2555 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2556 { { case "(($ac_try" in
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2559 esac
2560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2561 $as_echo "$ac_try_echo"; } >&5
2562 (eval "$ac_try") 2>&5
2563 ac_status=$?
2564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2565 test $ac_status = 0; }; }; then :
2566 ac_retval=0
2567 else
2568 $as_echo "$as_me: program exited with status $ac_status" >&5
2569 $as_echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.$ac_ext >&5
2572 ac_retval=$ac_status
2574 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2576 as_fn_set_status $ac_retval
2578 } # ac_fn_c_try_run
2580 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2581 # -------------------------------------------------------
2582 # Tests whether HEADER exists and can be compiled using the include files in
2583 # INCLUDES, setting the cache variable VAR accordingly.
2584 ac_fn_c_check_header_compile ()
2586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2588 $as_echo_n "checking for $2... " >&6; }
2589 if eval \${$3+:} false; then :
2590 $as_echo_n "(cached) " >&6
2591 else
2592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2593 /* end confdefs.h. */
2595 #include <$2>
2596 _ACEOF
2597 if ac_fn_c_try_compile "$LINENO"; then :
2598 eval "$3=yes"
2599 else
2600 eval "$3=no"
2602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2604 eval ac_res=\$$3
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2606 $as_echo "$ac_res" >&6; }
2607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2609 } # ac_fn_c_check_header_compile
2611 # ac_fn_c_check_func LINENO FUNC VAR
2612 # ----------------------------------
2613 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2614 ac_fn_c_check_func ()
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2618 $as_echo_n "checking for $2... " >&6; }
2619 if eval \${$3+:} false; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h. */
2624 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2626 #define $2 innocuous_$2
2628 /* System header to define __stub macros and hopefully few prototypes,
2629 which can conflict with char $2 (); below.
2630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2631 <limits.h> exists even on freestanding compilers. */
2633 #ifdef __STDC__
2634 # include <limits.h>
2635 #else
2636 # include <assert.h>
2637 #endif
2639 #undef $2
2641 /* Override any GCC internal prototype to avoid an error.
2642 Use char because int might match the return type of a GCC
2643 builtin and then its argument prototype would still apply. */
2644 #ifdef __cplusplus
2645 extern "C"
2646 #endif
2647 char $2 ();
2648 /* The GNU C library defines this for functions which it implements
2649 to always fail with ENOSYS. Some functions are actually named
2650 something starting with __ and the normal name is an alias. */
2651 #if defined __stub_$2 || defined __stub___$2
2652 choke me
2653 #endif
2656 main ()
2658 return $2 ();
2660 return 0;
2662 _ACEOF
2663 if ac_fn_c_try_link "$LINENO"; then :
2664 eval "$3=yes"
2665 else
2666 eval "$3=no"
2668 rm -f core conftest.err conftest.$ac_objext \
2669 conftest$ac_exeext conftest.$ac_ext
2671 eval ac_res=\$$3
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2673 $as_echo "$ac_res" >&6; }
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676 } # ac_fn_c_check_func
2678 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2679 # ----------------------------------------------------
2680 # Tries to find if the field MEMBER exists in type AGGR, after including
2681 # INCLUDES, setting cache variable VAR accordingly.
2682 ac_fn_c_check_member ()
2684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2686 $as_echo_n "checking for $2.$3... " >&6; }
2687 if eval \${$4+:} false; then :
2688 $as_echo_n "(cached) " >&6
2689 else
2690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2694 main ()
2696 static $2 ac_aggr;
2697 if (ac_aggr.$3)
2698 return 0;
2700 return 0;
2702 _ACEOF
2703 if ac_fn_c_try_compile "$LINENO"; then :
2704 eval "$4=yes"
2705 else
2706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2707 /* end confdefs.h. */
2710 main ()
2712 static $2 ac_aggr;
2713 if (sizeof ac_aggr.$3)
2714 return 0;
2716 return 0;
2718 _ACEOF
2719 if ac_fn_c_try_compile "$LINENO"; then :
2720 eval "$4=yes"
2721 else
2722 eval "$4=no"
2724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2728 eval ac_res=\$$4
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2730 $as_echo "$ac_res" >&6; }
2731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2733 } # ac_fn_c_check_member
2735 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2736 # -------------------------------------------
2737 # Tests whether TYPE exists after having included INCLUDES, setting cache
2738 # variable VAR accordingly.
2739 ac_fn_c_check_type ()
2741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2743 $as_echo_n "checking for $2... " >&6; }
2744 if eval \${$3+:} false; then :
2745 $as_echo_n "(cached) " >&6
2746 else
2747 eval "$3=no"
2748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2752 main ()
2754 if (sizeof ($2))
2755 return 0;
2757 return 0;
2759 _ACEOF
2760 if ac_fn_c_try_compile "$LINENO"; then :
2761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2762 /* end confdefs.h. */
2765 main ()
2767 if (sizeof (($2)))
2768 return 0;
2770 return 0;
2772 _ACEOF
2773 if ac_fn_c_try_compile "$LINENO"; then :
2775 else
2776 eval "$3=yes"
2778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2782 eval ac_res=\$$3
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2784 $as_echo "$ac_res" >&6; }
2785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2787 } # ac_fn_c_check_type
2788 cat >config.log <<_ACEOF
2789 This file contains any messages produced by compilers while
2790 running configure, to aid debugging if configure makes a mistake.
2792 It was created by Wine $as_me 1.7.32, which was
2793 generated by GNU Autoconf 2.69. Invocation command line was
2795 $ $0 $@
2797 _ACEOF
2798 exec 5>>config.log
2800 cat <<_ASUNAME
2801 ## --------- ##
2802 ## Platform. ##
2803 ## --------- ##
2805 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2806 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2807 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2808 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2809 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2811 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2812 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2814 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2815 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2816 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2817 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2818 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2819 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2820 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2822 _ASUNAME
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825 for as_dir in $PATH
2827 IFS=$as_save_IFS
2828 test -z "$as_dir" && as_dir=.
2829 $as_echo "PATH: $as_dir"
2830 done
2831 IFS=$as_save_IFS
2833 } >&5
2835 cat >&5 <<_ACEOF
2838 ## ----------- ##
2839 ## Core tests. ##
2840 ## ----------- ##
2842 _ACEOF
2845 # Keep a trace of the command line.
2846 # Strip out --no-create and --no-recursion so they do not pile up.
2847 # Strip out --silent because we don't want to record it for future runs.
2848 # Also quote any args containing shell meta-characters.
2849 # Make two passes to allow for proper duplicate-argument suppression.
2850 ac_configure_args=
2851 ac_configure_args0=
2852 ac_configure_args1=
2853 ac_must_keep_next=false
2854 for ac_pass in 1 2
2856 for ac_arg
2858 case $ac_arg in
2859 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2860 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2861 | -silent | --silent | --silen | --sile | --sil)
2862 continue ;;
2863 *\'*)
2864 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2865 esac
2866 case $ac_pass in
2867 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2869 as_fn_append ac_configure_args1 " '$ac_arg'"
2870 if test $ac_must_keep_next = true; then
2871 ac_must_keep_next=false # Got value, back to normal.
2872 else
2873 case $ac_arg in
2874 *=* | --config-cache | -C | -disable-* | --disable-* \
2875 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2876 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2877 | -with-* | --with-* | -without-* | --without-* | --x)
2878 case "$ac_configure_args0 " in
2879 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2880 esac
2882 -* ) ac_must_keep_next=true ;;
2883 esac
2885 as_fn_append ac_configure_args " '$ac_arg'"
2887 esac
2888 done
2889 done
2890 { ac_configure_args0=; unset ac_configure_args0;}
2891 { ac_configure_args1=; unset ac_configure_args1;}
2893 # When interrupted or exit'd, cleanup temporary files, and complete
2894 # config.log. We remove comments because anyway the quotes in there
2895 # would cause problems or look ugly.
2896 # WARNING: Use '\'' to represent an apostrophe within the trap.
2897 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2898 trap 'exit_status=$?
2899 # Save into config.log some information that might help in debugging.
2901 echo
2903 $as_echo "## ---------------- ##
2904 ## Cache variables. ##
2905 ## ---------------- ##"
2906 echo
2907 # The following way of writing the cache mishandles newlines in values,
2909 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2910 eval ac_val=\$$ac_var
2911 case $ac_val in #(
2912 *${as_nl}*)
2913 case $ac_var in #(
2914 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2915 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2916 esac
2917 case $ac_var in #(
2918 _ | IFS | as_nl) ;; #(
2919 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2920 *) { eval $ac_var=; unset $ac_var;} ;;
2921 esac ;;
2922 esac
2923 done
2924 (set) 2>&1 |
2925 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2926 *${as_nl}ac_space=\ *)
2927 sed -n \
2928 "s/'\''/'\''\\\\'\'''\''/g;
2929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2930 ;; #(
2932 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2934 esac |
2935 sort
2937 echo
2939 $as_echo "## ----------------- ##
2940 ## Output variables. ##
2941 ## ----------------- ##"
2942 echo
2943 for ac_var in $ac_subst_vars
2945 eval ac_val=\$$ac_var
2946 case $ac_val in
2947 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2948 esac
2949 $as_echo "$ac_var='\''$ac_val'\''"
2950 done | sort
2951 echo
2953 if test -n "$ac_subst_files"; then
2954 $as_echo "## ------------------- ##
2955 ## File substitutions. ##
2956 ## ------------------- ##"
2957 echo
2958 for ac_var in $ac_subst_files
2960 eval ac_val=\$$ac_var
2961 case $ac_val in
2962 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2963 esac
2964 $as_echo "$ac_var='\''$ac_val'\''"
2965 done | sort
2966 echo
2969 if test -s confdefs.h; then
2970 $as_echo "## ----------- ##
2971 ## confdefs.h. ##
2972 ## ----------- ##"
2973 echo
2974 cat confdefs.h
2975 echo
2977 test "$ac_signal" != 0 &&
2978 $as_echo "$as_me: caught signal $ac_signal"
2979 $as_echo "$as_me: exit $exit_status"
2980 } >&5
2981 rm -f core *.core core.conftest.* &&
2982 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2983 exit $exit_status
2985 for ac_signal in 1 2 13 15; do
2986 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2987 done
2988 ac_signal=0
2990 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2991 rm -f -r conftest* confdefs.h
2993 $as_echo "/* confdefs.h */" > confdefs.h
2995 # Predefined preprocessor variables.
2997 cat >>confdefs.h <<_ACEOF
2998 #define PACKAGE_NAME "$PACKAGE_NAME"
2999 _ACEOF
3001 cat >>confdefs.h <<_ACEOF
3002 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3003 _ACEOF
3005 cat >>confdefs.h <<_ACEOF
3006 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3007 _ACEOF
3009 cat >>confdefs.h <<_ACEOF
3010 #define PACKAGE_STRING "$PACKAGE_STRING"
3011 _ACEOF
3013 cat >>confdefs.h <<_ACEOF
3014 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3015 _ACEOF
3017 cat >>confdefs.h <<_ACEOF
3018 #define PACKAGE_URL "$PACKAGE_URL"
3019 _ACEOF
3022 # Let the site file select an alternate cache file if it wants to.
3023 # Prefer an explicitly selected file to automatically selected ones.
3024 ac_site_file1=NONE
3025 ac_site_file2=NONE
3026 if test -n "$CONFIG_SITE"; then
3027 # We do not want a PATH search for config.site.
3028 case $CONFIG_SITE in #((
3029 -*) ac_site_file1=./$CONFIG_SITE;;
3030 */*) ac_site_file1=$CONFIG_SITE;;
3031 *) ac_site_file1=./$CONFIG_SITE;;
3032 esac
3033 elif test "x$prefix" != xNONE; then
3034 ac_site_file1=$prefix/share/config.site
3035 ac_site_file2=$prefix/etc/config.site
3036 else
3037 ac_site_file1=$ac_default_prefix/share/config.site
3038 ac_site_file2=$ac_default_prefix/etc/config.site
3040 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3042 test "x$ac_site_file" = xNONE && continue
3043 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3045 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3046 sed 's/^/| /' "$ac_site_file" >&5
3047 . "$ac_site_file" \
3048 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 as_fn_error $? "failed to load site script $ac_site_file
3051 See \`config.log' for more details" "$LINENO" 5; }
3053 done
3055 if test -r "$cache_file"; then
3056 # Some versions of bash will fail to source /dev/null (special files
3057 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3058 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3060 $as_echo "$as_me: loading cache $cache_file" >&6;}
3061 case $cache_file in
3062 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3063 *) . "./$cache_file";;
3064 esac
3066 else
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3068 $as_echo "$as_me: creating cache $cache_file" >&6;}
3069 >$cache_file
3072 # Check that the precious variables saved in the cache have kept the same
3073 # value.
3074 ac_cache_corrupted=false
3075 for ac_var in $ac_precious_vars; do
3076 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3077 eval ac_new_set=\$ac_env_${ac_var}_set
3078 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3079 eval ac_new_val=\$ac_env_${ac_var}_value
3080 case $ac_old_set,$ac_new_set in
3081 set,)
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3083 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3084 ac_cache_corrupted=: ;;
3085 ,set)
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3087 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3088 ac_cache_corrupted=: ;;
3089 ,);;
3091 if test "x$ac_old_val" != "x$ac_new_val"; then
3092 # differences in whitespace do not lead to failure.
3093 ac_old_val_w=`echo x $ac_old_val`
3094 ac_new_val_w=`echo x $ac_new_val`
3095 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3097 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3098 ac_cache_corrupted=:
3099 else
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3101 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3102 eval $ac_var=\$ac_old_val
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3105 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3107 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3108 fi;;
3109 esac
3110 # Pass precious variables to config.status.
3111 if test "$ac_new_set" = set; then
3112 case $ac_new_val in
3113 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3114 *) ac_arg=$ac_var=$ac_new_val ;;
3115 esac
3116 case " $ac_configure_args " in
3117 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3118 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3119 esac
3121 done
3122 if $ac_cache_corrupted; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3126 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3127 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3129 ## -------------------- ##
3130 ## Main body of script. ##
3131 ## -------------------- ##
3133 ac_ext=c
3134 ac_cpp='$CPP $CPPFLAGS'
3135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3141 ac_config_headers="$ac_config_headers include/config.h"
3143 ac_aux_dir=
3144 for ac_dir in tools "$srcdir"/tools; do
3145 if 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/install.sh"; then
3150 ac_aux_dir=$ac_dir
3151 ac_install_sh="$ac_aux_dir/install.sh -c"
3152 break
3153 elif test -f "$ac_dir/shtool"; then
3154 ac_aux_dir=$ac_dir
3155 ac_install_sh="$ac_aux_dir/shtool install -c"
3156 break
3158 done
3159 if test -z "$ac_aux_dir"; then
3160 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3163 # These three variables are undocumented and unsupported,
3164 # and are intended to be withdrawn in a future Autoconf release.
3165 # They can cause serious problems if a builder's source tree is in a directory
3166 # whose full name contains unusual characters.
3167 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3168 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3169 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3173 libwine_version="1.0"
3177 # Check whether --enable-win16 was given.
3178 if test "${enable_win16+set}" = set; then :
3179 enableval=$enable_win16;
3182 # Check whether --enable-win64 was given.
3183 if test "${enable_win64+set}" = set; then :
3184 enableval=$enable_win64;
3187 # Check whether --enable-tests was given.
3188 if test "${enable_tests+set}" = set; then :
3189 enableval=$enable_tests;
3192 # Check whether --enable-maintainer-mode was given.
3193 if test "${enable_maintainer_mode+set}" = set; then :
3194 enableval=$enable_maintainer_mode;
3199 # Check whether --with-alsa was given.
3200 if test "${with_alsa+set}" = set; then :
3201 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3205 # Check whether --with-capi was given.
3206 if test "${with_capi+set}" = set; then :
3207 withval=$with_capi;
3211 # Check whether --with-cms was given.
3212 if test "${with_cms+set}" = set; then :
3213 withval=$with_cms;
3217 # Check whether --with-coreaudio was given.
3218 if test "${with_coreaudio+set}" = set; then :
3219 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3223 # Check whether --with-cups was given.
3224 if test "${with_cups+set}" = set; then :
3225 withval=$with_cups;
3229 # Check whether --with-curses was given.
3230 if test "${with_curses+set}" = set; then :
3231 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3235 # Check whether --with-dbus was given.
3236 if test "${with_dbus+set}" = set; then :
3237 withval=$with_dbus;
3241 # Check whether --with-fontconfig was given.
3242 if test "${with_fontconfig+set}" = set; then :
3243 withval=$with_fontconfig;
3247 # Check whether --with-freetype was given.
3248 if test "${with_freetype+set}" = set; then :
3249 withval=$with_freetype;
3253 # Check whether --with-gettext was given.
3254 if test "${with_gettext+set}" = set; then :
3255 withval=$with_gettext;
3259 # Check whether --with-gettextpo was given.
3260 if test "${with_gettextpo+set}" = set; then :
3261 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3265 # Check whether --with-gphoto was given.
3266 if test "${with_gphoto+set}" = set; then :
3267 withval=$with_gphoto;
3271 # Check whether --with-glu was given.
3272 if test "${with_glu+set}" = set; then :
3273 withval=$with_glu;
3277 # Check whether --with-gnutls was given.
3278 if test "${with_gnutls+set}" = set; then :
3279 withval=$with_gnutls;
3283 # Check whether --with-gsm was given.
3284 if test "${with_gsm+set}" = set; then :
3285 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3289 # Check whether --with-gstreamer was given.
3290 if test "${with_gstreamer+set}" = set; then :
3291 withval=$with_gstreamer;
3295 # Check whether --with-hal was given.
3296 if test "${with_hal+set}" = set; then :
3297 withval=$with_hal;
3301 # Check whether --with-jpeg was given.
3302 if test "${with_jpeg+set}" = set; then :
3303 withval=$with_jpeg;
3307 # Check whether --with-ldap was given.
3308 if test "${with_ldap+set}" = set; then :
3309 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3313 # Check whether --with-mpg123 was given.
3314 if test "${with_mpg123+set}" = set; then :
3315 withval=$with_mpg123;
3319 # Check whether --with-netapi was given.
3320 if test "${with_netapi+set}" = set; then :
3321 withval=$with_netapi;
3325 # Check whether --with-openal was given.
3326 if test "${with_openal+set}" = set; then :
3327 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3331 # Check whether --with-opencl was given.
3332 if test "${with_opencl+set}" = set; then :
3333 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3337 # Check whether --with-opengl was given.
3338 if test "${with_opengl+set}" = set; then :
3339 withval=$with_opengl;
3343 # Check whether --with-osmesa was given.
3344 if test "${with_osmesa+set}" = set; then :
3345 withval=$with_osmesa;
3349 # Check whether --with-oss was given.
3350 if test "${with_oss+set}" = set; then :
3351 withval=$with_oss;
3355 # Check whether --with-pcap was given.
3356 if test "${with_pcap+set}" = set; then :
3357 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3361 # Check whether --with-png was given.
3362 if test "${with_png+set}" = set; then :
3363 withval=$with_png;
3367 # Check whether --with-pthread was given.
3368 if test "${with_pthread+set}" = set; then :
3369 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3373 # Check whether --with-sane was given.
3374 if test "${with_sane+set}" = set; then :
3375 withval=$with_sane;
3379 # Check whether --with-tiff was given.
3380 if test "${with_tiff+set}" = set; then :
3381 withval=$with_tiff;
3385 # Check whether --with-v4l was given.
3386 if test "${with_v4l+set}" = set; then :
3387 withval=$with_v4l;
3391 # Check whether --with-xcomposite was given.
3392 if test "${with_xcomposite+set}" = set; then :
3393 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3397 # Check whether --with-xcursor was given.
3398 if test "${with_xcursor+set}" = set; then :
3399 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3403 # Check whether --with-xinerama was given.
3404 if test "${with_xinerama+set}" = set; then :
3405 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3409 # Check whether --with-xinput was given.
3410 if test "${with_xinput+set}" = set; then :
3411 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3415 # Check whether --with-xinput2 was given.
3416 if test "${with_xinput2+set}" = set; then :
3417 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3421 # Check whether --with-xml was given.
3422 if test "${with_xml+set}" = set; then :
3423 withval=$with_xml;
3427 # Check whether --with-xrandr was given.
3428 if test "${with_xrandr+set}" = set; then :
3429 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3433 # Check whether --with-xrender was given.
3434 if test "${with_xrender+set}" = set; then :
3435 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3439 # Check whether --with-xshape was given.
3440 if test "${with_xshape+set}" = set; then :
3441 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3445 # Check whether --with-xshm was given.
3446 if test "${with_xshm+set}" = set; then :
3447 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3451 # Check whether --with-xslt was given.
3452 if test "${with_xslt+set}" = set; then :
3453 withval=$with_xslt;
3457 # Check whether --with-xxf86vm was given.
3458 if test "${with_xxf86vm+set}" = set; then :
3459 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
3463 # Check whether --with-zlib was given.
3464 if test "${with_zlib+set}" = set; then :
3465 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3470 # Check whether --with-wine-tools was given.
3471 if test "${with_wine_tools+set}" = set; then :
3472 withval=$with_wine_tools;
3476 # Check whether --with-wine64 was given.
3477 if test "${with_wine64+set}" = set; then :
3478 withval=$with_wine64;
3482 # Make sure we can run config.sub.
3483 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3484 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3487 $as_echo_n "checking build system type... " >&6; }
3488 if ${ac_cv_build+:} false; then :
3489 $as_echo_n "(cached) " >&6
3490 else
3491 ac_build_alias=$build_alias
3492 test "x$ac_build_alias" = x &&
3493 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3494 test "x$ac_build_alias" = x &&
3495 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3496 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3497 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3501 $as_echo "$ac_cv_build" >&6; }
3502 case $ac_cv_build in
3503 *-*-*) ;;
3504 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3505 esac
3506 build=$ac_cv_build
3507 ac_save_IFS=$IFS; IFS='-'
3508 set x $ac_cv_build
3509 shift
3510 build_cpu=$1
3511 build_vendor=$2
3512 shift; shift
3513 # Remember, the first character of IFS is used to create $*,
3514 # except with old shells:
3515 build_os=$*
3516 IFS=$ac_save_IFS
3517 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3521 $as_echo_n "checking host system type... " >&6; }
3522 if ${ac_cv_host+:} false; then :
3523 $as_echo_n "(cached) " >&6
3524 else
3525 if test "x$host_alias" = x; then
3526 ac_cv_host=$ac_cv_build
3527 else
3528 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3529 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3534 $as_echo "$ac_cv_host" >&6; }
3535 case $ac_cv_host in
3536 *-*-*) ;;
3537 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3538 esac
3539 host=$ac_cv_host
3540 ac_save_IFS=$IFS; IFS='-'
3541 set x $ac_cv_host
3542 shift
3543 host_cpu=$1
3544 host_vendor=$2
3545 shift; shift
3546 # Remember, the first character of IFS is used to create $*,
3547 # except with old shells:
3548 host_os=$*
3549 IFS=$ac_save_IFS
3550 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3554 case "$srcdir" in
3555 .) ;;
3556 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3557 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3558 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3559 fi ;;
3560 esac
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3564 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3565 set x ${MAKE-make}
3566 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3567 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3568 $as_echo_n "(cached) " >&6
3569 else
3570 cat >conftest.make <<\_ACEOF
3571 SHELL = /bin/sh
3572 all:
3573 @echo '@@@%%%=$(MAKE)=@@@%%%'
3574 _ACEOF
3575 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3576 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3577 *@@@%%%=?*=@@@%%%*)
3578 eval ac_cv_prog_make_${ac_make}_set=yes;;
3580 eval ac_cv_prog_make_${ac_make}_set=no;;
3581 esac
3582 rm -f conftest.make
3584 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3586 $as_echo "yes" >&6; }
3587 SET_MAKE=
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 SET_MAKE="MAKE=${MAKE-make}"
3594 ac_ext=c
3595 ac_cpp='$CPP $CPPFLAGS'
3596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3599 if test -n "$ac_tool_prefix"; then
3600 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3601 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if ${ac_cv_prog_CC+:} false; then :
3605 $as_echo_n "(cached) " >&6
3606 else
3607 if test -n "$CC"; then
3608 ac_cv_prog_CC="$CC" # Let the user override the test.
3609 else
3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 for as_dir in $PATH
3613 IFS=$as_save_IFS
3614 test -z "$as_dir" && as_dir=.
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3617 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 break 2
3621 done
3622 done
3623 IFS=$as_save_IFS
3627 CC=$ac_cv_prog_CC
3628 if test -n "$CC"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3630 $as_echo "$CC" >&6; }
3631 else
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3638 if test -z "$ac_cv_prog_CC"; then
3639 ac_ct_CC=$CC
3640 # Extract the first word of "gcc", so it can be a program name with args.
3641 set dummy gcc; ac_word=$2
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3643 $as_echo_n "checking for $ac_word... " >&6; }
3644 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3645 $as_echo_n "(cached) " >&6
3646 else
3647 if test -n "$ac_ct_CC"; then
3648 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3649 else
3650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3651 for as_dir in $PATH
3653 IFS=$as_save_IFS
3654 test -z "$as_dir" && as_dir=.
3655 for ac_exec_ext in '' $ac_executable_extensions; do
3656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3657 ac_cv_prog_ac_ct_CC="gcc"
3658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3659 break 2
3661 done
3662 done
3663 IFS=$as_save_IFS
3667 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3668 if test -n "$ac_ct_CC"; then
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3670 $as_echo "$ac_ct_CC" >&6; }
3671 else
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3673 $as_echo "no" >&6; }
3676 if test "x$ac_ct_CC" = x; then
3677 CC=""
3678 else
3679 case $cross_compiling:$ac_tool_warned in
3680 yes:)
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3683 ac_tool_warned=yes ;;
3684 esac
3685 CC=$ac_ct_CC
3687 else
3688 CC="$ac_cv_prog_CC"
3691 if test -z "$CC"; then
3692 if test -n "$ac_tool_prefix"; then
3693 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3694 set dummy ${ac_tool_prefix}cc; ac_word=$2
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696 $as_echo_n "checking for $ac_word... " >&6; }
3697 if ${ac_cv_prog_CC+:} false; then :
3698 $as_echo_n "(cached) " >&6
3699 else
3700 if test -n "$CC"; then
3701 ac_cv_prog_CC="$CC" # Let the user override the test.
3702 else
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 for as_dir in $PATH
3706 IFS=$as_save_IFS
3707 test -z "$as_dir" && as_dir=.
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3710 ac_cv_prog_CC="${ac_tool_prefix}cc"
3711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3712 break 2
3714 done
3715 done
3716 IFS=$as_save_IFS
3720 CC=$ac_cv_prog_CC
3721 if test -n "$CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723 $as_echo "$CC" >&6; }
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3732 if test -z "$CC"; then
3733 # Extract the first word of "cc", so it can be a program name with args.
3734 set dummy cc; ac_word=$2
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3736 $as_echo_n "checking for $ac_word... " >&6; }
3737 if ${ac_cv_prog_CC+:} false; then :
3738 $as_echo_n "(cached) " >&6
3739 else
3740 if test -n "$CC"; then
3741 ac_cv_prog_CC="$CC" # Let the user override the test.
3742 else
3743 ac_prog_rejected=no
3744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3745 for as_dir in $PATH
3747 IFS=$as_save_IFS
3748 test -z "$as_dir" && as_dir=.
3749 for ac_exec_ext in '' $ac_executable_extensions; do
3750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3751 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3752 ac_prog_rejected=yes
3753 continue
3755 ac_cv_prog_CC="cc"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 break 2
3759 done
3760 done
3761 IFS=$as_save_IFS
3763 if test $ac_prog_rejected = yes; then
3764 # We found a bogon in the path, so make sure we never use it.
3765 set dummy $ac_cv_prog_CC
3766 shift
3767 if test $# != 0; then
3768 # We chose a different compiler from the bogus one.
3769 # However, it has the same basename, so the bogon will be chosen
3770 # first if we set CC to just the basename; use the full file name.
3771 shift
3772 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3777 CC=$ac_cv_prog_CC
3778 if test -n "$CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3780 $as_echo "$CC" >&6; }
3781 else
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3788 if test -z "$CC"; then
3789 if test -n "$ac_tool_prefix"; then
3790 for ac_prog in cl.exe
3792 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3793 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3795 $as_echo_n "checking for $ac_word... " >&6; }
3796 if ${ac_cv_prog_CC+:} false; then :
3797 $as_echo_n "(cached) " >&6
3798 else
3799 if test -n "$CC"; then
3800 ac_cv_prog_CC="$CC" # Let the user override the test.
3801 else
3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803 for as_dir in $PATH
3805 IFS=$as_save_IFS
3806 test -z "$as_dir" && as_dir=.
3807 for ac_exec_ext in '' $ac_executable_extensions; do
3808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3809 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 break 2
3813 done
3814 done
3815 IFS=$as_save_IFS
3819 CC=$ac_cv_prog_CC
3820 if test -n "$CC"; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3822 $as_echo "$CC" >&6; }
3823 else
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3825 $as_echo "no" >&6; }
3829 test -n "$CC" && break
3830 done
3832 if test -z "$CC"; then
3833 ac_ct_CC=$CC
3834 for ac_prog in cl.exe
3836 # Extract the first word of "$ac_prog", so it can be a program name with args.
3837 set dummy $ac_prog; ac_word=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 if test -n "$ac_ct_CC"; then
3844 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_ac_ct_CC="$ac_prog"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3857 done
3858 done
3859 IFS=$as_save_IFS
3863 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3864 if test -n "$ac_ct_CC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3866 $as_echo "$ac_ct_CC" >&6; }
3867 else
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3873 test -n "$ac_ct_CC" && break
3874 done
3876 if test "x$ac_ct_CC" = x; then
3877 CC=""
3878 else
3879 case $cross_compiling:$ac_tool_warned in
3880 yes:)
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3883 ac_tool_warned=yes ;;
3884 esac
3885 CC=$ac_ct_CC
3892 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3894 as_fn_error $? "no acceptable C compiler found in \$PATH
3895 See \`config.log' for more details" "$LINENO" 5; }
3897 # Provide some information about the compiler.
3898 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3899 set X $ac_compile
3900 ac_compiler=$2
3901 for ac_option in --version -v -V -qversion; do
3902 { { ac_try="$ac_compiler $ac_option >&5"
3903 case "(($ac_try" in
3904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3905 *) ac_try_echo=$ac_try;;
3906 esac
3907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3908 $as_echo "$ac_try_echo"; } >&5
3909 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3910 ac_status=$?
3911 if test -s conftest.err; then
3912 sed '10a\
3913 ... rest of stderr output deleted ...
3914 10q' conftest.err >conftest.er1
3915 cat conftest.er1 >&5
3917 rm -f conftest.er1 conftest.err
3918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3919 test $ac_status = 0; }
3920 done
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3926 main ()
3930 return 0;
3932 _ACEOF
3933 ac_clean_files_save=$ac_clean_files
3934 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3935 # Try to create an executable without -o first, disregard a.out.
3936 # It will help us diagnose broken compilers, and finding out an intuition
3937 # of exeext.
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3939 $as_echo_n "checking whether the C compiler works... " >&6; }
3940 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3942 # The possible output files:
3943 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3945 ac_rmfiles=
3946 for ac_file in $ac_files
3948 case $ac_file in
3949 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3950 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3951 esac
3952 done
3953 rm -f $ac_rmfiles
3955 if { { ac_try="$ac_link_default"
3956 case "(($ac_try" in
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3959 esac
3960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3961 $as_echo "$ac_try_echo"; } >&5
3962 (eval "$ac_link_default") 2>&5
3963 ac_status=$?
3964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3965 test $ac_status = 0; }; then :
3966 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3967 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3968 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3969 # so that the user can short-circuit this test for compilers unknown to
3970 # Autoconf.
3971 for ac_file in $ac_files ''
3973 test -f "$ac_file" || continue
3974 case $ac_file in
3975 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3977 [ab].out )
3978 # We found the default executable, but exeext='' is most
3979 # certainly right.
3980 break;;
3981 *.* )
3982 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3983 then :; else
3984 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3986 # We set ac_cv_exeext here because the later test for it is not
3987 # safe: cross compilers may not add the suffix if given an `-o'
3988 # argument, so we may need to know it at that point already.
3989 # Even if this section looks crufty: it has the advantage of
3990 # actually working.
3991 break;;
3993 break;;
3994 esac
3995 done
3996 test "$ac_cv_exeext" = no && ac_cv_exeext=
3998 else
3999 ac_file=''
4001 if test -z "$ac_file"; then :
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4004 $as_echo "$as_me: failed program was:" >&5
4005 sed 's/^/| /' conftest.$ac_ext >&5
4007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 as_fn_error 77 "C compiler cannot create executables
4010 See \`config.log' for more details" "$LINENO" 5; }
4011 else
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4013 $as_echo "yes" >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4016 $as_echo_n "checking for C compiler default output file name... " >&6; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4018 $as_echo "$ac_file" >&6; }
4019 ac_exeext=$ac_cv_exeext
4021 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4022 ac_clean_files=$ac_clean_files_save
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4024 $as_echo_n "checking for suffix of executables... " >&6; }
4025 if { { ac_try="$ac_link"
4026 case "(($ac_try" in
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4029 esac
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
4032 (eval "$ac_link") 2>&5
4033 ac_status=$?
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; }; then :
4036 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4037 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4038 # work properly (i.e., refer to `conftest.exe'), while it won't with
4039 # `rm'.
4040 for ac_file in conftest.exe conftest conftest.*; do
4041 test -f "$ac_file" || continue
4042 case $ac_file in
4043 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4044 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4045 break;;
4046 * ) break;;
4047 esac
4048 done
4049 else
4050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4052 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4053 See \`config.log' for more details" "$LINENO" 5; }
4055 rm -f conftest conftest$ac_cv_exeext
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4057 $as_echo "$ac_cv_exeext" >&6; }
4059 rm -f conftest.$ac_ext
4060 EXEEXT=$ac_cv_exeext
4061 ac_exeext=$EXEEXT
4062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h. */
4064 #include <stdio.h>
4066 main ()
4068 FILE *f = fopen ("conftest.out", "w");
4069 return ferror (f) || fclose (f) != 0;
4072 return 0;
4074 _ACEOF
4075 ac_clean_files="$ac_clean_files conftest.out"
4076 # Check that the compiler produces executables we can run. If not, either
4077 # the compiler is broken, or we cross compile.
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4079 $as_echo_n "checking whether we are cross compiling... " >&6; }
4080 if test "$cross_compiling" != yes; then
4081 { { ac_try="$ac_link"
4082 case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_link") 2>&5
4089 ac_status=$?
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }
4092 if { ac_try='./conftest$ac_cv_exeext'
4093 { { case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_try") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; }; then
4103 cross_compiling=no
4104 else
4105 if test "$cross_compiling" = maybe; then
4106 cross_compiling=yes
4107 else
4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 as_fn_error $? "cannot run C compiled programs.
4111 If you meant to cross compile, use \`--host'.
4112 See \`config.log' for more details" "$LINENO" 5; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4117 $as_echo "$cross_compiling" >&6; }
4119 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4120 ac_clean_files=$ac_clean_files_save
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4122 $as_echo_n "checking for suffix of object files... " >&6; }
4123 if ${ac_cv_objext+:} false; then :
4124 $as_echo_n "(cached) " >&6
4125 else
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4130 main ()
4134 return 0;
4136 _ACEOF
4137 rm -f conftest.o conftest.obj
4138 if { { ac_try="$ac_compile"
4139 case "(($ac_try" in
4140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4141 *) ac_try_echo=$ac_try;;
4142 esac
4143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4144 $as_echo "$ac_try_echo"; } >&5
4145 (eval "$ac_compile") 2>&5
4146 ac_status=$?
4147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4148 test $ac_status = 0; }; then :
4149 for ac_file in conftest.o conftest.obj conftest.*; do
4150 test -f "$ac_file" || continue;
4151 case $ac_file in
4152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4153 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4154 break;;
4155 esac
4156 done
4157 else
4158 $as_echo "$as_me: failed program was:" >&5
4159 sed 's/^/| /' conftest.$ac_ext >&5
4161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4163 as_fn_error $? "cannot compute suffix of object files: cannot compile
4164 See \`config.log' for more details" "$LINENO" 5; }
4166 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4169 $as_echo "$ac_cv_objext" >&6; }
4170 OBJEXT=$ac_cv_objext
4171 ac_objext=$OBJEXT
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4173 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4174 if ${ac_cv_c_compiler_gnu+:} false; then :
4175 $as_echo_n "(cached) " >&6
4176 else
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4181 main ()
4183 #ifndef __GNUC__
4184 choke me
4185 #endif
4188 return 0;
4190 _ACEOF
4191 if ac_fn_c_try_compile "$LINENO"; then :
4192 ac_compiler_gnu=yes
4193 else
4194 ac_compiler_gnu=no
4196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4197 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4201 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4202 if test $ac_compiler_gnu = yes; then
4203 GCC=yes
4204 else
4205 GCC=
4207 ac_test_CFLAGS=${CFLAGS+set}
4208 ac_save_CFLAGS=$CFLAGS
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4210 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4211 if ${ac_cv_prog_cc_g+:} false; then :
4212 $as_echo_n "(cached) " >&6
4213 else
4214 ac_save_c_werror_flag=$ac_c_werror_flag
4215 ac_c_werror_flag=yes
4216 ac_cv_prog_cc_g=no
4217 CFLAGS="-g"
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4222 main ()
4226 return 0;
4228 _ACEOF
4229 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_cv_prog_cc_g=yes
4231 else
4232 CFLAGS=""
4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4237 main ()
4241 return 0;
4243 _ACEOF
4244 if ac_fn_c_try_compile "$LINENO"; then :
4246 else
4247 ac_c_werror_flag=$ac_save_c_werror_flag
4248 CFLAGS="-g"
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4253 main ()
4257 return 0;
4259 _ACEOF
4260 if ac_fn_c_try_compile "$LINENO"; then :
4261 ac_cv_prog_cc_g=yes
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 ac_c_werror_flag=$ac_save_c_werror_flag
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4271 $as_echo "$ac_cv_prog_cc_g" >&6; }
4272 if test "$ac_test_CFLAGS" = set; then
4273 CFLAGS=$ac_save_CFLAGS
4274 elif test $ac_cv_prog_cc_g = yes; then
4275 if test "$GCC" = yes; then
4276 CFLAGS="-g -O2"
4277 else
4278 CFLAGS="-g"
4280 else
4281 if test "$GCC" = yes; then
4282 CFLAGS="-O2"
4283 else
4284 CFLAGS=
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4288 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4289 if ${ac_cv_prog_cc_c89+:} false; then :
4290 $as_echo_n "(cached) " >&6
4291 else
4292 ac_cv_prog_cc_c89=no
4293 ac_save_CC=$CC
4294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4295 /* end confdefs.h. */
4296 #include <stdarg.h>
4297 #include <stdio.h>
4298 struct stat;
4299 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4300 struct buf { int x; };
4301 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4302 static char *e (p, i)
4303 char **p;
4304 int i;
4306 return p[i];
4308 static char *f (char * (*g) (char **, int), char **p, ...)
4310 char *s;
4311 va_list v;
4312 va_start (v,p);
4313 s = g (p, va_arg (v,int));
4314 va_end (v);
4315 return s;
4318 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4319 function prototypes and stuff, but not '\xHH' hex character constants.
4320 These don't provoke an error unfortunately, instead are silently treated
4321 as 'x'. The following induces an error, until -std is added to get
4322 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4323 array size at least. It's necessary to write '\x00'==0 to get something
4324 that's true only with -std. */
4325 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4327 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4328 inside strings and character constants. */
4329 #define FOO(x) 'x'
4330 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4332 int test (int i, double x);
4333 struct s1 {int (*f) (int a);};
4334 struct s2 {int (*f) (double a);};
4335 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4336 int argc;
4337 char **argv;
4339 main ()
4341 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4343 return 0;
4345 _ACEOF
4346 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4347 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4349 CC="$ac_save_CC $ac_arg"
4350 if ac_fn_c_try_compile "$LINENO"; then :
4351 ac_cv_prog_cc_c89=$ac_arg
4353 rm -f core conftest.err conftest.$ac_objext
4354 test "x$ac_cv_prog_cc_c89" != "xno" && break
4355 done
4356 rm -f conftest.$ac_ext
4357 CC=$ac_save_CC
4360 # AC_CACHE_VAL
4361 case "x$ac_cv_prog_cc_c89" in
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4364 $as_echo "none needed" >&6; } ;;
4365 xno)
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4367 $as_echo "unsupported" >&6; } ;;
4369 CC="$CC $ac_cv_prog_cc_c89"
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4371 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4372 esac
4373 if test "x$ac_cv_prog_cc_c89" != xno; then :
4377 ac_ext=c
4378 ac_cpp='$CPP $CPPFLAGS'
4379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4383 ac_ext=cpp
4384 ac_cpp='$CXXCPP $CPPFLAGS'
4385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4388 if test -z "$CXX"; then
4389 if test -n "$CCC"; then
4390 CXX=$CCC
4391 else
4392 if test -n "$ac_tool_prefix"; then
4393 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4395 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4396 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if ${ac_cv_prog_CXX+:} false; then :
4400 $as_echo_n "(cached) " >&6
4401 else
4402 if test -n "$CXX"; then
4403 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4404 else
4405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 for as_dir in $PATH
4408 IFS=$as_save_IFS
4409 test -z "$as_dir" && as_dir=.
4410 for ac_exec_ext in '' $ac_executable_extensions; do
4411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4412 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 break 2
4416 done
4417 done
4418 IFS=$as_save_IFS
4422 CXX=$ac_cv_prog_CXX
4423 if test -n "$CXX"; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4425 $as_echo "$CXX" >&6; }
4426 else
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428 $as_echo "no" >&6; }
4432 test -n "$CXX" && break
4433 done
4435 if test -z "$CXX"; then
4436 ac_ct_CXX=$CXX
4437 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4439 # Extract the first word of "$ac_prog", so it can be a program name with args.
4440 set dummy $ac_prog; ac_word=$2
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442 $as_echo_n "checking for $ac_word... " >&6; }
4443 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4444 $as_echo_n "(cached) " >&6
4445 else
4446 if test -n "$ac_ct_CXX"; then
4447 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4448 else
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 for as_dir in $PATH
4452 IFS=$as_save_IFS
4453 test -z "$as_dir" && as_dir=.
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4456 ac_cv_prog_ac_ct_CXX="$ac_prog"
4457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 break 2
4460 done
4461 done
4462 IFS=$as_save_IFS
4466 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4467 if test -n "$ac_ct_CXX"; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4469 $as_echo "$ac_ct_CXX" >&6; }
4470 else
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4476 test -n "$ac_ct_CXX" && break
4477 done
4479 if test "x$ac_ct_CXX" = x; then
4480 CXX="g++"
4481 else
4482 case $cross_compiling:$ac_tool_warned in
4483 yes:)
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4486 ac_tool_warned=yes ;;
4487 esac
4488 CXX=$ac_ct_CXX
4494 # Provide some information about the compiler.
4495 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4496 set X $ac_compile
4497 ac_compiler=$2
4498 for ac_option in --version -v -V -qversion; do
4499 { { ac_try="$ac_compiler $ac_option >&5"
4500 case "(($ac_try" in
4501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4502 *) ac_try_echo=$ac_try;;
4503 esac
4504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4505 $as_echo "$ac_try_echo"; } >&5
4506 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4507 ac_status=$?
4508 if test -s conftest.err; then
4509 sed '10a\
4510 ... rest of stderr output deleted ...
4511 10q' conftest.err >conftest.er1
4512 cat conftest.er1 >&5
4514 rm -f conftest.er1 conftest.err
4515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4516 test $ac_status = 0; }
4517 done
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4520 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4521 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4522 $as_echo_n "(cached) " >&6
4523 else
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4528 main ()
4530 #ifndef __GNUC__
4531 choke me
4532 #endif
4535 return 0;
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539 ac_compiler_gnu=yes
4540 else
4541 ac_compiler_gnu=no
4543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4544 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4548 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4549 if test $ac_compiler_gnu = yes; then
4550 GXX=yes
4551 else
4552 GXX=
4554 ac_test_CXXFLAGS=${CXXFLAGS+set}
4555 ac_save_CXXFLAGS=$CXXFLAGS
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4557 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4558 if ${ac_cv_prog_cxx_g+:} false; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4562 ac_cxx_werror_flag=yes
4563 ac_cv_prog_cxx_g=no
4564 CXXFLAGS="-g"
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4569 main ()
4573 return 0;
4575 _ACEOF
4576 if ac_fn_cxx_try_compile "$LINENO"; then :
4577 ac_cv_prog_cxx_g=yes
4578 else
4579 CXXFLAGS=""
4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4584 main ()
4588 return 0;
4590 _ACEOF
4591 if ac_fn_cxx_try_compile "$LINENO"; then :
4593 else
4594 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4595 CXXFLAGS="-g"
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4600 main ()
4604 return 0;
4606 _ACEOF
4607 if ac_fn_cxx_try_compile "$LINENO"; then :
4608 ac_cv_prog_cxx_g=yes
4610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4618 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4619 if test "$ac_test_CXXFLAGS" = set; then
4620 CXXFLAGS=$ac_save_CXXFLAGS
4621 elif test $ac_cv_prog_cxx_g = yes; then
4622 if test "$GXX" = yes; then
4623 CXXFLAGS="-g -O2"
4624 else
4625 CXXFLAGS="-g"
4627 else
4628 if test "$GXX" = yes; then
4629 CXXFLAGS="-O2"
4630 else
4631 CXXFLAGS=
4634 ac_ext=c
4635 ac_cpp='$CPP $CPPFLAGS'
4636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4640 if test -n "$ac_tool_prefix"; then
4641 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4642 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4644 $as_echo_n "checking for $ac_word... " >&6; }
4645 if ${ac_cv_prog_CPPBIN+:} false; then :
4646 $as_echo_n "(cached) " >&6
4647 else
4648 if test -n "$CPPBIN"; then
4649 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4650 else
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 for as_dir in $PATH
4654 IFS=$as_save_IFS
4655 test -z "$as_dir" && as_dir=.
4656 for ac_exec_ext in '' $ac_executable_extensions; do
4657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4658 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 break 2
4662 done
4663 done
4664 IFS=$as_save_IFS
4668 CPPBIN=$ac_cv_prog_CPPBIN
4669 if test -n "$CPPBIN"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4671 $as_echo "$CPPBIN" >&6; }
4672 else
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4679 if test -z "$ac_cv_prog_CPPBIN"; then
4680 ac_ct_CPPBIN=$CPPBIN
4681 # Extract the first word of "cpp", so it can be a program name with args.
4682 set dummy cpp; ac_word=$2
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4684 $as_echo_n "checking for $ac_word... " >&6; }
4685 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4686 $as_echo_n "(cached) " >&6
4687 else
4688 if test -n "$ac_ct_CPPBIN"; then
4689 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4690 else
4691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4692 for as_dir in $PATH
4694 IFS=$as_save_IFS
4695 test -z "$as_dir" && as_dir=.
4696 for ac_exec_ext in '' $ac_executable_extensions; do
4697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4698 ac_cv_prog_ac_ct_CPPBIN="cpp"
4699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 break 2
4702 done
4703 done
4704 IFS=$as_save_IFS
4708 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4709 if test -n "$ac_ct_CPPBIN"; then
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4711 $as_echo "$ac_ct_CPPBIN" >&6; }
4712 else
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4714 $as_echo "no" >&6; }
4717 if test "x$ac_ct_CPPBIN" = x; then
4718 CPPBIN="cpp"
4719 else
4720 case $cross_compiling:$ac_tool_warned in
4721 yes:)
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4724 ac_tool_warned=yes ;;
4725 esac
4726 CPPBIN=$ac_ct_CPPBIN
4728 else
4729 CPPBIN="$ac_cv_prog_CPPBIN"
4733 cat >>confdefs.h <<_ACEOF
4734 #define EXEEXT "$ac_exeext"
4735 _ACEOF
4738 case $host in
4739 *-darwin*)
4740 if test "x$enable_win64" = "xyes"
4741 then
4742 CC="$CC -m64"
4743 CXX="$CXX -m64"
4744 host_cpu="x86_64"
4745 notice_platform="64-bit "
4746 TARGETFLAGS="-m64"
4748 else
4749 CC="$CC -m32"
4750 CXX="$CXX -m32"
4751 host_cpu="i386"
4752 notice_platform="32-bit "
4753 TARGETFLAGS="-m32"
4755 enable_win16=${enable_win16:-yes}
4757 with_fontconfig=${with_fontconfig:-no}
4759 x86_64*)
4760 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4761 then
4762 CC="$CC -m32"
4763 CXX="$CXX -m32"
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4765 $as_echo_n "checking whether $CC works... " >&6; }
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4771 main ()
4775 return 0;
4777 _ACEOF
4778 if ac_fn_c_try_link "$LINENO"; then :
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4780 $as_echo "yes" >&6; }
4781 else
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4784 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4786 rm -f core conftest.err conftest.$ac_objext \
4787 conftest$ac_exeext conftest.$ac_ext
4788 host_cpu="i386"
4789 notice_platform="32-bit "
4790 TARGETFLAGS="-m32"
4792 enable_win16=${enable_win16:-yes}
4793 else
4794 if test "x${GCC}" = "xyes"
4795 then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4797 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4800 #include <stdarg.h>
4802 main ()
4804 void func(__builtin_ms_va_list *args);
4806 return 0;
4808 _ACEOF
4809 if ac_fn_c_try_compile "$LINENO"; then :
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4811 $as_echo "yes" >&6; }
4812 else
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4814 $as_echo "no" >&6; }
4815 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819 TARGETFLAGS="-m64"
4823 arm*)
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4825 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h. */
4828 int ac_test(int i) { return i; }
4830 main ()
4832 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4834 return 0;
4836 _ACEOF
4837 if ac_fn_c_try_link "$LINENO"; then :
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4839 $as_echo "yes" >&6; }
4840 else
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 $as_echo "no" >&6; }
4843 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4845 rm -f core conftest.err conftest.$ac_objext \
4846 conftest$ac_exeext conftest.$ac_ext
4847 CFLAGS="$CFLAGS -marm"
4848 TARGETFLAGS="-marm"
4851 *-mingw32*|*-cygwin*)
4852 enable_win16=${enable_win16:-no}
4853 CFLAGS="$CFLAGS -D_WIN32"
4855 i[3456789]86*)
4856 enable_win16=${enable_win16:-yes}
4858 esac
4860 enable_win16=${enable_win16:-no}
4861 enable_win64=${enable_win64:-no}
4863 enable_winetest=${enable_winetest:-$enable_tests}
4865 if test -n "$with_wine64"
4866 then
4867 if test "x$enable_win64" = "xyes"
4868 then
4869 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4870 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4872 enable_fonts=${enable_fonts:-no}
4873 enable_server=${enable_server:-no}
4874 elif test "x$enable_win64" = "xyes"
4875 then
4876 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4880 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4881 if ${wine_cv_toolsdir+:} false; then :
4882 $as_echo_n "(cached) " >&6
4883 else
4884 wine_cv_toolsdir="$with_wine_tools"
4885 if test -z "$with_wine_tools"; then
4886 if test "$cross_compiling" = "yes"; then
4887 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4888 elif test -n "$with_wine64"; then
4889 wine_cv_toolsdir="$with_wine64"
4892 if test -z "$wine_cv_toolsdir"; then
4893 wine_makedep=tools/makedep
4894 wine_cv_toolsdir="\$(top_builddir)"
4895 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4896 wine_makedep=$wine_cv_toolsdir/tools/makedep
4897 case "$wine_cv_toolsdir" in
4898 /*) ;;
4899 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4900 esac
4901 enable_tools=${enable_tools:-no}
4902 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4903 else
4904 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4908 $as_echo "$wine_cv_toolsdir" >&6; }
4909 TOOLSDIR=$wine_cv_toolsdir
4911 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4912 then
4913 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4917 for ac_prog in flex
4919 # Extract the first word of "$ac_prog", so it can be a program name with args.
4920 set dummy $ac_prog; ac_word=$2
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922 $as_echo_n "checking for $ac_word... " >&6; }
4923 if ${ac_cv_prog_FLEX+:} false; then :
4924 $as_echo_n "(cached) " >&6
4925 else
4926 if test -n "$FLEX"; then
4927 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4928 else
4929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 for as_dir in $PATH
4932 IFS=$as_save_IFS
4933 test -z "$as_dir" && as_dir=.
4934 for ac_exec_ext in '' $ac_executable_extensions; do
4935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4936 ac_cv_prog_FLEX="$ac_prog"
4937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938 break 2
4940 done
4941 done
4942 IFS=$as_save_IFS
4946 FLEX=$ac_cv_prog_FLEX
4947 if test -n "$FLEX"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4949 $as_echo "$FLEX" >&6; }
4950 else
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4956 test -n "$FLEX" && break
4957 done
4958 test -n "$FLEX" || FLEX="none"
4960 if test "$FLEX" = "none"
4961 then
4962 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4965 $as_echo_n "checking whether flex is recent enough... " >&6; }
4966 cat >conftest.l <<EOF
4967 %top{
4968 #include "prediluvian.h"
4972 if $FLEX -t conftest.l >/dev/null 2>&5
4973 then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4975 $as_echo "yes" >&6; }
4976 else
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4979 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4982 for ac_prog in bison
4984 # Extract the first word of "$ac_prog", so it can be a program name with args.
4985 set dummy $ac_prog; ac_word=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if ${ac_cv_prog_BISON+:} false; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 if test -n "$BISON"; then
4992 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4993 else
4994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 for as_dir in $PATH
4997 IFS=$as_save_IFS
4998 test -z "$as_dir" && as_dir=.
4999 for ac_exec_ext in '' $ac_executable_extensions; do
5000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_BISON="$ac_prog"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 break 2
5005 done
5006 done
5007 IFS=$as_save_IFS
5011 BISON=$ac_cv_prog_BISON
5012 if test -n "$BISON"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5014 $as_echo "$BISON" >&6; }
5015 else
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5021 test -n "$BISON" && break
5022 done
5023 test -n "$BISON" || BISON="none"
5025 if test "$BISON" = "none"
5026 then
5027 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5030 if test -n "$ac_tool_prefix"; then
5031 for ac_prog in ar gar
5033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_prog_AR+:} false; then :
5038 $as_echo_n "(cached) " >&6
5039 else
5040 if test -n "$AR"; then
5041 ac_cv_prog_AR="$AR" # Let the user override the test.
5042 else
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 for as_dir in $PATH
5046 IFS=$as_save_IFS
5047 test -z "$as_dir" && as_dir=.
5048 for ac_exec_ext in '' $ac_executable_extensions; do
5049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5050 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 break 2
5054 done
5055 done
5056 IFS=$as_save_IFS
5060 AR=$ac_cv_prog_AR
5061 if test -n "$AR"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5063 $as_echo "$AR" >&6; }
5064 else
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066 $as_echo "no" >&6; }
5070 test -n "$AR" && break
5071 done
5073 if test -z "$AR"; then
5074 ac_ct_AR=$AR
5075 for ac_prog in ar gar
5077 # Extract the first word of "$ac_prog", so it can be a program name with args.
5078 set dummy $ac_prog; ac_word=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5082 $as_echo_n "(cached) " >&6
5083 else
5084 if test -n "$ac_ct_AR"; then
5085 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5086 else
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 for as_dir in $PATH
5090 IFS=$as_save_IFS
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5094 ac_cv_prog_ac_ct_AR="$ac_prog"
5095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 break 2
5098 done
5099 done
5100 IFS=$as_save_IFS
5104 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5105 if test -n "$ac_ct_AR"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5107 $as_echo "$ac_ct_AR" >&6; }
5108 else
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5114 test -n "$ac_ct_AR" && break
5115 done
5117 if test "x$ac_ct_AR" = x; then
5118 AR="ar"
5119 else
5120 case $cross_compiling:$ac_tool_warned in
5121 yes:)
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5124 ac_tool_warned=yes ;;
5125 esac
5126 AR=$ac_ct_AR
5130 if test -n "$ac_tool_prefix"; then
5131 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5132 set dummy ${ac_tool_prefix}strip; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_STRIP+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 if test -n "$STRIP"; then
5139 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5140 else
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH
5144 IFS=$as_save_IFS
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 break 2
5152 done
5153 done
5154 IFS=$as_save_IFS
5158 STRIP=$ac_cv_prog_STRIP
5159 if test -n "$STRIP"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5161 $as_echo "$STRIP" >&6; }
5162 else
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5169 if test -z "$ac_cv_prog_STRIP"; then
5170 ac_ct_STRIP=$STRIP
5171 # Extract the first word of "strip", so it can be a program name with args.
5172 set dummy strip; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5176 $as_echo_n "(cached) " >&6
5177 else
5178 if test -n "$ac_ct_STRIP"; then
5179 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5180 else
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 for as_dir in $PATH
5184 IFS=$as_save_IFS
5185 test -z "$as_dir" && as_dir=.
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5188 ac_cv_prog_ac_ct_STRIP="strip"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 break 2
5192 done
5193 done
5194 IFS=$as_save_IFS
5198 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5199 if test -n "$ac_ct_STRIP"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5201 $as_echo "$ac_ct_STRIP" >&6; }
5202 else
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5207 if test "x$ac_ct_STRIP" = x; then
5208 STRIP="strip"
5209 else
5210 case $cross_compiling:$ac_tool_warned in
5211 yes:)
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5214 ac_tool_warned=yes ;;
5215 esac
5216 STRIP=$ac_ct_STRIP
5218 else
5219 STRIP="$ac_cv_prog_STRIP"
5222 ARFLAGS=rc
5224 if test -n "$ac_tool_prefix"; then
5225 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5226 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if ${ac_cv_prog_RANLIB+:} false; then :
5230 $as_echo_n "(cached) " >&6
5231 else
5232 if test -n "$RANLIB"; then
5233 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5234 else
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH
5238 IFS=$as_save_IFS
5239 test -z "$as_dir" && as_dir=.
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5242 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 break 2
5246 done
5247 done
5248 IFS=$as_save_IFS
5252 RANLIB=$ac_cv_prog_RANLIB
5253 if test -n "$RANLIB"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5255 $as_echo "$RANLIB" >&6; }
5256 else
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5263 if test -z "$ac_cv_prog_RANLIB"; then
5264 ac_ct_RANLIB=$RANLIB
5265 # Extract the first word of "ranlib", so it can be a program name with args.
5266 set dummy ranlib; ac_word=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268 $as_echo_n "checking for $ac_word... " >&6; }
5269 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5270 $as_echo_n "(cached) " >&6
5271 else
5272 if test -n "$ac_ct_RANLIB"; then
5273 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5274 else
5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5276 for as_dir in $PATH
5278 IFS=$as_save_IFS
5279 test -z "$as_dir" && as_dir=.
5280 for ac_exec_ext in '' $ac_executable_extensions; do
5281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5282 ac_cv_prog_ac_ct_RANLIB="ranlib"
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 break 2
5286 done
5287 done
5288 IFS=$as_save_IFS
5292 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5293 if test -n "$ac_ct_RANLIB"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5295 $as_echo "$ac_ct_RANLIB" >&6; }
5296 else
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5301 if test "x$ac_ct_RANLIB" = x; then
5302 RANLIB=":"
5303 else
5304 case $cross_compiling:$ac_tool_warned in
5305 yes:)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5308 ac_tool_warned=yes ;;
5309 esac
5310 RANLIB=$ac_ct_RANLIB
5312 else
5313 RANLIB="$ac_cv_prog_RANLIB"
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5317 $as_echo_n "checking whether ln -s works... " >&6; }
5318 LN_S=$as_ln_s
5319 if test "$LN_S" = "ln -s"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5321 $as_echo "yes" >&6; }
5322 else
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5324 $as_echo "no, using $LN_S" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5328 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5329 if ${ac_cv_path_GREP+:} false; then :
5330 $as_echo_n "(cached) " >&6
5331 else
5332 if test -z "$GREP"; then
5333 ac_path_GREP_found=false
5334 # Loop through the user's path and test for each of PROGNAME-LIST
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5338 IFS=$as_save_IFS
5339 test -z "$as_dir" && as_dir=.
5340 for ac_prog in grep ggrep; do
5341 for ac_exec_ext in '' $ac_executable_extensions; do
5342 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5343 as_fn_executable_p "$ac_path_GREP" || continue
5344 # Check for GNU ac_path_GREP and select it if it is found.
5345 # Check for GNU $ac_path_GREP
5346 case `"$ac_path_GREP" --version 2>&1` in
5347 *GNU*)
5348 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5350 ac_count=0
5351 $as_echo_n 0123456789 >"conftest.in"
5352 while :
5354 cat "conftest.in" "conftest.in" >"conftest.tmp"
5355 mv "conftest.tmp" "conftest.in"
5356 cp "conftest.in" "conftest.nl"
5357 $as_echo 'GREP' >> "conftest.nl"
5358 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5359 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5360 as_fn_arith $ac_count + 1 && ac_count=$as_val
5361 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5362 # Best one so far, save it but keep looking for a better one
5363 ac_cv_path_GREP="$ac_path_GREP"
5364 ac_path_GREP_max=$ac_count
5366 # 10*(2^10) chars as input seems more than enough
5367 test $ac_count -gt 10 && break
5368 done
5369 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5370 esac
5372 $ac_path_GREP_found && break 3
5373 done
5374 done
5375 done
5376 IFS=$as_save_IFS
5377 if test -z "$ac_cv_path_GREP"; then
5378 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5380 else
5381 ac_cv_path_GREP=$GREP
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5386 $as_echo "$ac_cv_path_GREP" >&6; }
5387 GREP="$ac_cv_path_GREP"
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5391 $as_echo_n "checking for egrep... " >&6; }
5392 if ${ac_cv_path_EGREP+:} false; then :
5393 $as_echo_n "(cached) " >&6
5394 else
5395 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5396 then ac_cv_path_EGREP="$GREP -E"
5397 else
5398 if test -z "$EGREP"; then
5399 ac_path_EGREP_found=false
5400 # Loop through the user's path and test for each of PROGNAME-LIST
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_prog in egrep; do
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5409 as_fn_executable_p "$ac_path_EGREP" || continue
5410 # Check for GNU ac_path_EGREP and select it if it is found.
5411 # Check for GNU $ac_path_EGREP
5412 case `"$ac_path_EGREP" --version 2>&1` in
5413 *GNU*)
5414 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5416 ac_count=0
5417 $as_echo_n 0123456789 >"conftest.in"
5418 while :
5420 cat "conftest.in" "conftest.in" >"conftest.tmp"
5421 mv "conftest.tmp" "conftest.in"
5422 cp "conftest.in" "conftest.nl"
5423 $as_echo 'EGREP' >> "conftest.nl"
5424 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5425 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5426 as_fn_arith $ac_count + 1 && ac_count=$as_val
5427 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5428 # Best one so far, save it but keep looking for a better one
5429 ac_cv_path_EGREP="$ac_path_EGREP"
5430 ac_path_EGREP_max=$ac_count
5432 # 10*(2^10) chars as input seems more than enough
5433 test $ac_count -gt 10 && break
5434 done
5435 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5436 esac
5438 $ac_path_EGREP_found && break 3
5439 done
5440 done
5441 done
5442 IFS=$as_save_IFS
5443 if test -z "$ac_cv_path_EGREP"; then
5444 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5446 else
5447 ac_cv_path_EGREP=$EGREP
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5453 $as_echo "$ac_cv_path_EGREP" >&6; }
5454 EGREP="$ac_cv_path_EGREP"
5457 # Extract the first word of "ldconfig", so it can be a program name with args.
5458 set dummy ldconfig; ac_word=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if ${ac_cv_path_LDCONFIG+:} false; then :
5462 $as_echo_n "(cached) " >&6
5463 else
5464 case $LDCONFIG in
5465 [\\/]* | ?:[\\/]*)
5466 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in /sbin /usr/sbin $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 break 2
5480 done
5481 done
5482 IFS=$as_save_IFS
5484 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5486 esac
5488 LDCONFIG=$ac_cv_path_LDCONFIG
5489 if test -n "$LDCONFIG"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5491 $as_echo "$LDCONFIG" >&6; }
5492 else
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5498 for ac_prog in msgfmt
5500 # Extract the first word of "$ac_prog", so it can be a program name with args.
5501 set dummy $ac_prog; ac_word=$2
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503 $as_echo_n "checking for $ac_word... " >&6; }
5504 if ${ac_cv_prog_MSGFMT+:} false; then :
5505 $as_echo_n "(cached) " >&6
5506 else
5507 if test -n "$MSGFMT"; then
5508 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5509 else
5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 for as_dir in $PATH
5513 IFS=$as_save_IFS
5514 test -z "$as_dir" && as_dir=.
5515 for ac_exec_ext in '' $ac_executable_extensions; do
5516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5517 ac_cv_prog_MSGFMT="$ac_prog"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519 break 2
5521 done
5522 done
5523 IFS=$as_save_IFS
5527 MSGFMT=$ac_cv_prog_MSGFMT
5528 if test -n "$MSGFMT"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5530 $as_echo "$MSGFMT" >&6; }
5531 else
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5537 test -n "$MSGFMT" && break
5538 done
5539 test -n "$MSGFMT" || MSGFMT="false"
5541 if ${ac_tool_prefix+:} false; then :
5542 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5543 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5547 $as_echo_n "(cached) " >&6
5548 else
5549 if test -n "$PKG_CONFIG"; then
5550 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5551 else
5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 for as_dir in $PATH
5555 IFS=$as_save_IFS
5556 test -z "$as_dir" && as_dir=.
5557 for ac_exec_ext in '' $ac_executable_extensions; do
5558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5559 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 break 2
5563 done
5564 done
5565 IFS=$as_save_IFS
5569 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5570 if test -n "$PKG_CONFIG"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5572 $as_echo "$PKG_CONFIG" >&6; }
5573 else
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5580 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5581 if test "x$cross_compiling" = xyes; then :
5583 else
5584 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5585 # Extract the first word of "pkg-config", so it can be a program name with args.
5586 set dummy pkg-config; ac_word=$2
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5588 $as_echo_n "checking for $ac_word... " >&6; }
5589 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5590 $as_echo_n "(cached) " >&6
5591 else
5592 if test -n "$PKG_CONFIG"; then
5593 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5594 else
5595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 for as_dir in $PATH
5598 IFS=$as_save_IFS
5599 test -z "$as_dir" && as_dir=.
5600 for ac_exec_ext in '' $ac_executable_extensions; do
5601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5602 ac_cv_prog_PKG_CONFIG="pkg-config"
5603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5604 break 2
5606 done
5607 done
5608 IFS=$as_save_IFS
5612 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5613 if test -n "$PKG_CONFIG"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5615 $as_echo "$PKG_CONFIG" >&6; }
5616 else
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618 $as_echo "no" >&6; }
5623 else
5624 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5627 if test "x$enable_maintainer_mode" != "xyes"
5628 then
5629 FONTFORGE=""
5630 RSVG=""
5631 CONVERT=""
5632 ICOTOOL=""
5633 else
5634 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5635 for ac_prog in fontforge
5637 # Extract the first word of "$ac_prog", so it can be a program name with args.
5638 set dummy $ac_prog; ac_word=$2
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5640 $as_echo_n "checking for $ac_word... " >&6; }
5641 if ${ac_cv_prog_FONTFORGE+:} false; then :
5642 $as_echo_n "(cached) " >&6
5643 else
5644 if test -n "$FONTFORGE"; then
5645 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5646 else
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 for as_dir in $PATH
5650 IFS=$as_save_IFS
5651 test -z "$as_dir" && as_dir=.
5652 for ac_exec_ext in '' $ac_executable_extensions; do
5653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5654 ac_cv_prog_FONTFORGE="$ac_prog"
5655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 break 2
5658 done
5659 done
5660 IFS=$as_save_IFS
5664 FONTFORGE=$ac_cv_prog_FONTFORGE
5665 if test -n "$FONTFORGE"; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5667 $as_echo "$FONTFORGE" >&6; }
5668 else
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670 $as_echo "no" >&6; }
5674 test -n "$FONTFORGE" && break
5675 done
5676 test -n "$FONTFORGE" || FONTFORGE="false"
5678 for ac_prog in rsvg
5680 # Extract the first word of "$ac_prog", so it can be a program name with args.
5681 set dummy $ac_prog; ac_word=$2
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5683 $as_echo_n "checking for $ac_word... " >&6; }
5684 if ${ac_cv_prog_RSVG+:} false; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 if test -n "$RSVG"; then
5688 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5689 else
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 for as_dir in $PATH
5693 IFS=$as_save_IFS
5694 test -z "$as_dir" && as_dir=.
5695 for ac_exec_ext in '' $ac_executable_extensions; do
5696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5697 ac_cv_prog_RSVG="$ac_prog"
5698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 break 2
5701 done
5702 done
5703 IFS=$as_save_IFS
5707 RSVG=$ac_cv_prog_RSVG
5708 if test -n "$RSVG"; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5710 $as_echo "$RSVG" >&6; }
5711 else
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713 $as_echo "no" >&6; }
5717 test -n "$RSVG" && break
5718 done
5719 test -n "$RSVG" || RSVG="false"
5721 for ac_prog in convert
5723 # Extract the first word of "$ac_prog", so it can be a program name with args.
5724 set dummy $ac_prog; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_CONVERT+:} false; then :
5728 $as_echo_n "(cached) " >&6
5729 else
5730 if test -n "$CONVERT"; then
5731 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5732 else
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5734 for as_dir in $PATH
5736 IFS=$as_save_IFS
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_CONVERT="$ac_prog"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742 break 2
5744 done
5745 done
5746 IFS=$as_save_IFS
5750 CONVERT=$ac_cv_prog_CONVERT
5751 if test -n "$CONVERT"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5753 $as_echo "$CONVERT" >&6; }
5754 else
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5760 test -n "$CONVERT" && break
5761 done
5762 test -n "$CONVERT" || CONVERT="false"
5764 for ac_prog in icotool
5766 # Extract the first word of "$ac_prog", so it can be a program name with args.
5767 set dummy $ac_prog; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_prog_ICOTOOL+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 if test -n "$ICOTOOL"; then
5774 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5775 else
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 for as_dir in $PATH
5779 IFS=$as_save_IFS
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_ICOTOOL="$ac_prog"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 break 2
5787 done
5788 done
5789 IFS=$as_save_IFS
5793 ICOTOOL=$ac_cv_prog_ICOTOOL
5794 if test -n "$ICOTOOL"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5796 $as_echo "$ICOTOOL" >&6; }
5797 else
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5803 test -n "$ICOTOOL" && break
5804 done
5805 test -n "$ICOTOOL" || ICOTOOL="false"
5807 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5808 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5810 if test "$CONVERT" = false
5811 then
5812 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5813 else
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5815 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5816 convert_version=`convert --version | head -n1`
5817 if test "x$convert_version" != "x"
5818 then
5819 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5820 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5821 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5822 then
5823 CONVERT=false
5826 if test "$CONVERT" = false
5827 then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5829 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5830 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5831 else
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5833 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5837 if test "$ICOTOOL" = false
5838 then
5839 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5840 else
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5842 $as_echo_n "checking for recent enough icotool... " >&6; }
5843 icotool_version=`icotool --version | head -n1`
5844 if test "x$icotool_version" != "x"
5845 then
5846 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5847 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5848 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5849 then
5850 ICOTOOL=false
5851 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5854 if test "$ICOTOOL" = false
5855 then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5857 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5858 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5859 else
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5861 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5865 with_gettext=yes
5866 with_gettextpo=yes
5867 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5870 test "x$with_gettext" != xno || MSGFMT=false
5871 if test "$MSGFMT" != "false"
5872 then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5874 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5875 cat >conftest.po <<EOF
5876 # comment
5877 msgctxt "ctxt"
5878 msgid "id"
5879 msgstr "str"
5881 if $MSGFMT -o /dev/null conftest.po 2>&5
5882 then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5884 $as_echo "yes" >&6; }
5885 else
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5888 MSGFMT=false
5891 if test "$MSGFMT" = false; then :
5892 case "x$with_gettext" in
5893 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5894 xno) ;;
5895 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5896 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5897 esac
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5902 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5903 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5904 $as_echo_n "(cached) " >&6
5905 else
5906 ac_check_lib_save_LIBS=$LIBS
5907 LIBS="-li386 $LIBS"
5908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5909 /* end confdefs.h. */
5911 /* Override any GCC internal prototype to avoid an error.
5912 Use char because int might match the return type of a GCC
5913 builtin and then its argument prototype would still apply. */
5914 #ifdef __cplusplus
5915 extern "C"
5916 #endif
5917 char i386_set_ldt ();
5919 main ()
5921 return i386_set_ldt ();
5923 return 0;
5925 _ACEOF
5926 if ac_fn_c_try_link "$LINENO"; then :
5927 ac_cv_lib_i386_i386_set_ldt=yes
5928 else
5929 ac_cv_lib_i386_i386_set_ldt=no
5931 rm -f core conftest.err conftest.$ac_objext \
5932 conftest$ac_exeext conftest.$ac_ext
5933 LIBS=$ac_check_lib_save_LIBS
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5936 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5937 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5938 cat >>confdefs.h <<_ACEOF
5939 #define HAVE_LIBI386 1
5940 _ACEOF
5942 LIBS="-li386 $LIBS"
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5947 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5948 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5949 $as_echo_n "(cached) " >&6
5950 else
5951 ac_check_lib_save_LIBS=$LIBS
5952 LIBS="-lossaudio $LIBS"
5953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5954 /* end confdefs.h. */
5956 /* Override any GCC internal prototype to avoid an error.
5957 Use char because int might match the return type of a GCC
5958 builtin and then its argument prototype would still apply. */
5959 #ifdef __cplusplus
5960 extern "C"
5961 #endif
5962 char _oss_ioctl ();
5964 main ()
5966 return _oss_ioctl ();
5968 return 0;
5970 _ACEOF
5971 if ac_fn_c_try_link "$LINENO"; then :
5972 ac_cv_lib_ossaudio__oss_ioctl=yes
5973 else
5974 ac_cv_lib_ossaudio__oss_ioctl=no
5976 rm -f core conftest.err conftest.$ac_objext \
5977 conftest$ac_exeext conftest.$ac_ext
5978 LIBS=$ac_check_lib_save_LIBS
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5981 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5982 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5983 cat >>confdefs.h <<_ACEOF
5984 #define HAVE_LIBOSSAUDIO 1
5985 _ACEOF
5987 LIBS="-lossaudio $LIBS"
5992 OPENGL_LIBS=""
5996 # Check whether --enable-largefile was given.
5997 if test "${enable_largefile+set}" = set; then :
5998 enableval=$enable_largefile;
6001 if test "$enable_largefile" != no; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6004 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6005 if ${ac_cv_sys_largefile_CC+:} false; then :
6006 $as_echo_n "(cached) " >&6
6007 else
6008 ac_cv_sys_largefile_CC=no
6009 if test "$GCC" != yes; then
6010 ac_save_CC=$CC
6011 while :; do
6012 # IRIX 6.2 and later do not support large files by default,
6013 # so use the C compiler's -n32 option if that helps.
6014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6015 /* end confdefs.h. */
6016 #include <sys/types.h>
6017 /* Check that off_t can represent 2**63 - 1 correctly.
6018 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6019 since some C++ compilers masquerading as C compilers
6020 incorrectly reject 9223372036854775807. */
6021 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6022 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6023 && LARGE_OFF_T % 2147483647 == 1)
6024 ? 1 : -1];
6026 main ()
6030 return 0;
6032 _ACEOF
6033 if ac_fn_c_try_compile "$LINENO"; then :
6034 break
6036 rm -f core conftest.err conftest.$ac_objext
6037 CC="$CC -n32"
6038 if ac_fn_c_try_compile "$LINENO"; then :
6039 ac_cv_sys_largefile_CC=' -n32'; break
6041 rm -f core conftest.err conftest.$ac_objext
6042 break
6043 done
6044 CC=$ac_save_CC
6045 rm -f conftest.$ac_ext
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6049 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6050 if test "$ac_cv_sys_largefile_CC" != no; then
6051 CC=$CC$ac_cv_sys_largefile_CC
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6055 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6056 if ${ac_cv_sys_file_offset_bits+:} false; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 while :; do
6060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6062 #include <sys/types.h>
6063 /* Check that off_t can represent 2**63 - 1 correctly.
6064 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6065 since some C++ compilers masquerading as C compilers
6066 incorrectly reject 9223372036854775807. */
6067 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6068 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6069 && LARGE_OFF_T % 2147483647 == 1)
6070 ? 1 : -1];
6072 main ()
6076 return 0;
6078 _ACEOF
6079 if ac_fn_c_try_compile "$LINENO"; then :
6080 ac_cv_sys_file_offset_bits=no; break
6082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6084 /* end confdefs.h. */
6085 #define _FILE_OFFSET_BITS 64
6086 #include <sys/types.h>
6087 /* Check that off_t can represent 2**63 - 1 correctly.
6088 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6089 since some C++ compilers masquerading as C compilers
6090 incorrectly reject 9223372036854775807. */
6091 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6092 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6093 && LARGE_OFF_T % 2147483647 == 1)
6094 ? 1 : -1];
6096 main ()
6100 return 0;
6102 _ACEOF
6103 if ac_fn_c_try_compile "$LINENO"; then :
6104 ac_cv_sys_file_offset_bits=64; break
6106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6107 ac_cv_sys_file_offset_bits=unknown
6108 break
6109 done
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6112 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6113 case $ac_cv_sys_file_offset_bits in #(
6114 no | unknown) ;;
6116 cat >>confdefs.h <<_ACEOF
6117 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6118 _ACEOF
6120 esac
6121 rm -rf conftest*
6122 if test $ac_cv_sys_file_offset_bits = unknown; then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6124 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6125 if ${ac_cv_sys_large_files+:} false; then :
6126 $as_echo_n "(cached) " >&6
6127 else
6128 while :; do
6129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6130 /* end confdefs.h. */
6131 #include <sys/types.h>
6132 /* Check that off_t can represent 2**63 - 1 correctly.
6133 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6134 since some C++ compilers masquerading as C compilers
6135 incorrectly reject 9223372036854775807. */
6136 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6137 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6138 && LARGE_OFF_T % 2147483647 == 1)
6139 ? 1 : -1];
6141 main ()
6145 return 0;
6147 _ACEOF
6148 if ac_fn_c_try_compile "$LINENO"; then :
6149 ac_cv_sys_large_files=no; break
6151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6153 /* end confdefs.h. */
6154 #define _LARGE_FILES 1
6155 #include <sys/types.h>
6156 /* Check that off_t can represent 2**63 - 1 correctly.
6157 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6158 since some C++ compilers masquerading as C compilers
6159 incorrectly reject 9223372036854775807. */
6160 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6161 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6162 && LARGE_OFF_T % 2147483647 == 1)
6163 ? 1 : -1];
6165 main ()
6169 return 0;
6171 _ACEOF
6172 if ac_fn_c_try_compile "$LINENO"; then :
6173 ac_cv_sys_large_files=1; break
6175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6176 ac_cv_sys_large_files=unknown
6177 break
6178 done
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6181 $as_echo "$ac_cv_sys_large_files" >&6; }
6182 case $ac_cv_sys_large_files in #(
6183 no | unknown) ;;
6185 cat >>confdefs.h <<_ACEOF
6186 #define _LARGE_FILES $ac_cv_sys_large_files
6187 _ACEOF
6189 esac
6190 rm -rf conftest*
6197 ac_ext=c
6198 ac_cpp='$CPP $CPPFLAGS'
6199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6203 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6204 # On Suns, sometimes $CPP names a directory.
6205 if test -n "$CPP" && test -d "$CPP"; then
6206 CPP=
6208 if test -z "$CPP"; then
6209 if ${ac_cv_prog_CPP+:} false; then :
6210 $as_echo_n "(cached) " >&6
6211 else
6212 # Double quotes because CPP needs to be expanded
6213 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6215 ac_preproc_ok=false
6216 for ac_c_preproc_warn_flag in '' yes
6218 # Use a header file that comes with gcc, so configuring glibc
6219 # with a fresh cross-compiler works.
6220 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6221 # <limits.h> exists even on freestanding compilers.
6222 # On the NeXT, cc -E runs the code through the compiler's parser,
6223 # not just through cpp. "Syntax error" is here to catch this case.
6224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6226 #ifdef __STDC__
6227 # include <limits.h>
6228 #else
6229 # include <assert.h>
6230 #endif
6231 Syntax error
6232 _ACEOF
6233 if ac_fn_c_try_cpp "$LINENO"; then :
6235 else
6236 # Broken: fails on valid input.
6237 continue
6239 rm -f conftest.err conftest.i conftest.$ac_ext
6241 # OK, works on sane cases. Now check whether nonexistent headers
6242 # can be detected and how.
6243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6244 /* end confdefs.h. */
6245 #include <ac_nonexistent.h>
6246 _ACEOF
6247 if ac_fn_c_try_cpp "$LINENO"; then :
6248 # Broken: success on invalid input.
6249 continue
6250 else
6251 # Passes both tests.
6252 ac_preproc_ok=:
6253 break
6255 rm -f conftest.err conftest.i conftest.$ac_ext
6257 done
6258 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6259 rm -f conftest.i conftest.err conftest.$ac_ext
6260 if $ac_preproc_ok; then :
6261 break
6264 done
6265 ac_cv_prog_CPP=$CPP
6268 CPP=$ac_cv_prog_CPP
6269 else
6270 ac_cv_prog_CPP=$CPP
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6273 $as_echo "$CPP" >&6; }
6274 ac_preproc_ok=false
6275 for ac_c_preproc_warn_flag in '' yes
6277 # Use a header file that comes with gcc, so configuring glibc
6278 # with a fresh cross-compiler works.
6279 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6280 # <limits.h> exists even on freestanding compilers.
6281 # On the NeXT, cc -E runs the code through the compiler's parser,
6282 # not just through cpp. "Syntax error" is here to catch this case.
6283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6284 /* end confdefs.h. */
6285 #ifdef __STDC__
6286 # include <limits.h>
6287 #else
6288 # include <assert.h>
6289 #endif
6290 Syntax error
6291 _ACEOF
6292 if ac_fn_c_try_cpp "$LINENO"; then :
6294 else
6295 # Broken: fails on valid input.
6296 continue
6298 rm -f conftest.err conftest.i conftest.$ac_ext
6300 # OK, works on sane cases. Now check whether nonexistent headers
6301 # can be detected and how.
6302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6303 /* end confdefs.h. */
6304 #include <ac_nonexistent.h>
6305 _ACEOF
6306 if ac_fn_c_try_cpp "$LINENO"; then :
6307 # Broken: success on invalid input.
6308 continue
6309 else
6310 # Passes both tests.
6311 ac_preproc_ok=:
6312 break
6314 rm -f conftest.err conftest.i conftest.$ac_ext
6316 done
6317 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6318 rm -f conftest.i conftest.err conftest.$ac_ext
6319 if $ac_preproc_ok; then :
6321 else
6322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6324 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6325 See \`config.log' for more details" "$LINENO" 5; }
6328 ac_ext=c
6329 ac_cpp='$CPP $CPPFLAGS'
6330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6336 $as_echo_n "checking for ANSI C header files... " >&6; }
6337 if ${ac_cv_header_stdc+:} false; then :
6338 $as_echo_n "(cached) " >&6
6339 else
6340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6342 #include <stdlib.h>
6343 #include <stdarg.h>
6344 #include <string.h>
6345 #include <float.h>
6348 main ()
6352 return 0;
6354 _ACEOF
6355 if ac_fn_c_try_compile "$LINENO"; then :
6356 ac_cv_header_stdc=yes
6357 else
6358 ac_cv_header_stdc=no
6360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6362 if test $ac_cv_header_stdc = yes; then
6363 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6366 #include <string.h>
6368 _ACEOF
6369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6370 $EGREP "memchr" >/dev/null 2>&1; then :
6372 else
6373 ac_cv_header_stdc=no
6375 rm -f conftest*
6379 if test $ac_cv_header_stdc = yes; then
6380 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6383 #include <stdlib.h>
6385 _ACEOF
6386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6387 $EGREP "free" >/dev/null 2>&1; then :
6389 else
6390 ac_cv_header_stdc=no
6392 rm -f conftest*
6396 if test $ac_cv_header_stdc = yes; then
6397 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6398 if test "$cross_compiling" = yes; then :
6400 else
6401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6402 /* end confdefs.h. */
6403 #include <ctype.h>
6404 #include <stdlib.h>
6405 #if ((' ' & 0x0FF) == 0x020)
6406 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6407 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6408 #else
6409 # define ISLOWER(c) \
6410 (('a' <= (c) && (c) <= 'i') \
6411 || ('j' <= (c) && (c) <= 'r') \
6412 || ('s' <= (c) && (c) <= 'z'))
6413 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6414 #endif
6416 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6418 main ()
6420 int i;
6421 for (i = 0; i < 256; i++)
6422 if (XOR (islower (i), ISLOWER (i))
6423 || toupper (i) != TOUPPER (i))
6424 return 2;
6425 return 0;
6427 _ACEOF
6428 if ac_fn_c_try_run "$LINENO"; then :
6430 else
6431 ac_cv_header_stdc=no
6433 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6434 conftest.$ac_objext conftest.beam conftest.$ac_ext
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6440 $as_echo "$ac_cv_header_stdc" >&6; }
6441 if test $ac_cv_header_stdc = yes; then
6443 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6447 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6448 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6449 inttypes.h stdint.h unistd.h
6450 do :
6451 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6452 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6454 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6455 cat >>confdefs.h <<_ACEOF
6456 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6457 _ACEOF
6461 done
6464 for ac_header in \
6465 AL/al.h \
6466 ApplicationServices/ApplicationServices.h \
6467 AudioToolbox/AudioConverter.h \
6468 AudioUnit/AudioUnit.h \
6469 AudioUnit/AudioComponent.h \
6470 CL/cl.h \
6471 Carbon/Carbon.h \
6472 CoreAudio/CoreAudio.h \
6473 CoreServices/CoreServices.h \
6474 DiskArbitration/DiskArbitration.h \
6475 IOKit/IOKitLib.h \
6476 IOKit/hid/IOHIDLib.h \
6477 OpenAL/al.h \
6478 OpenCL/opencl.h \
6479 QuickTime/ImageCompression.h \
6480 Security/Security.h \
6481 alias.h \
6482 alsa/asoundlib.h \
6483 arpa/inet.h \
6484 arpa/nameser.h \
6485 asm/types.h \
6486 asm/user.h \
6487 curses.h \
6488 direct.h \
6489 dirent.h \
6490 dlfcn.h \
6491 elf.h \
6492 float.h \
6493 fnmatch.h \
6494 getopt.h \
6495 gettext-po.h \
6496 grp.h \
6497 gsm.h \
6498 gsm/gsm.h \
6499 ieeefp.h \
6500 inet/mib2.h \
6501 io.h \
6502 kstat.h \
6503 lber.h \
6504 ldap.h \
6505 libproc.h \
6506 link.h \
6507 linux/cdrom.h \
6508 linux/compiler.h \
6509 linux/filter.h \
6510 linux/hdreg.h \
6511 linux/input.h \
6512 linux/ioctl.h \
6513 linux/joystick.h \
6514 linux/major.h \
6515 linux/param.h \
6516 linux/serial.h \
6517 linux/types.h \
6518 linux/ucdrom.h \
6519 lwp.h \
6520 mach-o/nlist.h \
6521 mach-o/loader.h \
6522 mach/mach.h \
6523 mach/machine.h \
6524 machine/cpu.h \
6525 machine/limits.h \
6526 machine/sysarch.h \
6527 mntent.h \
6528 ncurses.h \
6529 netdb.h \
6530 netinet/in.h \
6531 netinet/in_systm.h \
6532 netinet/tcp.h \
6533 netinet/tcp_fsm.h \
6534 pcap/pcap.h \
6535 poll.h \
6536 port.h \
6537 process.h \
6538 pthread.h \
6539 pwd.h \
6540 sched.h \
6541 scsi/scsi.h \
6542 scsi/scsi_ioctl.h \
6543 scsi/sg.h \
6544 stdbool.h \
6545 stdint.h \
6546 stropts.h \
6547 sys/asoundlib.h \
6548 sys/attr.h \
6549 sys/cdio.h \
6550 sys/elf32.h \
6551 sys/epoll.h \
6552 sys/event.h \
6553 sys/exec_elf.h \
6554 sys/filio.h \
6555 sys/inotify.h \
6556 sys/ioctl.h \
6557 sys/ipc.h \
6558 sys/limits.h \
6559 sys/link.h \
6560 sys/mman.h \
6561 sys/modem.h \
6562 sys/msg.h \
6563 sys/mtio.h \
6564 sys/param.h \
6565 sys/poll.h \
6566 sys/prctl.h \
6567 sys/protosw.h \
6568 sys/ptrace.h \
6569 sys/queue.h \
6570 sys/resource.h \
6571 sys/scsiio.h \
6572 sys/shm.h \
6573 sys/signal.h \
6574 sys/socket.h \
6575 sys/socketvar.h \
6576 sys/sockio.h \
6577 sys/statvfs.h \
6578 sys/strtio.h \
6579 sys/syscall.h \
6580 sys/tihdr.h \
6581 sys/time.h \
6582 sys/timeout.h \
6583 sys/times.h \
6584 sys/uio.h \
6585 sys/user.h \
6586 sys/utsname.h \
6587 sys/vm86.h \
6588 sys/wait.h \
6589 syscall.h \
6590 termios.h \
6591 unistd.h \
6592 utime.h \
6593 valgrind/memcheck.h \
6594 valgrind/valgrind.h \
6595 zlib.h
6597 do :
6598 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6599 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6600 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6601 cat >>confdefs.h <<_ACEOF
6602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6603 _ACEOF
6607 done
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6610 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6611 if ${ac_cv_header_stat_broken+:} false; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6616 #include <sys/types.h>
6617 #include <sys/stat.h>
6619 #if defined S_ISBLK && defined S_IFDIR
6620 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6621 #endif
6623 #if defined S_ISBLK && defined S_IFCHR
6624 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6625 #endif
6627 #if defined S_ISLNK && defined S_IFREG
6628 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6629 #endif
6631 #if defined S_ISSOCK && defined S_IFREG
6632 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6633 #endif
6635 _ACEOF
6636 if ac_fn_c_try_compile "$LINENO"; then :
6637 ac_cv_header_stat_broken=no
6638 else
6639 ac_cv_header_stat_broken=yes
6641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6644 $as_echo "$ac_cv_header_stat_broken" >&6; }
6645 if test $ac_cv_header_stat_broken = yes; then
6647 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6653 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6654 do :
6655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6657 #ifdef HAVE_SYS_PARAM_H
6658 # include <sys/param.h>
6659 #endif
6661 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6662 cat >>confdefs.h <<_ACEOF
6663 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6664 _ACEOF
6668 done
6671 for ac_header in \
6672 netinet/ip.h \
6673 net/if.h \
6674 net/if_arp.h \
6675 net/if_dl.h \
6676 net/if_types.h \
6677 net/route.h \
6678 netinet/if_ether.h \
6679 netinet/if_inarp.h \
6680 netinet/in_pcb.h \
6681 netinet/ip_icmp.h \
6682 netinet/ip_var.h \
6683 netinet/udp.h \
6684 netipx/ipx.h \
6685 sys/un.h \
6687 do :
6688 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6689 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6690 #ifdef HAVE_SYS_SOCKET_H
6691 # include <sys/socket.h>
6692 #endif
6693 #ifdef HAVE_SYS_SOCKETVAR_H
6694 # include <sys/socketvar.h>
6695 #endif
6696 #ifdef HAVE_NET_ROUTE_H
6697 # include <net/route.h>
6698 #endif
6699 #ifdef HAVE_NETINET_IN_H
6700 # include <netinet/in.h>
6701 #endif
6702 #ifdef HAVE_NETINET_IN_SYSTM_H
6703 # include <netinet/in_systm.h>
6704 #endif
6705 #ifdef HAVE_NET_IF_H
6706 # include <net/if.h>
6707 #endif
6708 #ifdef HAVE_NETINET_IP_H
6709 # include <netinet/ip.h>
6710 #endif
6712 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6713 cat >>confdefs.h <<_ACEOF
6714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6715 _ACEOF
6719 done
6722 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6723 do :
6724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6725 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6726 #ifdef HAVE_ALIAS_H
6727 # include <alias.h>
6728 #endif
6729 #ifdef HAVE_SYS_SOCKET_H
6730 # include <sys/socket.h>
6731 #endif
6732 #ifdef HAVE_SYS_SOCKETVAR_H
6733 # include <sys/socketvar.h>
6734 #endif
6735 #ifdef HAVE_SYS_TIMEOUT_H
6736 # include <sys/timeout.h>
6737 #endif
6738 #ifdef HAVE_NETINET_IN_H
6739 # include <netinet/in.h>
6740 #endif
6741 #ifdef HAVE_NETINET_IN_SYSTM_H
6742 # include <netinet/in_systm.h>
6743 #endif
6744 #ifdef HAVE_NETINET_IP_H
6745 # include <netinet/ip.h>
6746 #endif
6747 #ifdef HAVE_NETINET_IP_VAR_H
6748 # include <netinet/ip_var.h>
6749 #endif
6750 #ifdef HAVE_NETINET_IP_ICMP_H
6751 # include <netinet/ip_icmp.h>
6752 #endif
6753 #ifdef HAVE_NETINET_UDP_H
6754 # include <netinet/udp.h>
6755 #endif
6756 #ifdef HAVE_NETINET_TCP_H
6757 # include <netinet/tcp.h>
6758 #endif
6759 #ifdef HAVE_NETINET_TCP_TIMER_H
6760 #include <netinet/tcp_timer.h>
6761 #endif
6763 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6764 cat >>confdefs.h <<_ACEOF
6765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6766 _ACEOF
6770 done
6773 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6774 do :
6775 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6776 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6777 #ifdef HAVE_ASM_TYPES_H
6778 # include <asm/types.h>
6779 #endif
6780 #ifdef HAVE_SYS_SOCKET_H
6781 # include <sys/socket.h>
6782 #endif
6783 #ifdef HAVE_LINUX_TYPES_H
6784 # include <linux/types.h>
6785 #endif
6787 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6788 cat >>confdefs.h <<_ACEOF
6789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6790 _ACEOF
6794 done
6797 for ac_header in mach-o/dyld_images.h
6798 do :
6799 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6800 # include <stdbool.h>
6801 #endif
6802 #ifdef HAVE_STDINT_H
6803 # include <stdint.h>
6804 #endif
6806 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6807 cat >>confdefs.h <<_ACEOF
6808 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6809 _ACEOF
6813 done
6816 for ac_header in resolv.h
6817 do :
6818 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6819 #ifdef HAVE_SYS_SOCKET_H
6820 # include <sys/socket.h>
6821 #endif
6822 #ifdef HAVE_NETINET_IN_H
6823 # include <netinet/in.h>
6824 #endif
6825 #ifdef HAVE_ARPA_NAMESER_H
6826 # include <arpa/nameser.h>
6827 #endif
6829 if test "x$ac_cv_header_resolv_h" = xyes; then :
6830 cat >>confdefs.h <<_ACEOF
6831 #define HAVE_RESOLV_H 1
6832 _ACEOF
6836 done
6839 for ac_header in ifaddrs.h
6840 do :
6841 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6843 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6844 cat >>confdefs.h <<_ACEOF
6845 #define HAVE_IFADDRS_H 1
6846 _ACEOF
6850 done
6853 for ac_header in sys/ucontext.h
6854 do :
6855 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6857 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6858 cat >>confdefs.h <<_ACEOF
6859 #define HAVE_SYS_UCONTEXT_H 1
6860 _ACEOF
6864 done
6867 for ac_header in sys/thr.h
6868 do :
6869 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6870 #ifdef HAVE_SYS_UCONTEXT_H
6871 #include <sys/ucontext.h>
6872 #endif
6874 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6875 cat >>confdefs.h <<_ACEOF
6876 #define HAVE_SYS_THR_H 1
6877 _ACEOF
6881 done
6884 for ac_header in pthread_np.h
6885 do :
6886 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6887 #include <pthread.h>
6888 #endif
6890 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6891 cat >>confdefs.h <<_ACEOF
6892 #define HAVE_PTHREAD_NP_H 1
6893 _ACEOF
6897 done
6900 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6901 do :
6902 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6903 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6904 #include <sys/time.h>
6905 #endif
6906 #include <sys/types.h>
6907 #ifdef HAVE_ASM_TYPES_H
6908 #include <asm/types.h>
6909 #endif
6911 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6912 cat >>confdefs.h <<_ACEOF
6913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6914 _ACEOF
6918 done
6921 for ac_header in libprocstat.h
6922 do :
6923 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6924 #include <sys/param.h>
6925 #endif
6926 #ifdef HAVE_SYS_QUEUE_H
6927 #include <sys/queue.h>
6928 #endif
6929 #ifdef HAVE_SYS_SOCKET_H
6930 #include <sys/socket.h>
6931 #endif
6933 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6934 cat >>confdefs.h <<_ACEOF
6935 #define HAVE_LIBPROCSTAT_H 1
6936 _ACEOF
6940 done
6944 dlldir="\${libdir}/wine"
6946 DLLPREFIX=""
6948 DLLFLAGS="-D_REENTRANT"
6950 LDRPATH_INSTALL=""
6952 LDRPATH_LOCAL=""
6954 LIBEXT="so"
6955 DLLEXT=".so"
6956 IMPLIBEXT="def"
6957 STATIC_IMPLIBEXT="def.a"
6958 # Extract the first word of "ldd", so it can be a program name with args.
6959 set dummy ldd; ac_word=$2
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 $as_echo_n "checking for $ac_word... " >&6; }
6962 if ${ac_cv_path_LDD+:} false; then :
6963 $as_echo_n "(cached) " >&6
6964 else
6965 case $LDD in
6966 [\\/]* | ?:[\\/]*)
6967 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 as_dummy="/sbin:/usr/sbin:$PATH"
6972 for as_dir in $as_dummy
6974 IFS=$as_save_IFS
6975 test -z "$as_dir" && as_dir=.
6976 for ac_exec_ext in '' $ac_executable_extensions; do
6977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980 break 2
6982 done
6983 done
6984 IFS=$as_save_IFS
6986 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6988 esac
6990 LDD=$ac_cv_path_LDD
6991 if test -n "$LDD"; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6993 $as_echo "$LDD" >&6; }
6994 else
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996 $as_echo "no" >&6; }
7000 if test -n "$ac_tool_prefix"; then
7001 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7002 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_READELF+:} false; then :
7006 $as_echo_n "(cached) " >&6
7007 else
7008 if test -n "$READELF"; then
7009 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7010 else
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012 for as_dir in $PATH
7014 IFS=$as_save_IFS
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 break 2
7022 done
7023 done
7024 IFS=$as_save_IFS
7028 READELF=$ac_cv_prog_READELF
7029 if test -n "$READELF"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7031 $as_echo "$READELF" >&6; }
7032 else
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7039 if test -z "$ac_cv_prog_READELF"; then
7040 ac_ct_READELF=$READELF
7041 # Extract the first word of "readelf", so it can be a program name with args.
7042 set dummy readelf; ac_word=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 $as_echo_n "checking for $ac_word... " >&6; }
7045 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7046 $as_echo_n "(cached) " >&6
7047 else
7048 if test -n "$ac_ct_READELF"; then
7049 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7050 else
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052 for as_dir in $PATH
7054 IFS=$as_save_IFS
7055 test -z "$as_dir" && as_dir=.
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7058 ac_cv_prog_ac_ct_READELF="readelf"
7059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7060 break 2
7062 done
7063 done
7064 IFS=$as_save_IFS
7068 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7069 if test -n "$ac_ct_READELF"; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7071 $as_echo "$ac_ct_READELF" >&6; }
7072 else
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074 $as_echo "no" >&6; }
7077 if test "x$ac_ct_READELF" = x; then
7078 READELF="true"
7079 else
7080 case $cross_compiling:$ac_tool_warned in
7081 yes:)
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7084 ac_tool_warned=yes ;;
7085 esac
7086 READELF=$ac_ct_READELF
7088 else
7089 READELF="$ac_cv_prog_READELF"
7092 wine_rules_file=conf$$rules.make
7093 rm -f $wine_rules_file
7094 ALL_POT_FILES=""
7095 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7096 ALL_TEST_RESOURCES=""
7099 wine_fn_append_file ()
7101 as_fn_append $1 " \\$as_nl $2"
7104 wine_fn_ignore_file ()
7106 case "$1" in
7107 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7108 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7109 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7110 esac
7113 wine_fn_append_rule ()
7115 $as_echo "$1" >>$wine_rules_file
7118 wine_fn_has_flag ()
7120 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7123 wine_fn_depend_rules ()
7125 wine_fn_append_rule \
7126 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7127 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7128 depend: $ac_dir/depend
7129 .PHONY: $ac_dir/depend
7130 $ac_dir/depend: \$(MAKEDEP) dummy
7131 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7134 wine_fn_pot_rules ()
7136 test "x$with_gettextpo" = xyes || return
7138 if wine_fn_has_flag mc
7139 then
7140 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7141 wine_fn_append_rule \
7142 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7143 @cd $ac_dir && \$(MAKE) msg.pot
7144 $ac_dir/msg.pot: tools/wmc include"
7146 if wine_fn_has_flag po
7147 then
7148 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7149 wine_fn_append_rule \
7150 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7151 @cd $ac_dir && \$(MAKE) rsrc.pot
7152 $ac_dir/rsrc.pot: tools/wrc include"
7156 wine_fn_all_rules ()
7158 wine_fn_depend_rules
7159 wine_fn_append_rule \
7160 "all: $ac_dir
7161 .PHONY: $ac_dir
7162 $ac_dir: $ac_dir/Makefile dummy
7163 @cd $ac_dir && \$(MAKE)"
7166 wine_fn_install_rules ()
7168 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7170 wine_fn_append_rule \
7171 ".PHONY: $ac_dir/install $ac_dir/uninstall
7172 $ac_dir/install:: $ac_dir
7173 @cd $ac_dir && \$(MAKE) install
7174 $ac_dir/uninstall:: $ac_dir/Makefile
7175 @cd $ac_dir && \$(MAKE) uninstall
7176 install:: $ac_dir/install
7177 __uninstall__: $ac_dir/uninstall"
7179 if wine_fn_has_flag install-lib
7180 then
7181 wine_fn_append_rule \
7182 ".PHONY: $ac_dir/install-lib
7183 $ac_dir/install-lib:: $ac_dir
7184 @cd $ac_dir && \$(MAKE) install-lib
7185 install-lib:: $ac_dir/install-lib"
7188 if wine_fn_has_flag install-dev
7189 then
7190 wine_fn_append_rule \
7191 ".PHONY: $ac_dir/install-dev
7192 $ac_dir/install-dev:: $ac_dir
7193 @cd $ac_dir && \$(MAKE) install-dev
7194 install-dev:: $ac_dir/install-dev"
7198 wine_fn_clean_rules ()
7200 ac_clean=$@
7201 ac_extraclean="$ac_dir/Makefile"
7202 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7203 case $ac_dir in
7204 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7205 esac
7207 if wine_fn_has_flag clean
7208 then
7209 wine_fn_append_rule \
7210 "__clean__: $ac_dir/clean
7211 .PHONY: $ac_dir/clean
7212 $ac_dir/clean: $ac_dir/Makefile
7213 @cd $ac_dir && \$(MAKE) clean
7214 \$(RM) $ac_extraclean"
7215 else
7216 wine_fn_append_rule \
7217 "__clean__: $ac_dir/clean
7218 .PHONY: $ac_dir/clean
7219 $ac_dir/clean: dummy
7220 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7224 wine_fn_disabled_rules ()
7226 ac_clean=$@
7227 ac_extraclean="$ac_dir/Makefile"
7228 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7230 wine_fn_append_rule \
7231 "__clean__: $ac_dir/clean
7232 .PHONY: $ac_dir/clean
7233 $ac_dir/clean: dummy
7234 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7237 wine_fn_config_makefile ()
7239 ac_dir=$1
7240 ac_enable=$2
7241 ac_flags=$3
7243 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7244 wine_fn_disabled_rules; return
7246 wine_fn_all_rules
7247 wine_fn_install_rules
7248 wine_fn_clean_rules
7251 wine_fn_config_lib ()
7253 ac_name=$1
7254 ac_flags=$2
7255 ac_dir=dlls/$ac_name
7256 ac_deps="include"
7258 if test "x$enable_tools" = xno; then :
7260 else
7261 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7263 wine_fn_all_rules
7264 wine_fn_clean_rules
7266 wine_fn_append_rule \
7267 ".PHONY: $ac_dir/install $ac_dir/uninstall
7268 $ac_dir/install:: $ac_dir
7269 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7270 $ac_dir/uninstall::
7271 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7272 install install-dev:: $ac_dir/install
7273 __uninstall__: $ac_dir/uninstall
7274 __builddeps__: $ac_dir
7275 $ac_dir: $ac_deps"
7278 wine_fn_config_dll ()
7280 ac_name=$1
7281 ac_dir=dlls/$ac_name
7282 ac_enable=$2
7283 ac_flags=$3
7284 ac_implib=${4:-$ac_name}
7285 ac_file=$ac_dir/lib$ac_implib
7286 ac_dll=$ac_name
7287 ac_deps="include"
7288 ac_implibflags=""
7290 if test "x$enable_tools" = xno; then :
7292 else
7293 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7295 case $ac_name in
7296 *16) ac_implibflags=" -m16" ;;
7297 *.*) ;;
7298 *) ac_dll=$ac_dll.dll ;;
7299 esac
7301 ac_clean=
7302 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7303 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7304 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7305 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7307 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7308 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7309 then
7310 wine_fn_depend_rules
7311 wine_fn_clean_rules $ac_clean
7312 else
7313 wine_fn_disabled_rules $ac_clean
7314 return
7316 else
7317 wine_fn_all_rules
7318 wine_fn_clean_rules $ac_clean
7319 wine_fn_append_rule \
7320 "$ac_dir: __builddeps__
7321 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7322 @cd $ac_dir && \$(MAKE) \$@
7323 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7324 install install-lib:: $ac_dir/install-lib
7325 __uninstall__: $ac_dir/uninstall"
7326 if test -n "$DLLEXT"
7327 then
7328 wine_fn_append_rule \
7329 "$ac_dir/install-lib:: $ac_dir
7330 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7331 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7332 $ac_dir/uninstall::
7333 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7334 else
7335 wine_fn_append_rule \
7336 "$ac_dir/install-lib:: $ac_dir
7337 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7338 $ac_dir/uninstall::
7339 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7342 wine_fn_pot_rules
7345 if wine_fn_has_flag staticimplib
7346 then
7347 wine_fn_append_rule \
7348 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7349 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7350 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7351 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7352 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7353 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7354 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7355 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7356 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7357 $ac_dir/uninstall::
7358 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7359 install install-dev:: $ac_dir/install-dev
7360 __uninstall__: $ac_dir/uninstall"
7362 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7363 then
7364 wine_fn_append_rule \
7365 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7366 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7367 $ac_dir/uninstall::
7368 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7371 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7372 then
7373 wine_fn_append_rule \
7374 "__builddeps__: $ac_file.cross.a
7375 $ac_file.cross.a: $ac_dir/Makefile dummy
7376 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7379 elif wine_fn_has_flag implib
7380 then
7381 wine_fn_append_rule \
7382 "__builddeps__: $ac_file.$IMPLIBEXT
7383 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7384 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7385 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7386 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7387 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7388 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7389 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7390 $ac_dir/uninstall::
7391 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7392 install install-dev:: $ac_dir/install-dev
7393 __uninstall__: $ac_dir/uninstall"
7394 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7395 then
7396 wine_fn_append_rule \
7397 "__builddeps__: $ac_file.cross.a
7398 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7399 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7402 if test "$ac_name" != "$ac_implib"
7403 then
7404 wine_fn_append_rule \
7405 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7406 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7407 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7408 clean::
7409 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7410 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7411 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7412 then
7413 wine_fn_append_rule \
7414 "__builddeps__: dlls/lib$ac_implib.cross.a
7415 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7416 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7417 clean::
7418 \$(RM) dlls/lib$ac_implib.cross.a"
7419 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7425 wine_fn_config_program ()
7427 ac_name=$1
7428 ac_dir=programs/$ac_name
7429 ac_enable=$2
7430 ac_flags=$3
7431 ac_program=$ac_name
7433 case $ac_name in
7434 *.*) ;;
7435 *) ac_program=$ac_program.exe ;;
7436 esac
7438 ac_clean=
7439 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7440 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7441 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7442 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7444 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7445 wine_fn_disabled_rules $ac_clean; return
7448 wine_fn_all_rules
7449 wine_fn_clean_rules $ac_clean
7450 wine_fn_append_rule "$ac_dir: __builddeps__"
7451 wine_fn_pot_rules
7453 wine_fn_has_flag install || return
7454 wine_fn_append_rule \
7455 ".PHONY: $ac_dir/install $ac_dir/uninstall
7456 install install-lib:: $ac_dir/install
7457 __uninstall__: $ac_dir/uninstall"
7459 if test -n "$DLLEXT"
7460 then
7461 wine_fn_append_rule \
7462 "$ac_dir/install:: $ac_dir
7463 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7464 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7465 $ac_dir/uninstall::
7466 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7468 if test -z "$with_wine64" && wine_fn_has_flag installbin
7469 then
7470 wine_fn_append_rule \
7471 "$ac_dir/install:: __tooldeps__
7472 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7473 $ac_dir/uninstall::
7474 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7476 else
7477 wine_fn_append_rule \
7478 "$ac_dir/install:: $ac_dir
7479 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7480 $ac_dir/uninstall::
7481 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7484 if test -z "$with_wine64" && wine_fn_has_flag manpage
7485 then
7486 wine_fn_append_rule \
7487 "$ac_dir/install:: $ac_dir
7488 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7489 $ac_dir/uninstall::
7490 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7494 wine_fn_config_test ()
7496 ac_dir=$1
7497 ac_name=$2
7498 ac_flags=$3
7500 ac_clean=
7501 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7502 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7504 if test "x$enable_tests" = xno; then :
7505 wine_fn_disabled_rules $ac_clean; return
7508 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7509 wine_fn_all_rules
7510 wine_fn_clean_rules $ac_clean
7512 wine_fn_append_rule \
7513 "$ac_dir: programs/winetest/Makefile __builddeps__
7514 programs/winetest: $ac_dir
7515 check test: $ac_dir/test
7516 .PHONY: $ac_dir/test
7517 $ac_dir/test: dummy
7518 @cd $ac_dir && \$(MAKE) test
7519 testclean::
7520 \$(RM) $ac_dir/*.ok"
7522 if test -n "$CROSSTARGET"
7523 then
7524 wine_fn_append_rule \
7525 "crosstest: $ac_dir/crosstest
7526 .PHONY: $ac_dir/crosstest
7527 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7528 @cd $ac_dir && \$(MAKE) crosstest"
7532 wine_fn_config_tool ()
7534 ac_dir=$1
7535 ac_flags=$2
7536 if test "x$enable_tools" = xno; then :
7537 return
7540 wine_fn_all_rules
7541 wine_fn_install_rules
7542 wine_fn_clean_rules
7544 wine_fn_append_rule "__tooldeps__: $ac_dir"
7545 wine_fn_append_rule "$ac_dir: libs/port"
7546 case $ac_dir in
7547 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7548 esac
7551 wine_fn_config_symlink ()
7553 ac_linkdir=
7554 if test "x$1" = "x-d"
7555 then
7556 ac_linkdir=$2
7557 shift; shift
7559 ac_links=$@
7560 wine_fn_append_rule \
7561 "$ac_links:
7562 @./config.status \$@
7563 distclean::
7564 \$(RM) $ac_links"
7565 for f in $ac_links; do wine_fn_ignore_file $f; done
7566 test -n "$ac_linkdir" || return
7567 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7570 wine_binary="wine"
7571 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7572 loader_programs="$wine_binary wine-installed"
7573 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7575 LOADER_RULES="
7576 all: wine.inf
7578 install install-lib:: wine-installed
7579 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7581 uninstall::
7582 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7586 case $host_os in
7587 cygwin*|mingw32*)
7588 if test -n "$ac_tool_prefix"; then
7589 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7590 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7592 $as_echo_n "checking for $ac_word... " >&6; }
7593 if ${ac_cv_prog_DLLTOOL+:} false; then :
7594 $as_echo_n "(cached) " >&6
7595 else
7596 if test -n "$DLLTOOL"; then
7597 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7598 else
7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 for as_dir in $PATH
7602 IFS=$as_save_IFS
7603 test -z "$as_dir" && as_dir=.
7604 for ac_exec_ext in '' $ac_executable_extensions; do
7605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7606 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 break 2
7610 done
7611 done
7612 IFS=$as_save_IFS
7616 DLLTOOL=$ac_cv_prog_DLLTOOL
7617 if test -n "$DLLTOOL"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7619 $as_echo "$DLLTOOL" >&6; }
7620 else
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7622 $as_echo "no" >&6; }
7627 if test -z "$ac_cv_prog_DLLTOOL"; then
7628 ac_ct_DLLTOOL=$DLLTOOL
7629 # Extract the first word of "dlltool", so it can be a program name with args.
7630 set dummy dlltool; ac_word=$2
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7632 $as_echo_n "checking for $ac_word... " >&6; }
7633 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7634 $as_echo_n "(cached) " >&6
7635 else
7636 if test -n "$ac_ct_DLLTOOL"; then
7637 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7638 else
7639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 for as_dir in $PATH
7642 IFS=$as_save_IFS
7643 test -z "$as_dir" && as_dir=.
7644 for ac_exec_ext in '' $ac_executable_extensions; do
7645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7646 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7648 break 2
7650 done
7651 done
7652 IFS=$as_save_IFS
7656 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7657 if test -n "$ac_ct_DLLTOOL"; then
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7659 $as_echo "$ac_ct_DLLTOOL" >&6; }
7660 else
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7662 $as_echo "no" >&6; }
7665 if test "x$ac_ct_DLLTOOL" = x; then
7666 DLLTOOL="false"
7667 else
7668 case $cross_compiling:$ac_tool_warned in
7669 yes:)
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7672 ac_tool_warned=yes ;;
7673 esac
7674 DLLTOOL=$ac_ct_DLLTOOL
7676 else
7677 DLLTOOL="$ac_cv_prog_DLLTOOL"
7680 LIBEXT="dll"
7681 DLLEXT=""
7682 IMPLIBEXT="a"
7683 STATIC_IMPLIBEXT="a"
7684 enable_iphlpapi=${enable_iphlpapi:-no}
7685 enable_kernel32=${enable_kernel32:-no}
7686 enable_msvcrt=${enable_msvcrt:-no}
7687 enable_ntdll=${enable_ntdll:-no}
7688 enable_ws2_32=${enable_ws2_32:-no}
7689 enable_loader=${enable_loader:-no}
7690 enable_server=${enable_server:-no}
7691 with_x=${with_x:-no}
7692 with_pthread=${with_pthread:-no}
7694 crtlibs=""
7695 case $host_os in
7696 mingw32*)
7697 crtlibs="-lmsvcrt"
7698 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7700 esac
7702 libwine_targets="libwine.dll libwine.a"
7703 LIBWINE_RULES="
7704 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7706 all: libwine.dll libwine.a
7708 libwine.a: \$(srcdir)/wine.def
7709 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7711 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7712 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7714 install install-lib:: libwine.dll
7715 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7717 install install-dev:: libwine.a
7718 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7720 uninstall::
7721 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7726 darwin*|macosx*)
7727 LIBEXT="dylib"
7728 DLLFLAGS="$DLLFLAGS -fPIC"
7729 LIBWINE_LDFLAGS="-multiply_defined suppress"
7730 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7731 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7732 COREFOUNDATION_LIBS="-framework CoreFoundation"
7734 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7736 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7738 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7740 CORESERVICES_LIBS="-framework CoreServices"
7742 APPKIT_LIBS="-framework AppKit"
7744 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7746 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7747 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7748 $as_echo_n "(cached) " >&6
7749 else
7750 ac_wine_try_cflags_saved=$CFLAGS
7751 CFLAGS="$CFLAGS -Wl,-no_pie"
7752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h. */
7754 int main(int argc, char **argv) { return 0; }
7755 _ACEOF
7756 if ac_fn_c_try_link "$LINENO"; then :
7757 ac_cv_cflags__Wl__no_pie=yes
7758 else
7759 ac_cv_cflags__Wl__no_pie=no
7761 rm -f core conftest.err conftest.$ac_objext \
7762 conftest$ac_exeext conftest.$ac_ext
7763 CFLAGS=$ac_wine_try_cflags_saved
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7766 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7767 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7768 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7770 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7771 then
7772 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7775 if test "$ac_cv_header_Security_Security_h" = "yes"
7776 then
7777 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7779 ac_save_LIBS="$LIBS"
7780 LIBS="$LIBS $SECURITY_LIBS"
7781 for ac_func in SSLCopyPeerCertificates
7782 do :
7783 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7784 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7787 _ACEOF
7790 done
7792 LIBS="$ac_save_LIBS"
7793 with_gnutls=${with_gnutls:-no}
7795 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7796 then
7797 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7798 then
7799 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7801 else
7802 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7805 ac_save_LIBS="$LIBS"
7806 LIBS="$LIBS $COREAUDIO_LIBS"
7807 for ac_func in AUGraphAddNode
7808 do :
7809 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7810 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7811 cat >>confdefs.h <<_ACEOF
7812 #define HAVE_AUGRAPHADDNODE 1
7813 _ACEOF
7816 done
7818 LIBS="$ac_save_LIBS"
7820 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7821 then
7822 OPENAL_LIBS="-framework OpenAL"
7825 cat >>confdefs.h <<_ACEOF
7826 #define HAVE_OPENAL 1
7827 _ACEOF
7829 ac_cv_lib_openal=yes
7831 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7832 then
7833 OPENCL_LIBS="-framework OpenCL"
7835 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7837 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7838 then
7839 ac_save_LIBS="$LIBS"
7840 LIBS="$LIBS $IOKIT_LIBS"
7841 for ac_func in IOHIDManagerCreate
7842 do :
7843 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7844 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7845 cat >>confdefs.h <<_ACEOF
7846 #define HAVE_IOHIDMANAGERCREATE 1
7847 _ACEOF
7850 done
7852 LIBS="$ac_save_LIBS"
7854 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7855 then
7856 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7858 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7859 else
7860 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7862 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7863 then
7864 CARBON_LIBS="-framework Carbon"
7868 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7869 then
7870 ac_save_LIBS="$LIBS"
7871 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7872 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7873 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7874 enable_winemac_drv=${enable_winemac_drv:-yes}
7877 LIBS="$ac_save_LIBS"
7880 if test "x$enable_win16" = "xyes"
7881 then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7883 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7884 if test "$cross_compiling" = yes; then :
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7886 $as_echo "cross-compiling, assuming yes" >&6; }
7887 else
7888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7890 asm(".text\n"
7891 "bad:\tnop;nop\n"
7892 "good:\tnop;nop\n\t"
7893 ".globl _testfunc\n"
7894 "_testfunc:\tcallw good");
7895 extern void testfunc();
7897 main ()
7899 unsigned short *p = (unsigned short *)testfunc;
7900 return p[0] != 0xe866 || p[1] != 0xfffa
7902 return 0;
7904 _ACEOF
7905 if ac_fn_c_try_run "$LINENO"; then :
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7907 $as_echo "yes" >&6; }
7908 else
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7910 $as_echo "no" >&6; }
7911 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
7913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7914 conftest.$ac_objext conftest.beam conftest.$ac_ext
7919 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7920 LIBWINE_RULES="
7921 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7923 all: libwine.dylib
7925 libwine.$libwine_version.dylib: \$(OBJS)
7926 \$(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 \$@
7928 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7929 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7931 libwine.dylib: libwine.$libwine_soversion.dylib
7932 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7934 install install-lib:: libwine.$libwine_version.dylib
7935 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7936 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7938 install install-dev::
7939 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7941 uninstall::
7942 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7946 as_fn_append LOADER_RULES "
7947 $wine_binary: main.o wine_info.plist
7948 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7950 wine-installed: main.o wine_info.plist
7951 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7955 linux-android*)
7956 DLLFLAGS="$DLLFLAGS -fPIC"
7957 DLLPREFIX="lib"
7958 LDEXECFLAGS=""
7959 dlldir="\${libdir}"
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7961 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7962 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7963 $as_echo_n "(cached) " >&6
7964 else
7965 ac_wine_try_cflags_saved=$CFLAGS
7966 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7968 /* end confdefs.h. */
7969 int main(int argc, char **argv) { return 0; }
7970 _ACEOF
7971 if ac_fn_c_try_link "$LINENO"; then :
7972 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7973 else
7974 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7976 rm -f core conftest.err conftest.$ac_objext \
7977 conftest$ac_exeext conftest.$ac_ext
7978 CFLAGS=$ac_wine_try_cflags_saved
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7981 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7982 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7983 LDEXECFLAGS="-Wl,--export-dynamic"
7985 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7987 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7988 if eval \${$as_ac_var+:} false; then :
7989 $as_echo_n "(cached) " >&6
7990 else
7991 ac_wine_try_cflags_saved=$CFLAGS
7992 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7994 /* end confdefs.h. */
7995 int main(int argc, char **argv) { return 0; }
7996 _ACEOF
7997 if ac_fn_c_try_link "$LINENO"; then :
7998 eval "$as_ac_var=yes"
7999 else
8000 eval "$as_ac_var=no"
8002 rm -f core conftest.err conftest.$ac_objext \
8003 conftest$ac_exeext conftest.$ac_ext
8004 CFLAGS=$ac_wine_try_cflags_saved
8006 eval ac_res=\$$as_ac_var
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8008 $as_echo "$ac_res" >&6; }
8009 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8010 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8011 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8012 else
8013 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8015 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8016 if eval \${$as_ac_var+:} false; then :
8017 $as_echo_n "(cached) " >&6
8018 else
8019 ac_wine_try_cflags_saved=$CFLAGS
8020 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8022 /* end confdefs.h. */
8023 int main(int argc, char **argv) { return 0; }
8024 _ACEOF
8025 if ac_fn_c_try_link "$LINENO"; then :
8026 eval "$as_ac_var=yes"
8027 else
8028 eval "$as_ac_var=no"
8030 rm -f core conftest.err conftest.$ac_objext \
8031 conftest$ac_exeext conftest.$ac_ext
8032 CFLAGS=$ac_wine_try_cflags_saved
8034 eval ac_res=\$$as_ac_var
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8036 $as_echo "$ac_res" >&6; }
8037 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8038 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8039 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8044 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8045 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8046 $as_echo_n "(cached) " >&6
8047 else
8048 ac_wine_try_cflags_saved=$CFLAGS
8049 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8051 /* end confdefs.h. */
8052 int main(int argc, char **argv) { return 0; }
8053 _ACEOF
8054 if ac_fn_c_try_link "$LINENO"; then :
8055 ac_cv_cflags__Wl___enable_new_dtags=yes
8056 else
8057 ac_cv_cflags__Wl___enable_new_dtags=no
8059 rm -f core conftest.err conftest.$ac_objext \
8060 conftest$ac_exeext conftest.$ac_ext
8061 CFLAGS=$ac_wine_try_cflags_saved
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8064 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8065 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8066 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8069 case $host_cpu in
8070 *i[3456789]86* | x86_64)
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8072 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8073 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8074 $as_echo_n "(cached) " >&6
8075 else
8076 ac_wine_try_cflags_saved=$CFLAGS
8077 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8079 /* end confdefs.h. */
8080 int main(int argc, char **argv) { return 0; }
8081 _ACEOF
8082 if ac_fn_c_try_link "$LINENO"; then :
8083 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8084 else
8085 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8087 rm -f core conftest.err conftest.$ac_objext \
8088 conftest$ac_exeext conftest.$ac_ext
8089 CFLAGS=$ac_wine_try_cflags_saved
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8092 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8093 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8094 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8097 esac
8099 libwine_targets="libwine.so"
8100 LIBWINE_RULES="
8101 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8103 all: libwine.so
8105 libwine.so: \$(OBJS)
8106 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8108 install install-lib:: libwine.so
8109 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8111 uninstall::
8112 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8116 as_fn_append LOADER_RULES "
8117 $wine_binary: main.o
8118 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8120 wine-installed: main.o
8121 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8126 DLLFLAGS="$DLLFLAGS -fPIC"
8127 LDEXECFLAGS=""
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8129 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8130 if ${ac_cv_c_dll_gnuelf+:} false; then :
8131 $as_echo_n "(cached) " >&6
8132 else
8133 ac_wine_try_cflags_saved=$CFLAGS
8134 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8136 /* end confdefs.h. */
8137 void myfunc() {}
8138 _ACEOF
8139 if ac_fn_c_try_link "$LINENO"; then :
8140 ac_cv_c_dll_gnuelf="yes"
8141 else
8142 ac_cv_c_dll_gnuelf="no"
8144 rm -f core conftest.err conftest.$ac_objext \
8145 conftest$ac_exeext conftest.$ac_ext
8146 CFLAGS=$ac_wine_try_cflags_saved
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8149 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8150 if test "$ac_cv_c_dll_gnuelf" = "yes"
8151 then
8152 LDSHARED="\$(CC) -shared"
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8154 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8155 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8156 $as_echo_n "(cached) " >&6
8157 else
8158 ac_wine_try_cflags_saved=$CFLAGS
8159 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8162 int main(int argc, char **argv) { return 0; }
8163 _ACEOF
8164 if ac_fn_c_try_link "$LINENO"; then :
8165 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8166 else
8167 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8169 rm -f core conftest.err conftest.$ac_objext \
8170 conftest$ac_exeext conftest.$ac_ext
8171 CFLAGS=$ac_wine_try_cflags_saved
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8174 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8175 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8176 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8177 else
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8179 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8180 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8181 $as_echo_n "(cached) " >&6
8182 else
8183 ac_wine_try_cflags_saved=$CFLAGS
8184 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 int main(int argc, char **argv) { return 0; }
8188 _ACEOF
8189 if ac_fn_c_try_link "$LINENO"; then :
8190 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8191 else
8192 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8194 rm -f core conftest.err conftest.$ac_objext \
8195 conftest$ac_exeext conftest.$ac_ext
8196 CFLAGS=$ac_wine_try_cflags_saved
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8199 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8200 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8201 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8205 echo '{ global: *; };' >conftest.map
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8207 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8208 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8209 $as_echo_n "(cached) " >&6
8210 else
8211 ac_wine_try_cflags_saved=$CFLAGS
8212 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8215 int main(int argc, char **argv) { return 0; }
8216 _ACEOF
8217 if ac_fn_c_try_link "$LINENO"; then :
8218 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8219 else
8220 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8222 rm -f core conftest.err conftest.$ac_objext \
8223 conftest$ac_exeext conftest.$ac_ext
8224 CFLAGS=$ac_wine_try_cflags_saved
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8227 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8228 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8229 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8231 rm -f conftest.map
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8234 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8235 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8236 $as_echo_n "(cached) " >&6
8237 else
8238 ac_wine_try_cflags_saved=$CFLAGS
8239 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8241 /* end confdefs.h. */
8242 int main(int argc, char **argv) { return 0; }
8243 _ACEOF
8244 if ac_fn_c_try_link "$LINENO"; then :
8245 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8246 else
8247 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8249 rm -f core conftest.err conftest.$ac_objext \
8250 conftest$ac_exeext conftest.$ac_ext
8251 CFLAGS=$ac_wine_try_cflags_saved
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8254 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8255 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8256 LDEXECFLAGS="-Wl,--export-dynamic"
8259 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8261 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8262 if eval \${$as_ac_var+:} false; then :
8263 $as_echo_n "(cached) " >&6
8264 else
8265 ac_wine_try_cflags_saved=$CFLAGS
8266 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8268 /* end confdefs.h. */
8269 int main(int argc, char **argv) { return 0; }
8270 _ACEOF
8271 if ac_fn_c_try_link "$LINENO"; then :
8272 eval "$as_ac_var=yes"
8273 else
8274 eval "$as_ac_var=no"
8276 rm -f core conftest.err conftest.$ac_objext \
8277 conftest$ac_exeext conftest.$ac_ext
8278 CFLAGS=$ac_wine_try_cflags_saved
8280 eval ac_res=\$$as_ac_var
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8282 $as_echo "$ac_res" >&6; }
8283 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8284 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8285 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8286 else
8287 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8289 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8290 if eval \${$as_ac_var+:} false; then :
8291 $as_echo_n "(cached) " >&6
8292 else
8293 ac_wine_try_cflags_saved=$CFLAGS
8294 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 int main(int argc, char **argv) { return 0; }
8298 _ACEOF
8299 if ac_fn_c_try_link "$LINENO"; then :
8300 eval "$as_ac_var=yes"
8301 else
8302 eval "$as_ac_var=no"
8304 rm -f core conftest.err conftest.$ac_objext \
8305 conftest$ac_exeext conftest.$ac_ext
8306 CFLAGS=$ac_wine_try_cflags_saved
8308 eval ac_res=\$$as_ac_var
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8310 $as_echo "$ac_res" >&6; }
8311 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8312 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8313 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8318 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8319 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8320 $as_echo_n "(cached) " >&6
8321 else
8322 ac_wine_try_cflags_saved=$CFLAGS
8323 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8326 int main(int argc, char **argv) { return 0; }
8327 _ACEOF
8328 if ac_fn_c_try_link "$LINENO"; then :
8329 ac_cv_cflags__Wl___enable_new_dtags=yes
8330 else
8331 ac_cv_cflags__Wl___enable_new_dtags=no
8333 rm -f core conftest.err conftest.$ac_objext \
8334 conftest$ac_exeext conftest.$ac_ext
8335 CFLAGS=$ac_wine_try_cflags_saved
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8338 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8339 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8340 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8343 case $host_cpu in
8344 *i[3456789]86* | x86_64)
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8346 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8347 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8348 $as_echo_n "(cached) " >&6
8349 else
8350 ac_wine_try_cflags_saved=$CFLAGS
8351 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8353 /* end confdefs.h. */
8354 int main(int argc, char **argv) { return 0; }
8355 _ACEOF
8356 if ac_fn_c_try_link "$LINENO"; then :
8357 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8358 else
8359 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8361 rm -f core conftest.err conftest.$ac_objext \
8362 conftest$ac_exeext conftest.$ac_ext
8363 CFLAGS=$ac_wine_try_cflags_saved
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8366 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8367 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8368 case $host_os in
8369 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8370 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8371 esac
8374 # Extract the first word of "prelink", so it can be a program name with args.
8375 set dummy prelink; ac_word=$2
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8377 $as_echo_n "checking for $ac_word... " >&6; }
8378 if ${ac_cv_path_PRELINK+:} false; then :
8379 $as_echo_n "(cached) " >&6
8380 else
8381 case $PRELINK in
8382 [\\/]* | ?:[\\/]*)
8383 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8387 for as_dir in /sbin /usr/sbin $PATH
8389 IFS=$as_save_IFS
8390 test -z "$as_dir" && as_dir=.
8391 for ac_exec_ext in '' $ac_executable_extensions; do
8392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8393 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8395 break 2
8397 done
8398 done
8399 IFS=$as_save_IFS
8401 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8403 esac
8405 PRELINK=$ac_cv_path_PRELINK
8406 if test -n "$PRELINK"; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8408 $as_echo "$PRELINK" >&6; }
8409 else
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8411 $as_echo "no" >&6; }
8415 if test "x$PRELINK" = xfalse
8416 then
8417 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8420 esac
8422 else
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8424 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8425 if ${ac_cv_c_dll_unixware+:} false; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 ac_wine_try_cflags_saved=$CFLAGS
8429 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8432 void myfunc() {}
8433 _ACEOF
8434 if ac_fn_c_try_link "$LINENO"; then :
8435 ac_cv_c_dll_unixware="yes"
8436 else
8437 ac_cv_c_dll_unixware="no"
8439 rm -f core conftest.err conftest.$ac_objext \
8440 conftest$ac_exeext conftest.$ac_ext
8441 CFLAGS=$ac_wine_try_cflags_saved
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8444 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8445 if test "$ac_cv_c_dll_unixware" = "yes"
8446 then
8447 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8450 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8451 LIBWINE_RULES="
8452 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8454 all: libwine.so
8456 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8457 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8459 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8460 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8462 libwine.so: libwine.so.$libwine_soversion
8463 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8465 install install-lib:: libwine.so.$libwine_version
8466 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8467 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8469 install install-dev::
8470 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8472 uninstall::
8473 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8477 as_fn_append LOADER_RULES "
8478 $wine_binary: main.o
8479 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8481 wine-installed: main.o
8482 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8485 esac
8487 as_fn_append LIBWINE_RULES "
8488 EXTRA_TARGETS = $libwine_targets
8491 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8492 enable_winemac_drv=${enable_winemac_drv:-no}
8494 CROSSTARGET=""
8496 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8497 then
8498 case "$host_cpu" in
8499 i[3456789]86*)
8500 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
8501 mingw32-gcc" ;;
8502 x86_64)
8503 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 " ;;
8505 ac_prefix_list="" ;;
8506 esac
8507 for ac_prog in $ac_prefix_list
8509 # Extract the first word of "$ac_prog", so it can be a program name with args.
8510 set dummy $ac_prog; ac_word=$2
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8512 $as_echo_n "checking for $ac_word... " >&6; }
8513 if ${ac_cv_prog_CROSSCC+:} false; then :
8514 $as_echo_n "(cached) " >&6
8515 else
8516 if test -n "$CROSSCC"; then
8517 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8518 else
8519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8520 for as_dir in $PATH
8522 IFS=$as_save_IFS
8523 test -z "$as_dir" && as_dir=.
8524 for ac_exec_ext in '' $ac_executable_extensions; do
8525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8526 ac_cv_prog_CROSSCC="$ac_prog"
8527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8528 break 2
8530 done
8531 done
8532 IFS=$as_save_IFS
8536 CROSSCC=$ac_cv_prog_CROSSCC
8537 if test -n "$CROSSCC"; then
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8539 $as_echo "$CROSSCC" >&6; }
8540 else
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8542 $as_echo "no" >&6; }
8546 test -n "$CROSSCC" && break
8547 done
8548 test -n "$CROSSCC" || CROSSCC="false"
8550 if test "$CROSSCC" != "false"
8551 then
8552 ac_save_CC="$CC"
8553 CC="$CROSSCC"
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8555 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8560 main ()
8564 return 0;
8566 _ACEOF
8567 if ac_fn_c_try_compile "$LINENO"; then :
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8569 $as_echo "yes" >&6; }
8570 set x $CROSSCC
8571 shift
8572 while test $# -ge 1
8574 case "$1" in
8575 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8576 esac
8577 shift
8578 done
8579 else
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8581 $as_echo "no" >&6; }
8583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8584 CC="$ac_save_CC"
8589 if test "$ac_cv_header_pthread_h" = "yes"
8590 then
8591 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8592 if test "x$ac_cv_func_pthread_create" = xyes; then :
8594 else
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8596 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8597 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8598 $as_echo_n "(cached) " >&6
8599 else
8600 ac_check_lib_save_LIBS=$LIBS
8601 LIBS="-lpthread $LIBS"
8602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8605 /* Override any GCC internal prototype to avoid an error.
8606 Use char because int might match the return type of a GCC
8607 builtin and then its argument prototype would still apply. */
8608 #ifdef __cplusplus
8609 extern "C"
8610 #endif
8611 char pthread_create ();
8613 main ()
8615 return pthread_create ();
8617 return 0;
8619 _ACEOF
8620 if ac_fn_c_try_link "$LINENO"; then :
8621 ac_cv_lib_pthread_pthread_create=yes
8622 else
8623 ac_cv_lib_pthread_pthread_create=no
8625 rm -f core conftest.err conftest.$ac_objext \
8626 conftest$ac_exeext conftest.$ac_ext
8627 LIBS=$ac_check_lib_save_LIBS
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8630 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8631 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8632 PTHREAD_LIBS="-lpthread"
8639 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8640 case "x$with_pthread" in
8641 xno) ;;
8642 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8643 Wine cannot support threads without libpthread.
8644 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8645 esac
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8650 $as_echo_n "checking for X... " >&6; }
8653 # Check whether --with-x was given.
8654 if test "${with_x+set}" = set; then :
8655 withval=$with_x;
8658 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8659 if test "x$with_x" = xno; then
8660 # The user explicitly disabled X.
8661 have_x=disabled
8662 else
8663 case $x_includes,$x_libraries in #(
8664 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8665 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 # One or both of the vars are not set, and there is no cached value.
8669 ac_x_includes=no ac_x_libraries=no
8670 rm -f -r conftest.dir
8671 if mkdir conftest.dir; then
8672 cd conftest.dir
8673 cat >Imakefile <<'_ACEOF'
8674 incroot:
8675 @echo incroot='${INCROOT}'
8676 usrlibdir:
8677 @echo usrlibdir='${USRLIBDIR}'
8678 libdir:
8679 @echo libdir='${LIBDIR}'
8680 _ACEOF
8681 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8682 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8683 for ac_var in incroot usrlibdir libdir; do
8684 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8685 done
8686 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8687 for ac_extension in a so sl dylib la dll; do
8688 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8689 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8690 ac_im_usrlibdir=$ac_im_libdir; break
8692 done
8693 # Screen out bogus values from the imake configuration. They are
8694 # bogus both because they are the default anyway, and because
8695 # using them would break gcc on systems where it needs fixed includes.
8696 case $ac_im_incroot in
8697 /usr/include) ac_x_includes= ;;
8698 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8699 esac
8700 case $ac_im_usrlibdir in
8701 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8702 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8703 esac
8705 cd ..
8706 rm -f -r conftest.dir
8709 # Standard set of common directories for X headers.
8710 # Check X11 before X11Rn because it is often a symlink to the current release.
8711 ac_x_header_dirs='
8712 /usr/X11/include
8713 /usr/X11R7/include
8714 /usr/X11R6/include
8715 /usr/X11R5/include
8716 /usr/X11R4/include
8718 /usr/include/X11
8719 /usr/include/X11R7
8720 /usr/include/X11R6
8721 /usr/include/X11R5
8722 /usr/include/X11R4
8724 /usr/local/X11/include
8725 /usr/local/X11R7/include
8726 /usr/local/X11R6/include
8727 /usr/local/X11R5/include
8728 /usr/local/X11R4/include
8730 /usr/local/include/X11
8731 /usr/local/include/X11R7
8732 /usr/local/include/X11R6
8733 /usr/local/include/X11R5
8734 /usr/local/include/X11R4
8736 /usr/X386/include
8737 /usr/x386/include
8738 /usr/XFree86/include/X11
8740 /usr/include
8741 /usr/local/include
8742 /usr/unsupported/include
8743 /usr/athena/include
8744 /usr/local/x11r5/include
8745 /usr/lpp/Xamples/include
8747 /usr/openwin/include
8748 /usr/openwin/share/include'
8750 if test "$ac_x_includes" = no; then
8751 # Guess where to find include files, by looking for Xlib.h.
8752 # First, try using that file with no special directory specified.
8753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8755 #include <X11/Xlib.h>
8756 _ACEOF
8757 if ac_fn_c_try_cpp "$LINENO"; then :
8758 # We can compile using X headers with no special include directory.
8759 ac_x_includes=
8760 else
8761 for ac_dir in $ac_x_header_dirs; do
8762 if test -r "$ac_dir/X11/Xlib.h"; then
8763 ac_x_includes=$ac_dir
8764 break
8766 done
8768 rm -f conftest.err conftest.i conftest.$ac_ext
8769 fi # $ac_x_includes = no
8771 if test "$ac_x_libraries" = no; then
8772 # Check for the libraries.
8773 # See if we find them without any special options.
8774 # Don't add to $LIBS permanently.
8775 ac_save_LIBS=$LIBS
8776 LIBS="-lX11 $LIBS"
8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8779 #include <X11/Xlib.h>
8781 main ()
8783 XrmInitialize ()
8785 return 0;
8787 _ACEOF
8788 if ac_fn_c_try_link "$LINENO"; then :
8789 LIBS=$ac_save_LIBS
8790 # We can link X programs with no special library path.
8791 ac_x_libraries=
8792 else
8793 LIBS=$ac_save_LIBS
8794 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8796 # Don't even attempt the hair of trying to link an X program!
8797 for ac_extension in a so sl dylib la dll; do
8798 if test -r "$ac_dir/libX11.$ac_extension"; then
8799 ac_x_libraries=$ac_dir
8800 break 2
8802 done
8803 done
8805 rm -f core conftest.err conftest.$ac_objext \
8806 conftest$ac_exeext conftest.$ac_ext
8807 fi # $ac_x_libraries = no
8809 case $ac_x_includes,$ac_x_libraries in #(
8810 no,* | *,no | *\'*)
8811 # Didn't find X, or a directory has "'" in its name.
8812 ac_cv_have_x="have_x=no";; #(
8814 # Record where we found X for the cache.
8815 ac_cv_have_x="have_x=yes\
8816 ac_x_includes='$ac_x_includes'\
8817 ac_x_libraries='$ac_x_libraries'"
8818 esac
8820 ;; #(
8821 *) have_x=yes;;
8822 esac
8823 eval "$ac_cv_have_x"
8824 fi # $with_x != no
8826 if test "$have_x" != yes; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8828 $as_echo "$have_x" >&6; }
8829 no_x=yes
8830 else
8831 # If each of the values was on the command line, it overrides each guess.
8832 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8833 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8834 # Update the cache value to reflect the command line values.
8835 ac_cv_have_x="have_x=yes\
8836 ac_x_includes='$x_includes'\
8837 ac_x_libraries='$x_libraries'"
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8839 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8842 if test "$no_x" = yes; then
8843 # Not all programs may use this symbol, but it does not hurt to define it.
8845 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8847 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8848 else
8849 if test -n "$x_includes"; then
8850 X_CFLAGS="$X_CFLAGS -I$x_includes"
8853 # It would also be nice to do this for all -L options, not just this one.
8854 if test -n "$x_libraries"; then
8855 X_LIBS="$X_LIBS -L$x_libraries"
8856 # For Solaris; some versions of Sun CC require a space after -R and
8857 # others require no space. Words are not sufficient . . . .
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8859 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8860 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8861 ac_xsave_c_werror_flag=$ac_c_werror_flag
8862 ac_c_werror_flag=yes
8863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8864 /* end confdefs.h. */
8867 main ()
8871 return 0;
8873 _ACEOF
8874 if ac_fn_c_try_link "$LINENO"; then :
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8876 $as_echo "no" >&6; }
8877 X_LIBS="$X_LIBS -R$x_libraries"
8878 else
8879 LIBS="$ac_xsave_LIBS -R $x_libraries"
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8884 main ()
8888 return 0;
8890 _ACEOF
8891 if ac_fn_c_try_link "$LINENO"; then :
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8893 $as_echo "yes" >&6; }
8894 X_LIBS="$X_LIBS -R $x_libraries"
8895 else
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8897 $as_echo "neither works" >&6; }
8899 rm -f core conftest.err conftest.$ac_objext \
8900 conftest$ac_exeext conftest.$ac_ext
8902 rm -f core conftest.err conftest.$ac_objext \
8903 conftest$ac_exeext conftest.$ac_ext
8904 ac_c_werror_flag=$ac_xsave_c_werror_flag
8905 LIBS=$ac_xsave_LIBS
8908 # Check for system-dependent libraries X programs must link with.
8909 # Do this before checking for the system-independent R6 libraries
8910 # (-lICE), since we may need -lsocket or whatever for X linking.
8912 if test "$ISC" = yes; then
8913 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8914 else
8915 # Martyn Johnson says this is needed for Ultrix, if the X
8916 # libraries were built with DECnet support. And Karl Berry says
8917 # the Alpha needs dnet_stub (dnet does not exist).
8918 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8922 /* Override any GCC internal prototype to avoid an error.
8923 Use char because int might match the return type of a GCC
8924 builtin and then its argument prototype would still apply. */
8925 #ifdef __cplusplus
8926 extern "C"
8927 #endif
8928 char XOpenDisplay ();
8930 main ()
8932 return XOpenDisplay ();
8934 return 0;
8936 _ACEOF
8937 if ac_fn_c_try_link "$LINENO"; then :
8939 else
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8941 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8942 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8943 $as_echo_n "(cached) " >&6
8944 else
8945 ac_check_lib_save_LIBS=$LIBS
8946 LIBS="-ldnet $LIBS"
8947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8948 /* end confdefs.h. */
8950 /* Override any GCC internal prototype to avoid an error.
8951 Use char because int might match the return type of a GCC
8952 builtin and then its argument prototype would still apply. */
8953 #ifdef __cplusplus
8954 extern "C"
8955 #endif
8956 char dnet_ntoa ();
8958 main ()
8960 return dnet_ntoa ();
8962 return 0;
8964 _ACEOF
8965 if ac_fn_c_try_link "$LINENO"; then :
8966 ac_cv_lib_dnet_dnet_ntoa=yes
8967 else
8968 ac_cv_lib_dnet_dnet_ntoa=no
8970 rm -f core conftest.err conftest.$ac_objext \
8971 conftest$ac_exeext conftest.$ac_ext
8972 LIBS=$ac_check_lib_save_LIBS
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8975 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8976 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8977 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8980 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8982 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8983 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8984 $as_echo_n "(cached) " >&6
8985 else
8986 ac_check_lib_save_LIBS=$LIBS
8987 LIBS="-ldnet_stub $LIBS"
8988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8991 /* Override any GCC internal prototype to avoid an error.
8992 Use char because int might match the return type of a GCC
8993 builtin and then its argument prototype would still apply. */
8994 #ifdef __cplusplus
8995 extern "C"
8996 #endif
8997 char dnet_ntoa ();
8999 main ()
9001 return dnet_ntoa ();
9003 return 0;
9005 _ACEOF
9006 if ac_fn_c_try_link "$LINENO"; then :
9007 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9008 else
9009 ac_cv_lib_dnet_stub_dnet_ntoa=no
9011 rm -f core conftest.err conftest.$ac_objext \
9012 conftest$ac_exeext conftest.$ac_ext
9013 LIBS=$ac_check_lib_save_LIBS
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9016 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9017 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9018 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9023 rm -f core conftest.err conftest.$ac_objext \
9024 conftest$ac_exeext conftest.$ac_ext
9025 LIBS="$ac_xsave_LIBS"
9027 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9028 # to get the SysV transport functions.
9029 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9030 # needs -lnsl.
9031 # The nsl library prevents programs from opening the X display
9032 # on Irix 5.2, according to T.E. Dickey.
9033 # The functions gethostbyname, getservbyname, and inet_addr are
9034 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9035 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9036 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9040 if test $ac_cv_func_gethostbyname = no; then
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9042 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9043 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9044 $as_echo_n "(cached) " >&6
9045 else
9046 ac_check_lib_save_LIBS=$LIBS
9047 LIBS="-lnsl $LIBS"
9048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9051 /* Override any GCC internal prototype to avoid an error.
9052 Use char because int might match the return type of a GCC
9053 builtin and then its argument prototype would still apply. */
9054 #ifdef __cplusplus
9055 extern "C"
9056 #endif
9057 char gethostbyname ();
9059 main ()
9061 return gethostbyname ();
9063 return 0;
9065 _ACEOF
9066 if ac_fn_c_try_link "$LINENO"; then :
9067 ac_cv_lib_nsl_gethostbyname=yes
9068 else
9069 ac_cv_lib_nsl_gethostbyname=no
9071 rm -f core conftest.err conftest.$ac_objext \
9072 conftest$ac_exeext conftest.$ac_ext
9073 LIBS=$ac_check_lib_save_LIBS
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9076 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9077 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9078 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9081 if test $ac_cv_lib_nsl_gethostbyname = no; then
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9083 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9084 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9085 $as_echo_n "(cached) " >&6
9086 else
9087 ac_check_lib_save_LIBS=$LIBS
9088 LIBS="-lbsd $LIBS"
9089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9092 /* Override any GCC internal prototype to avoid an error.
9093 Use char because int might match the return type of a GCC
9094 builtin and then its argument prototype would still apply. */
9095 #ifdef __cplusplus
9096 extern "C"
9097 #endif
9098 char gethostbyname ();
9100 main ()
9102 return gethostbyname ();
9104 return 0;
9106 _ACEOF
9107 if ac_fn_c_try_link "$LINENO"; then :
9108 ac_cv_lib_bsd_gethostbyname=yes
9109 else
9110 ac_cv_lib_bsd_gethostbyname=no
9112 rm -f core conftest.err conftest.$ac_objext \
9113 conftest$ac_exeext conftest.$ac_ext
9114 LIBS=$ac_check_lib_save_LIBS
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9117 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9118 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9119 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9125 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9126 # socket/setsockopt and other routines are undefined under SCO ODT
9127 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9128 # on later versions), says Simon Leinen: it contains gethostby*
9129 # variants that don't use the name server (or something). -lsocket
9130 # must be given before -lnsl if both are needed. We assume that
9131 # if connect needs -lnsl, so does gethostbyname.
9132 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9133 if test "x$ac_cv_func_connect" = xyes; then :
9137 if test $ac_cv_func_connect = no; then
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9139 $as_echo_n "checking for connect in -lsocket... " >&6; }
9140 if ${ac_cv_lib_socket_connect+:} false; then :
9141 $as_echo_n "(cached) " >&6
9142 else
9143 ac_check_lib_save_LIBS=$LIBS
9144 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9148 /* Override any GCC internal prototype to avoid an error.
9149 Use char because int might match the return type of a GCC
9150 builtin and then its argument prototype would still apply. */
9151 #ifdef __cplusplus
9152 extern "C"
9153 #endif
9154 char connect ();
9156 main ()
9158 return connect ();
9160 return 0;
9162 _ACEOF
9163 if ac_fn_c_try_link "$LINENO"; then :
9164 ac_cv_lib_socket_connect=yes
9165 else
9166 ac_cv_lib_socket_connect=no
9168 rm -f core conftest.err conftest.$ac_objext \
9169 conftest$ac_exeext conftest.$ac_ext
9170 LIBS=$ac_check_lib_save_LIBS
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9173 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9174 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9175 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9180 # Guillermo Gomez says -lposix is necessary on A/UX.
9181 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9182 if test "x$ac_cv_func_remove" = xyes; then :
9186 if test $ac_cv_func_remove = no; then
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9188 $as_echo_n "checking for remove in -lposix... " >&6; }
9189 if ${ac_cv_lib_posix_remove+:} false; then :
9190 $as_echo_n "(cached) " >&6
9191 else
9192 ac_check_lib_save_LIBS=$LIBS
9193 LIBS="-lposix $LIBS"
9194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9197 /* Override any GCC internal prototype to avoid an error.
9198 Use char because int might match the return type of a GCC
9199 builtin and then its argument prototype would still apply. */
9200 #ifdef __cplusplus
9201 extern "C"
9202 #endif
9203 char remove ();
9205 main ()
9207 return remove ();
9209 return 0;
9211 _ACEOF
9212 if ac_fn_c_try_link "$LINENO"; then :
9213 ac_cv_lib_posix_remove=yes
9214 else
9215 ac_cv_lib_posix_remove=no
9217 rm -f core conftest.err conftest.$ac_objext \
9218 conftest$ac_exeext conftest.$ac_ext
9219 LIBS=$ac_check_lib_save_LIBS
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9222 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9223 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9224 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9229 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9230 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9231 if test "x$ac_cv_func_shmat" = xyes; then :
9235 if test $ac_cv_func_shmat = no; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9237 $as_echo_n "checking for shmat in -lipc... " >&6; }
9238 if ${ac_cv_lib_ipc_shmat+:} false; then :
9239 $as_echo_n "(cached) " >&6
9240 else
9241 ac_check_lib_save_LIBS=$LIBS
9242 LIBS="-lipc $LIBS"
9243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9246 /* Override any GCC internal prototype to avoid an error.
9247 Use char because int might match the return type of a GCC
9248 builtin and then its argument prototype would still apply. */
9249 #ifdef __cplusplus
9250 extern "C"
9251 #endif
9252 char shmat ();
9254 main ()
9256 return shmat ();
9258 return 0;
9260 _ACEOF
9261 if ac_fn_c_try_link "$LINENO"; then :
9262 ac_cv_lib_ipc_shmat=yes
9263 else
9264 ac_cv_lib_ipc_shmat=no
9266 rm -f core conftest.err conftest.$ac_objext \
9267 conftest$ac_exeext conftest.$ac_ext
9268 LIBS=$ac_check_lib_save_LIBS
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9271 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9272 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9273 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9279 # Check for libraries that X11R6 Xt/Xaw programs need.
9280 ac_save_LDFLAGS=$LDFLAGS
9281 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9282 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9283 # check for ICE first), but we must link in the order -lSM -lICE or
9284 # we get undefined symbols. So assume we have SM if we have ICE.
9285 # These have to be linked with before -lX11, unlike the other
9286 # libraries we check for below, so use a different variable.
9287 # John Interrante, Karl Berry
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9289 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9290 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9291 $as_echo_n "(cached) " >&6
9292 else
9293 ac_check_lib_save_LIBS=$LIBS
9294 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9298 /* Override any GCC internal prototype to avoid an error.
9299 Use char because int might match the return type of a GCC
9300 builtin and then its argument prototype would still apply. */
9301 #ifdef __cplusplus
9302 extern "C"
9303 #endif
9304 char IceConnectionNumber ();
9306 main ()
9308 return IceConnectionNumber ();
9310 return 0;
9312 _ACEOF
9313 if ac_fn_c_try_link "$LINENO"; then :
9314 ac_cv_lib_ICE_IceConnectionNumber=yes
9315 else
9316 ac_cv_lib_ICE_IceConnectionNumber=no
9318 rm -f core conftest.err conftest.$ac_objext \
9319 conftest$ac_exeext conftest.$ac_ext
9320 LIBS=$ac_check_lib_save_LIBS
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9323 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9324 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9325 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9328 LDFLAGS=$ac_save_LDFLAGS
9333 if test "$have_x" = "yes"
9334 then
9335 ac_save_CPPFLAGS="$CPPFLAGS"
9336 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9339 $as_echo_n "checking for -lX11... " >&6; }
9340 if ${ac_cv_lib_soname_X11+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 ac_check_soname_save_LIBS=$LIBS
9344 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9348 /* Override any GCC internal prototype to avoid an error.
9349 Use char because int might match the return type of a GCC
9350 builtin and then its argument prototype would still apply. */
9351 #ifdef __cplusplus
9352 extern "C"
9353 #endif
9354 char XCreateWindow ();
9356 main ()
9358 return XCreateWindow ();
9360 return 0;
9362 _ACEOF
9363 if ac_fn_c_try_link "$LINENO"; then :
9364 case "$LIBEXT" in
9365 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9366 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'` ;;
9367 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9368 if ${ac_cv_lib_soname_X11:+false} :; then :
9369 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9370 fi ;;
9371 esac
9373 rm -f core conftest.err conftest.$ac_objext \
9374 conftest$ac_exeext conftest.$ac_ext
9375 LIBS=$ac_check_soname_save_LIBS
9377 if ${ac_cv_lib_soname_X11:+false} :; then :
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9379 $as_echo "not found" >&6; }
9381 else
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9383 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9385 cat >>confdefs.h <<_ACEOF
9386 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9387 _ACEOF
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9392 $as_echo_n "checking for -lXext... " >&6; }
9393 if ${ac_cv_lib_soname_Xext+:} false; then :
9394 $as_echo_n "(cached) " >&6
9395 else
9396 ac_check_soname_save_LIBS=$LIBS
9397 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9401 /* Override any GCC internal prototype to avoid an error.
9402 Use char because int might match the return type of a GCC
9403 builtin and then its argument prototype would still apply. */
9404 #ifdef __cplusplus
9405 extern "C"
9406 #endif
9407 char XextCreateExtension ();
9409 main ()
9411 return XextCreateExtension ();
9413 return 0;
9415 _ACEOF
9416 if ac_fn_c_try_link "$LINENO"; then :
9417 case "$LIBEXT" in
9418 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9419 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'` ;;
9420 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9421 if ${ac_cv_lib_soname_Xext:+false} :; then :
9422 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9423 fi ;;
9424 esac
9426 rm -f core conftest.err conftest.$ac_objext \
9427 conftest$ac_exeext conftest.$ac_ext
9428 LIBS=$ac_check_soname_save_LIBS
9430 if ${ac_cv_lib_soname_Xext:+false} :; then :
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9432 $as_echo "not found" >&6; }
9434 else
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9436 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9438 cat >>confdefs.h <<_ACEOF
9439 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9440 _ACEOF
9442 X_LIBS="$X_LIBS -lXext"
9444 X_LIBS="$X_LIBS -lX11"
9446 for ac_header in X11/Xlib.h \
9447 X11/XKBlib.h \
9448 X11/Xutil.h \
9449 X11/Xcursor/Xcursor.h \
9450 X11/extensions/shape.h \
9451 X11/extensions/XInput.h \
9452 X11/extensions/XInput2.h \
9453 X11/extensions/XShm.h \
9454 X11/extensions/Xcomposite.h \
9455 X11/extensions/Xinerama.h \
9456 X11/extensions/Xrandr.h \
9457 X11/extensions/Xrender.h \
9458 X11/extensions/xf86vmode.h \
9459 X11/extensions/xf86vmproto.h
9460 do :
9461 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9462 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9463 # include <X11/Xlib.h>
9464 #endif
9465 #ifdef HAVE_X11_XUTIL_H
9466 # include <X11/Xutil.h>
9467 #endif
9469 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9470 cat >>confdefs.h <<_ACEOF
9471 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9472 _ACEOF
9476 done
9479 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9480 then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9482 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9483 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9484 $as_echo_n "(cached) " >&6
9485 else
9486 ac_check_lib_save_LIBS=$LIBS
9487 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9494 #ifdef __cplusplus
9495 extern "C"
9496 #endif
9497 char XkbQueryExtension ();
9499 main ()
9501 return XkbQueryExtension ();
9503 return 0;
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 ac_cv_lib_X11_XkbQueryExtension=yes
9508 else
9509 ac_cv_lib_X11_XkbQueryExtension=no
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 LIBS=$ac_check_lib_save_LIBS
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9516 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9517 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9519 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9525 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9526 then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9528 $as_echo_n "checking for -lXcursor... " >&6; }
9529 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9530 $as_echo_n "(cached) " >&6
9531 else
9532 ac_check_soname_save_LIBS=$LIBS
9533 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9540 #ifdef __cplusplus
9541 extern "C"
9542 #endif
9543 char XcursorImageLoadCursor ();
9545 main ()
9547 return XcursorImageLoadCursor ();
9549 return 0;
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9553 case "$LIBEXT" in
9554 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9555 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'` ;;
9556 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9557 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9558 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9559 fi ;;
9560 esac
9562 rm -f core conftest.err conftest.$ac_objext \
9563 conftest$ac_exeext conftest.$ac_ext
9564 LIBS=$ac_check_soname_save_LIBS
9566 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9568 $as_echo "not found" >&6; }
9570 else
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9572 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9574 cat >>confdefs.h <<_ACEOF
9575 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9576 _ACEOF
9581 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9582 case "x$with_xcursor" in
9583 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9584 xno) ;;
9585 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9586 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9587 esac
9590 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9591 then
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9593 $as_echo_n "checking for -lXi... " >&6; }
9594 if ${ac_cv_lib_soname_Xi+:} false; then :
9595 $as_echo_n "(cached) " >&6
9596 else
9597 ac_check_soname_save_LIBS=$LIBS
9598 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9605 #ifdef __cplusplus
9606 extern "C"
9607 #endif
9608 char XOpenDevice ();
9610 main ()
9612 return XOpenDevice ();
9614 return 0;
9616 _ACEOF
9617 if ac_fn_c_try_link "$LINENO"; then :
9618 case "$LIBEXT" in
9619 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9620 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'` ;;
9621 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9622 if ${ac_cv_lib_soname_Xi:+false} :; then :
9623 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9624 fi ;;
9625 esac
9627 rm -f core conftest.err conftest.$ac_objext \
9628 conftest$ac_exeext conftest.$ac_ext
9629 LIBS=$ac_check_soname_save_LIBS
9631 if ${ac_cv_lib_soname_Xi:+false} :; then :
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9633 $as_echo "not found" >&6; }
9635 else
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9637 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9639 cat >>confdefs.h <<_ACEOF
9640 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9641 _ACEOF
9646 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9647 case "x$with_xinput" in
9648 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9649 xno) ;;
9650 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9651 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9652 esac
9655 if test "x$ac_cv_lib_soname_Xi" != x
9656 then
9657 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9658 case "x$with_xinput2" in
9659 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9660 xno) ;;
9661 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9662 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9663 esac
9667 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9668 then
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9670 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9671 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9672 $as_echo_n "(cached) " >&6
9673 else
9674 ac_check_lib_save_LIBS=$LIBS
9675 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9682 #ifdef __cplusplus
9683 extern "C"
9684 #endif
9685 char XShmQueryExtension ();
9687 main ()
9689 return XShmQueryExtension ();
9691 return 0;
9693 _ACEOF
9694 if ac_fn_c_try_link "$LINENO"; then :
9695 ac_cv_lib_Xext_XShmQueryExtension=yes
9696 else
9697 ac_cv_lib_Xext_XShmQueryExtension=no
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_lib_save_LIBS
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9704 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9705 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9707 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9712 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9713 case "x$with_xshm" in
9714 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9715 xno) ;;
9716 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9717 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9718 esac
9721 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9722 then
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9724 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9725 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9726 $as_echo_n "(cached) " >&6
9727 else
9728 ac_check_lib_save_LIBS=$LIBS
9729 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9731 /* end confdefs.h. */
9733 /* Override any GCC internal prototype to avoid an error.
9734 Use char because int might match the return type of a GCC
9735 builtin and then its argument prototype would still apply. */
9736 #ifdef __cplusplus
9737 extern "C"
9738 #endif
9739 char XShapeQueryExtension ();
9741 main ()
9743 return XShapeQueryExtension ();
9745 return 0;
9747 _ACEOF
9748 if ac_fn_c_try_link "$LINENO"; then :
9749 ac_cv_lib_Xext_XShapeQueryExtension=yes
9750 else
9751 ac_cv_lib_Xext_XShapeQueryExtension=no
9753 rm -f core conftest.err conftest.$ac_objext \
9754 conftest$ac_exeext conftest.$ac_ext
9755 LIBS=$ac_check_lib_save_LIBS
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9758 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9759 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9761 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9766 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9767 case "x$with_xshape" in
9768 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9769 xno) ;;
9770 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9771 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9772 esac
9775 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9776 then
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9778 $as_echo_n "checking for -lXxf86vm... " >&6; }
9779 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9780 $as_echo_n "(cached) " >&6
9781 else
9782 ac_check_soname_save_LIBS=$LIBS
9783 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9787 /* Override any GCC internal prototype to avoid an error.
9788 Use char because int might match the return type of a GCC
9789 builtin and then its argument prototype would still apply. */
9790 #ifdef __cplusplus
9791 extern "C"
9792 #endif
9793 char XF86VidModeQueryExtension ();
9795 main ()
9797 return XF86VidModeQueryExtension ();
9799 return 0;
9801 _ACEOF
9802 if ac_fn_c_try_link "$LINENO"; then :
9803 case "$LIBEXT" in
9804 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9805 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'` ;;
9806 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9807 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9808 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9809 fi ;;
9810 esac
9812 rm -f core conftest.err conftest.$ac_objext \
9813 conftest$ac_exeext conftest.$ac_ext
9814 LIBS=$ac_check_soname_save_LIBS
9816 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9818 $as_echo "not found" >&6; }
9820 else
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9822 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9824 cat >>confdefs.h <<_ACEOF
9825 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9826 _ACEOF
9831 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9832 case "x$with_xxf86vm" in
9833 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9834 xno) ;;
9835 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9836 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9837 esac
9840 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9841 then
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9843 $as_echo_n "checking for -lXrender... " >&6; }
9844 if ${ac_cv_lib_soname_Xrender+:} false; then :
9845 $as_echo_n "(cached) " >&6
9846 else
9847 ac_check_soname_save_LIBS=$LIBS
9848 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9852 /* Override any GCC internal prototype to avoid an error.
9853 Use char because int might match the return type of a GCC
9854 builtin and then its argument prototype would still apply. */
9855 #ifdef __cplusplus
9856 extern "C"
9857 #endif
9858 char XRenderQueryExtension ();
9860 main ()
9862 return XRenderQueryExtension ();
9864 return 0;
9866 _ACEOF
9867 if ac_fn_c_try_link "$LINENO"; then :
9868 case "$LIBEXT" in
9869 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9870 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'` ;;
9871 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9872 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9873 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9874 fi ;;
9875 esac
9877 rm -f core conftest.err conftest.$ac_objext \
9878 conftest$ac_exeext conftest.$ac_ext
9879 LIBS=$ac_check_soname_save_LIBS
9881 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9883 $as_echo "not found" >&6; }
9885 else
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9887 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9889 cat >>confdefs.h <<_ACEOF
9890 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9891 _ACEOF
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9894 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9895 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9896 $as_echo_n "(cached) " >&6
9897 else
9898 ac_check_lib_save_LIBS=$LIBS
9899 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9903 /* Override any GCC internal prototype to avoid an error.
9904 Use char because int might match the return type of a GCC
9905 builtin and then its argument prototype would still apply. */
9906 #ifdef __cplusplus
9907 extern "C"
9908 #endif
9909 char XRenderSetPictureTransform ();
9911 main ()
9913 return XRenderSetPictureTransform ();
9915 return 0;
9917 _ACEOF
9918 if ac_fn_c_try_link "$LINENO"; then :
9919 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9920 else
9921 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9923 rm -f core conftest.err conftest.$ac_objext \
9924 conftest$ac_exeext conftest.$ac_ext
9925 LIBS=$ac_check_lib_save_LIBS
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9928 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9929 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9931 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9936 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9937 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9938 $as_echo_n "(cached) " >&6
9939 else
9940 ac_check_lib_save_LIBS=$LIBS
9941 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9948 #ifdef __cplusplus
9949 extern "C"
9950 #endif
9951 char XRenderCreateLinearGradient ();
9953 main ()
9955 return XRenderCreateLinearGradient ();
9957 return 0;
9959 _ACEOF
9960 if ac_fn_c_try_link "$LINENO"; then :
9961 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9962 else
9963 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9965 rm -f core conftest.err conftest.$ac_objext \
9966 conftest$ac_exeext conftest.$ac_ext
9967 LIBS=$ac_check_lib_save_LIBS
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9970 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9971 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9973 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9980 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9981 case "x$with_xrender" in
9982 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9983 xno) ;;
9984 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9985 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9986 esac
9989 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9990 then
9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9993 #include <X11/Xlib.h>
9994 #include <X11/extensions/Xrandr.h>
9996 main ()
9998 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10000 return 0;
10002 _ACEOF
10003 if ac_fn_c_try_compile "$LINENO"; then :
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10005 $as_echo_n "checking for -lXrandr... " >&6; }
10006 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10007 $as_echo_n "(cached) " >&6
10008 else
10009 ac_check_soname_save_LIBS=$LIBS
10010 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10014 /* Override any GCC internal prototype to avoid an error.
10015 Use char because int might match the return type of a GCC
10016 builtin and then its argument prototype would still apply. */
10017 #ifdef __cplusplus
10018 extern "C"
10019 #endif
10020 char XRRQueryExtension ();
10022 main ()
10024 return XRRQueryExtension ();
10026 return 0;
10028 _ACEOF
10029 if ac_fn_c_try_link "$LINENO"; then :
10030 case "$LIBEXT" in
10031 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10032 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'` ;;
10033 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10034 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10035 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10036 fi ;;
10037 esac
10039 rm -f core conftest.err conftest.$ac_objext \
10040 conftest$ac_exeext conftest.$ac_ext
10041 LIBS=$ac_check_soname_save_LIBS
10043 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10045 $as_echo "not found" >&6; }
10047 else
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10049 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10051 cat >>confdefs.h <<_ACEOF
10052 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10053 _ACEOF
10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10057 #include <X11/Xlib.h>
10058 #include <X11/extensions/Xrandr.h>
10060 main ()
10062 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10064 return 0;
10066 _ACEOF
10067 if ac_fn_c_try_compile "$LINENO"; then :
10069 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10077 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10078 case "x$with_xrandr" in
10079 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10080 xno) ;;
10081 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10082 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10083 esac
10086 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10087 then
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10090 #include <X11/Xlib.h>
10091 #include <X11/extensions/Xinerama.h>
10093 main ()
10095 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10097 return 0;
10099 _ACEOF
10100 if ac_fn_c_try_compile "$LINENO"; then :
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10102 $as_echo_n "checking for -lXinerama... " >&6; }
10103 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10104 $as_echo_n "(cached) " >&6
10105 else
10106 ac_check_soname_save_LIBS=$LIBS
10107 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10111 /* Override any GCC internal prototype to avoid an error.
10112 Use char because int might match the return type of a GCC
10113 builtin and then its argument prototype would still apply. */
10114 #ifdef __cplusplus
10115 extern "C"
10116 #endif
10117 char XineramaQueryScreens ();
10119 main ()
10121 return XineramaQueryScreens ();
10123 return 0;
10125 _ACEOF
10126 if ac_fn_c_try_link "$LINENO"; then :
10127 case "$LIBEXT" in
10128 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10129 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'` ;;
10130 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10131 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10132 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10133 fi ;;
10134 esac
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_soname_save_LIBS
10140 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10142 $as_echo "not found" >&6; }
10144 else
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10146 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10148 cat >>confdefs.h <<_ACEOF
10149 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10150 _ACEOF
10155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10157 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10158 case "x$with_xinerama" in
10159 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10160 xno) ;;
10161 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10162 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10163 esac
10166 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10167 then
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10169 $as_echo_n "checking for -lXcomposite... " >&6; }
10170 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10171 $as_echo_n "(cached) " >&6
10172 else
10173 ac_check_soname_save_LIBS=$LIBS
10174 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10181 #ifdef __cplusplus
10182 extern "C"
10183 #endif
10184 char XCompositeRedirectWindow ();
10186 main ()
10188 return XCompositeRedirectWindow ();
10190 return 0;
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194 case "$LIBEXT" in
10195 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10196 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'` ;;
10197 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10198 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10199 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10200 fi ;;
10201 esac
10203 rm -f core conftest.err conftest.$ac_objext \
10204 conftest$ac_exeext conftest.$ac_ext
10205 LIBS=$ac_check_soname_save_LIBS
10207 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10209 $as_echo "not found" >&6; }
10211 else
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10213 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10215 cat >>confdefs.h <<_ACEOF
10216 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10217 _ACEOF
10222 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10223 case "x$with_xcomposite" in
10224 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10225 xno) ;;
10226 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10227 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10228 esac
10231 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10232 #include <X11/Xlib.h>
10233 #endif
10235 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10237 cat >>confdefs.h <<_ACEOF
10238 #define HAVE_XICCALLBACK_CALLBACK 1
10239 _ACEOF
10243 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10244 #include <X11/Xlib.h>
10245 #endif
10247 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10249 cat >>confdefs.h <<_ACEOF
10250 #define HAVE_XEVENT_XCOOKIE 1
10251 _ACEOF
10258 opengl_msg=""
10259 if test "x$with_opengl" != "xno"
10260 then
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10262 $as_echo_n "checking for -lGL... " >&6; }
10263 if ${ac_cv_lib_soname_GL+:} false; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 ac_check_soname_save_LIBS=$LIBS
10267 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10269 /* end confdefs.h. */
10271 /* Override any GCC internal prototype to avoid an error.
10272 Use char because int might match the return type of a GCC
10273 builtin and then its argument prototype would still apply. */
10274 #ifdef __cplusplus
10275 extern "C"
10276 #endif
10277 char glXCreateContext ();
10279 main ()
10281 return glXCreateContext ();
10283 return 0;
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10287 case "$LIBEXT" in
10288 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10289 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'` ;;
10290 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10291 if ${ac_cv_lib_soname_GL:+false} :; then :
10292 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10293 fi ;;
10294 esac
10296 rm -f core conftest.err conftest.$ac_objext \
10297 conftest$ac_exeext conftest.$ac_ext
10298 LIBS=$ac_check_soname_save_LIBS
10300 if ${ac_cv_lib_soname_GL:+false} :; then :
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10302 $as_echo "not found" >&6; }
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10304 $as_echo_n "checking for -lGL... " >&6; }
10305 if ${ac_cv_lib_soname_GL+:} false; then :
10306 $as_echo_n "(cached) " >&6
10307 else
10308 ac_check_soname_save_LIBS=$LIBS
10309 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"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10316 #ifdef __cplusplus
10317 extern "C"
10318 #endif
10319 char glXCreateContext ();
10321 main ()
10323 return glXCreateContext ();
10325 return 0;
10327 _ACEOF
10328 if ac_fn_c_try_link "$LINENO"; then :
10329 case "$LIBEXT" in
10330 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10331 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'` ;;
10332 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10333 if ${ac_cv_lib_soname_GL:+false} :; then :
10334 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10335 fi ;;
10336 esac
10338 rm -f core conftest.err conftest.$ac_objext \
10339 conftest$ac_exeext conftest.$ac_ext
10340 LIBS=$ac_check_soname_save_LIBS
10342 if ${ac_cv_lib_soname_GL:+false} :; then :
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10344 $as_echo "not found" >&6; }
10345 if test -f /usr/X11R6/lib/libGL.a
10346 then
10347 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10348 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10349 else
10350 opengl_msg="No OpenGL library found on this system."
10352 else
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10354 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10356 cat >>confdefs.h <<_ACEOF
10357 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10358 _ACEOF
10360 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"
10362 else
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10364 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10366 cat >>confdefs.h <<_ACEOF
10367 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10368 _ACEOF
10370 OPENGL_LIBS="-lGL"
10372 if test "x$with_glu" != "xno"
10373 then
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10375 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10376 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10377 $as_echo_n "(cached) " >&6
10378 else
10379 ac_check_lib_save_LIBS=$LIBS
10380 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h. */
10384 /* Override any GCC internal prototype to avoid an error.
10385 Use char because int might match the return type of a GCC
10386 builtin and then its argument prototype would still apply. */
10387 #ifdef __cplusplus
10388 extern "C"
10389 #endif
10390 char gluLookAt ();
10392 main ()
10394 return gluLookAt ();
10396 return 0;
10398 _ACEOF
10399 if ac_fn_c_try_link "$LINENO"; then :
10400 ac_cv_lib_GLU_gluLookAt=yes
10401 else
10402 ac_cv_lib_GLU_gluLookAt=no
10404 rm -f core conftest.err conftest.$ac_objext \
10405 conftest$ac_exeext conftest.$ac_ext
10406 LIBS=$ac_check_lib_save_LIBS
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10409 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10410 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10414 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10415 case "x$with_glu" in
10416 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10417 xno) ;;
10418 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10419 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10420 esac
10424 if test "x$with_osmesa" != "xno"
10425 then
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10427 $as_echo_n "checking for -lOSMesa... " >&6; }
10428 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10429 $as_echo_n "(cached) " >&6
10430 else
10431 ac_check_soname_save_LIBS=$LIBS
10432 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10436 /* Override any GCC internal prototype to avoid an error.
10437 Use char because int might match the return type of a GCC
10438 builtin and then its argument prototype would still apply. */
10439 #ifdef __cplusplus
10440 extern "C"
10441 #endif
10442 char glAccum ();
10444 main ()
10446 return glAccum ();
10448 return 0;
10450 _ACEOF
10451 if ac_fn_c_try_link "$LINENO"; then :
10452 case "$LIBEXT" in
10453 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10454 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'` ;;
10455 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10456 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10457 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10458 fi ;;
10459 esac
10461 rm -f core conftest.err conftest.$ac_objext \
10462 conftest$ac_exeext conftest.$ac_ext
10463 LIBS=$ac_check_soname_save_LIBS
10465 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10467 $as_echo "not found" >&6; }
10469 else
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10471 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10473 cat >>confdefs.h <<_ACEOF
10474 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10475 _ACEOF
10479 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10480 case "x$with_osmesa" in
10481 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10482 xno) ;;
10483 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10484 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10485 esac
10489 if test -n "$opengl_msg"; then :
10490 case "x$with_opengl" in
10491 x) as_fn_append wine_warnings "|$opengl_msg
10492 OpenGL and Direct3D won't be supported." ;;
10493 xno) ;;
10494 *) as_fn_error $? "$opengl_msg
10495 OpenGL and Direct3D won't be supported.
10496 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10497 esac
10500 CPPFLAGS="$ac_save_CPPFLAGS"
10501 else
10502 X_CFLAGS=""
10503 X_LIBS=""
10504 enable_winex11_drv=${enable_winex11_drv:-no}
10506 if test "x$X_LIBS" = "x"; then :
10507 case "x$with_x" in
10508 xno) ;;
10509 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10510 without X support, which probably isn't what you want. You will need
10511 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10512 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10513 esac
10516 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10518 if test "$ac_cv_header_CL_cl_h" = "yes"
10519 then
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10521 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10522 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10523 $as_echo_n "(cached) " >&6
10524 else
10525 ac_check_lib_save_LIBS=$LIBS
10526 LIBS="-lOpenCL $LIBS"
10527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10528 /* end confdefs.h. */
10530 /* Override any GCC internal prototype to avoid an error.
10531 Use char because int might match the return type of a GCC
10532 builtin and then its argument prototype would still apply. */
10533 #ifdef __cplusplus
10534 extern "C"
10535 #endif
10536 char clGetPlatformInfo ();
10538 main ()
10540 return clGetPlatformInfo ();
10542 return 0;
10544 _ACEOF
10545 if ac_fn_c_try_link "$LINENO"; then :
10546 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10547 else
10548 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10550 rm -f core conftest.err conftest.$ac_objext \
10551 conftest$ac_exeext conftest.$ac_ext
10552 LIBS=$ac_check_lib_save_LIBS
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10555 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10556 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10557 OPENCL_LIBS="-lOpenCL"
10562 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10563 case "x$with_opencl" in
10564 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10565 xno) ;;
10566 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10567 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10568 esac
10570 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10572 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10573 then
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10575 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10576 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10577 $as_echo_n "(cached) " >&6
10578 else
10579 ac_check_lib_save_LIBS=$LIBS
10580 LIBS="-lpcap $LIBS"
10581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10582 /* end confdefs.h. */
10584 /* Override any GCC internal prototype to avoid an error.
10585 Use char because int might match the return type of a GCC
10586 builtin and then its argument prototype would still apply. */
10587 #ifdef __cplusplus
10588 extern "C"
10589 #endif
10590 char pcap_create ();
10592 main ()
10594 return pcap_create ();
10596 return 0;
10598 _ACEOF
10599 if ac_fn_c_try_link "$LINENO"; then :
10600 ac_cv_lib_pcap_pcap_create=yes
10601 else
10602 ac_cv_lib_pcap_pcap_create=no
10604 rm -f core conftest.err conftest.$ac_objext \
10605 conftest$ac_exeext conftest.$ac_ext
10606 LIBS=$ac_check_lib_save_LIBS
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10609 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10610 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10611 LIBPCAP="-lpcap"
10616 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10617 case "x$with_pcap" in
10618 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10619 xno) ;;
10620 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10621 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10622 esac
10624 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10627 if test "x$with_xml" != "xno"
10628 then
10629 if ${XML2_CFLAGS:+false} :; then :
10630 if ${PKG_CONFIG+:} false; then :
10631 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10634 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10635 if ${XML2_LIBS:+false} :; then :
10636 if ${PKG_CONFIG+:} false; then :
10637 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10640 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10641 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10642 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10643 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10644 ac_save_CPPFLAGS=$CPPFLAGS
10645 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10646 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10647 do :
10648 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10649 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10650 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10651 cat >>confdefs.h <<_ACEOF
10652 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10653 _ACEOF
10657 done
10659 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"
10660 then
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10662 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10663 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10664 $as_echo_n "(cached) " >&6
10665 else
10666 ac_check_lib_save_LIBS=$LIBS
10667 LIBS="-lxml2 $XML2_LIBS $LIBS"
10668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10674 #ifdef __cplusplus
10675 extern "C"
10676 #endif
10677 char xmlParseMemory ();
10679 main ()
10681 return xmlParseMemory ();
10683 return 0;
10685 _ACEOF
10686 if ac_fn_c_try_link "$LINENO"; then :
10687 ac_cv_lib_xml2_xmlParseMemory=yes
10688 else
10689 ac_cv_lib_xml2_xmlParseMemory=no
10691 rm -f core conftest.err conftest.$ac_objext \
10692 conftest$ac_exeext conftest.$ac_ext
10693 LIBS=$ac_check_lib_save_LIBS
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10696 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10697 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10699 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10701 else
10702 XML2_LIBS=""
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10706 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10707 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10708 $as_echo_n "(cached) " >&6
10709 else
10710 ac_check_lib_save_LIBS=$LIBS
10711 LIBS="-lxml2 $XML2_LIBS $LIBS"
10712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10718 #ifdef __cplusplus
10719 extern "C"
10720 #endif
10721 char xmlReadMemory ();
10723 main ()
10725 return xmlReadMemory ();
10727 return 0;
10729 _ACEOF
10730 if ac_fn_c_try_link "$LINENO"; then :
10731 ac_cv_lib_xml2_xmlReadMemory=yes
10732 else
10733 ac_cv_lib_xml2_xmlReadMemory=no
10735 rm -f core conftest.err conftest.$ac_objext \
10736 conftest$ac_exeext conftest.$ac_ext
10737 LIBS=$ac_check_lib_save_LIBS
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10740 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10741 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10743 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10748 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10749 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10750 $as_echo_n "(cached) " >&6
10751 else
10752 ac_check_lib_save_LIBS=$LIBS
10753 LIBS="-lxml2 $XML2_LIBS $LIBS"
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10757 /* Override any GCC internal prototype to avoid an error.
10758 Use char because int might match the return type of a GCC
10759 builtin and then its argument prototype would still apply. */
10760 #ifdef __cplusplus
10761 extern "C"
10762 #endif
10763 char xmlNewDocPI ();
10765 main ()
10767 return xmlNewDocPI ();
10769 return 0;
10771 _ACEOF
10772 if ac_fn_c_try_link "$LINENO"; then :
10773 ac_cv_lib_xml2_xmlNewDocPI=yes
10774 else
10775 ac_cv_lib_xml2_xmlNewDocPI=no
10777 rm -f core conftest.err conftest.$ac_objext \
10778 conftest$ac_exeext conftest.$ac_ext
10779 LIBS=$ac_check_lib_save_LIBS
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10782 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10783 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10785 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10790 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10791 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10792 $as_echo_n "(cached) " >&6
10793 else
10794 ac_check_lib_save_LIBS=$LIBS
10795 LIBS="-lxml2 $XML2_LIBS $LIBS"
10796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10802 #ifdef __cplusplus
10803 extern "C"
10804 #endif
10805 char xmlSchemaSetParserStructuredErrors ();
10807 main ()
10809 return xmlSchemaSetParserStructuredErrors ();
10811 return 0;
10813 _ACEOF
10814 if ac_fn_c_try_link "$LINENO"; then :
10815 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10816 else
10817 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10819 rm -f core conftest.err conftest.$ac_objext \
10820 conftest$ac_exeext conftest.$ac_ext
10821 LIBS=$ac_check_lib_save_LIBS
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10824 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10825 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10827 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10832 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10833 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10834 $as_echo_n "(cached) " >&6
10835 else
10836 ac_check_lib_save_LIBS=$LIBS
10837 LIBS="-lxml2 $XML2_LIBS $LIBS"
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10841 /* Override any GCC internal prototype to avoid an error.
10842 Use char because int might match the return type of a GCC
10843 builtin and then its argument prototype would still apply. */
10844 #ifdef __cplusplus
10845 extern "C"
10846 #endif
10847 char xmlSchemaSetValidStructuredErrors ();
10849 main ()
10851 return xmlSchemaSetValidStructuredErrors ();
10853 return 0;
10855 _ACEOF
10856 if ac_fn_c_try_link "$LINENO"; then :
10857 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10858 else
10859 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10861 rm -f core conftest.err conftest.$ac_objext \
10862 conftest$ac_exeext conftest.$ac_ext
10863 LIBS=$ac_check_lib_save_LIBS
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10866 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10867 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10869 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10874 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10875 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10876 $as_echo_n "(cached) " >&6
10877 else
10878 ac_check_lib_save_LIBS=$LIBS
10879 LIBS="-lxml2 $XML2_LIBS $LIBS"
10880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10883 /* Override any GCC internal prototype to avoid an error.
10884 Use char because int might match the return type of a GCC
10885 builtin and then its argument prototype would still apply. */
10886 #ifdef __cplusplus
10887 extern "C"
10888 #endif
10889 char xmlFirstElementChild ();
10891 main ()
10893 return xmlFirstElementChild ();
10895 return 0;
10897 _ACEOF
10898 if ac_fn_c_try_link "$LINENO"; then :
10899 ac_cv_lib_xml2_xmlFirstElementChild=yes
10900 else
10901 ac_cv_lib_xml2_xmlFirstElementChild=no
10903 rm -f core conftest.err conftest.$ac_objext \
10904 conftest$ac_exeext conftest.$ac_ext
10905 LIBS=$ac_check_lib_save_LIBS
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10908 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10909 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10911 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10915 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10917 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10919 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10923 else
10924 XML2_CFLAGS=""
10925 XML2_LIBS=""
10927 CPPFLAGS=$ac_save_CPPFLAGS
10928 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10929 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10932 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10933 case "x$with_xml" in
10934 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10935 xno) ;;
10936 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10937 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10938 esac
10941 if test "x$with_xslt" != "xno"
10942 then
10943 if ${XSLT_CFLAGS:+false} :; then :
10944 if ${PKG_CONFIG+:} false; then :
10945 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10948 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10949 if ${XSLT_LIBS:+false} :; then :
10950 if ${PKG_CONFIG+:} false; then :
10951 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10954 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10955 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10956 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10957 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10958 ac_save_CPPFLAGS=$CPPFLAGS
10959 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10960 for ac_header in libxslt/pattern.h libxslt/transform.h
10961 do :
10962 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10963 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10964 # include <libxslt/pattern.h>
10965 #endif
10967 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10968 cat >>confdefs.h <<_ACEOF
10969 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10970 _ACEOF
10974 done
10976 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10977 then
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10979 $as_echo_n "checking for -lxslt... " >&6; }
10980 if ${ac_cv_lib_soname_xslt+:} false; then :
10981 $as_echo_n "(cached) " >&6
10982 else
10983 ac_check_soname_save_LIBS=$LIBS
10984 LIBS="-lxslt $XSLT_LIBS $LIBS"
10985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10988 /* Override any GCC internal prototype to avoid an error.
10989 Use char because int might match the return type of a GCC
10990 builtin and then its argument prototype would still apply. */
10991 #ifdef __cplusplus
10992 extern "C"
10993 #endif
10994 char xsltCompilePattern ();
10996 main ()
10998 return xsltCompilePattern ();
11000 return 0;
11002 _ACEOF
11003 if ac_fn_c_try_link "$LINENO"; then :
11004 case "$LIBEXT" in
11005 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11006 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'` ;;
11007 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11008 if ${ac_cv_lib_soname_xslt:+false} :; then :
11009 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11010 fi ;;
11011 esac
11013 rm -f core conftest.err conftest.$ac_objext \
11014 conftest$ac_exeext conftest.$ac_ext
11015 LIBS=$ac_check_soname_save_LIBS
11017 if ${ac_cv_lib_soname_xslt:+false} :; then :
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11019 $as_echo "not found" >&6; }
11021 else
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11023 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11025 cat >>confdefs.h <<_ACEOF
11026 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11027 _ACEOF
11031 else
11032 XSLT_CFLAGS=""
11034 CPPFLAGS=$ac_save_CPPFLAGS
11035 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11036 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11039 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11040 case "x$with_xslt" in
11041 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11042 xno) ;;
11043 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11044 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11045 esac
11048 if test "x$with_dbus" != "xno"
11049 then
11050 if ${DBUS_CFLAGS:+false} :; then :
11051 if ${PKG_CONFIG+:} false; then :
11052 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11056 if ${DBUS_LIBS:+false} :; then :
11057 if ${PKG_CONFIG+:} false; then :
11058 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11063 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11064 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11065 ac_save_CPPFLAGS=$CPPFLAGS
11066 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11067 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11068 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11070 $as_echo_n "checking for -ldbus-1... " >&6; }
11071 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11072 $as_echo_n "(cached) " >&6
11073 else
11074 ac_check_soname_save_LIBS=$LIBS
11075 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11082 #ifdef __cplusplus
11083 extern "C"
11084 #endif
11085 char dbus_connection_close ();
11087 main ()
11089 return dbus_connection_close ();
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 case "$LIBEXT" in
11096 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11097 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'` ;;
11098 *) 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'`
11099 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11100 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11101 fi ;;
11102 esac
11104 rm -f core conftest.err conftest.$ac_objext \
11105 conftest$ac_exeext conftest.$ac_ext
11106 LIBS=$ac_check_soname_save_LIBS
11108 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11110 $as_echo "not found" >&6; }
11111 DBUS_CFLAGS=""
11112 else
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11114 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11116 cat >>confdefs.h <<_ACEOF
11117 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11118 _ACEOF
11122 else
11123 DBUS_CFLAGS=""
11127 CPPFLAGS=$ac_save_CPPFLAGS
11128 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11129 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11132 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11133 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11134 case "x$with_dbus" in
11135 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11136 xno) ;;
11137 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11138 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11139 esac
11142 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11143 then
11144 if ${HAL_CFLAGS:+false} :; then :
11145 if ${PKG_CONFIG+:} false; then :
11146 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11150 if ${HAL_LIBS:+false} :; then :
11151 if ${PKG_CONFIG+:} false; then :
11152 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11156 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11157 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11158 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11159 ac_save_CPPFLAGS=$CPPFLAGS
11160 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11161 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11162 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11164 $as_echo_n "checking for -lhal... " >&6; }
11165 if ${ac_cv_lib_soname_hal+:} false; then :
11166 $as_echo_n "(cached) " >&6
11167 else
11168 ac_check_soname_save_LIBS=$LIBS
11169 LIBS="-lhal $HAL_LIBS $LIBS"
11170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11171 /* end confdefs.h. */
11173 /* Override any GCC internal prototype to avoid an error.
11174 Use char because int might match the return type of a GCC
11175 builtin and then its argument prototype would still apply. */
11176 #ifdef __cplusplus
11177 extern "C"
11178 #endif
11179 char libhal_ctx_new ();
11181 main ()
11183 return libhal_ctx_new ();
11185 return 0;
11187 _ACEOF
11188 if ac_fn_c_try_link "$LINENO"; then :
11189 case "$LIBEXT" in
11190 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11191 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'` ;;
11192 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11193 if ${ac_cv_lib_soname_hal:+false} :; then :
11194 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11195 fi ;;
11196 esac
11198 rm -f core conftest.err conftest.$ac_objext \
11199 conftest$ac_exeext conftest.$ac_ext
11200 LIBS=$ac_check_soname_save_LIBS
11202 if ${ac_cv_lib_soname_hal:+false} :; then :
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11204 $as_echo "not found" >&6; }
11205 HAL_CFLAGS=""
11206 else
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11208 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11210 cat >>confdefs.h <<_ACEOF
11211 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11212 _ACEOF
11216 else
11217 HAL_CFLAGS=""
11221 CPPFLAGS=$ac_save_CPPFLAGS
11222 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11223 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11225 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11226 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11227 case "x$with_hal" in
11228 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11229 xno) ;;
11230 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11231 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11232 esac
11236 if test "x$with_gnutls" != "xno"
11237 then
11238 if ${GNUTLS_CFLAGS:+false} :; then :
11239 if ${PKG_CONFIG+:} false; then :
11240 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11244 if ${GNUTLS_LIBS:+false} :; then :
11245 if ${PKG_CONFIG+:} false; then :
11246 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11251 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11252 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11253 ac_save_CPPFLAGS=$CPPFLAGS
11254 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11255 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11256 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11259 #include <gnutls/gnutls.h>
11260 #include <gnutls/crypto.h>
11262 main ()
11264 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11266 return 0;
11268 _ACEOF
11269 if ac_fn_c_try_compile "$LINENO"; then :
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11271 $as_echo_n "checking for -lgnutls... " >&6; }
11272 if ${ac_cv_lib_soname_gnutls+:} false; then :
11273 $as_echo_n "(cached) " >&6
11274 else
11275 ac_check_soname_save_LIBS=$LIBS
11276 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11283 #ifdef __cplusplus
11284 extern "C"
11285 #endif
11286 char gnutls_global_init ();
11288 main ()
11290 return gnutls_global_init ();
11292 return 0;
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"; then :
11296 case "$LIBEXT" in
11297 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11298 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'` ;;
11299 *) 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'`
11300 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11301 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'`
11302 fi ;;
11303 esac
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_soname_save_LIBS
11309 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11311 $as_echo "not found" >&6; }
11312 GNUTLS_CFLAGS=""
11313 else
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11315 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11317 cat >>confdefs.h <<_ACEOF
11318 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11319 _ACEOF
11324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11325 else
11326 GNUTLS_CFLAGS=""
11330 CPPFLAGS=$ac_save_CPPFLAGS
11331 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11332 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11335 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11336 case "x$with_gnutls" in
11337 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11338 xno) ;;
11339 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11340 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11341 esac
11344 CURSES_LIBS=""
11345 if test "$ac_cv_header_ncurses_h" = "yes"
11346 then
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11348 $as_echo_n "checking for -lncurses... " >&6; }
11349 if ${ac_cv_lib_soname_ncurses+:} false; then :
11350 $as_echo_n "(cached) " >&6
11351 else
11352 ac_check_soname_save_LIBS=$LIBS
11353 LIBS="-lncurses $LIBS"
11354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11357 /* Override any GCC internal prototype to avoid an error.
11358 Use char because int might match the return type of a GCC
11359 builtin and then its argument prototype would still apply. */
11360 #ifdef __cplusplus
11361 extern "C"
11362 #endif
11363 char waddch ();
11365 main ()
11367 return waddch ();
11369 return 0;
11371 _ACEOF
11372 if ac_fn_c_try_link "$LINENO"; then :
11373 case "$LIBEXT" in
11374 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11375 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'` ;;
11376 *) 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'`
11377 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11378 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11379 fi ;;
11380 esac
11382 rm -f core conftest.err conftest.$ac_objext \
11383 conftest$ac_exeext conftest.$ac_ext
11384 LIBS=$ac_check_soname_save_LIBS
11386 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11388 $as_echo "not found" >&6; }
11390 else
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11392 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11394 cat >>confdefs.h <<_ACEOF
11395 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11396 _ACEOF
11398 CURSES_LIBS="-lncurses"
11400 elif test "$ac_cv_header_curses_h" = "yes"
11401 then
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11403 $as_echo_n "checking for -lcurses... " >&6; }
11404 if ${ac_cv_lib_soname_curses+:} false; then :
11405 $as_echo_n "(cached) " >&6
11406 else
11407 ac_check_soname_save_LIBS=$LIBS
11408 LIBS="-lcurses $LIBS"
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11415 #ifdef __cplusplus
11416 extern "C"
11417 #endif
11418 char waddch ();
11420 main ()
11422 return waddch ();
11424 return 0;
11426 _ACEOF
11427 if ac_fn_c_try_link "$LINENO"; then :
11428 case "$LIBEXT" in
11429 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11430 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'` ;;
11431 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11432 if ${ac_cv_lib_soname_curses:+false} :; then :
11433 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11434 fi ;;
11435 esac
11437 rm -f core conftest.err conftest.$ac_objext \
11438 conftest$ac_exeext conftest.$ac_ext
11439 LIBS=$ac_check_soname_save_LIBS
11441 if ${ac_cv_lib_soname_curses:+false} :; then :
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11443 $as_echo "not found" >&6; }
11445 else
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11447 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11449 cat >>confdefs.h <<_ACEOF
11450 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11451 _ACEOF
11453 CURSES_LIBS="-lcurses"
11456 ac_save_LIBS="$LIBS"
11457 LIBS="$LIBS $CURSES_LIBS"
11458 for ac_func in mousemask
11459 do :
11460 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11461 if test "x$ac_cv_func_mousemask" = xyes; then :
11462 cat >>confdefs.h <<_ACEOF
11463 #define HAVE_MOUSEMASK 1
11464 _ACEOF
11467 done
11469 LIBS="$ac_save_LIBS"
11470 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11471 case "x$with_curses" in
11472 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11473 xno) ;;
11474 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11475 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11476 esac
11479 if test "x$with_sane" != "xno"
11480 then
11481 if ${SANE_CFLAGS:+false} :; then :
11482 if ${PKG_CONFIG+:} false; then :
11483 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11486 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11487 if ${SANE_LIBS:+false} :; then :
11488 if ${PKG_CONFIG+:} false; then :
11489 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11492 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11494 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11495 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11496 ac_save_CPPFLAGS=$CPPFLAGS
11497 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11498 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11499 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11501 $as_echo_n "checking for -lsane... " >&6; }
11502 if ${ac_cv_lib_soname_sane+:} false; then :
11503 $as_echo_n "(cached) " >&6
11504 else
11505 ac_check_soname_save_LIBS=$LIBS
11506 LIBS="-lsane $SANE_LIBS $LIBS"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11510 /* Override any GCC internal prototype to avoid an error.
11511 Use char because int might match the return type of a GCC
11512 builtin and then its argument prototype would still apply. */
11513 #ifdef __cplusplus
11514 extern "C"
11515 #endif
11516 char sane_init ();
11518 main ()
11520 return sane_init ();
11522 return 0;
11524 _ACEOF
11525 if ac_fn_c_try_link "$LINENO"; then :
11526 case "$LIBEXT" in
11527 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11528 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'` ;;
11529 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11530 if ${ac_cv_lib_soname_sane:+false} :; then :
11531 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11532 fi ;;
11533 esac
11535 rm -f core conftest.err conftest.$ac_objext \
11536 conftest$ac_exeext conftest.$ac_ext
11537 LIBS=$ac_check_soname_save_LIBS
11539 if ${ac_cv_lib_soname_sane:+false} :; then :
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11541 $as_echo "not found" >&6; }
11542 SANE_CFLAGS=""
11543 else
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11545 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11547 cat >>confdefs.h <<_ACEOF
11548 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11549 _ACEOF
11553 else
11554 SANE_CFLAGS=""
11558 CPPFLAGS=$ac_save_CPPFLAGS
11559 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11560 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11563 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11564 case "x$with_sane" in
11565 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11566 xno) ;;
11567 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11568 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11569 esac
11572 if test "x$with_v4l" != "xno"
11573 then
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11575 $as_echo_n "checking for -lv4l1... " >&6; }
11576 if ${ac_cv_lib_soname_v4l1+:} false; then :
11577 $as_echo_n "(cached) " >&6
11578 else
11579 ac_check_soname_save_LIBS=$LIBS
11580 LIBS="-lv4l1 $LIBS"
11581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11587 #ifdef __cplusplus
11588 extern "C"
11589 #endif
11590 char v4l1_open ();
11592 main ()
11594 return v4l1_open ();
11596 return 0;
11598 _ACEOF
11599 if ac_fn_c_try_link "$LINENO"; then :
11600 case "$LIBEXT" in
11601 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11602 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'` ;;
11603 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11604 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11605 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11606 fi ;;
11607 esac
11609 rm -f core conftest.err conftest.$ac_objext \
11610 conftest$ac_exeext conftest.$ac_ext
11611 LIBS=$ac_check_soname_save_LIBS
11613 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11615 $as_echo "not found" >&6; }
11617 else
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11619 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11621 cat >>confdefs.h <<_ACEOF
11622 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11623 _ACEOF
11628 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11629 case "x$with_v4l" in
11630 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11631 xno) ;;
11632 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11633 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11634 esac
11637 if test "x$with_gphoto" != "xno"
11638 then
11639 if ${GPHOTO2_CFLAGS:+false} :; then :
11640 if ${PKG_CONFIG+:} false; then :
11641 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11644 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11645 if ${GPHOTO2_LIBS:+false} :; then :
11646 if ${PKG_CONFIG+:} false; then :
11647 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11650 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11651 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11652 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11653 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11654 ac_save_CPPFLAGS=$CPPFLAGS
11655 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11656 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11657 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11659 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11660 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11661 $as_echo_n "(cached) " >&6
11662 else
11663 ac_check_lib_save_LIBS=$LIBS
11664 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11666 /* end confdefs.h. */
11668 /* Override any GCC internal prototype to avoid an error.
11669 Use char because int might match the return type of a GCC
11670 builtin and then its argument prototype would still apply. */
11671 #ifdef __cplusplus
11672 extern "C"
11673 #endif
11674 char gp_camera_new ();
11676 main ()
11678 return gp_camera_new ();
11680 return 0;
11682 _ACEOF
11683 if ac_fn_c_try_link "$LINENO"; then :
11684 ac_cv_lib_gphoto2_gp_camera_new=yes
11685 else
11686 ac_cv_lib_gphoto2_gp_camera_new=no
11688 rm -f core conftest.err conftest.$ac_objext \
11689 conftest$ac_exeext conftest.$ac_ext
11690 LIBS=$ac_check_lib_save_LIBS
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11693 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11694 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11696 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11698 else
11699 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11702 else
11703 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11707 CPPFLAGS=$ac_save_CPPFLAGS
11708 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11709 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11711 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11712 if ${PKG_CONFIG+:} false; then :
11713 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11716 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11717 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11718 if ${PKG_CONFIG+:} false; then :
11719 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11722 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11723 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11724 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11725 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11726 ac_save_CPPFLAGS=$CPPFLAGS
11727 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11728 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11729 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11731 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11732 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11733 $as_echo_n "(cached) " >&6
11734 else
11735 ac_check_lib_save_LIBS=$LIBS
11736 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11743 #ifdef __cplusplus
11744 extern "C"
11745 #endif
11746 char gp_port_info_list_new ();
11748 main ()
11750 return gp_port_info_list_new ();
11752 return 0;
11754 _ACEOF
11755 if ac_fn_c_try_link "$LINENO"; then :
11756 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11757 else
11758 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11760 rm -f core conftest.err conftest.$ac_objext \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_lib_save_LIBS
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11765 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11766 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11768 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11770 else
11771 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11774 else
11775 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11779 CPPFLAGS=$ac_save_CPPFLAGS
11780 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11781 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11784 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11785 case "x$with_gphoto" in
11786 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11787 xno) ;;
11788 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11789 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11790 esac
11792 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11793 case "x$with_gphoto" in
11794 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11795 xno) ;;
11796 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11797 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11798 esac
11802 if test "$ac_cv_header_resolv_h" = "yes"
11803 then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11805 $as_echo_n "checking for resolver library... " >&6; }
11806 if ${ac_cv_have_resolv+:} false; then :
11807 $as_echo_n "(cached) " >&6
11808 else
11809 ac_save_LIBS="$LIBS"
11810 for lib in '' -lresolv
11812 LIBS="$lib $ac_save_LIBS"
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11815 #ifdef HAVE_NETINET_IN_H
11816 #include <netinet/in.h>
11817 #endif
11818 #include <resolv.h>
11820 main ()
11822 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11824 return 0;
11826 _ACEOF
11827 if ac_fn_c_try_link "$LINENO"; then :
11828 ac_cv_have_resolv=${lib:-"none required"}
11829 else
11830 ac_cv_have_resolv="not found"
11832 rm -f core conftest.err conftest.$ac_objext \
11833 conftest$ac_exeext conftest.$ac_ext
11834 test "x$ac_cv_have_resolv" = "xnot found" || break
11835 done
11836 LIBS="$ac_save_LIBS"
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11839 $as_echo "$ac_cv_have_resolv" >&6; }
11841 case "$ac_cv_have_resolv" in
11842 "not found") ;;
11843 "none required")
11845 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11848 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11850 RESOLV_LIBS=$ac_cv_have_resolv
11852 esac
11855 if test "x$with_lcms2" != "xno"
11856 then
11857 if ${LCMS2_CFLAGS:+false} :; then :
11858 if ${PKG_CONFIG+:} false; then :
11859 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11863 if ${LCMS2_LIBS:+false} :; then :
11864 if ${PKG_CONFIG+:} false; then :
11865 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11869 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11870 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11871 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11872 ac_save_CPPFLAGS=$CPPFLAGS
11873 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11874 for ac_header in lcms2.h
11875 do :
11876 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11877 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11878 cat >>confdefs.h <<_ACEOF
11879 #define HAVE_LCMS2_H 1
11880 _ACEOF
11884 done
11886 if test "$ac_cv_header_lcms2_h" = "yes"
11887 then
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11889 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11890 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11891 $as_echo_n "(cached) " >&6
11892 else
11893 ac_check_lib_save_LIBS=$LIBS
11894 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11901 #ifdef __cplusplus
11902 extern "C"
11903 #endif
11904 char cmsOpenProfileFromFile ();
11906 main ()
11908 return cmsOpenProfileFromFile ();
11910 return 0;
11912 _ACEOF
11913 if ac_fn_c_try_link "$LINENO"; then :
11914 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11915 else
11916 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11918 rm -f core conftest.err conftest.$ac_objext \
11919 conftest$ac_exeext conftest.$ac_ext
11920 LIBS=$ac_check_lib_save_LIBS
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11923 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11924 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11926 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11928 else
11929 LCMS2_LIBS=""
11932 else
11933 LCMS2_CFLAGS=""
11934 LCMS2_LIBS=""
11936 CPPFLAGS=$ac_save_CPPFLAGS
11937 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11938 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11941 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11942 case "x$with_cms" in
11943 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11944 xno) ;;
11945 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11946 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11947 esac
11950 if test "x$with_freetype" != "xno"
11951 then
11952 if ${FREETYPE_CFLAGS:+false} :; then :
11953 if ${PKG_CONFIG+:} false; then :
11954 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11957 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11958 if ${FREETYPE_LIBS:+false} :; then :
11959 if ${PKG_CONFIG+:} false; then :
11960 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11963 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11964 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11965 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11966 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11967 ac_save_CPPFLAGS=$CPPFLAGS
11968 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11969 for ac_header in ft2build.h
11970 do :
11971 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11972 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11973 cat >>confdefs.h <<_ACEOF
11974 #define HAVE_FT2BUILD_H 1
11975 _ACEOF
11979 done
11981 if test "$ac_cv_header_ft2build_h" = "yes"
11982 then
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11984 $as_echo_n "checking for -lfreetype... " >&6; }
11985 if ${ac_cv_lib_soname_freetype+:} false; then :
11986 $as_echo_n "(cached) " >&6
11987 else
11988 ac_check_soname_save_LIBS=$LIBS
11989 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11991 /* end confdefs.h. */
11993 /* Override any GCC internal prototype to avoid an error.
11994 Use char because int might match the return type of a GCC
11995 builtin and then its argument prototype would still apply. */
11996 #ifdef __cplusplus
11997 extern "C"
11998 #endif
11999 char FT_Init_FreeType ();
12001 main ()
12003 return FT_Init_FreeType ();
12005 return 0;
12007 _ACEOF
12008 if ac_fn_c_try_link "$LINENO"; then :
12009 case "$LIBEXT" in
12010 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12011 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'` ;;
12012 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12013 if ${ac_cv_lib_soname_freetype:+false} :; then :
12014 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12015 fi ;;
12016 esac
12018 rm -f core conftest.err conftest.$ac_objext \
12019 conftest$ac_exeext conftest.$ac_ext
12020 LIBS=$ac_check_soname_save_LIBS
12022 if ${ac_cv_lib_soname_freetype:+false} :; then :
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12024 $as_echo "not found" >&6; }
12025 FREETYPE_LIBS=""
12026 else
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12028 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12030 cat >>confdefs.h <<_ACEOF
12031 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12032 _ACEOF
12035 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12037 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12038 #include FT_MODULE_H
12040 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12042 cat >>confdefs.h <<_ACEOF
12043 #define HAVE_FT_TRUETYPEENGINETYPE 1
12044 _ACEOF
12050 else
12051 FREETYPE_CFLAGS=""
12052 FREETYPE_LIBS=""
12054 CPPFLAGS=$ac_save_CPPFLAGS
12055 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12056 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12059 if test "x$ac_cv_lib_soname_freetype" = x; then :
12060 case "x$with_freetype" in
12061 xno) ;;
12062 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12063 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12064 esac
12066 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12069 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12070 if ${ac_cv_c_ppdev+:} false; then :
12071 $as_echo_n "(cached) " >&6
12072 else
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12075 #ifdef HAVE_SYS_IOCTL_H
12076 # include <sys/ioctl.h>
12077 #endif
12078 #include <linux/ppdev.h>
12080 main ()
12082 ioctl (1,PPCLAIM,0)
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_compile "$LINENO"; then :
12088 ac_cv_c_ppdev="yes"
12089 else
12090 ac_cv_c_ppdev="no"
12092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12095 $as_echo "$ac_cv_c_ppdev" >&6; }
12096 if test "$ac_cv_c_ppdev" = "yes"
12097 then
12099 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12103 ac_wine_check_funcs_save_LIBS="$LIBS"
12104 LIBS="$LIBS $PTHREAD_LIBS"
12105 for ac_func in \
12106 pthread_attr_get_np \
12107 pthread_getattr_np \
12108 pthread_getthreadid_np \
12109 pthread_get_stackaddr_np \
12110 pthread_get_stacksize_np
12111 do :
12112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12114 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12115 cat >>confdefs.h <<_ACEOF
12116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12117 _ACEOF
12120 done
12122 LIBS="$ac_wine_check_funcs_save_LIBS"
12124 if test "$ac_cv_header_zlib_h" = "yes"
12125 then
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12127 $as_echo_n "checking for inflate in -lz... " >&6; }
12128 if ${ac_cv_lib_z_inflate+:} false; then :
12129 $as_echo_n "(cached) " >&6
12130 else
12131 ac_check_lib_save_LIBS=$LIBS
12132 LIBS="-lz $LIBS"
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12139 #ifdef __cplusplus
12140 extern "C"
12141 #endif
12142 char inflate ();
12144 main ()
12146 return inflate ();
12148 return 0;
12150 _ACEOF
12151 if ac_fn_c_try_link "$LINENO"; then :
12152 ac_cv_lib_z_inflate=yes
12153 else
12154 ac_cv_lib_z_inflate=no
12156 rm -f core conftest.err conftest.$ac_objext \
12157 conftest$ac_exeext conftest.$ac_ext
12158 LIBS=$ac_check_lib_save_LIBS
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12161 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12162 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12164 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12166 Z_LIBS="-lz"
12171 if test "x$Z_LIBS" = "x"; then :
12172 case "x$with_zlib" in
12173 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12174 xno) ;;
12175 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12176 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12177 esac
12180 if test "x$enable_tools" != xno
12181 then
12182 if test "$ac_cv_header_gettext_po_h" = "yes"
12183 then
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12185 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12186 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12187 $as_echo_n "(cached) " >&6
12188 else
12189 ac_check_lib_save_LIBS=$LIBS
12190 LIBS="-lgettextpo $LIBS"
12191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12192 /* end confdefs.h. */
12194 /* Override any GCC internal prototype to avoid an error.
12195 Use char because int might match the return type of a GCC
12196 builtin and then its argument prototype would still apply. */
12197 #ifdef __cplusplus
12198 extern "C"
12199 #endif
12200 char po_message_msgctxt ();
12202 main ()
12204 return po_message_msgctxt ();
12206 return 0;
12208 _ACEOF
12209 if ac_fn_c_try_link "$LINENO"; then :
12210 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12211 else
12212 ac_cv_lib_gettextpo_po_message_msgctxt=no
12214 rm -f core conftest.err conftest.$ac_objext \
12215 conftest$ac_exeext conftest.$ac_ext
12216 LIBS=$ac_check_lib_save_LIBS
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12219 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12220 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12222 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12224 GETTEXTPO_LIBS="-lgettextpo"
12229 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12230 case "x$with_gettextpo" in
12231 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12232 xno) ;;
12233 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12234 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12235 esac
12239 if test "x$with_gstreamer" != "xno"
12240 then
12241 if ${GSTREAMER_CFLAGS:+false} :; then :
12242 if ${PKG_CONFIG+:} false; then :
12243 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12247 if ${GSTREAMER_LIBS:+false} :; then :
12248 if ${PKG_CONFIG+:} false; then :
12249 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12254 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12255 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12256 ac_save_CPPFLAGS=$CPPFLAGS
12257 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12258 ac_gst_incl=""
12259 for i in $GSTREAMER_CFLAGS
12261 case "$i" in
12262 -I*) ac_gst_incl="$ac_gst_incl $i";;
12263 esac
12264 done
12265 GSTREAMER_CFLAGS=$ac_gst_incl
12266 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12267 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12268 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12269 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12270 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12272 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12275 #include <gst/app/gstappsink.h>
12277 main ()
12279 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12281 return 0;
12283 _ACEOF
12284 if ac_fn_c_try_compile "$LINENO"; then :
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12286 $as_echo "yes" >&6; }
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12288 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12289 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12290 $as_echo_n "(cached) " >&6
12291 else
12292 ac_check_lib_save_LIBS=$LIBS
12293 LIBS="-lgstreamer-0.10 $LIBS"
12294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12295 /* end confdefs.h. */
12297 /* Override any GCC internal prototype to avoid an error.
12298 Use char because int might match the return type of a GCC
12299 builtin and then its argument prototype would still apply. */
12300 #ifdef __cplusplus
12301 extern "C"
12302 #endif
12303 char gst_pad_get_caps_reffed ();
12305 main ()
12307 return gst_pad_get_caps_reffed ();
12309 return 0;
12311 _ACEOF
12312 if ac_fn_c_try_link "$LINENO"; then :
12313 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12314 else
12315 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12317 rm -f core conftest.err conftest.$ac_objext \
12318 conftest$ac_exeext conftest.$ac_ext
12319 LIBS=$ac_check_lib_save_LIBS
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12322 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12323 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12325 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12326 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12327 $as_echo_n "(cached) " >&6
12328 else
12329 ac_check_lib_save_LIBS=$LIBS
12330 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12332 /* end confdefs.h. */
12334 /* Override any GCC internal prototype to avoid an error.
12335 Use char because int might match the return type of a GCC
12336 builtin and then its argument prototype would still apply. */
12337 #ifdef __cplusplus
12338 extern "C"
12339 #endif
12340 char gst_app_buffer_new ();
12342 main ()
12344 return gst_app_buffer_new ();
12346 return 0;
12348 _ACEOF
12349 if ac_fn_c_try_link "$LINENO"; then :
12350 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12351 else
12352 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12354 rm -f core conftest.err conftest.$ac_objext \
12355 conftest$ac_exeext conftest.$ac_ext
12356 LIBS=$ac_check_lib_save_LIBS
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12359 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12360 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12366 else
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12368 $as_echo "no" >&6; }
12370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374 else
12375 GSTREAMER_CFLAGS=""
12379 CPPFLAGS=$ac_save_CPPFLAGS
12380 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12381 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12384 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12385 case "x$with_gstreamer" in
12386 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12387 xno) ;;
12388 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12389 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12390 esac
12392 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12394 ALSA_LIBS=""
12396 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12397 then
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12399 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12400 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12401 $as_echo_n "(cached) " >&6
12402 else
12403 ac_check_lib_save_LIBS=$LIBS
12404 LIBS="-lasound $LIBS"
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12408 /* Override any GCC internal prototype to avoid an error.
12409 Use char because int might match the return type of a GCC
12410 builtin and then its argument prototype would still apply. */
12411 #ifdef __cplusplus
12412 extern "C"
12413 #endif
12414 char snd_pcm_hw_params_get_access_mask ();
12416 main ()
12418 return snd_pcm_hw_params_get_access_mask ();
12420 return 0;
12422 _ACEOF
12423 if ac_fn_c_try_link "$LINENO"; then :
12424 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12425 else
12426 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12428 rm -f core conftest.err conftest.$ac_objext \
12429 conftest$ac_exeext conftest.$ac_ext
12430 LIBS=$ac_check_lib_save_LIBS
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12433 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12434 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h. */
12437 #ifdef HAVE_ALSA_ASOUNDLIB_H
12438 #include <alsa/asoundlib.h>
12439 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12440 #include <sys/asoundlib.h>
12441 #endif
12443 main ()
12445 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12447 return 0;
12449 _ACEOF
12450 if ac_fn_c_try_compile "$LINENO"; then :
12451 ALSA_LIBS="-lasound"
12453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12458 if test "x$with_oss" != xno
12459 then
12460 ac_save_CPPFLAGS="$CPPFLAGS"
12461 if test -f /etc/oss.conf
12462 then
12463 . /etc/oss.conf
12465 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12466 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12467 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12468 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12469 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12471 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12473 cat >>confdefs.h <<_ACEOF
12474 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12475 _ACEOF
12477 OSS4_CFLAGS="$ac_oss_incl"
12484 CPPFLAGS="$ac_save_CPPFLAGS"
12485 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12486 then
12487 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12491 if test "x$with_capi" != "xno"
12492 then
12493 if ${CAPI20_CFLAGS:+false} :; then :
12494 if ${PKG_CONFIG+:} false; then :
12495 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12499 if ${CAPI20_LIBS:+false} :; then :
12500 if ${PKG_CONFIG+:} false; then :
12501 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12506 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12507 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12508 ac_save_CPPFLAGS=$CPPFLAGS
12509 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12510 for ac_header in capi20.h linux/capi.h
12511 do :
12512 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12513 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12515 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12516 cat >>confdefs.h <<_ACEOF
12517 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12518 _ACEOF
12522 done
12524 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12525 then
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12527 $as_echo_n "checking for -lcapi20... " >&6; }
12528 if ${ac_cv_lib_soname_capi20+:} false; then :
12529 $as_echo_n "(cached) " >&6
12530 else
12531 ac_check_soname_save_LIBS=$LIBS
12532 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12539 #ifdef __cplusplus
12540 extern "C"
12541 #endif
12542 char capi20_register ();
12544 main ()
12546 return capi20_register ();
12548 return 0;
12550 _ACEOF
12551 if ac_fn_c_try_link "$LINENO"; then :
12552 case "$LIBEXT" in
12553 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12554 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'` ;;
12555 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12556 if ${ac_cv_lib_soname_capi20:+false} :; then :
12557 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12558 fi ;;
12559 esac
12561 rm -f core conftest.err conftest.$ac_objext \
12562 conftest$ac_exeext conftest.$ac_ext
12563 LIBS=$ac_check_soname_save_LIBS
12565 if ${ac_cv_lib_soname_capi20:+false} :; then :
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12567 $as_echo "not found" >&6; }
12569 else
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12571 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12573 cat >>confdefs.h <<_ACEOF
12574 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12575 _ACEOF
12580 CPPFLAGS=$ac_save_CPPFLAGS
12581 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12582 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12585 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12586 case "x$with_capi" in
12587 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12588 xno) ;;
12589 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12590 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12591 esac
12594 CUPS_CFLAGS=""
12596 if test "x$with_cups" != "xno"
12597 then
12598 ac_save_CPPFLAGS="$CPPFLAGS"
12599 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12600 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12601 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12602 for ac_header in cups/cups.h
12603 do :
12604 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12605 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12606 cat >>confdefs.h <<_ACEOF
12607 #define HAVE_CUPS_CUPS_H 1
12608 _ACEOF
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12610 $as_echo_n "checking for -lcups... " >&6; }
12611 if ${ac_cv_lib_soname_cups+:} false; then :
12612 $as_echo_n "(cached) " >&6
12613 else
12614 ac_check_soname_save_LIBS=$LIBS
12615 LIBS="-lcups $ac_cups_libs $LIBS"
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12622 #ifdef __cplusplus
12623 extern "C"
12624 #endif
12625 char cupsGetDefault ();
12627 main ()
12629 return cupsGetDefault ();
12631 return 0;
12633 _ACEOF
12634 if ac_fn_c_try_link "$LINENO"; then :
12635 case "$LIBEXT" in
12636 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12637 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'` ;;
12638 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12639 if ${ac_cv_lib_soname_cups:+false} :; then :
12640 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12641 fi ;;
12642 esac
12644 rm -f core conftest.err conftest.$ac_objext \
12645 conftest$ac_exeext conftest.$ac_ext
12646 LIBS=$ac_check_soname_save_LIBS
12648 if ${ac_cv_lib_soname_cups:+false} :; then :
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12650 $as_echo "not found" >&6; }
12652 else
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12654 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12656 cat >>confdefs.h <<_ACEOF
12657 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12658 _ACEOF
12660 CUPS_CFLAGS="$ac_cups_cflags"
12664 done
12666 CPPFLAGS="$ac_save_CPPFLAGS"
12668 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12669 case "x$with_cups" in
12670 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12671 xno) ;;
12672 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12673 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12674 esac
12677 if test "x$with_fontconfig" != "xno"
12678 then
12679 if ${FONTCONFIG_CFLAGS:+false} :; then :
12680 if ${PKG_CONFIG+:} false; then :
12681 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12684 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12685 if ${FONTCONFIG_LIBS:+false} :; then :
12686 if ${PKG_CONFIG+:} false; then :
12687 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12690 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12692 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12693 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12694 ac_save_CPPFLAGS=$CPPFLAGS
12695 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12696 for ac_header in fontconfig/fontconfig.h
12697 do :
12698 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12699 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12700 cat >>confdefs.h <<_ACEOF
12701 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12702 _ACEOF
12706 done
12708 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12709 then
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12711 $as_echo_n "checking for -lfontconfig... " >&6; }
12712 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12713 $as_echo_n "(cached) " >&6
12714 else
12715 ac_check_soname_save_LIBS=$LIBS
12716 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12720 /* Override any GCC internal prototype to avoid an error.
12721 Use char because int might match the return type of a GCC
12722 builtin and then its argument prototype would still apply. */
12723 #ifdef __cplusplus
12724 extern "C"
12725 #endif
12726 char FcInit ();
12728 main ()
12730 return FcInit ();
12732 return 0;
12734 _ACEOF
12735 if ac_fn_c_try_link "$LINENO"; then :
12736 case "$LIBEXT" in
12737 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12738 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'` ;;
12739 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12740 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12741 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12742 fi ;;
12743 esac
12745 rm -f core conftest.err conftest.$ac_objext \
12746 conftest$ac_exeext conftest.$ac_ext
12747 LIBS=$ac_check_soname_save_LIBS
12749 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12751 $as_echo "not found" >&6; }
12752 FONTCONFIG_CFLAGS=""
12753 else
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12755 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12757 cat >>confdefs.h <<_ACEOF
12758 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12759 _ACEOF
12763 else
12764 FONTCONFIG_CFLAGS=""
12766 CPPFLAGS=$ac_save_CPPFLAGS
12767 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12768 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12771 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12772 case "x$with_fontconfig" in
12773 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12774 xno) ;;
12775 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12776 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12777 esac
12780 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12781 then
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12783 $as_echo_n "checking for -lgsm... " >&6; }
12784 if ${ac_cv_lib_soname_gsm+:} false; then :
12785 $as_echo_n "(cached) " >&6
12786 else
12787 ac_check_soname_save_LIBS=$LIBS
12788 LIBS="-lgsm $LIBS"
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 /* Override any GCC internal prototype to avoid an error.
12793 Use char because int might match the return type of a GCC
12794 builtin and then its argument prototype would still apply. */
12795 #ifdef __cplusplus
12796 extern "C"
12797 #endif
12798 char gsm_create ();
12800 main ()
12802 return gsm_create ();
12804 return 0;
12806 _ACEOF
12807 if ac_fn_c_try_link "$LINENO"; then :
12808 case "$LIBEXT" in
12809 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12810 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'` ;;
12811 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12812 if ${ac_cv_lib_soname_gsm:+false} :; then :
12813 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12814 fi ;;
12815 esac
12817 rm -f core conftest.err conftest.$ac_objext \
12818 conftest$ac_exeext conftest.$ac_ext
12819 LIBS=$ac_check_soname_save_LIBS
12821 if ${ac_cv_lib_soname_gsm:+false} :; then :
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12823 $as_echo "not found" >&6; }
12825 else
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12827 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12829 cat >>confdefs.h <<_ACEOF
12830 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12831 _ACEOF
12836 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12837 case "x$with_gsm" in
12838 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12839 xno) ;;
12840 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12841 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12842 esac
12845 if test "x$with_jpeg" != "xno"
12846 then
12847 if ${JPEG_CFLAGS:+false} :; then :
12848 if ${PKG_CONFIG+:} false; then :
12849 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12853 if ${JPEG_LIBS:+false} :; then :
12854 if ${PKG_CONFIG+:} false; then :
12855 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12860 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12861 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12862 ac_save_CPPFLAGS=$CPPFLAGS
12863 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12864 for ac_header in jpeglib.h
12865 do :
12866 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12867 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12868 cat >>confdefs.h <<_ACEOF
12869 #define HAVE_JPEGLIB_H 1
12870 _ACEOF
12874 done
12876 if test "$ac_cv_header_jpeglib_h" = "yes"
12877 then
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12879 $as_echo_n "checking for -ljpeg... " >&6; }
12880 if ${ac_cv_lib_soname_jpeg+:} false; then :
12881 $as_echo_n "(cached) " >&6
12882 else
12883 ac_check_soname_save_LIBS=$LIBS
12884 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12886 /* end confdefs.h. */
12888 /* Override any GCC internal prototype to avoid an error.
12889 Use char because int might match the return type of a GCC
12890 builtin and then its argument prototype would still apply. */
12891 #ifdef __cplusplus
12892 extern "C"
12893 #endif
12894 char jpeg_start_decompress ();
12896 main ()
12898 return jpeg_start_decompress ();
12900 return 0;
12902 _ACEOF
12903 if ac_fn_c_try_link "$LINENO"; then :
12904 case "$LIBEXT" in
12905 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12906 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'` ;;
12907 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12908 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12909 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12910 fi ;;
12911 esac
12913 rm -f core conftest.err conftest.$ac_objext \
12914 conftest$ac_exeext conftest.$ac_ext
12915 LIBS=$ac_check_soname_save_LIBS
12917 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12919 $as_echo "not found" >&6; }
12920 JPEG_CFLAGS=""
12921 else
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12923 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12925 cat >>confdefs.h <<_ACEOF
12926 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12927 _ACEOF
12931 else
12932 JPEG_CFLAGS=""
12934 CPPFLAGS=$ac_save_CPPFLAGS
12935 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12936 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12939 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12940 case "x$with_jpeg" in
12941 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12942 xno) ;;
12943 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12944 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12945 esac
12948 if test "x$with_png" != "xno"
12949 then
12950 if ${PNG_CFLAGS:+false} :; then :
12951 if ${PKG_CONFIG+:} false; then :
12952 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12955 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12956 if ${PNG_LIBS:+false} :; then :
12957 if ${PKG_CONFIG+:} false; then :
12958 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12961 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12963 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12964 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12965 ac_save_CPPFLAGS=$CPPFLAGS
12966 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12967 for ac_header in png.h
12968 do :
12969 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12970 if test "x$ac_cv_header_png_h" = xyes; then :
12971 cat >>confdefs.h <<_ACEOF
12972 #define HAVE_PNG_H 1
12973 _ACEOF
12977 done
12979 if test "$ac_cv_header_png_h" = "yes"
12980 then
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12982 $as_echo_n "checking for -lpng... " >&6; }
12983 if ${ac_cv_lib_soname_png+:} false; then :
12984 $as_echo_n "(cached) " >&6
12985 else
12986 ac_check_soname_save_LIBS=$LIBS
12987 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12989 /* end confdefs.h. */
12991 /* Override any GCC internal prototype to avoid an error.
12992 Use char because int might match the return type of a GCC
12993 builtin and then its argument prototype would still apply. */
12994 #ifdef __cplusplus
12995 extern "C"
12996 #endif
12997 char png_create_read_struct ();
12999 main ()
13001 return png_create_read_struct ();
13003 return 0;
13005 _ACEOF
13006 if ac_fn_c_try_link "$LINENO"; then :
13007 case "$LIBEXT" in
13008 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13009 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'` ;;
13010 *) 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'`
13011 if ${ac_cv_lib_soname_png:+false} :; then :
13012 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13013 fi ;;
13014 esac
13016 rm -f core conftest.err conftest.$ac_objext \
13017 conftest$ac_exeext conftest.$ac_ext
13018 LIBS=$ac_check_soname_save_LIBS
13020 if ${ac_cv_lib_soname_png:+false} :; then :
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13022 $as_echo "not found" >&6; }
13023 PNG_CFLAGS=""
13024 else
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13026 $as_echo "$ac_cv_lib_soname_png" >&6; }
13028 cat >>confdefs.h <<_ACEOF
13029 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13030 _ACEOF
13032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13034 #include <png.h>
13036 main ()
13038 typeof(png_set_expand_gray_1_2_4_to_8) *p
13040 return 0;
13042 _ACEOF
13043 if ac_fn_c_try_compile "$LINENO"; then :
13045 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13050 else
13051 PNG_CFLAGS=""
13053 CPPFLAGS=$ac_save_CPPFLAGS
13054 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13055 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13058 if test "x$ac_cv_lib_soname_png" = "x"; then :
13059 case "x$with_png" in
13060 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13061 xno) ;;
13062 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13063 This is an error since --with-png was requested." "$LINENO" 5 ;;
13064 esac
13067 if test "x$with_tiff" != "xno"
13068 then
13069 if ${TIFF_CFLAGS:+false} :; then :
13070 if ${PKG_CONFIG+:} false; then :
13071 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13075 if ${TIFF_LIBS:+false} :; then :
13076 if ${PKG_CONFIG+:} false; then :
13077 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13082 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13083 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13084 ac_save_CPPFLAGS=$CPPFLAGS
13085 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13086 for ac_header in tiffio.h
13087 do :
13088 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13089 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13090 cat >>confdefs.h <<_ACEOF
13091 #define HAVE_TIFFIO_H 1
13092 _ACEOF
13096 done
13098 if test "$ac_cv_header_tiffio_h" = "yes"
13099 then
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13101 $as_echo_n "checking for -ltiff... " >&6; }
13102 if ${ac_cv_lib_soname_tiff+:} false; then :
13103 $as_echo_n "(cached) " >&6
13104 else
13105 ac_check_soname_save_LIBS=$LIBS
13106 LIBS="-ltiff $TIFF_LIBS $LIBS"
13107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13110 /* Override any GCC internal prototype to avoid an error.
13111 Use char because int might match the return type of a GCC
13112 builtin and then its argument prototype would still apply. */
13113 #ifdef __cplusplus
13114 extern "C"
13115 #endif
13116 char TIFFClientOpen ();
13118 main ()
13120 return TIFFClientOpen ();
13122 return 0;
13124 _ACEOF
13125 if ac_fn_c_try_link "$LINENO"; then :
13126 case "$LIBEXT" in
13127 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13128 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'` ;;
13129 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13130 if ${ac_cv_lib_soname_tiff:+false} :; then :
13131 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13132 fi ;;
13133 esac
13135 rm -f core conftest.err conftest.$ac_objext \
13136 conftest$ac_exeext conftest.$ac_ext
13137 LIBS=$ac_check_soname_save_LIBS
13139 if ${ac_cv_lib_soname_tiff:+false} :; then :
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13141 $as_echo "not found" >&6; }
13143 else
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13145 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13147 cat >>confdefs.h <<_ACEOF
13148 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13149 _ACEOF
13154 CPPFLAGS=$ac_save_CPPFLAGS
13155 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13156 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13159 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13160 case "x$with_tiff" in
13161 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13162 xno) ;;
13163 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13164 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13165 esac
13168 if test "x$with_mpg123" != "xno"
13169 then
13170 if ${MPG123_CFLAGS:+false} :; then :
13171 if ${PKG_CONFIG+:} false; then :
13172 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13176 if ${MPG123_LIBS:+false} :; then :
13177 if ${PKG_CONFIG+:} false; then :
13178 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13182 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13183 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13184 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13185 ac_save_CPPFLAGS=$CPPFLAGS
13186 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13187 for ac_header in mpg123.h
13188 do :
13189 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13190 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13191 cat >>confdefs.h <<_ACEOF
13192 #define HAVE_MPG123_H 1
13193 _ACEOF
13197 done
13199 if test "$ac_cv_header_mpg123_h" = "yes"
13200 then
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13202 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13203 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13204 $as_echo_n "(cached) " >&6
13205 else
13206 ac_check_lib_save_LIBS=$LIBS
13207 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13211 /* Override any GCC internal prototype to avoid an error.
13212 Use char because int might match the return type of a GCC
13213 builtin and then its argument prototype would still apply. */
13214 #ifdef __cplusplus
13215 extern "C"
13216 #endif
13217 char mpg123_feed ();
13219 main ()
13221 return mpg123_feed ();
13223 return 0;
13225 _ACEOF
13226 if ac_fn_c_try_link "$LINENO"; then :
13227 ac_cv_lib_mpg123_mpg123_feed=yes
13228 else
13229 ac_cv_lib_mpg123_mpg123_feed=no
13231 rm -f core conftest.err conftest.$ac_objext \
13232 conftest$ac_exeext conftest.$ac_ext
13233 LIBS=$ac_check_lib_save_LIBS
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13236 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13237 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13239 else
13240 MPG123_LIBS=""
13243 else
13244 MPG123_CFLAGS=""
13245 MPG123_LIBS=""
13247 CPPFLAGS=$ac_save_CPPFLAGS
13248 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13249 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13252 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13253 case "x$with_mpg123" in
13254 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13255 xno) ;;
13256 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13257 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13258 esac
13260 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}
13262 if test "$ac_cv_header_AL_al_h" = "yes"
13263 then
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13265 $as_echo_n "checking for -lopenal... " >&6; }
13266 if ${ac_cv_lib_soname_openal+:} false; then :
13267 $as_echo_n "(cached) " >&6
13268 else
13269 ac_check_soname_save_LIBS=$LIBS
13270 LIBS="-lopenal $LIBS"
13271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13272 /* end confdefs.h. */
13274 /* Override any GCC internal prototype to avoid an error.
13275 Use char because int might match the return type of a GCC
13276 builtin and then its argument prototype would still apply. */
13277 #ifdef __cplusplus
13278 extern "C"
13279 #endif
13280 char alGetSource3i ();
13282 main ()
13284 return alGetSource3i ();
13286 return 0;
13288 _ACEOF
13289 if ac_fn_c_try_link "$LINENO"; then :
13290 case "$LIBEXT" in
13291 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13292 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'` ;;
13293 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13294 if ${ac_cv_lib_soname_openal:+false} :; then :
13295 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13296 fi ;;
13297 esac
13299 rm -f core conftest.err conftest.$ac_objext \
13300 conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_soname_save_LIBS
13303 if ${ac_cv_lib_soname_openal:+false} :; then :
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13305 $as_echo "not found" >&6; }
13307 else
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13309 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13311 cat >>confdefs.h <<_ACEOF
13312 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13313 _ACEOF
13315 OPENAL_LIBS="-lopenal"
13317 ac_cv_lib_openal=yes
13319 cat >>confdefs.h <<_ACEOF
13320 #define HAVE_OPENAL 1
13321 _ACEOF
13325 if test "x$ac_cv_lib_openal" != xyes; then :
13326 case "x$with_openal" in
13327 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13328 xno) ;;
13329 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13330 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13331 esac
13333 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13335 if test "$ac_cv_header_kstat_h" = "yes"
13336 then
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13338 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13339 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13340 $as_echo_n "(cached) " >&6
13341 else
13342 ac_check_lib_save_LIBS=$LIBS
13343 LIBS="-lkstat $LIBS"
13344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13350 #ifdef __cplusplus
13351 extern "C"
13352 #endif
13353 char kstat_open ();
13355 main ()
13357 return kstat_open ();
13359 return 0;
13361 _ACEOF
13362 if ac_fn_c_try_link "$LINENO"; then :
13363 ac_cv_lib_kstat_kstat_open=yes
13364 else
13365 ac_cv_lib_kstat_kstat_open=no
13367 rm -f core conftest.err conftest.$ac_objext \
13368 conftest$ac_exeext conftest.$ac_ext
13369 LIBS=$ac_check_lib_save_LIBS
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13372 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13373 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13375 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13377 KSTAT_LIBS="-lkstat"
13383 if test "$ac_cv_header_libprocstat_h" = "yes"
13384 then
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13386 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13387 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13388 $as_echo_n "(cached) " >&6
13389 else
13390 ac_check_lib_save_LIBS=$LIBS
13391 LIBS="-lprocstat $LIBS"
13392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13393 /* end confdefs.h. */
13395 /* Override any GCC internal prototype to avoid an error.
13396 Use char because int might match the return type of a GCC
13397 builtin and then its argument prototype would still apply. */
13398 #ifdef __cplusplus
13399 extern "C"
13400 #endif
13401 char procstat_open_sysctl ();
13403 main ()
13405 return procstat_open_sysctl ();
13407 return 0;
13409 _ACEOF
13410 if ac_fn_c_try_link "$LINENO"; then :
13411 ac_cv_lib_procstat_procstat_open_sysctl=yes
13412 else
13413 ac_cv_lib_procstat_procstat_open_sysctl=no
13415 rm -f core conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LIBS=$ac_check_lib_save_LIBS
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13420 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13421 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13423 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13425 PROCSTAT_LIBS="-lprocstat"
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13432 $as_echo_n "checking for -lodbc... " >&6; }
13433 if ${ac_cv_lib_soname_odbc+:} false; then :
13434 $as_echo_n "(cached) " >&6
13435 else
13436 ac_check_soname_save_LIBS=$LIBS
13437 LIBS="-lodbc $LIBS"
13438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13439 /* end confdefs.h. */
13441 /* Override any GCC internal prototype to avoid an error.
13442 Use char because int might match the return type of a GCC
13443 builtin and then its argument prototype would still apply. */
13444 #ifdef __cplusplus
13445 extern "C"
13446 #endif
13447 char SQLConnect ();
13449 main ()
13451 return SQLConnect ();
13453 return 0;
13455 _ACEOF
13456 if ac_fn_c_try_link "$LINENO"; then :
13457 case "$LIBEXT" in
13458 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13459 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'` ;;
13460 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13461 if ${ac_cv_lib_soname_odbc:+false} :; then :
13462 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13463 fi ;;
13464 esac
13466 rm -f core conftest.err conftest.$ac_objext \
13467 conftest$ac_exeext conftest.$ac_ext
13468 LIBS=$ac_check_soname_save_LIBS
13470 if ${ac_cv_lib_soname_odbc:+false} :; then :
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13472 $as_echo "not found" >&6; }
13473 cat >>confdefs.h <<_ACEOF
13474 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13475 _ACEOF
13477 else
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13479 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13481 cat >>confdefs.h <<_ACEOF
13482 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13483 _ACEOF
13488 if test "x$with_netapi" != "xno"
13489 then
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13491 $as_echo_n "checking for -lnetapi... " >&6; }
13492 if ${ac_cv_lib_soname_netapi+:} false; then :
13493 $as_echo_n "(cached) " >&6
13494 else
13495 ac_check_soname_save_LIBS=$LIBS
13496 LIBS="-lnetapi $LIBS"
13497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13498 /* end confdefs.h. */
13500 /* Override any GCC internal prototype to avoid an error.
13501 Use char because int might match the return type of a GCC
13502 builtin and then its argument prototype would still apply. */
13503 #ifdef __cplusplus
13504 extern "C"
13505 #endif
13506 char libnetapi_init ();
13508 main ()
13510 return libnetapi_init ();
13512 return 0;
13514 _ACEOF
13515 if ac_fn_c_try_link "$LINENO"; then :
13516 case "$LIBEXT" in
13517 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13518 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'` ;;
13519 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13520 if ${ac_cv_lib_soname_netapi:+false} :; then :
13521 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13522 fi ;;
13523 esac
13525 rm -f core conftest.err conftest.$ac_objext \
13526 conftest$ac_exeext conftest.$ac_ext
13527 LIBS=$ac_check_soname_save_LIBS
13529 if ${ac_cv_lib_soname_netapi:+false} :; then :
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13531 $as_echo "not found" >&6; }
13532 cat >>confdefs.h <<_ACEOF
13533 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13534 _ACEOF
13536 else
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13538 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13540 cat >>confdefs.h <<_ACEOF
13541 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13542 _ACEOF
13548 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13549 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13550 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13551 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13553 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13554 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13555 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13556 then
13557 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13561 EXTRACFLAGS=""
13563 if test "x${GCC}" = "xyes"
13564 then
13565 EXTRACFLAGS="-Wall -pipe"
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13568 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13569 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13570 $as_echo_n "(cached) " >&6
13571 else
13572 if test "$cross_compiling" = yes; then :
13573 ac_cv_c_gcc_strength_bug="yes"
13574 else
13575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13577 int L[4] = {0,1,2,3};
13579 main ()
13581 static int Array[3];
13582 unsigned int B = 3;
13583 int i;
13584 for(i=0; i<B; i++) Array[i] = i - 3;
13585 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13586 L[i] = 4;
13587 return (Array[1] != -2 || L[2] != 3)
13589 return 0;
13591 _ACEOF
13592 if ac_fn_c_try_run "$LINENO"; then :
13593 ac_cv_c_gcc_strength_bug="no"
13594 else
13595 ac_cv_c_gcc_strength_bug="yes"
13597 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13598 conftest.$ac_objext conftest.beam conftest.$ac_ext
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13603 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13604 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13605 then
13606 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13610 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13611 if ${ac_cv_cflags__fno_builtin+:} false; then :
13612 $as_echo_n "(cached) " >&6
13613 else
13614 ac_wine_try_cflags_saved=$CFLAGS
13615 CFLAGS="$CFLAGS -fno-builtin"
13616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13617 /* end confdefs.h. */
13618 int main(int argc, char **argv) { return 0; }
13619 _ACEOF
13620 if ac_fn_c_try_link "$LINENO"; then :
13621 ac_cv_cflags__fno_builtin=yes
13622 else
13623 ac_cv_cflags__fno_builtin=no
13625 rm -f core conftest.err conftest.$ac_objext \
13626 conftest$ac_exeext conftest.$ac_ext
13627 CFLAGS=$ac_wine_try_cflags_saved
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13630 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13631 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13632 BUILTINFLAG="-fno-builtin"
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13636 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13637 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13638 $as_echo_n "(cached) " >&6
13639 else
13640 ac_wine_try_cflags_saved=$CFLAGS
13641 CFLAGS="$CFLAGS -fno-strict-aliasing"
13642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13643 /* end confdefs.h. */
13644 int main(int argc, char **argv) { return 0; }
13645 _ACEOF
13646 if ac_fn_c_try_link "$LINENO"; then :
13647 ac_cv_cflags__fno_strict_aliasing=yes
13648 else
13649 ac_cv_cflags__fno_strict_aliasing=no
13651 rm -f core conftest.err conftest.$ac_objext \
13652 conftest$ac_exeext conftest.$ac_ext
13653 CFLAGS=$ac_wine_try_cflags_saved
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13656 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13657 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13658 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13660 saved_CFLAGS=$CFLAGS
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13662 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13663 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13664 $as_echo_n "(cached) " >&6
13665 else
13666 ac_wine_try_cflags_saved=$CFLAGS
13667 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13669 /* end confdefs.h. */
13670 int main(int argc, char **argv) { return 0; }
13671 _ACEOF
13672 if ac_fn_c_try_link "$LINENO"; then :
13673 ac_cv_cflags__Werror_unknown_warning_option=yes
13674 else
13675 ac_cv_cflags__Werror_unknown_warning_option=no
13677 rm -f core conftest.err conftest.$ac_objext \
13678 conftest$ac_exeext conftest.$ac_ext
13679 CFLAGS=$ac_wine_try_cflags_saved
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13682 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13683 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13684 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13687 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13688 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13689 $as_echo_n "(cached) " >&6
13690 else
13691 ac_wine_try_cflags_saved=$CFLAGS
13692 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13694 /* end confdefs.h. */
13695 int main(int argc, char **argv) { return 0; }
13696 _ACEOF
13697 if ac_fn_c_try_link "$LINENO"; then :
13698 ac_cv_cflags__Wdeclaration_after_statement=yes
13699 else
13700 ac_cv_cflags__Wdeclaration_after_statement=no
13702 rm -f core conftest.err conftest.$ac_objext \
13703 conftest$ac_exeext conftest.$ac_ext
13704 CFLAGS=$ac_wine_try_cflags_saved
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13707 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13708 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13709 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13712 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13713 if ${ac_cv_cflags__Wempty_body+:} false; then :
13714 $as_echo_n "(cached) " >&6
13715 else
13716 ac_wine_try_cflags_saved=$CFLAGS
13717 CFLAGS="$CFLAGS -Wempty-body"
13718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13719 /* end confdefs.h. */
13720 int main(int argc, char **argv) { return 0; }
13721 _ACEOF
13722 if ac_fn_c_try_link "$LINENO"; then :
13723 ac_cv_cflags__Wempty_body=yes
13724 else
13725 ac_cv_cflags__Wempty_body=no
13727 rm -f core conftest.err conftest.$ac_objext \
13728 conftest$ac_exeext conftest.$ac_ext
13729 CFLAGS=$ac_wine_try_cflags_saved
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13732 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13733 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13734 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13737 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13738 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13739 $as_echo_n "(cached) " >&6
13740 else
13741 ac_wine_try_cflags_saved=$CFLAGS
13742 CFLAGS="$CFLAGS -Wignored-qualifiers"
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13745 int main(int argc, char **argv) { return 0; }
13746 _ACEOF
13747 if ac_fn_c_try_link "$LINENO"; then :
13748 ac_cv_cflags__Wignored_qualifiers=yes
13749 else
13750 ac_cv_cflags__Wignored_qualifiers=no
13752 rm -f core conftest.err conftest.$ac_objext \
13753 conftest$ac_exeext conftest.$ac_ext
13754 CFLAGS=$ac_wine_try_cflags_saved
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13757 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13758 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13759 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13762 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13763 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13764 $as_echo_n "(cached) " >&6
13765 else
13766 ac_wine_try_cflags_saved=$CFLAGS
13767 CFLAGS="$CFLAGS -Wstrict-prototypes"
13768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13769 /* end confdefs.h. */
13770 int main(int argc, char **argv) { return 0; }
13771 _ACEOF
13772 if ac_fn_c_try_link "$LINENO"; then :
13773 ac_cv_cflags__Wstrict_prototypes=yes
13774 else
13775 ac_cv_cflags__Wstrict_prototypes=no
13777 rm -f core conftest.err conftest.$ac_objext \
13778 conftest$ac_exeext conftest.$ac_ext
13779 CFLAGS=$ac_wine_try_cflags_saved
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13782 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13783 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13784 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13787 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13788 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13789 $as_echo_n "(cached) " >&6
13790 else
13791 ac_wine_try_cflags_saved=$CFLAGS
13792 CFLAGS="$CFLAGS -Wtype-limits"
13793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13795 int main(int argc, char **argv) { return 0; }
13796 _ACEOF
13797 if ac_fn_c_try_link "$LINENO"; then :
13798 ac_cv_cflags__Wtype_limits=yes
13799 else
13800 ac_cv_cflags__Wtype_limits=no
13802 rm -f core conftest.err conftest.$ac_objext \
13803 conftest$ac_exeext conftest.$ac_ext
13804 CFLAGS=$ac_wine_try_cflags_saved
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13807 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13808 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13809 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13812 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13813 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 ac_wine_try_cflags_saved=$CFLAGS
13817 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13819 /* end confdefs.h. */
13820 int main(int argc, char **argv) { return 0; }
13821 _ACEOF
13822 if ac_fn_c_try_link "$LINENO"; then :
13823 ac_cv_cflags__Wunused_but_set_parameter=yes
13824 else
13825 ac_cv_cflags__Wunused_but_set_parameter=no
13827 rm -f core conftest.err conftest.$ac_objext \
13828 conftest$ac_exeext conftest.$ac_ext
13829 CFLAGS=$ac_wine_try_cflags_saved
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13832 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13833 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13834 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13837 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13838 if ${ac_cv_cflags__Wvla+:} false; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 ac_wine_try_cflags_saved=$CFLAGS
13842 CFLAGS="$CFLAGS -Wvla"
13843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13845 int main(int argc, char **argv) { return 0; }
13846 _ACEOF
13847 if ac_fn_c_try_link "$LINENO"; then :
13848 ac_cv_cflags__Wvla=yes
13849 else
13850 ac_cv_cflags__Wvla=no
13852 rm -f core conftest.err conftest.$ac_objext \
13853 conftest$ac_exeext conftest.$ac_ext
13854 CFLAGS=$ac_wine_try_cflags_saved
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13857 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13858 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13859 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13862 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13863 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 ac_wine_try_cflags_saved=$CFLAGS
13867 CFLAGS="$CFLAGS -Wwrite-strings"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 int main(int argc, char **argv) { return 0; }
13871 _ACEOF
13872 if ac_fn_c_try_link "$LINENO"; then :
13873 ac_cv_cflags__Wwrite_strings=yes
13874 else
13875 ac_cv_cflags__Wwrite_strings=no
13877 rm -f core conftest.err conftest.$ac_objext \
13878 conftest$ac_exeext conftest.$ac_ext
13879 CFLAGS=$ac_wine_try_cflags_saved
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13882 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13883 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13884 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13888 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13889 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13890 $as_echo_n "(cached) " >&6
13891 else
13892 ac_wine_try_cflags_saved=$CFLAGS
13893 CFLAGS="$CFLAGS -Wpointer-arith"
13894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13896 int main(int argc, char **argv) { return 0; }
13897 _ACEOF
13898 if ac_fn_c_try_link "$LINENO"; then :
13899 ac_cv_cflags__Wpointer_arith=yes
13900 else
13901 ac_cv_cflags__Wpointer_arith=no
13903 rm -f core conftest.err conftest.$ac_objext \
13904 conftest$ac_exeext conftest.$ac_ext
13905 CFLAGS=$ac_wine_try_cflags_saved
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13908 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13909 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13910 saved_string_h_CFLAGS=$CFLAGS
13911 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13913 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13914 if ${ac_cv_c_string_h_warnings+:} false; then :
13915 $as_echo_n "(cached) " >&6
13916 else
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13919 #include <string.h>
13921 main ()
13925 return 0;
13927 _ACEOF
13928 if ac_fn_c_try_compile "$LINENO"; then :
13929 ac_cv_c_string_h_warnings=no
13930 else
13931 ac_cv_c_string_h_warnings=yes
13933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13936 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13937 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13938 CFLAGS=$saved_string_h_CFLAGS
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13942 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13943 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13944 $as_echo_n "(cached) " >&6
13945 else
13946 ac_wine_try_cflags_saved=$CFLAGS
13947 CFLAGS="$CFLAGS -Wlogical-op"
13948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13950 int main(int argc, char **argv) { return 0; }
13951 _ACEOF
13952 if ac_fn_c_try_link "$LINENO"; then :
13953 ac_cv_cflags__Wlogical_op=yes
13954 else
13955 ac_cv_cflags__Wlogical_op=no
13957 rm -f core conftest.err conftest.$ac_objext \
13958 conftest$ac_exeext conftest.$ac_ext
13959 CFLAGS=$ac_wine_try_cflags_saved
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13962 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13963 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13964 saved_string_h_CFLAGS=$CFLAGS
13965 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13967 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13968 if ${ac_cv_c_logicalop_noisy+:} false; then :
13969 $as_echo_n "(cached) " >&6
13970 else
13971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13973 #include <string.h>
13974 char*f(const char *h,char n) {return strchr(h,n);}
13976 main ()
13980 return 0;
13982 _ACEOF
13983 if ac_fn_c_try_compile "$LINENO"; then :
13984 ac_cv_c_logicalop_noisy=no
13985 else
13986 ac_cv_c_logicalop_noisy=yes
13988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13991 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13992 CFLAGS=$saved_string_h_CFLAGS
13993 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13996 CFLAGS=$saved_CFLAGS
13998 for ac_flag in $CFLAGS; do
13999 case $ac_flag in
14000 -g) case $host_os in
14001 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14002 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14003 if ${ac_cv_cflags__gstabsp+:} false; then :
14004 $as_echo_n "(cached) " >&6
14005 else
14006 ac_wine_try_cflags_saved=$CFLAGS
14007 CFLAGS="$CFLAGS -gstabs+"
14008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14010 int main(int argc, char **argv) { return 0; }
14011 _ACEOF
14012 if ac_fn_c_try_link "$LINENO"; then :
14013 ac_cv_cflags__gstabsp=yes
14014 else
14015 ac_cv_cflags__gstabsp=no
14017 rm -f core conftest.err conftest.$ac_objext \
14018 conftest$ac_exeext conftest.$ac_ext
14019 CFLAGS=$ac_wine_try_cflags_saved
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14022 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14023 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14024 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14025 fi ;;
14026 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14027 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14028 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14029 $as_echo_n "(cached) " >&6
14030 else
14031 ac_wine_try_cflags_saved=$CFLAGS
14032 CFLAGS="$CFLAGS -gdwarf-2"
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14035 int main(int argc, char **argv) { return 0; }
14036 _ACEOF
14037 if ac_fn_c_try_link "$LINENO"; then :
14038 ac_cv_cflags__gdwarf_2=yes
14039 else
14040 ac_cv_cflags__gdwarf_2=no
14042 rm -f core conftest.err conftest.$ac_objext \
14043 conftest$ac_exeext conftest.$ac_ext
14044 CFLAGS=$ac_wine_try_cflags_saved
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14047 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14048 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14049 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14052 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14053 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14054 $as_echo_n "(cached) " >&6
14055 else
14056 ac_wine_try_cflags_saved=$CFLAGS
14057 CFLAGS="$CFLAGS -gstrict-dwarf"
14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14060 int main(int argc, char **argv) { return 0; }
14061 _ACEOF
14062 if ac_fn_c_try_link "$LINENO"; then :
14063 ac_cv_cflags__gstrict_dwarf=yes
14064 else
14065 ac_cv_cflags__gstrict_dwarf=no
14067 rm -f core conftest.err conftest.$ac_objext \
14068 conftest$ac_exeext conftest.$ac_ext
14069 CFLAGS=$ac_wine_try_cflags_saved
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14072 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14073 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14074 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14075 fi ;;
14076 esac ;;
14077 esac
14078 done
14080 case $host_cpu in
14081 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14082 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14083 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14084 $as_echo_n "(cached) " >&6
14085 else
14086 ac_wine_try_cflags_saved=$CFLAGS
14087 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14089 /* end confdefs.h. */
14090 int main(int argc, char **argv) { return 0; }
14091 _ACEOF
14092 if ac_fn_c_try_link "$LINENO"; then :
14093 ac_cv_cflags__fno_omit_frame_pointer=yes
14094 else
14095 ac_cv_cflags__fno_omit_frame_pointer=no
14097 rm -f core conftest.err conftest.$ac_objext \
14098 conftest$ac_exeext conftest.$ac_ext
14099 CFLAGS=$ac_wine_try_cflags_saved
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14102 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14103 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14104 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14105 fi ;;
14106 esac
14108 case $host in
14109 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14110 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14111 if ${ac_cv_cflags__Wno_format+:} false; then :
14112 $as_echo_n "(cached) " >&6
14113 else
14114 ac_wine_try_cflags_saved=$CFLAGS
14115 CFLAGS="$CFLAGS -Wno-format"
14116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14117 /* end confdefs.h. */
14118 int main(int argc, char **argv) { return 0; }
14119 _ACEOF
14120 if ac_fn_c_try_link "$LINENO"; then :
14121 ac_cv_cflags__Wno_format=yes
14122 else
14123 ac_cv_cflags__Wno_format=no
14125 rm -f core conftest.err conftest.$ac_objext \
14126 conftest$ac_exeext conftest.$ac_ext
14127 CFLAGS=$ac_wine_try_cflags_saved
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14130 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14131 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14132 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14133 fi ;;
14134 esac
14136 if test "x$enable_maintainer_mode" = "xyes"
14137 then
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14139 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14140 if ${ac_cv_cflags__Werror+:} false; then :
14141 $as_echo_n "(cached) " >&6
14142 else
14143 ac_wine_try_cflags_saved=$CFLAGS
14144 CFLAGS="$CFLAGS -Werror"
14145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14147 int main(int argc, char **argv) { return 0; }
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 ac_cv_cflags__Werror=yes
14151 else
14152 ac_cv_cflags__Werror=no
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14156 CFLAGS=$ac_wine_try_cflags_saved
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14159 $as_echo "$ac_cv_cflags__Werror" >&6; }
14160 if test "x$ac_cv_cflags__Werror" = xyes; then :
14161 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14165 saved_CFLAGS="$CFLAGS"
14166 CFLAGS="$CFLAGS -Werror"
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14168 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14169 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14170 $as_echo_n "(cached) " >&6
14171 else
14172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14174 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14176 main ()
14180 return 0;
14182 _ACEOF
14183 if ac_fn_c_try_compile "$LINENO"; then :
14184 ac_cv_have_ms_hook_prologue="yes"
14185 else
14186 ac_cv_have_ms_hook_prologue="no"
14188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14191 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14192 CFLAGS="$saved_CFLAGS"
14193 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14194 then
14196 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14198 else
14199 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14206 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14207 if ${ac_cv_c_fortify_enabled+:} false; then :
14208 $as_echo_n "(cached) " >&6
14209 else
14210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14212 #include <string.h>
14214 main ()
14216 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14217 #error Fortify enabled
14218 #endif
14220 return 0;
14222 _ACEOF
14223 if ac_fn_c_try_compile "$LINENO"; then :
14224 ac_cv_c_fortify_enabled=no
14225 else
14226 ac_cv_c_fortify_enabled=yes
14228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14231 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14232 if test "$ac_cv_c_fortify_enabled" = yes
14233 then
14234 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14239 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14240 if ${ac_cv_c_extern_prefix+:} false; then :
14241 $as_echo_n "(cached) " >&6
14242 else
14243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14245 extern int ac_test;
14247 main ()
14249 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14251 return 0;
14253 _ACEOF
14254 if ac_fn_c_try_link "$LINENO"; then :
14255 ac_cv_c_extern_prefix="yes"
14256 else
14257 ac_cv_c_extern_prefix="no"
14259 rm -f core conftest.err conftest.$ac_objext \
14260 conftest$ac_exeext conftest.$ac_ext
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14263 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14265 case $host_cpu in
14266 *i[3456789]86*)
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14268 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14269 if ${ac_cv_c_stdcall_suffix+:} false; then :
14270 $as_echo_n "(cached) " >&6
14271 else
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14274 #ifndef _MSC_VER
14275 #define __stdcall __attribute__((__stdcall__))
14276 #endif
14277 int __stdcall ac_test(int i) { return i; }
14279 main ()
14281 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14283 return 0;
14285 _ACEOF
14286 if ac_fn_c_try_link "$LINENO"; then :
14287 ac_cv_c_stdcall_suffix="yes"
14288 else
14289 ac_cv_c_stdcall_suffix="no"
14291 rm -f core conftest.err conftest.$ac_objext \
14292 conftest$ac_exeext conftest.$ac_ext
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14295 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14296 *) ac_cv_c_stdcall_suffix="no" ;;
14297 esac
14300 if test "$ac_cv_c_extern_prefix" = "yes"
14301 then
14302 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14304 asm_name_prefix="_"
14305 else
14306 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14308 asm_name_prefix=""
14312 if test "$ac_cv_c_stdcall_suffix" = "yes"
14313 then
14314 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14316 else
14317 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14323 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14324 if ${ac_cv_asm_func_def+:} false; then :
14325 $as_echo_n "(cached) " >&6
14326 else
14327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14328 /* end confdefs.h. */
14331 main ()
14333 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14335 return 0;
14337 _ACEOF
14338 if ac_fn_c_try_link "$LINENO"; then :
14339 ac_cv_asm_func_def=".def"
14340 else
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14345 main ()
14347 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14349 return 0;
14351 _ACEOF
14352 if ac_fn_c_try_link "$LINENO"; then :
14353 ac_cv_asm_func_def=".type @function"
14354 else
14355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14356 /* end confdefs.h. */
14359 main ()
14361 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14363 return 0;
14365 _ACEOF
14366 if ac_fn_c_try_link "$LINENO"; then :
14367 ac_cv_asm_func_def=".type 2"
14368 else
14369 ac_cv_asm_func_def="unknown"
14371 rm -f core conftest.err conftest.$ac_objext \
14372 conftest$ac_exeext conftest.$ac_ext
14374 rm -f core conftest.err conftest.$ac_objext \
14375 conftest$ac_exeext conftest.$ac_ext
14377 rm -f core conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14381 $as_echo "$ac_cv_asm_func_def" >&6; }
14384 case "$ac_cv_asm_func_def" in
14385 ".def")
14386 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14388 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14389 ".type @function")
14390 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14392 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14393 ".type 2")
14394 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14396 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14398 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14400 asm_func_header="" ;;
14401 esac
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14404 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14405 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14406 $as_echo_n "(cached) " >&6
14407 else
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14410 asm(".text\n\t.long 0");
14412 main ()
14416 return 0;
14418 _ACEOF
14419 if ac_fn_c_try_compile "$LINENO"; then :
14420 ac_cv_c_asm_outside_funcs="yes"
14421 else
14422 ac_cv_c_asm_outside_funcs="no"
14424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14427 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14430 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14431 if ${ac_cv_c_dot_previous+:} false; then :
14432 $as_echo_n "(cached) " >&6
14433 else
14434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14435 /* end confdefs.h. */
14438 main ()
14440 asm(".text\nac_test:\t.long 0\n\t.previous");
14442 return 0;
14444 _ACEOF
14445 if ac_fn_c_try_link "$LINENO"; then :
14446 ac_cv_c_dot_previous="yes"
14447 else
14448 ac_cv_c_dot_previous="no"
14450 rm -f core conftest.err conftest.$ac_objext \
14451 conftest$ac_exeext conftest.$ac_ext
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14454 $as_echo "$ac_cv_c_dot_previous" >&6; }
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14457 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14458 if ${ac_cv_c_cfi_support+:} false; then :
14459 $as_echo_n "(cached) " >&6
14460 else
14461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14462 /* end confdefs.h. */
14463 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14465 main ()
14469 return 0;
14471 _ACEOF
14472 if ac_fn_c_try_compile "$LINENO"; then :
14473 ac_cv_c_cfi_support="yes"
14474 else
14475 ac_cv_c_cfi_support="no"
14477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14480 $as_echo "$ac_cv_c_cfi_support" >&6; }
14482 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14483 asm_func_trailer=""
14484 if test "$ac_cv_c_dot_previous" = "yes"
14485 then
14486 asm_func_trailer="\\n\\t.previous"
14488 if test "$ac_cv_c_cfi_support" = "yes"
14489 then
14490 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14491 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14493 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14495 UNWINDFLAGS=-fasynchronous-unwind-tables
14497 else
14498 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14502 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14505 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14506 then
14507 cat >>confdefs.h <<_ACEOF
14508 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14509 _ACEOF
14511 else
14512 cat >>confdefs.h <<_ACEOF
14513 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14514 _ACEOF
14518 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14521 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14525 case $build_os in
14526 cygwin*|mingw32*) TOOLSEXT=".exe"
14528 esac
14530 case $host_os in
14531 linux*)
14532 case $host_cpu in
14533 *i[3456789]86*|x86_64*)
14534 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14535 loader_programs="$loader_programs $wine_binary-preloader"
14536 as_fn_append LOADER_RULES "
14537 $wine_binary-preloader: preloader.o
14538 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14540 install install-lib:: $wine_binary-preloader
14541 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14543 uninstall::
14544 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14546 preloader_EXTRADEFS = $BUILTINFLAG
14547 " ;;
14548 esac
14550 esac
14551 as_fn_append LOADER_RULES "
14552 PROGRAMS = $loader_programs
14556 ac_save_CFLAGS="$CFLAGS"
14557 CFLAGS="$CFLAGS $BUILTINFLAG"
14558 for ac_func in \
14559 __res_get_state \
14560 __res_getservers \
14561 _finite \
14562 _isnan \
14563 _pclose \
14564 _popen \
14565 _snprintf \
14566 _spawnvp \
14567 _strdup \
14568 _stricmp \
14569 _strnicmp \
14570 _strtoi64 \
14571 _strtoui64 \
14572 _vsnprintf \
14573 asctime_r \
14574 chsize \
14575 dlopen \
14576 epoll_create \
14577 ffs \
14578 fnmatch \
14579 fork \
14580 fpclass \
14581 fstatfs \
14582 fstatvfs \
14583 ftruncate \
14584 futimens \
14585 futimes \
14586 futimesat \
14587 getattrlist \
14588 getdirentries \
14589 getopt_long_only \
14590 getpwuid \
14591 gettimeofday \
14592 getuid \
14593 if_nameindex \
14594 kqueue \
14595 lstat \
14596 memmove \
14597 mmap \
14598 pclose \
14599 pipe2 \
14600 poll \
14601 popen \
14602 port_create \
14603 prctl \
14604 pread \
14605 proc_pidinfo \
14606 pwrite \
14607 readdir \
14608 readlink \
14609 sched_yield \
14610 select \
14611 setproctitle \
14612 setrlimit \
14613 settimeofday \
14614 sigaltstack \
14615 sigprocmask \
14616 snprintf \
14617 statfs \
14618 statvfs \
14619 strcasecmp \
14620 strdup \
14621 strerror \
14622 strncasecmp \
14623 strtold \
14624 strtoll \
14625 strtoull \
14626 symlink \
14627 tcdrain \
14628 thr_kill2 \
14629 timegm \
14630 usleep \
14631 vsnprintf
14633 do :
14634 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14635 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14636 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14637 cat >>confdefs.h <<_ACEOF
14638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14639 _ACEOF
14642 done
14644 CFLAGS="$ac_save_CFLAGS"
14646 if test "$ac_cv_func_dlopen" = no
14647 then
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14649 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14650 if ${ac_cv_lib_dl_dlopen+:} false; then :
14651 $as_echo_n "(cached) " >&6
14652 else
14653 ac_check_lib_save_LIBS=$LIBS
14654 LIBS="-ldl $LIBS"
14655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14658 /* Override any GCC internal prototype to avoid an error.
14659 Use char because int might match the return type of a GCC
14660 builtin and then its argument prototype would still apply. */
14661 #ifdef __cplusplus
14662 extern "C"
14663 #endif
14664 char dlopen ();
14666 main ()
14668 return dlopen ();
14670 return 0;
14672 _ACEOF
14673 if ac_fn_c_try_link "$LINENO"; then :
14674 ac_cv_lib_dl_dlopen=yes
14675 else
14676 ac_cv_lib_dl_dlopen=no
14678 rm -f core conftest.err conftest.$ac_objext \
14679 conftest$ac_exeext conftest.$ac_ext
14680 LIBS=$ac_check_lib_save_LIBS
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14683 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14684 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14685 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14686 DL_LIBS="-ldl"
14691 ac_wine_check_funcs_save_LIBS="$LIBS"
14692 LIBS="$LIBS $DL_LIBS"
14693 for ac_func in dladdr
14694 do :
14695 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14696 if test "x$ac_cv_func_dladdr" = xyes; then :
14697 cat >>confdefs.h <<_ACEOF
14698 #define HAVE_DLADDR 1
14699 _ACEOF
14702 done
14704 LIBS="$ac_wine_check_funcs_save_LIBS"
14706 if test "$ac_cv_func_poll" = no
14707 then
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14709 $as_echo_n "checking for poll in -lpoll... " >&6; }
14710 if ${ac_cv_lib_poll_poll+:} false; then :
14711 $as_echo_n "(cached) " >&6
14712 else
14713 ac_check_lib_save_LIBS=$LIBS
14714 LIBS="-lpoll $LIBS"
14715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14718 /* Override any GCC internal prototype to avoid an error.
14719 Use char because int might match the return type of a GCC
14720 builtin and then its argument prototype would still apply. */
14721 #ifdef __cplusplus
14722 extern "C"
14723 #endif
14724 char poll ();
14726 main ()
14728 return poll ();
14730 return 0;
14732 _ACEOF
14733 if ac_fn_c_try_link "$LINENO"; then :
14734 ac_cv_lib_poll_poll=yes
14735 else
14736 ac_cv_lib_poll_poll=no
14738 rm -f core conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext conftest.$ac_ext
14740 LIBS=$ac_check_lib_save_LIBS
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14743 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14744 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14745 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14746 POLL_LIBS="-lpoll"
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14753 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14754 if ${ac_cv_search_gethostbyname+:} false; then :
14755 $as_echo_n "(cached) " >&6
14756 else
14757 ac_func_search_save_LIBS=$LIBS
14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14761 /* Override any GCC internal prototype to avoid an error.
14762 Use char because int might match the return type of a GCC
14763 builtin and then its argument prototype would still apply. */
14764 #ifdef __cplusplus
14765 extern "C"
14766 #endif
14767 char gethostbyname ();
14769 main ()
14771 return gethostbyname ();
14773 return 0;
14775 _ACEOF
14776 for ac_lib in '' nsl; do
14777 if test -z "$ac_lib"; then
14778 ac_res="none required"
14779 else
14780 ac_res=-l$ac_lib
14781 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14783 if ac_fn_c_try_link "$LINENO"; then :
14784 ac_cv_search_gethostbyname=$ac_res
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext
14788 if ${ac_cv_search_gethostbyname+:} false; then :
14789 break
14791 done
14792 if ${ac_cv_search_gethostbyname+:} false; then :
14794 else
14795 ac_cv_search_gethostbyname=no
14797 rm conftest.$ac_ext
14798 LIBS=$ac_func_search_save_LIBS
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14801 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14802 ac_res=$ac_cv_search_gethostbyname
14803 if test "$ac_res" != no; then :
14804 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14810 $as_echo_n "checking for library containing connect... " >&6; }
14811 if ${ac_cv_search_connect+:} false; then :
14812 $as_echo_n "(cached) " >&6
14813 else
14814 ac_func_search_save_LIBS=$LIBS
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14818 /* Override any GCC internal prototype to avoid an error.
14819 Use char because int might match the return type of a GCC
14820 builtin and then its argument prototype would still apply. */
14821 #ifdef __cplusplus
14822 extern "C"
14823 #endif
14824 char connect ();
14826 main ()
14828 return connect ();
14830 return 0;
14832 _ACEOF
14833 for ac_lib in '' socket; do
14834 if test -z "$ac_lib"; then
14835 ac_res="none required"
14836 else
14837 ac_res=-l$ac_lib
14838 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14840 if ac_fn_c_try_link "$LINENO"; then :
14841 ac_cv_search_connect=$ac_res
14843 rm -f core conftest.err conftest.$ac_objext \
14844 conftest$ac_exeext
14845 if ${ac_cv_search_connect+:} false; then :
14846 break
14848 done
14849 if ${ac_cv_search_connect+:} false; then :
14851 else
14852 ac_cv_search_connect=no
14854 rm conftest.$ac_ext
14855 LIBS=$ac_func_search_save_LIBS
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14858 $as_echo "$ac_cv_search_connect" >&6; }
14859 ac_res=$ac_cv_search_connect
14860 if test "$ac_res" != no; then :
14861 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14867 $as_echo_n "checking for library containing inet_aton... " >&6; }
14868 if ${ac_cv_search_inet_aton+:} false; then :
14869 $as_echo_n "(cached) " >&6
14870 else
14871 ac_func_search_save_LIBS=$LIBS
14872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14873 /* end confdefs.h. */
14875 /* Override any GCC internal prototype to avoid an error.
14876 Use char because int might match the return type of a GCC
14877 builtin and then its argument prototype would still apply. */
14878 #ifdef __cplusplus
14879 extern "C"
14880 #endif
14881 char inet_aton ();
14883 main ()
14885 return inet_aton ();
14887 return 0;
14889 _ACEOF
14890 for ac_lib in '' resolv; do
14891 if test -z "$ac_lib"; then
14892 ac_res="none required"
14893 else
14894 ac_res=-l$ac_lib
14895 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14897 if ac_fn_c_try_link "$LINENO"; then :
14898 ac_cv_search_inet_aton=$ac_res
14900 rm -f core conftest.err conftest.$ac_objext \
14901 conftest$ac_exeext
14902 if ${ac_cv_search_inet_aton+:} false; then :
14903 break
14905 done
14906 if ${ac_cv_search_inet_aton+:} false; then :
14908 else
14909 ac_cv_search_inet_aton=no
14911 rm conftest.$ac_ext
14912 LIBS=$ac_func_search_save_LIBS
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14915 $as_echo "$ac_cv_search_inet_aton" >&6; }
14916 ac_res=$ac_cv_search_inet_aton
14917 if test "$ac_res" != no; then :
14918 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14923 for ac_func in \
14924 getaddrinfo \
14925 getnameinfo \
14926 getnetbyname \
14927 getprotobyname \
14928 getprotobynumber \
14929 getservbyport \
14930 inet_addr \
14931 inet_network \
14932 inet_ntop \
14933 inet_pton \
14934 sendmsg \
14935 socketpair \
14937 do :
14938 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14939 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14940 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14941 cat >>confdefs.h <<_ACEOF
14942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14943 _ACEOF
14946 done
14949 ac_save_LIBS=$LIBS
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14951 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14952 if ${ac_cv_search_clock_gettime+:} false; then :
14953 $as_echo_n "(cached) " >&6
14954 else
14955 ac_func_search_save_LIBS=$LIBS
14956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14959 /* Override any GCC internal prototype to avoid an error.
14960 Use char because int might match the return type of a GCC
14961 builtin and then its argument prototype would still apply. */
14962 #ifdef __cplusplus
14963 extern "C"
14964 #endif
14965 char clock_gettime ();
14967 main ()
14969 return clock_gettime ();
14971 return 0;
14973 _ACEOF
14974 for ac_lib in '' rt; do
14975 if test -z "$ac_lib"; then
14976 ac_res="none required"
14977 else
14978 ac_res=-l$ac_lib
14979 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14981 if ac_fn_c_try_link "$LINENO"; then :
14982 ac_cv_search_clock_gettime=$ac_res
14984 rm -f core conftest.err conftest.$ac_objext \
14985 conftest$ac_exeext
14986 if ${ac_cv_search_clock_gettime+:} false; then :
14987 break
14989 done
14990 if ${ac_cv_search_clock_gettime+:} false; then :
14992 else
14993 ac_cv_search_clock_gettime=no
14995 rm conftest.$ac_ext
14996 LIBS=$ac_func_search_save_LIBS
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14999 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15000 ac_res=$ac_cv_search_clock_gettime
15001 if test "$ac_res" != no; then :
15002 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15004 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15006 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15010 LIBS=$ac_save_LIBS
15012 LDAP_LIBS=""
15014 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15015 then
15016 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15018 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15020 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15021 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15022 $as_echo_n "(cached) " >&6
15023 else
15024 ac_check_lib_save_LIBS=$LIBS
15025 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15029 /* Override any GCC internal prototype to avoid an error.
15030 Use char because int might match the return type of a GCC
15031 builtin and then its argument prototype would still apply. */
15032 #ifdef __cplusplus
15033 extern "C"
15034 #endif
15035 char ldap_initialize ();
15037 main ()
15039 return ldap_initialize ();
15041 return 0;
15043 _ACEOF
15044 if ac_fn_c_try_link "$LINENO"; then :
15045 ac_cv_lib_ldap_r_ldap_initialize=yes
15046 else
15047 ac_cv_lib_ldap_r_ldap_initialize=no
15049 rm -f core conftest.err conftest.$ac_objext \
15050 conftest$ac_exeext conftest.$ac_ext
15051 LIBS=$ac_check_lib_save_LIBS
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15054 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15055 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15057 $as_echo_n "checking for ber_init in -llber... " >&6; }
15058 if ${ac_cv_lib_lber_ber_init+:} false; then :
15059 $as_echo_n "(cached) " >&6
15060 else
15061 ac_check_lib_save_LIBS=$LIBS
15062 LIBS="-llber $PTHREAD_LIBS $LIBS"
15063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15066 /* Override any GCC internal prototype to avoid an error.
15067 Use char because int might match the return type of a GCC
15068 builtin and then its argument prototype would still apply. */
15069 #ifdef __cplusplus
15070 extern "C"
15071 #endif
15072 char ber_init ();
15074 main ()
15076 return ber_init ();
15078 return 0;
15080 _ACEOF
15081 if ac_fn_c_try_link "$LINENO"; then :
15082 ac_cv_lib_lber_ber_init=yes
15083 else
15084 ac_cv_lib_lber_ber_init=no
15086 rm -f core conftest.err conftest.$ac_objext \
15087 conftest$ac_exeext conftest.$ac_ext
15088 LIBS=$ac_check_lib_save_LIBS
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15091 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15092 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15094 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15096 LDAP_LIBS="-lldap_r -llber"
15103 ac_wine_check_funcs_save_LIBS="$LIBS"
15104 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15105 for ac_func in \
15106 ldap_count_references \
15107 ldap_first_reference \
15108 ldap_next_reference \
15109 ldap_parse_reference \
15110 ldap_parse_sort_control \
15111 ldap_parse_sortresponse_control \
15112 ldap_parse_vlv_control \
15113 ldap_parse_vlvresponse_control
15114 do :
15115 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15117 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15118 cat >>confdefs.h <<_ACEOF
15119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15120 _ACEOF
15123 done
15125 LIBS="$ac_wine_check_funcs_save_LIBS"
15127 if test "x$LDAP_LIBS" = "x"; then :
15128 case "x$with_ldap" in
15129 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15130 xno) ;;
15131 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15132 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15133 esac
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15137 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15138 if ${wine_cv_one_arg_mkdir+:} false; then :
15139 $as_echo_n "(cached) " >&6
15140 else
15141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h. */
15143 #include <sys/stat.h>
15145 main ()
15147 mkdir("foo");
15149 return 0;
15151 _ACEOF
15152 if ac_fn_c_try_compile "$LINENO"; then :
15153 wine_cv_one_arg_mkdir=yes
15154 else
15155 wine_cv_one_arg_mkdir=no
15157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15160 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15161 if test "$wine_cv_one_arg_mkdir" = "yes"
15162 then
15164 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15169 $as_echo_n "checking for sched_setaffinity... " >&6; }
15170 if ${wine_cv_have_sched_setaffinity+:} false; then :
15171 $as_echo_n "(cached) " >&6
15172 else
15173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15174 /* end confdefs.h. */
15175 #define _GNU_SOURCE
15176 #include <sched.h>
15178 main ()
15180 sched_setaffinity(0, 0, 0);
15182 return 0;
15184 _ACEOF
15185 if ac_fn_c_try_link "$LINENO"; then :
15186 wine_cv_have_sched_setaffinity=yes
15187 else
15188 wine_cv_have_sched_setaffinity=no
15190 rm -f core conftest.err conftest.$ac_objext \
15191 conftest$ac_exeext conftest.$ac_ext
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15194 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15195 if test "$wine_cv_have_sched_setaffinity" = "yes"
15196 then
15198 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15203 $as_echo_n "checking for fallocate... " >&6; }
15204 if ${wine_cv_have_fallocate+:} false; then :
15205 $as_echo_n "(cached) " >&6
15206 else
15207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15209 #define _GNU_SOURCE
15210 #include <fcntl.h>
15212 main ()
15214 fallocate(-1, 0, 0, 0);
15216 return 0;
15218 _ACEOF
15219 if ac_fn_c_try_link "$LINENO"; then :
15220 wine_cv_have_fallocate=yes
15221 else
15222 wine_cv_have_fallocate=no
15224 rm -f core conftest.err conftest.$ac_objext \
15225 conftest$ac_exeext conftest.$ac_ext
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15228 $as_echo "$wine_cv_have_fallocate" >&6; }
15229 if test "$wine_cv_have_fallocate" = "yes"
15230 then
15232 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15238 $as_echo_n "checking for inline... " >&6; }
15239 if ${ac_cv_c_inline+:} false; then :
15240 $as_echo_n "(cached) " >&6
15241 else
15242 ac_cv_c_inline=no
15243 for ac_kw in inline __inline__ __inline; do
15244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15246 #ifndef __cplusplus
15247 typedef int foo_t;
15248 static $ac_kw foo_t static_foo () {return 0; }
15249 $ac_kw foo_t foo () {return 0; }
15250 #endif
15252 _ACEOF
15253 if ac_fn_c_try_compile "$LINENO"; then :
15254 ac_cv_c_inline=$ac_kw
15256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15257 test "$ac_cv_c_inline" != no && break
15258 done
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15262 $as_echo "$ac_cv_c_inline" >&6; }
15264 case $ac_cv_c_inline in
15265 inline | yes) ;;
15267 case $ac_cv_c_inline in
15268 no) ac_val=;;
15269 *) ac_val=$ac_cv_c_inline;;
15270 esac
15271 cat >>confdefs.h <<_ACEOF
15272 #ifndef __cplusplus
15273 #define inline $ac_val
15274 #endif
15275 _ACEOF
15277 esac
15279 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15280 if test "x$ac_cv_type_mode_t" = xyes; then :
15282 cat >>confdefs.h <<_ACEOF
15283 #define HAVE_MODE_T 1
15284 _ACEOF
15288 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15289 if test "x$ac_cv_type_off_t" = xyes; then :
15291 cat >>confdefs.h <<_ACEOF
15292 #define HAVE_OFF_T 1
15293 _ACEOF
15297 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15298 if test "x$ac_cv_type_pid_t" = xyes; then :
15300 cat >>confdefs.h <<_ACEOF
15301 #define HAVE_PID_T 1
15302 _ACEOF
15306 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15307 if test "x$ac_cv_type_size_t" = xyes; then :
15309 cat >>confdefs.h <<_ACEOF
15310 #define HAVE_SIZE_T 1
15311 _ACEOF
15315 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15316 if test "x$ac_cv_type_ssize_t" = xyes; then :
15318 cat >>confdefs.h <<_ACEOF
15319 #define HAVE_SSIZE_T 1
15320 _ACEOF
15324 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15325 if test "x$ac_cv_type_long_long" = xyes; then :
15327 cat >>confdefs.h <<_ACEOF
15328 #define HAVE_LONG_LONG 1
15329 _ACEOF
15333 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15334 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15336 cat >>confdefs.h <<_ACEOF
15337 #define HAVE_FSBLKCNT_T 1
15338 _ACEOF
15342 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15343 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15345 cat >>confdefs.h <<_ACEOF
15346 #define HAVE_FSFILCNT_T 1
15347 _ACEOF
15352 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15353 #include <signal.h>
15355 if test "x$ac_cv_type_sigset_t" = xyes; then :
15357 cat >>confdefs.h <<_ACEOF
15358 #define HAVE_SIGSET_T 1
15359 _ACEOF
15364 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15366 if test "x$ac_cv_type_request_sense" = xyes; then :
15368 cat >>confdefs.h <<_ACEOF
15369 #define HAVE_REQUEST_SENSE 1
15370 _ACEOF
15376 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15377 #ifdef HAVE_SYS_SOCKET_H
15378 #include <sys/socket.h>
15379 #endif
15380 #ifdef HAVE_SYS_SOCKETVAR_H
15381 #include <sys/socketvar.h>
15382 #endif
15383 #ifdef HAVE_NET_ROUTE_H
15384 #include <net/route.h>
15385 #endif
15386 #ifdef HAVE_NETINET_IN_H
15387 #include <netinet/in.h>
15388 #endif
15389 #ifdef HAVE_NETINET_IN_SYSTM_H
15390 #include <netinet/in_systm.h>
15391 #endif
15392 #ifdef HAVE_NETINET_IP_H
15393 #include <netinet/ip.h>
15394 #endif
15395 #ifdef HAVE_NETINET_IN_PCB_H
15396 #include <netinet/in_pcb.h>
15397 #endif
15399 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15401 cat >>confdefs.h <<_ACEOF
15402 #define HAVE_STRUCT_XINPGEN 1
15403 _ACEOF
15409 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15410 #include <link.h>
15411 #endif
15412 #ifdef HAVE_SYS_LINK_H
15413 #include <sys/link.h>
15414 #endif
15416 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15418 cat >>confdefs.h <<_ACEOF
15419 #define HAVE_STRUCT_R_DEBUG 1
15420 _ACEOF
15424 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15425 #include <link.h>
15426 #endif
15427 #ifdef HAVE_SYS_LINK_H
15428 #include <sys/link.h>
15429 #endif
15431 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15433 cat >>confdefs.h <<_ACEOF
15434 #define HAVE_STRUCT_LINK_MAP 1
15435 _ACEOF
15441 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15442 #include <linux/input.h>
15443 #endif
15445 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15447 cat >>confdefs.h <<_ACEOF
15448 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15449 _ACEOF
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15456 $as_echo_n "checking for sigaddset... " >&6; }
15457 if ${wine_cv_have_sigaddset+:} false; then :
15458 $as_echo_n "(cached) " >&6
15459 else
15460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15461 /* end confdefs.h. */
15462 #include <signal.h>
15464 main ()
15466 sigset_t set; sigaddset(&set,SIGTERM);
15468 return 0;
15470 _ACEOF
15471 if ac_fn_c_try_link "$LINENO"; then :
15472 wine_cv_have_sigaddset=yes
15473 else
15474 wine_cv_have_sigaddset=no
15476 rm -f core conftest.err conftest.$ac_objext \
15477 conftest$ac_exeext conftest.$ac_ext
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15480 $as_echo "$wine_cv_have_sigaddset" >&6; }
15481 if test "$wine_cv_have_sigaddset" = "yes"
15482 then
15484 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15490 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15491 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15492 $as_echo_n "(cached) " >&6
15493 else
15494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495 /* end confdefs.h. */
15496 #include <netdb.h>
15498 main ()
15501 char *name=0;
15502 struct hostent he;
15503 struct hostent *result;
15504 char *buf=0;
15505 int bufsize=0;
15506 int errnr;
15507 char *addr=0;
15508 int addrlen=0;
15509 int addrtype=0;
15510 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15511 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15514 return 0;
15516 _ACEOF
15517 if ac_fn_c_try_link "$LINENO"; then :
15518 wine_cv_linux_gethostbyname_r_6=yes
15519 else
15520 wine_cv_linux_gethostbyname_r_6=no
15523 rm -f core conftest.err conftest.$ac_objext \
15524 conftest$ac_exeext conftest.$ac_ext
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15528 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15529 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15530 then
15532 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15536 if test "$ac_cv_header_linux_joystick_h" = "yes"
15537 then
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15539 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15540 if ${wine_cv_linux_joystick_22_api+:} false; then :
15541 $as_echo_n "(cached) " >&6
15542 else
15543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15544 /* end confdefs.h. */
15546 #include <sys/ioctl.h>
15547 #include <sys/types.h>
15548 #include <linux/joystick.h>
15550 struct js_event blub;
15551 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15552 #error "no 2.2 header"
15553 #endif
15556 main ()
15558 /*empty*/
15560 return 0;
15562 _ACEOF
15563 if ac_fn_c_try_compile "$LINENO"; then :
15564 wine_cv_linux_joystick_22_api=yes
15565 else
15566 wine_cv_linux_joystick_22_api=no
15568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15572 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15573 if test "$wine_cv_linux_joystick_22_api" = "yes"
15574 then
15576 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15582 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15583 #ifdef HAVE_SYS_PARAM_H
15584 # include <sys/param.h>
15585 #endif
15586 #ifdef HAVE_SYS_MOUNT_H
15587 # include <sys/mount.h>
15588 #endif
15589 #ifdef HAVE_SYS_VFS_H
15590 # include <sys/vfs.h>
15591 #endif
15592 #ifdef HAVE_SYS_STATFS_H
15593 # include <sys/statfs.h>
15594 #endif
15596 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15598 cat >>confdefs.h <<_ACEOF
15599 #define HAVE_STRUCT_STATFS_F_BFREE 1
15600 _ACEOF
15604 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15605 #ifdef HAVE_SYS_PARAM_H
15606 # include <sys/param.h>
15607 #endif
15608 #ifdef HAVE_SYS_MOUNT_H
15609 # include <sys/mount.h>
15610 #endif
15611 #ifdef HAVE_SYS_VFS_H
15612 # include <sys/vfs.h>
15613 #endif
15614 #ifdef HAVE_SYS_STATFS_H
15615 # include <sys/statfs.h>
15616 #endif
15618 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15620 cat >>confdefs.h <<_ACEOF
15621 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15622 _ACEOF
15626 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15627 #ifdef HAVE_SYS_PARAM_H
15628 # include <sys/param.h>
15629 #endif
15630 #ifdef HAVE_SYS_MOUNT_H
15631 # include <sys/mount.h>
15632 #endif
15633 #ifdef HAVE_SYS_VFS_H
15634 # include <sys/vfs.h>
15635 #endif
15636 #ifdef HAVE_SYS_STATFS_H
15637 # include <sys/statfs.h>
15638 #endif
15640 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15642 cat >>confdefs.h <<_ACEOF
15643 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15644 _ACEOF
15648 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15649 #ifdef HAVE_SYS_PARAM_H
15650 # include <sys/param.h>
15651 #endif
15652 #ifdef HAVE_SYS_MOUNT_H
15653 # include <sys/mount.h>
15654 #endif
15655 #ifdef HAVE_SYS_VFS_H
15656 # include <sys/vfs.h>
15657 #endif
15658 #ifdef HAVE_SYS_STATFS_H
15659 # include <sys/statfs.h>
15660 #endif
15662 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15664 cat >>confdefs.h <<_ACEOF
15665 #define HAVE_STRUCT_STATFS_F_FFREE 1
15666 _ACEOF
15670 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15671 #ifdef HAVE_SYS_PARAM_H
15672 # include <sys/param.h>
15673 #endif
15674 #ifdef HAVE_SYS_MOUNT_H
15675 # include <sys/mount.h>
15676 #endif
15677 #ifdef HAVE_SYS_VFS_H
15678 # include <sys/vfs.h>
15679 #endif
15680 #ifdef HAVE_SYS_STATFS_H
15681 # include <sys/statfs.h>
15682 #endif
15684 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15686 cat >>confdefs.h <<_ACEOF
15687 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15688 _ACEOF
15692 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15693 #ifdef HAVE_SYS_PARAM_H
15694 # include <sys/param.h>
15695 #endif
15696 #ifdef HAVE_SYS_MOUNT_H
15697 # include <sys/mount.h>
15698 #endif
15699 #ifdef HAVE_SYS_VFS_H
15700 # include <sys/vfs.h>
15701 #endif
15702 #ifdef HAVE_SYS_STATFS_H
15703 # include <sys/statfs.h>
15704 #endif
15706 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15708 cat >>confdefs.h <<_ACEOF
15709 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15710 _ACEOF
15716 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15717 #include <sys/statvfs.h>
15718 #endif
15720 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15722 cat >>confdefs.h <<_ACEOF
15723 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15724 _ACEOF
15730 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15731 #include <dirent.h>
15732 #endif
15734 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15736 cat >>confdefs.h <<_ACEOF
15737 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15738 _ACEOF
15744 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15745 #ifdef HAVE_SYS_SOCKET_H
15746 # include <sys/socket.h>
15747 #endif
15748 #ifdef HAVE_SYS_UN_H
15749 # include <sys/un.h>
15750 #endif
15752 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15754 cat >>confdefs.h <<_ACEOF
15755 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15756 _ACEOF
15760 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15761 #ifdef HAVE_SYS_SOCKET_H
15762 # include <sys/socket.h>
15763 #endif
15764 #ifdef HAVE_SYS_UN_H
15765 # include <sys/un.h>
15766 #endif
15768 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15770 cat >>confdefs.h <<_ACEOF
15771 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15772 _ACEOF
15776 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15777 #ifdef HAVE_SYS_SOCKET_H
15778 # include <sys/socket.h>
15779 #endif
15780 #ifdef HAVE_SYS_UN_H
15781 # include <sys/un.h>
15782 #endif
15784 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15786 cat >>confdefs.h <<_ACEOF
15787 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15788 _ACEOF
15794 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15795 #ifdef HAVE_SCSI_SG_H
15796 #include <scsi/sg.h>
15797 #endif
15799 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15801 cat >>confdefs.h <<_ACEOF
15802 #define HAVE_SCSIREQ_T_CMD 1
15803 _ACEOF
15807 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>
15808 #ifdef HAVE_SCSI_SG_H
15809 #include <scsi/sg.h>
15810 #endif
15812 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15814 cat >>confdefs.h <<_ACEOF
15815 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15816 _ACEOF
15822 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15824 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15826 cat >>confdefs.h <<_ACEOF
15827 #define HAVE_SIGINFO_T_SI_FD 1
15828 _ACEOF
15834 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15835 #ifdef HAVE_SYS_MTIO_H
15836 #include <sys/mtio.h>
15837 #endif
15839 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15841 cat >>confdefs.h <<_ACEOF
15842 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15843 _ACEOF
15847 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15848 #ifdef HAVE_SYS_MTIO_H
15849 #include <sys/mtio.h>
15850 #endif
15852 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15854 cat >>confdefs.h <<_ACEOF
15855 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15856 _ACEOF
15860 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15861 #ifdef HAVE_SYS_MTIO_H
15862 #include <sys/mtio.h>
15863 #endif
15865 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15867 cat >>confdefs.h <<_ACEOF
15868 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15869 _ACEOF
15875 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15876 #include <getopt.h>
15877 #endif
15879 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15881 cat >>confdefs.h <<_ACEOF
15882 #define HAVE_STRUCT_OPTION_NAME 1
15883 _ACEOF
15889 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15890 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15892 cat >>confdefs.h <<_ACEOF
15893 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15894 _ACEOF
15898 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15899 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15901 cat >>confdefs.h <<_ACEOF
15902 #define HAVE_STRUCT_STAT_ST_MTIM 1
15903 _ACEOF
15907 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15908 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15910 cat >>confdefs.h <<_ACEOF
15911 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15912 _ACEOF
15916 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15917 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15919 cat >>confdefs.h <<_ACEOF
15920 #define HAVE_STRUCT_STAT_ST_CTIM 1
15921 _ACEOF
15925 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15926 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15928 cat >>confdefs.h <<_ACEOF
15929 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15930 _ACEOF
15934 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15935 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15937 cat >>confdefs.h <<_ACEOF
15938 #define HAVE_STRUCT_STAT_ST_ATIM 1
15939 _ACEOF
15943 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15944 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15946 cat >>confdefs.h <<_ACEOF
15947 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15948 _ACEOF
15952 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15953 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15955 cat >>confdefs.h <<_ACEOF
15956 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15957 _ACEOF
15961 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15962 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15964 cat >>confdefs.h <<_ACEOF
15965 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15966 _ACEOF
15970 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15971 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15975 _ACEOF
15979 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15980 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15984 _ACEOF
15988 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15989 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15991 cat >>confdefs.h <<_ACEOF
15992 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15993 _ACEOF
15999 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
16000 #include <sys/types.h>
16001 #endif
16002 #ifdef HAVE_NETINET_IN_H
16003 #include <netinet/in.h>
16004 #endif
16006 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16010 _ACEOF
16016 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16017 #include <resolv.h>
16018 #endif
16020 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16022 cat >>confdefs.h <<_ACEOF
16023 #define HAVE_STRUCT___RES_STATE 1
16024 _ACEOF
16030 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
16031 #include <resolv.h>
16032 #endif
16034 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16036 cat >>confdefs.h <<_ACEOF
16037 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16038 _ACEOF
16044 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16045 #include <sys/types.h>
16046 #endif
16047 #ifdef HAVE_NETINET_IN_H
16048 # include <netinet/in.h>
16049 #endif
16050 #ifdef HAVE_ARPA_NAMESER_H
16051 # include <arpa/nameser.h>
16052 #endif
16054 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16056 cat >>confdefs.h <<_ACEOF
16057 #define HAVE_NS_MSG__MSG_PTR 1
16058 _ACEOF
16064 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16065 #include <sys/types.h>
16066 #endif
16067 #ifdef HAVE_NETINET_IP_H
16068 #include <netinet/ip.h>
16069 #endif
16070 #ifdef HAVE_NETINET_IP_ICMP_H
16071 #include <netinet/ip_icmp.h>
16072 #endif
16073 #ifdef HAVE_NETINET_ICMP_VAR_H
16074 #include <netinet/icmp_var.h>
16075 #endif
16077 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16079 cat >>confdefs.h <<_ACEOF
16080 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16081 _ACEOF
16087 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16088 #include <sys/types.h>
16089 #endif
16090 #ifdef HAVE_ALIAS_H
16091 #include <alias.h>
16092 #endif
16093 #ifdef HAVE_SYS_SOCKET_H
16094 #include <sys/socket.h>
16095 #endif
16096 #ifdef HAVE_SYS_SOCKETVAR_H
16097 #include <sys/socketvar.h>
16098 #endif
16099 #ifdef HAVE_SYS_TIMEOUT_H
16100 #include <sys/timeout.h>
16101 #endif
16102 #ifdef HAVE_NETINET_IN_H
16103 #include <netinet/in.h>
16104 #endif
16105 #ifdef HAVE_NETINET_IN_SYSTM_H
16106 #include <netinet/in_systm.h>
16107 #endif
16108 #ifdef HAVE_NETINET_IP_H
16109 #include <netinet/ip.h>
16110 #endif
16111 #ifdef HAVE_NETINET_IP_VAR_H
16112 #include <netinet/ip_var.h>
16113 #endif
16114 #ifdef HAVE_NETINET_IP_ICMP_H
16115 #include <netinet/ip_icmp.h>
16116 #endif
16117 #ifdef HAVE_NETINET_ICMP_VAR_H
16118 #include <netinet/icmp_var.h>
16119 #endif
16121 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16123 cat >>confdefs.h <<_ACEOF
16124 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16125 _ACEOF
16131 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16132 #include <sys/types.h>
16133 #endif
16134 #ifdef HAVE_SYS_SOCKETVAR_H
16135 #include <sys/socketvar.h>
16136 #endif
16137 #ifdef HAVE_NETINET_IN_H
16138 #include <netinet/in.h>
16139 #endif
16140 #ifdef HAVE_NETINET_IP_VAR_H
16141 #include <netinet/ip_var.h>
16142 #endif
16144 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16146 cat >>confdefs.h <<_ACEOF
16147 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16148 _ACEOF
16154 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
16155 #include <netinet/ip_var.h>
16156 #endif
16158 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16160 cat >>confdefs.h <<_ACEOF
16161 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16162 _ACEOF
16168 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16169 #include <sys/types.h>
16170 #endif
16171 #ifdef HAVE_SYS_SOCKETVAR_H
16172 #include <sys/socketvar.h>
16173 #endif
16174 #ifdef HAVE_NETINET_IN_H
16175 #include <netinet/in.h>
16176 #endif
16177 #ifdef HAVE_NETINET_TCP_H
16178 #include <netinet/tcp.h>
16179 #endif
16180 #ifdef HAVE_NETINET_TCP_VAR_H
16181 #include <netinet/tcp_var.h>
16182 #endif
16184 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16186 cat >>confdefs.h <<_ACEOF
16187 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16188 _ACEOF
16194 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
16195 #include <netinet/tcp_var.h>
16196 #endif
16198 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16200 cat >>confdefs.h <<_ACEOF
16201 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16202 _ACEOF
16208 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16209 #include <sys/types.h>
16210 #endif
16211 #ifdef HAVE_NETINET_IN_H
16212 #include <netinet/in.h>
16213 #endif
16214 #ifdef HAVE_NETINET_IP_VAR_H
16215 #include <netinet/ip_var.h>
16216 #endif
16217 #ifdef HAVE_NETINET_UDP_H
16218 #include <netinet/udp.h>
16219 #endif
16220 #ifdef HAVE_NETINET_UDP_VAR_H
16221 #include <netinet/udp_var.h>
16222 #endif
16224 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16226 cat >>confdefs.h <<_ACEOF
16227 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16228 _ACEOF
16234 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16235 #include <sys/types.h>
16236 #endif
16237 #ifdef HAVE_NET_IF_H
16238 # include <net/if.h>
16239 #endif
16241 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16245 _ACEOF
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16252 $as_echo_n "checking for timezone variable... " >&6; }
16253 if ${ac_cv_have_timezone+:} false; then :
16254 $as_echo_n "(cached) " >&6
16255 else
16256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16257 /* end confdefs.h. */
16258 #include <time.h>
16260 main ()
16262 timezone = 1
16264 return 0;
16266 _ACEOF
16267 if ac_fn_c_try_link "$LINENO"; then :
16268 ac_cv_have_timezone="yes"
16269 else
16270 ac_cv_have_timezone="no"
16272 rm -f core conftest.err conftest.$ac_objext \
16273 conftest$ac_exeext conftest.$ac_ext
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16276 $as_echo "$ac_cv_have_timezone" >&6; }
16277 if test "$ac_cv_have_timezone" = "yes"
16278 then
16280 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16284 $as_echo_n "checking for daylight variable... " >&6; }
16285 if ${ac_cv_have_daylight+:} false; then :
16286 $as_echo_n "(cached) " >&6
16287 else
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16290 #include <time.h>
16292 main ()
16294 daylight = 1
16296 return 0;
16298 _ACEOF
16299 if ac_fn_c_try_link "$LINENO"; then :
16300 ac_cv_have_daylight="yes"
16301 else
16302 ac_cv_have_daylight="no"
16304 rm -f core conftest.err conftest.$ac_objext \
16305 conftest$ac_exeext conftest.$ac_ext
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16308 $as_echo "$ac_cv_have_daylight" >&6; }
16309 if test "$ac_cv_have_daylight" = "yes"
16310 then
16312 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16316 ac_save_LIBS="$LIBS"
16317 LIBS="$LIBS -lm"
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16319 $as_echo_n "checking for isfinite... " >&6; }
16320 if ${ac_cv_have_isfinite+:} false; then :
16321 $as_echo_n "(cached) " >&6
16322 else
16323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16324 /* end confdefs.h. */
16325 #define _GNU_SOURCE
16326 #include <math.h>
16328 main ()
16330 float f = 0.0; return isfinite(f)
16332 return 0;
16334 _ACEOF
16335 if ac_fn_c_try_link "$LINENO"; then :
16336 ac_cv_have_isfinite="yes"
16337 else
16338 ac_cv_have_isfinite="no"
16340 rm -f core conftest.err conftest.$ac_objext \
16341 conftest$ac_exeext conftest.$ac_ext
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16344 $as_echo "$ac_cv_have_isfinite" >&6; }
16345 if test "$ac_cv_have_isfinite" = "yes"
16346 then
16348 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16353 $as_echo_n "checking for isinf... " >&6; }
16354 if ${ac_cv_have_isinf+:} false; then :
16355 $as_echo_n "(cached) " >&6
16356 else
16357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h. */
16359 #include <math.h>
16361 main ()
16363 float f = 0.0; return isinf(f)
16365 return 0;
16367 _ACEOF
16368 if ac_fn_c_try_link "$LINENO"; then :
16369 ac_cv_have_isinf="yes"
16370 else
16371 ac_cv_have_isinf="no"
16373 rm -f core conftest.err conftest.$ac_objext \
16374 conftest$ac_exeext conftest.$ac_ext
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16377 $as_echo "$ac_cv_have_isinf" >&6; }
16378 if test "$ac_cv_have_isinf" = "yes"
16379 then
16381 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16386 $as_echo_n "checking for isnan... " >&6; }
16387 if ${ac_cv_have_isnan+:} false; then :
16388 $as_echo_n "(cached) " >&6
16389 else
16390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16391 /* end confdefs.h. */
16392 #include <math.h>
16394 main ()
16396 float f = 0.0; return isnan(f)
16398 return 0;
16400 _ACEOF
16401 if ac_fn_c_try_link "$LINENO"; then :
16402 ac_cv_have_isnan="yes"
16403 else
16404 ac_cv_have_isnan="no"
16406 rm -f core conftest.err conftest.$ac_objext \
16407 conftest$ac_exeext conftest.$ac_ext
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16410 $as_echo "$ac_cv_have_isnan" >&6; }
16411 if test "$ac_cv_have_isnan" = "yes"
16412 then
16414 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16418 for ac_func in \
16419 cbrt \
16420 cbrtf \
16421 exp2 \
16422 exp2f \
16423 llrint \
16424 llrintf \
16425 llround \
16426 llroundf \
16427 log2 \
16428 log2f \
16429 lrint \
16430 lrintf \
16431 lround \
16432 lroundf \
16433 rint \
16434 rintf \
16435 round \
16436 roundf \
16437 trunc \
16438 truncf
16440 do :
16441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16442 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16443 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16444 cat >>confdefs.h <<_ACEOF
16445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16446 _ACEOF
16449 done
16451 LIBS="$ac_save_LIBS"
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16454 $as_echo_n "checking for __builtin_clz... " >&6; }
16455 if ${ac_cv_have___builtin_clz+:} false; then :
16456 $as_echo_n "(cached) " >&6
16457 else
16458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16462 main ()
16464 return __builtin_clz(1)
16466 return 0;
16468 _ACEOF
16469 if ac_fn_c_try_link "$LINENO"; then :
16470 ac_cv_have___builtin_clz="yes"
16471 else
16472 ac_cv_have___builtin_clz="no"
16474 rm -f core conftest.err conftest.$ac_objext \
16475 conftest$ac_exeext conftest.$ac_ext
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16478 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16479 if test "$ac_cv_have___builtin_clz" = "yes"
16480 then
16482 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16487 case $host_cpu in
16488 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16489 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16490 if ${ac_cv_cpp_def___i386__+:} false; then :
16491 $as_echo_n "(cached) " >&6
16492 else
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 #ifndef __i386__
16497 #endif
16498 _ACEOF
16499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16500 $EGREP "yes" >/dev/null 2>&1; then :
16501 ac_cv_cpp_def___i386__=yes
16502 else
16503 ac_cv_cpp_def___i386__=no
16505 rm -f conftest*
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16509 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16510 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16511 CFLAGS="$CFLAGS -D__i386__"
16512 LINTFLAGS="$LINTFLAGS -D__i386__"
16513 fi ;;
16514 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16515 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16516 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16517 $as_echo_n "(cached) " >&6
16518 else
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16521 #ifndef __x86_64__
16523 #endif
16524 _ACEOF
16525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16526 $EGREP "yes" >/dev/null 2>&1; then :
16527 ac_cv_cpp_def___x86_64__=yes
16528 else
16529 ac_cv_cpp_def___x86_64__=no
16531 rm -f conftest*
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16535 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16536 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16537 CFLAGS="$CFLAGS -D__x86_64__"
16538 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16539 fi ;;
16540 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16541 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16542 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16543 $as_echo_n "(cached) " >&6
16544 else
16545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h. */
16547 #ifndef __sparc64__
16549 #endif
16550 _ACEOF
16551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16552 $EGREP "yes" >/dev/null 2>&1; then :
16553 ac_cv_cpp_def___sparc64__=yes
16554 else
16555 ac_cv_cpp_def___sparc64__=no
16557 rm -f conftest*
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16561 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16562 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16563 CFLAGS="$CFLAGS -D__sparc64__"
16564 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16565 fi ;;
16566 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16567 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16568 if ${ac_cv_cpp_def___sparc__+:} false; then :
16569 $as_echo_n "(cached) " >&6
16570 else
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16573 #ifndef __sparc__
16575 #endif
16576 _ACEOF
16577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16578 $EGREP "yes" >/dev/null 2>&1; then :
16579 ac_cv_cpp_def___sparc__=yes
16580 else
16581 ac_cv_cpp_def___sparc__=no
16583 rm -f conftest*
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16587 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16588 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16589 CFLAGS="$CFLAGS -D__sparc__"
16590 LINTFLAGS="$LINTFLAGS -D__sparc__"
16591 fi ;;
16592 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16593 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16594 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16595 $as_echo_n "(cached) " >&6
16596 else
16597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16598 /* end confdefs.h. */
16599 #ifndef __powerpc64__
16601 #endif
16602 _ACEOF
16603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16604 $EGREP "yes" >/dev/null 2>&1; then :
16605 ac_cv_cpp_def___powerpc64__=yes
16606 else
16607 ac_cv_cpp_def___powerpc64__=no
16609 rm -f conftest*
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16613 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16614 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16615 CFLAGS="$CFLAGS -D__powerpc64__"
16616 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16617 fi ;;
16618 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16619 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16620 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16621 $as_echo_n "(cached) " >&6
16622 else
16623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16625 #ifndef __powerpc__
16627 #endif
16628 _ACEOF
16629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16630 $EGREP "yes" >/dev/null 2>&1; then :
16631 ac_cv_cpp_def___powerpc__=yes
16632 else
16633 ac_cv_cpp_def___powerpc__=no
16635 rm -f conftest*
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16639 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16640 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16641 CFLAGS="$CFLAGS -D__powerpc__"
16642 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16643 fi ;;
16644 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16645 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16646 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16647 $as_echo_n "(cached) " >&6
16648 else
16649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16651 #ifndef __aarch64__
16653 #endif
16654 _ACEOF
16655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16656 $EGREP "yes" >/dev/null 2>&1; then :
16657 ac_cv_cpp_def___aarch64__=yes
16658 else
16659 ac_cv_cpp_def___aarch64__=no
16661 rm -f conftest*
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16665 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16666 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16667 CFLAGS="$CFLAGS -D__aarch64__"
16668 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16669 fi ;;
16670 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16671 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16672 if ${ac_cv_cpp_def___arm__+:} false; then :
16673 $as_echo_n "(cached) " >&6
16674 else
16675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16676 /* end confdefs.h. */
16677 #ifndef __arm__
16679 #endif
16680 _ACEOF
16681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16682 $EGREP "yes" >/dev/null 2>&1; then :
16683 ac_cv_cpp_def___arm__=yes
16684 else
16685 ac_cv_cpp_def___arm__=no
16687 rm -f conftest*
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16691 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16692 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16693 CFLAGS="$CFLAGS -D__arm__"
16694 LINTFLAGS="$LINTFLAGS -D__arm__"
16695 fi ;;
16696 esac
16698 case $host_vendor in
16699 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16700 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16701 if ${ac_cv_cpp_def___sun__+:} false; then :
16702 $as_echo_n "(cached) " >&6
16703 else
16704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16706 #ifndef __sun__
16708 #endif
16709 _ACEOF
16710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16711 $EGREP "yes" >/dev/null 2>&1; then :
16712 ac_cv_cpp_def___sun__=yes
16713 else
16714 ac_cv_cpp_def___sun__=no
16716 rm -f conftest*
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16720 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16721 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16722 CFLAGS="$CFLAGS -D__sun__"
16723 LINTFLAGS="$LINTFLAGS -D__sun__"
16724 fi ;;
16725 esac
16731 ac_config_commands="$ac_config_commands include/stamp-h"
16733 $as_echo_n "creating Makefile rules..." >&6
16735 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16736 SOCKET_LIBS = $SOCKET_LIBS
16737 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16738 IOKIT_LIBS = $IOKIT_LIBS
16739 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16740 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16741 CORESERVICES_LIBS = $CORESERVICES_LIBS
16742 APPKIT_LIBS = $APPKIT_LIBS
16743 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16744 SECURITY_LIBS = $SECURITY_LIBS
16745 COREAUDIO_LIBS = $COREAUDIO_LIBS
16746 OPENAL_LIBS = $OPENAL_LIBS
16747 OPENCL_LIBS = $OPENCL_LIBS
16748 QUICKTIME_LIBS = $QUICKTIME_LIBS
16749 CARBON_LIBS = $CARBON_LIBS
16750 PTHREAD_LIBS = $PTHREAD_LIBS
16751 X_CFLAGS = $X_CFLAGS
16752 X_PRE_LIBS = $X_PRE_LIBS
16753 X_LIBS = $X_LIBS
16754 X_EXTRA_LIBS = $X_EXTRA_LIBS
16755 XML2_CFLAGS = $XML2_CFLAGS
16756 XML2_LIBS = $XML2_LIBS
16757 XSLT_CFLAGS = $XSLT_CFLAGS
16758 XSLT_LIBS = $XSLT_LIBS
16759 DBUS_CFLAGS = $DBUS_CFLAGS
16760 DBUS_LIBS = $DBUS_LIBS
16761 HAL_CFLAGS = $HAL_CFLAGS
16762 HAL_LIBS = $HAL_LIBS
16763 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16764 GNUTLS_LIBS = $GNUTLS_LIBS
16765 SANE_CFLAGS = $SANE_CFLAGS
16766 SANE_LIBS = $SANE_LIBS
16767 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16768 GPHOTO2_LIBS = $GPHOTO2_LIBS
16769 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16770 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16771 RESOLV_LIBS = $RESOLV_LIBS
16772 LCMS2_CFLAGS = $LCMS2_CFLAGS
16773 LCMS2_LIBS = $LCMS2_LIBS
16774 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16775 FREETYPE_LIBS = $FREETYPE_LIBS
16776 Z_LIBS = $Z_LIBS
16777 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16778 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16779 GSTREAMER_LIBS = $GSTREAMER_LIBS
16780 ALSA_LIBS = $ALSA_LIBS
16781 OSS4_CFLAGS = $OSS4_CFLAGS
16782 CAPI20_CFLAGS = $CAPI20_CFLAGS
16783 CAPI20_LIBS = $CAPI20_LIBS
16784 CUPS_CFLAGS = $CUPS_CFLAGS
16785 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16786 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16787 JPEG_CFLAGS = $JPEG_CFLAGS
16788 JPEG_LIBS = $JPEG_LIBS
16789 PNG_CFLAGS = $PNG_CFLAGS
16790 PNG_LIBS = $PNG_LIBS
16791 TIFF_CFLAGS = $TIFF_CFLAGS
16792 TIFF_LIBS = $TIFF_LIBS
16793 MPG123_CFLAGS = $MPG123_CFLAGS
16794 MPG123_LIBS = $MPG123_LIBS
16795 KSTAT_LIBS = $KSTAT_LIBS
16796 PROCSTAT_LIBS = $PROCSTAT_LIBS
16797 DL_LIBS = $DL_LIBS
16798 POLL_LIBS = $POLL_LIBS
16799 RT_LIBS = $RT_LIBS
16800 LDAP_LIBS = $LDAP_LIBS
16805 wine_fn_append_rule "
16806 # Rules automatically generated by configure
16808 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16810 .INIT: Makefile
16811 .MAKEFILEDEPS:
16812 all: Makefile
16813 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16814 @./config.status Make.tmp Makefile"
16816 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16817 .gitignore: config.status
16818 @./config.status .gitignore"
16820 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16821 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16823 if test "x$enable_fonts" != xno; then
16824 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16825 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16826 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16827 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16828 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16830 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16831 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16832 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16833 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16834 ac_config_links="$ac_config_links wine:tools/winewrapper"
16835 wine_fn_config_symlink wine
16836 if test "x$enable_win64" != xno; then
16837 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16838 wine_fn_config_symlink wine64
16841 wine_fn_config_dll acledit enable_acledit
16842 wine_fn_config_dll aclui enable_aclui implib
16843 wine_fn_config_dll activeds enable_activeds implib
16844 wine_fn_config_dll actxprxy enable_actxprxy clean
16845 wine_fn_config_lib adsiid
16846 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16847 wine_fn_config_test dlls/advapi32/tests advapi32_test
16848 wine_fn_config_dll advpack enable_advpack implib
16849 wine_fn_config_test dlls/advpack/tests advpack_test
16850 wine_fn_config_dll amstream enable_amstream clean
16851 wine_fn_config_test dlls/amstream/tests amstream_test
16852 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16853 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16854 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16855 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16856 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16857 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16858 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16859 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16860 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16861 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16862 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16863 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16864 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16865 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16866 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16867 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16868 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16869 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16870 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16871 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16872 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16873 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16874 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16875 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16876 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16877 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16878 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16879 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16880 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16881 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16882 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16883 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16884 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16885 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16886 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16887 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16888 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16889 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16890 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16891 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16892 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16893 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16894 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16895 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16896 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16897 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16898 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16899 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16900 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16901 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16902 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16903 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16904 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16905 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16906 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16907 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16908 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16909 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16910 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16911 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16912 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16913 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16914 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16915 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16916 wine_fn_config_dll apphelp enable_apphelp
16917 wine_fn_config_test dlls/apphelp/tests apphelp_test
16918 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16919 wine_fn_config_dll atl enable_atl clean,implib
16920 wine_fn_config_test dlls/atl/tests atl_test
16921 wine_fn_config_dll atl100 enable_atl100 clean,implib
16922 wine_fn_config_test dlls/atl100/tests atl100_test
16923 wine_fn_config_dll atl110 enable_atl110 clean
16924 wine_fn_config_dll atl80 enable_atl80 clean,implib
16925 wine_fn_config_test dlls/atl80/tests atl80_test
16926 wine_fn_config_dll atl90 enable_atl90 clean
16927 wine_fn_config_dll authz enable_authz
16928 wine_fn_config_dll avicap32 enable_avicap32 implib
16929 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16930 wine_fn_config_test dlls/avifil32/tests avifil32_test
16931 wine_fn_config_dll avifile.dll16 enable_win16
16932 wine_fn_config_dll avrt enable_avrt implib
16933 wine_fn_config_dll bcrypt enable_bcrypt
16934 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16935 wine_fn_config_dll browseui enable_browseui clean,po
16936 wine_fn_config_test dlls/browseui/tests browseui_test
16937 wine_fn_config_dll cabinet enable_cabinet implib
16938 wine_fn_config_test dlls/cabinet/tests cabinet_test
16939 wine_fn_config_dll capi2032 enable_capi2032 implib
16940 wine_fn_config_dll cards enable_cards implib
16941 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16942 wine_fn_config_dll clusapi enable_clusapi implib
16943 wine_fn_config_dll combase enable_combase
16944 wine_fn_config_dll comcat enable_comcat
16945 wine_fn_config_test dlls/comcat/tests comcat_test
16946 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16947 wine_fn_config_test dlls/comctl32/tests comctl32_test
16948 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16949 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16950 wine_fn_config_dll comm.drv16 enable_win16
16951 wine_fn_config_dll commdlg.dll16 enable_win16
16952 wine_fn_config_dll compobj.dll16 enable_win16
16953 wine_fn_config_dll compstui enable_compstui implib
16954 wine_fn_config_dll comsvcs enable_comsvcs implib
16955 wine_fn_config_dll credui enable_credui implib,po
16956 wine_fn_config_test dlls/credui/tests credui_test
16957 wine_fn_config_dll crtdll enable_crtdll implib
16958 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16959 wine_fn_config_test dlls/crypt32/tests crypt32_test
16960 wine_fn_config_dll cryptdlg enable_cryptdlg po
16961 wine_fn_config_dll cryptdll enable_cryptdll implib
16962 wine_fn_config_dll cryptext enable_cryptext
16963 wine_fn_config_dll cryptnet enable_cryptnet implib
16964 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16965 wine_fn_config_dll cryptui enable_cryptui implib,po
16966 wine_fn_config_test dlls/cryptui/tests cryptui_test
16967 wine_fn_config_dll ctapi32 enable_ctapi32
16968 wine_fn_config_dll ctl3d.dll16 enable_win16
16969 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16970 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16971 wine_fn_config_dll d2d1 enable_d2d1 implib
16972 wine_fn_config_test dlls/d2d1/tests d2d1_test
16973 wine_fn_config_dll d3d10 enable_d3d10 implib
16974 wine_fn_config_test dlls/d3d10/tests d3d10_test
16975 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16976 wine_fn_config_dll d3d10core enable_d3d10core implib
16977 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16978 wine_fn_config_dll d3d11 enable_d3d11
16979 wine_fn_config_dll d3d8 enable_d3d8 implib
16980 wine_fn_config_test dlls/d3d8/tests d3d8_test
16981 wine_fn_config_dll d3d9 enable_d3d9 implib
16982 wine_fn_config_test dlls/d3d9/tests d3d9_test
16983 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16984 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16985 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16986 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16987 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16988 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16989 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16990 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16991 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16992 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16993 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16994 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16995 wine_fn_config_dll d3dim enable_d3dim implib
16996 wine_fn_config_dll d3drm enable_d3drm implib
16997 wine_fn_config_test dlls/d3drm/tests d3drm_test
16998 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16999 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17000 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17001 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17002 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17003 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17004 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17005 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17006 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17007 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17008 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17009 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17010 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17011 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17012 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17013 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17014 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17015 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17016 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17017 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17018 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17019 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17020 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17021 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17022 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17023 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17024 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17025 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17026 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17027 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17028 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17029 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17030 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17031 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17032 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17033 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17034 wine_fn_config_dll dbgeng enable_dbgeng implib
17035 wine_fn_config_dll dbghelp enable_dbghelp implib
17036 wine_fn_config_dll dciman32 enable_dciman32 implib
17037 wine_fn_config_dll ddeml.dll16 enable_win16
17038 wine_fn_config_dll ddraw enable_ddraw clean,implib
17039 wine_fn_config_test dlls/ddraw/tests ddraw_test
17040 wine_fn_config_dll ddrawex enable_ddrawex clean
17041 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17042 wine_fn_config_dll devenum enable_devenum clean,po
17043 wine_fn_config_test dlls/devenum/tests devenum_test
17044 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17045 wine_fn_config_dll difxapi enable_difxapi
17046 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17047 wine_fn_config_test dlls/dinput/tests dinput_test
17048 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17049 wine_fn_config_test dlls/dinput8/tests dinput8_test
17050 wine_fn_config_dll dispdib.dll16 enable_win16
17051 wine_fn_config_dll dispex enable_dispex clean
17052 wine_fn_config_test dlls/dispex/tests dispex_test
17053 wine_fn_config_dll display.drv16 enable_win16
17054 wine_fn_config_dll dmband enable_dmband clean
17055 wine_fn_config_test dlls/dmband/tests dmband_test
17056 wine_fn_config_dll dmcompos enable_dmcompos clean
17057 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17058 wine_fn_config_dll dmime enable_dmime clean
17059 wine_fn_config_test dlls/dmime/tests dmime_test
17060 wine_fn_config_dll dmloader enable_dmloader clean
17061 wine_fn_config_test dlls/dmloader/tests dmloader_test
17062 wine_fn_config_dll dmscript enable_dmscript clean
17063 wine_fn_config_test dlls/dmscript/tests dmscript_test
17064 wine_fn_config_dll dmstyle enable_dmstyle clean
17065 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17066 wine_fn_config_dll dmsynth enable_dmsynth clean
17067 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17068 wine_fn_config_dll dmusic enable_dmusic clean
17069 wine_fn_config_test dlls/dmusic/tests dmusic_test
17070 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17071 wine_fn_config_dll dnsapi enable_dnsapi implib
17072 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17073 wine_fn_config_dll dplay enable_dplay implib
17074 wine_fn_config_dll dplayx enable_dplayx clean,implib
17075 wine_fn_config_test dlls/dplayx/tests dplayx_test
17076 wine_fn_config_dll dpnaddr enable_dpnaddr
17077 wine_fn_config_dll dpnet enable_dpnet clean,implib
17078 wine_fn_config_test dlls/dpnet/tests dpnet_test
17079 wine_fn_config_dll dpnhpast enable_dpnhpast
17080 wine_fn_config_dll dpnlobby enable_dpnlobby
17081 wine_fn_config_dll dpvoice enable_dpvoice clean
17082 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17083 wine_fn_config_dll dpwsockx enable_dpwsockx
17084 wine_fn_config_dll drmclien enable_drmclien
17085 wine_fn_config_dll dsound enable_dsound clean,implib
17086 wine_fn_config_test dlls/dsound/tests dsound_test
17087 wine_fn_config_dll dssenh enable_dssenh
17088 wine_fn_config_test dlls/dssenh/tests dssenh_test
17089 wine_fn_config_dll dswave enable_dswave clean
17090 wine_fn_config_test dlls/dswave/tests dswave_test
17091 wine_fn_config_dll dwmapi enable_dwmapi implib
17092 wine_fn_config_dll dwrite enable_dwrite implib
17093 wine_fn_config_test dlls/dwrite/tests dwrite_test
17094 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17095 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17096 wine_fn_config_lib dxerr8
17097 wine_fn_config_lib dxerr9
17098 wine_fn_config_dll dxgi enable_dxgi implib
17099 wine_fn_config_test dlls/dxgi/tests dxgi_test
17100 wine_fn_config_lib dxguid
17101 wine_fn_config_dll dxva2 enable_dxva2
17102 wine_fn_config_dll explorerframe enable_explorerframe clean
17103 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17104 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17105 wine_fn_config_dll faultrep enable_faultrep implib
17106 wine_fn_config_test dlls/faultrep/tests faultrep_test
17107 wine_fn_config_dll fltlib enable_fltlib
17108 wine_fn_config_dll fntcache enable_fntcache
17109 wine_fn_config_dll fontsub enable_fontsub
17110 wine_fn_config_dll fusion enable_fusion
17111 wine_fn_config_test dlls/fusion/tests fusion_test
17112 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17113 wine_fn_config_dll gameux enable_gameux clean
17114 wine_fn_config_test dlls/gameux/tests gameux_test
17115 wine_fn_config_dll gdi.exe16 enable_win16
17116 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17117 wine_fn_config_test dlls/gdi32/tests gdi32_test
17118 wine_fn_config_dll gdiplus enable_gdiplus implib
17119 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17120 wine_fn_config_dll glu32 enable_glu32 implib
17121 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17122 wine_fn_config_dll gpkcsp enable_gpkcsp
17123 wine_fn_config_dll hal enable_hal
17124 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17125 wine_fn_config_dll hid enable_hid implib
17126 wine_fn_config_dll hlink enable_hlink clean,implib
17127 wine_fn_config_test dlls/hlink/tests hlink_test
17128 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17129 wine_fn_config_dll httpapi enable_httpapi
17130 wine_fn_config_dll iccvid enable_iccvid po
17131 wine_fn_config_dll icmp enable_icmp
17132 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17133 wine_fn_config_test dlls/ieframe/tests ieframe_test
17134 wine_fn_config_dll ifsmgr.vxd enable_win16
17135 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17136 wine_fn_config_dll imagehlp enable_imagehlp implib
17137 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17138 wine_fn_config_dll imm.dll16 enable_win16
17139 wine_fn_config_dll imm32 enable_imm32 implib
17140 wine_fn_config_test dlls/imm32/tests imm32_test
17141 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17142 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17143 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17144 wine_fn_config_dll inetmib1 enable_inetmib1
17145 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17146 wine_fn_config_dll infosoft enable_infosoft clean
17147 wine_fn_config_test dlls/infosoft/tests infosoft_test
17148 wine_fn_config_dll initpki enable_initpki
17149 wine_fn_config_dll inkobj enable_inkobj
17150 wine_fn_config_dll inseng enable_inseng clean
17151 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17152 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17153 wine_fn_config_dll itircl enable_itircl
17154 wine_fn_config_dll itss enable_itss clean
17155 wine_fn_config_test dlls/itss/tests itss_test
17156 wine_fn_config_dll joy.cpl enable_joy_cpl po
17157 wine_fn_config_dll jscript enable_jscript clean,po
17158 wine_fn_config_test dlls/jscript/tests jscript_test
17159 wine_fn_config_dll jsproxy enable_jsproxy implib
17160 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17161 wine_fn_config_test dlls/kernel32/tests kernel32_test
17162 wine_fn_config_dll keyboard.drv16 enable_win16
17163 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17164 wine_fn_config_dll ksuser enable_ksuser
17165 wine_fn_config_dll ktmw32 enable_ktmw32
17166 wine_fn_config_dll loadperf enable_loadperf implib
17167 wine_fn_config_dll localspl enable_localspl po
17168 wine_fn_config_test dlls/localspl/tests localspl_test
17169 wine_fn_config_dll localui enable_localui po
17170 wine_fn_config_test dlls/localui/tests localui_test
17171 wine_fn_config_dll lz32 enable_lz32 implib
17172 wine_fn_config_test dlls/lz32/tests lz32_test
17173 wine_fn_config_dll lzexpand.dll16 enable_win16
17174 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17175 wine_fn_config_test dlls/mapi32/tests mapi32_test
17176 wine_fn_config_dll mapistub enable_mapistub
17177 wine_fn_config_dll mciavi32 enable_mciavi32
17178 wine_fn_config_dll mcicda enable_mcicda
17179 wine_fn_config_dll mciqtz32 enable_mciqtz32
17180 wine_fn_config_dll mciseq enable_mciseq
17181 wine_fn_config_dll mciwave enable_mciwave
17182 wine_fn_config_dll mfplat enable_mfplat
17183 wine_fn_config_dll mgmtapi enable_mgmtapi
17184 wine_fn_config_dll midimap enable_midimap
17185 wine_fn_config_dll mlang enable_mlang clean,implib
17186 wine_fn_config_test dlls/mlang/tests mlang_test
17187 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17188 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17189 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17190 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17191 wine_fn_config_dll mmdevldr.vxd enable_win16
17192 wine_fn_config_dll mmsystem.dll16 enable_win16
17193 wine_fn_config_dll monodebg.vxd enable_win16
17194 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17195 wine_fn_config_dll mouse.drv16 enable_win16
17196 wine_fn_config_dll mpr enable_mpr implib,po
17197 wine_fn_config_test dlls/mpr/tests mpr_test
17198 wine_fn_config_dll mprapi enable_mprapi implib
17199 wine_fn_config_dll msacm.dll16 enable_win16
17200 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17201 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17202 wine_fn_config_test dlls/msacm32/tests msacm32_test
17203 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17204 wine_fn_config_dll msasn1 enable_msasn1 implib
17205 wine_fn_config_dll mscat32 enable_mscat32
17206 wine_fn_config_dll mscms enable_mscms implib
17207 wine_fn_config_test dlls/mscms/tests mscms_test
17208 wine_fn_config_dll mscoree enable_mscoree clean
17209 wine_fn_config_test dlls/mscoree/tests mscoree_test
17210 wine_fn_config_dll msctf enable_msctf clean
17211 wine_fn_config_test dlls/msctf/tests msctf_test
17212 wine_fn_config_dll msdaps enable_msdaps clean
17213 wine_fn_config_dll msdmo enable_msdmo implib
17214 wine_fn_config_dll msftedit enable_msftedit
17215 wine_fn_config_dll msg711.acm enable_msg711_acm
17216 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17217 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17218 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17219 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17220 wine_fn_config_dll msi enable_msi clean,implib,po
17221 wine_fn_config_test dlls/msi/tests msi_test
17222 wine_fn_config_dll msident enable_msident clean
17223 wine_fn_config_dll msimg32 enable_msimg32 implib
17224 wine_fn_config_dll msimsg enable_msimsg
17225 wine_fn_config_dll msimtf enable_msimtf clean
17226 wine_fn_config_dll msisip enable_msisip
17227 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17228 wine_fn_config_dll msls31 enable_msls31
17229 wine_fn_config_dll msnet32 enable_msnet32
17230 wine_fn_config_dll mspatcha enable_mspatcha
17231 wine_fn_config_dll msrle32 enable_msrle32 po
17232 wine_fn_config_test dlls/msrle32/tests msrle32_test
17233 wine_fn_config_dll mssign32 enable_mssign32
17234 wine_fn_config_dll mssip32 enable_mssip32
17235 wine_fn_config_dll mstask enable_mstask clean
17236 wine_fn_config_test dlls/mstask/tests mstask_test
17237 wine_fn_config_dll msvcirt enable_msvcirt
17238 wine_fn_config_dll msvcm80 enable_msvcm80
17239 wine_fn_config_dll msvcm90 enable_msvcm90
17240 wine_fn_config_dll msvcp100 enable_msvcp100
17241 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17242 wine_fn_config_dll msvcp110 enable_msvcp110
17243 wine_fn_config_dll msvcp120 enable_msvcp120
17244 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17245 wine_fn_config_dll msvcp60 enable_msvcp60
17246 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17247 wine_fn_config_dll msvcp70 enable_msvcp70
17248 wine_fn_config_dll msvcp71 enable_msvcp71
17249 wine_fn_config_dll msvcp80 enable_msvcp80
17250 wine_fn_config_dll msvcp90 enable_msvcp90
17251 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17252 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17253 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17254 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17255 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17256 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17257 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17258 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17259 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17260 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17261 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17262 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17263 wine_fn_config_dll msvcrt enable_msvcrt implib
17264 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17265 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17266 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17267 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17268 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17269 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17270 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17271 wine_fn_config_dll msvidc32 enable_msvidc32 po
17272 wine_fn_config_dll msvideo.dll16 enable_win16
17273 wine_fn_config_dll mswsock enable_mswsock implib
17274 wine_fn_config_dll msxml enable_msxml clean
17275 wine_fn_config_dll msxml2 enable_msxml2 clean
17276 wine_fn_config_dll msxml3 enable_msxml3 clean
17277 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17278 wine_fn_config_dll msxml4 enable_msxml4 clean
17279 wine_fn_config_dll msxml6 enable_msxml6 clean
17280 wine_fn_config_dll nddeapi enable_nddeapi implib
17281 wine_fn_config_dll ndis.sys enable_ndis_sys
17282 wine_fn_config_dll netapi32 enable_netapi32 implib
17283 wine_fn_config_test dlls/netapi32/tests netapi32_test
17284 wine_fn_config_dll netcfgx enable_netcfgx clean
17285 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17286 wine_fn_config_dll netprofm enable_netprofm clean
17287 wine_fn_config_test dlls/netprofm/tests netprofm_test
17288 wine_fn_config_dll newdev enable_newdev implib
17289 wine_fn_config_dll normaliz enable_normaliz implib
17290 wine_fn_config_dll npmshtml enable_npmshtml
17291 wine_fn_config_dll npptools enable_npptools
17292 wine_fn_config_dll ntdll enable_ntdll implib
17293 wine_fn_config_test dlls/ntdll/tests ntdll_test
17294 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17295 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17296 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17297 wine_fn_config_dll ntprint enable_ntprint
17298 wine_fn_config_test dlls/ntprint/tests ntprint_test
17299 wine_fn_config_dll objsel enable_objsel clean
17300 wine_fn_config_dll odbc32 enable_odbc32 implib
17301 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17302 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17303 wine_fn_config_dll odbccu32 enable_odbccu32
17304 wine_fn_config_dll ole2.dll16 enable_win16
17305 wine_fn_config_dll ole2conv.dll16 enable_win16
17306 wine_fn_config_dll ole2disp.dll16 enable_win16
17307 wine_fn_config_dll ole2nls.dll16 enable_win16
17308 wine_fn_config_dll ole2prox.dll16 enable_win16
17309 wine_fn_config_dll ole2thk.dll16 enable_win16
17310 wine_fn_config_dll ole32 enable_ole32 clean,implib
17311 wine_fn_config_test dlls/ole32/tests ole32_test
17312 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17313 wine_fn_config_test dlls/oleacc/tests oleacc_test
17314 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17315 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17316 wine_fn_config_dll olecli.dll16 enable_win16
17317 wine_fn_config_dll olecli32 enable_olecli32 implib
17318 wine_fn_config_dll oledb32 enable_oledb32 clean
17319 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17320 wine_fn_config_dll oledlg enable_oledlg implib,po
17321 wine_fn_config_dll olepro32 enable_olepro32 implib
17322 wine_fn_config_dll olesvr.dll16 enable_win16
17323 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17324 wine_fn_config_dll olethk32 enable_olethk32
17325 wine_fn_config_dll openal32 enable_openal32
17326 wine_fn_config_dll opencl enable_opencl
17327 wine_fn_config_dll opengl32 enable_opengl32 implib
17328 wine_fn_config_test dlls/opengl32/tests opengl32_test
17329 wine_fn_config_dll packager enable_packager clean
17330 wine_fn_config_test dlls/packager/tests packager_test
17331 wine_fn_config_dll pdh enable_pdh implib
17332 wine_fn_config_test dlls/pdh/tests pdh_test
17333 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17334 wine_fn_config_dll pidgen enable_pidgen
17335 wine_fn_config_dll powrprof enable_powrprof implib
17336 wine_fn_config_dll printui enable_printui
17337 wine_fn_config_dll prntvpt enable_prntvpt
17338 wine_fn_config_dll propsys enable_propsys clean,implib
17339 wine_fn_config_test dlls/propsys/tests propsys_test
17340 wine_fn_config_dll psapi enable_psapi implib
17341 wine_fn_config_test dlls/psapi/tests psapi_test
17342 wine_fn_config_dll pstorec enable_pstorec clean
17343 wine_fn_config_dll qcap enable_qcap
17344 wine_fn_config_test dlls/qcap/tests qcap_test
17345 wine_fn_config_dll qedit enable_qedit clean
17346 wine_fn_config_test dlls/qedit/tests qedit_test
17347 wine_fn_config_dll qmgr enable_qmgr clean
17348 wine_fn_config_test dlls/qmgr/tests qmgr_test
17349 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17350 wine_fn_config_dll quartz enable_quartz clean,implib
17351 wine_fn_config_test dlls/quartz/tests quartz_test clean
17352 wine_fn_config_dll query enable_query
17353 wine_fn_config_dll rasapi16.dll16 enable_win16
17354 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17355 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17356 wine_fn_config_dll rasdlg enable_rasdlg implib
17357 wine_fn_config_dll regapi enable_regapi
17358 wine_fn_config_dll resutils enable_resutils implib
17359 wine_fn_config_dll riched20 enable_riched20 implib
17360 wine_fn_config_test dlls/riched20/tests riched20_test
17361 wine_fn_config_dll riched32 enable_riched32
17362 wine_fn_config_test dlls/riched32/tests riched32_test
17363 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17364 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17365 wine_fn_config_dll rsabase enable_rsabase
17366 wine_fn_config_dll rsaenh enable_rsaenh implib
17367 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17368 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17369 wine_fn_config_dll rtutils enable_rtutils implib
17370 wine_fn_config_dll samlib enable_samlib
17371 wine_fn_config_dll sane.ds enable_sane_ds po
17372 wine_fn_config_dll scarddlg enable_scarddlg
17373 wine_fn_config_dll sccbase enable_sccbase
17374 wine_fn_config_dll schannel enable_schannel
17375 wine_fn_config_test dlls/schannel/tests schannel_test
17376 wine_fn_config_dll schedsvc enable_schedsvc clean
17377 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17378 wine_fn_config_dll scrrun enable_scrrun clean
17379 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17380 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17381 wine_fn_config_dll secur32 enable_secur32 implib
17382 wine_fn_config_test dlls/secur32/tests secur32_test
17383 wine_fn_config_dll security enable_security
17384 wine_fn_config_dll sensapi enable_sensapi implib
17385 wine_fn_config_dll serialui enable_serialui implib,po
17386 wine_fn_config_test dlls/serialui/tests serialui_test
17387 wine_fn_config_dll setupapi enable_setupapi implib,po
17388 wine_fn_config_test dlls/setupapi/tests setupapi_test
17389 wine_fn_config_dll setupx.dll16 enable_win16
17390 wine_fn_config_dll sfc enable_sfc implib
17391 wine_fn_config_dll sfc_os enable_sfc_os implib
17392 wine_fn_config_dll shdoclc enable_shdoclc po
17393 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17394 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17395 wine_fn_config_dll shell.dll16 enable_win16
17396 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17397 wine_fn_config_test dlls/shell32/tests shell32_test
17398 wine_fn_config_dll shfolder enable_shfolder implib
17399 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17400 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17401 wine_fn_config_dll slbcsp enable_slbcsp
17402 wine_fn_config_dll slc enable_slc implib
17403 wine_fn_config_dll snmpapi enable_snmpapi implib
17404 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17405 wine_fn_config_dll softpub enable_softpub
17406 wine_fn_config_dll sound.drv16 enable_win16
17407 wine_fn_config_dll spoolss enable_spoolss implib
17408 wine_fn_config_test dlls/spoolss/tests spoolss_test
17409 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17410 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17411 wine_fn_config_dll sti enable_sti clean,implib
17412 wine_fn_config_test dlls/sti/tests sti_test
17413 wine_fn_config_dll storage.dll16 enable_win16
17414 wine_fn_config_dll stress.dll16 enable_win16
17415 wine_fn_config_lib strmbase
17416 wine_fn_config_lib strmiids
17417 wine_fn_config_dll svrapi enable_svrapi
17418 wine_fn_config_dll sxs enable_sxs implib
17419 wine_fn_config_test dlls/sxs/tests sxs_test
17420 wine_fn_config_dll system.drv16 enable_win16
17421 wine_fn_config_dll t2embed enable_t2embed
17422 wine_fn_config_dll tapi32 enable_tapi32 implib
17423 wine_fn_config_dll taskschd enable_taskschd clean
17424 wine_fn_config_test dlls/taskschd/tests taskschd_test
17425 wine_fn_config_dll toolhelp.dll16 enable_win16
17426 wine_fn_config_dll traffic enable_traffic
17427 wine_fn_config_dll twain.dll16 enable_win16
17428 wine_fn_config_dll twain_32 enable_twain_32
17429 wine_fn_config_test dlls/twain_32/tests twain_32_test
17430 wine_fn_config_dll typelib.dll16 enable_win16
17431 wine_fn_config_dll unicows enable_unicows implib
17432 wine_fn_config_dll updspapi enable_updspapi
17433 wine_fn_config_dll url enable_url implib
17434 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17435 wine_fn_config_test dlls/urlmon/tests urlmon_test
17436 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17437 wine_fn_config_dll user.exe16 enable_win16
17438 wine_fn_config_dll user32 enable_user32 clean,implib,po
17439 wine_fn_config_test dlls/user32/tests user32_test
17440 wine_fn_config_dll userenv enable_userenv implib
17441 wine_fn_config_test dlls/userenv/tests userenv_test
17442 wine_fn_config_dll usp10 enable_usp10 implib
17443 wine_fn_config_test dlls/usp10/tests usp10_test
17444 wine_fn_config_lib uuid
17445 wine_fn_config_dll uxtheme enable_uxtheme implib
17446 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17447 wine_fn_config_dll vbscript enable_vbscript clean
17448 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17449 wine_fn_config_dll vcomp enable_vcomp
17450 wine_fn_config_dll vcomp100 enable_vcomp100
17451 wine_fn_config_dll vcomp90 enable_vcomp90
17452 wine_fn_config_dll vdhcp.vxd enable_win16
17453 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17454 wine_fn_config_dll ver.dll16 enable_win16
17455 wine_fn_config_dll version enable_version implib
17456 wine_fn_config_test dlls/version/tests version_test
17457 wine_fn_config_dll vmm.vxd enable_win16
17458 wine_fn_config_dll vnbt.vxd enable_win16
17459 wine_fn_config_dll vnetbios.vxd enable_win16
17460 wine_fn_config_dll vssapi enable_vssapi
17461 wine_fn_config_dll vtdapi.vxd enable_win16
17462 wine_fn_config_dll vwin32.vxd enable_win16
17463 wine_fn_config_dll w32skrnl enable_win16
17464 wine_fn_config_dll w32sys.dll16 enable_win16
17465 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17466 wine_fn_config_dll wbemprox enable_wbemprox clean
17467 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17468 wine_fn_config_dll webservices enable_webservices implib
17469 wine_fn_config_dll wer enable_wer implib
17470 wine_fn_config_test dlls/wer/tests wer_test
17471 wine_fn_config_dll wevtapi enable_wevtapi
17472 wine_fn_config_dll wiaservc enable_wiaservc clean
17473 wine_fn_config_dll win32s16.dll16 enable_win16
17474 wine_fn_config_dll win87em.dll16 enable_win16
17475 wine_fn_config_dll winaspi.dll16 enable_win16
17476 wine_fn_config_dll windebug.dll16 enable_win16
17477 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17478 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17479 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17480 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17481 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17482 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17483 wine_fn_config_lib winecrt0
17484 wine_fn_config_dll wined3d enable_wined3d implib
17485 wine_fn_config_dll winegstreamer enable_winegstreamer
17486 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17487 wine_fn_config_dll winemac.drv enable_winemac_drv
17488 wine_fn_config_dll winemapi enable_winemapi
17489 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17490 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17491 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17492 wine_fn_config_dll wineps16.drv16 enable_win16
17493 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17494 wine_fn_config_dll winex11.drv enable_winex11_drv
17495 wine_fn_config_dll wing.dll16 enable_win16
17496 wine_fn_config_dll wing32 enable_wing32
17497 wine_fn_config_dll winhttp enable_winhttp clean,implib
17498 wine_fn_config_test dlls/winhttp/tests winhttp_test
17499 wine_fn_config_dll wininet enable_wininet implib,po
17500 wine_fn_config_test dlls/wininet/tests wininet_test
17501 wine_fn_config_dll winmm enable_winmm implib,po
17502 wine_fn_config_test dlls/winmm/tests winmm_test
17503 wine_fn_config_dll winnls.dll16 enable_win16
17504 wine_fn_config_dll winnls32 enable_winnls32 implib
17505 wine_fn_config_dll winscard enable_winscard implib
17506 wine_fn_config_dll winsock.dll16 enable_win16
17507 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17508 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17509 wine_fn_config_dll winsta enable_winsta
17510 wine_fn_config_dll wintab.dll16 enable_win16
17511 wine_fn_config_dll wintab32 enable_wintab32 implib
17512 wine_fn_config_test dlls/wintab32/tests wintab32_test
17513 wine_fn_config_dll wintrust enable_wintrust implib
17514 wine_fn_config_test dlls/wintrust/tests wintrust_test
17515 wine_fn_config_dll wlanapi enable_wlanapi
17516 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17517 wine_fn_config_test dlls/wldap32/tests wldap32_test
17518 wine_fn_config_dll wmi enable_wmi
17519 wine_fn_config_dll wmiutils enable_wmiutils clean
17520 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17521 wine_fn_config_dll wmp enable_wmp clean
17522 wine_fn_config_test dlls/wmp/tests wmp_test
17523 wine_fn_config_dll wmvcore enable_wmvcore
17524 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17525 wine_fn_config_dll wow32 enable_win16 implib
17526 wine_fn_config_dll wpcap enable_wpcap
17527 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17528 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17529 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17530 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17531 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17532 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17533 wine_fn_config_dll wsock32 enable_wsock32 implib
17534 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17535 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17536 wine_fn_config_dll wuapi enable_wuapi clean
17537 wine_fn_config_dll wuaueng enable_wuaueng
17538 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17539 wine_fn_config_dll xinput1_1 enable_xinput1_1
17540 wine_fn_config_dll xinput1_2 enable_xinput1_2
17541 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17542 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17543 wine_fn_config_dll xinput1_4 enable_xinput1_4
17544 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17545 wine_fn_config_dll xmllite enable_xmllite implib
17546 wine_fn_config_test dlls/xmllite/tests xmllite_test
17547 wine_fn_config_dll xolehlp enable_xolehlp
17548 wine_fn_config_dll xpsprint enable_xpsprint
17549 wine_fn_config_dll xpssvcs enable_xpssvcs
17550 wine_fn_config_makefile documentation enable_documentation clean
17551 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17552 wine_fn_config_makefile include enable_include clean,install-dev
17553 wine_fn_config_makefile libs/port enable_libs_port
17554 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17555 wine_fn_config_makefile libs/wpp enable_libs_wpp
17556 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17557 wine_fn_config_program arp enable_arp install
17558 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17559 wine_fn_config_program attrib enable_attrib install,po
17560 wine_fn_config_program cabarc enable_cabarc install
17561 wine_fn_config_program cacls enable_cacls install
17562 wine_fn_config_program clock enable_clock install,po
17563 wine_fn_config_program cmd enable_cmd install,po
17564 wine_fn_config_test programs/cmd/tests cmd.exe_test
17565 wine_fn_config_program conhost enable_conhost install
17566 wine_fn_config_program control enable_control install
17567 wine_fn_config_program cscript enable_cscript clean,install
17568 wine_fn_config_program dpnsvr enable_dpnsvr install
17569 wine_fn_config_program dxdiag enable_dxdiag install,po
17570 wine_fn_config_program eject enable_eject install
17571 wine_fn_config_program expand enable_expand install
17572 wine_fn_config_program explorer enable_explorer install,po
17573 wine_fn_config_program extrac32 enable_extrac32 install
17574 wine_fn_config_program findstr enable_findstr install
17575 wine_fn_config_program hh enable_hh install
17576 wine_fn_config_program hostname enable_hostname install,po
17577 wine_fn_config_program icinfo enable_icinfo install
17578 wine_fn_config_program iexplore enable_iexplore install
17579 wine_fn_config_program ipconfig enable_ipconfig install,po
17580 wine_fn_config_program lodctr enable_lodctr install
17581 wine_fn_config_program mofcomp enable_mofcomp install
17582 wine_fn_config_program mshta enable_mshta install
17583 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17584 wine_fn_config_program net enable_net install,po
17585 wine_fn_config_program netsh enable_netsh install
17586 wine_fn_config_program netstat enable_netstat install,po
17587 wine_fn_config_program ngen enable_ngen install
17588 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17589 wine_fn_config_program oleview enable_oleview install,po
17590 wine_fn_config_program ping enable_ping install
17591 wine_fn_config_program plugplay enable_plugplay install
17592 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17593 wine_fn_config_program progman enable_progman install,po
17594 wine_fn_config_program reg enable_reg install,po
17595 wine_fn_config_test programs/reg/tests reg.exe_test
17596 wine_fn_config_program regasm enable_regasm install
17597 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17598 wine_fn_config_test programs/regedit/tests regedit.exe_test
17599 wine_fn_config_program regsvcs enable_regsvcs install
17600 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17601 wine_fn_config_program rpcss enable_rpcss clean,install
17602 wine_fn_config_program rundll.exe16 enable_win16 install
17603 wine_fn_config_program rundll32 enable_rundll32 install
17604 wine_fn_config_program sc enable_sc install
17605 wine_fn_config_program schtasks enable_schtasks install
17606 wine_fn_config_program sdbinst enable_sdbinst install
17607 wine_fn_config_program secedit enable_secedit install
17608 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17609 wine_fn_config_program services enable_services clean,install
17610 wine_fn_config_test programs/services/tests services.exe_test
17611 wine_fn_config_program spoolsv enable_spoolsv install
17612 wine_fn_config_program start enable_start install,po
17613 wine_fn_config_program svchost enable_svchost install
17614 wine_fn_config_program systeminfo enable_systeminfo install
17615 wine_fn_config_program taskkill enable_taskkill install,po
17616 wine_fn_config_program tasklist enable_tasklist install
17617 wine_fn_config_program taskmgr enable_taskmgr install,po
17618 wine_fn_config_program termsv enable_termsv install
17619 wine_fn_config_program uninstaller enable_uninstaller install,po
17620 wine_fn_config_program unlodctr enable_unlodctr install
17621 wine_fn_config_program view enable_view install,po
17622 wine_fn_config_program wevtutil enable_wevtutil install
17623 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17624 wine_fn_config_program winebrowser enable_winebrowser install
17625 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17626 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17627 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17628 wine_fn_config_program winedevice enable_winedevice install
17629 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17630 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17631 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17632 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17633 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17634 wine_fn_config_program winetest enable_winetest clean
17635 wine_fn_config_program winevdm enable_win16 install
17636 wine_fn_config_program winhelp.exe16 enable_win16 install
17637 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17638 wine_fn_config_program winoldap.mod16 enable_win16 install
17639 wine_fn_config_program winver enable_winver install
17640 wine_fn_config_program wmic enable_wmic install,po
17641 wine_fn_config_program wordpad enable_wordpad install,po
17642 wine_fn_config_program write enable_write install,po
17643 wine_fn_config_program wscript enable_wscript clean,install
17644 wine_fn_config_test programs/wscript/tests wscript.exe_test
17645 wine_fn_config_program wusa enable_wusa install
17646 wine_fn_config_program xcopy enable_xcopy install,po
17647 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17648 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17649 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17650 wine_fn_config_tool tools/sfnt2fon clean
17651 wine_fn_config_tool tools/widl clean,install-dev,manpage
17652 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17653 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17654 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17655 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17656 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17658 LINGUAS="\
17659 ar \
17660 bg \
17661 ca \
17662 cs \
17663 da \
17664 de \
17665 el \
17666 en \
17667 en_US \
17668 eo \
17669 es \
17670 fa \
17671 fi \
17672 fr \
17673 he \
17674 hi \
17675 hr \
17676 hu \
17677 it \
17678 ja \
17679 ko \
17680 lt \
17681 ml \
17682 nb_NO \
17683 nl \
17684 or \
17685 pa \
17686 pl \
17687 pt_BR \
17688 pt_PT \
17689 rm \
17690 ro \
17691 ru \
17692 sk \
17693 sl \
17694 sr_RS@cyrillic \
17695 sr_RS@latin \
17696 sv \
17697 te \
17698 th \
17699 tr \
17700 uk \
17701 wa \
17702 zh_CN \
17703 zh_TW"
17708 wine_fn_ignore_file ".gitignore"
17709 wine_fn_ignore_file "Makefile"
17710 wine_fn_ignore_file "TAGS"
17711 wine_fn_ignore_file "tags"
17712 wine_fn_ignore_file "autom4te.cache"
17713 wine_fn_ignore_file "config.cache"
17714 wine_fn_ignore_file "config.log"
17715 wine_fn_ignore_file "config.status"
17716 wine_fn_ignore_file "configure.lineno"
17717 wine_fn_ignore_file "include/config.h"
17718 wine_fn_ignore_file "include/stamp-h"
17719 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17721 if test "x$enable_tools" != xno
17722 then
17723 wine_fn_ignore_file "tools/makedep$ac_exeext"
17724 ac_config_commands="$ac_config_commands tools/makedep"
17728 ac_config_commands="$ac_config_commands Makefile"
17731 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17735 if test "x$enable_maintainer_mode" = xyes
17736 then
17737 wine_fn_append_rule "configure: configure.ac aclocal.m4
17738 autoconf --warnings=all
17739 include/config.h.in: include/stamp-h.in
17740 include/stamp-h.in: configure.ac aclocal.m4
17741 autoheader --warnings=all
17742 @echo timestamp > \$@"
17745 if test "x$with_gettextpo" = xyes
17746 then
17747 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17748 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17749 \$(LINGUAS:%=po/%.po): po/wine.pot
17750 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17751 po/wine.pot: \$(ALL_POT_FILES)
17752 msgcat -o \$@ \$(ALL_POT_FILES)"
17755 if test "$MSGFMT" != false
17756 then
17757 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17758 clean::
17759 \$(RM) \$(LINGUAS:%=po/%.mo)"
17761 posrc="po"
17762 test "$srcdir" = . || posrc="$srcdir/po"
17763 for i in $LINGUAS
17765 wine_fn_ignore_file "po/$i.mo"
17766 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17767 \$(MSGFMT) -o \$@ $posrc/$i.po"
17768 done
17769 else
17770 LINGUAS=
17773 if test "x$enable_tools" != xno
17774 then
17775 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17776 @./config.status tools/makedep
17777 Makefile: tools/makedep$ac_exeext
17778 distclean:: clean
17779 \$(RM) tools/makedep$ac_exeext"
17780 else
17781 wine_fn_append_rule "\$(MAKEDEP):
17782 @echo \"You need to run make in $TOOLSDIR first\" && false"
17785 if test -n "$with_wine64"
17786 then
17787 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17788 fonts server tools:
17789 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17790 $with_wine64/loader/wine:
17791 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17792 $with_wine64/loader/wine-preloader:
17793 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17794 clean::
17795 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17796 else
17797 as_fn_append LOADER_RULES "
17798 install install-lib:: wine.inf install-man-pages
17799 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17800 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17802 uninstall::
17803 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17807 if test "$srcdir" = .
17808 then
17809 ac_config_commands="$ac_config_commands .gitignore"
17813 $as_echo " done" >&6
17814 cat >confcache <<\_ACEOF
17815 # This file is a shell script that caches the results of configure
17816 # tests run on this system so they can be shared between configure
17817 # scripts and configure runs, see configure's option --config-cache.
17818 # It is not useful on other systems. If it contains results you don't
17819 # want to keep, you may remove or edit it.
17821 # config.status only pays attention to the cache file if you give it
17822 # the --recheck option to rerun configure.
17824 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17825 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17826 # following values.
17828 _ACEOF
17830 # The following way of writing the cache mishandles newlines in values,
17831 # but we know of no workaround that is simple, portable, and efficient.
17832 # So, we kill variables containing newlines.
17833 # Ultrix sh set writes to stderr and can't be redirected directly,
17834 # and sets the high bit in the cache file unless we assign to the vars.
17836 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17837 eval ac_val=\$$ac_var
17838 case $ac_val in #(
17839 *${as_nl}*)
17840 case $ac_var in #(
17841 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17842 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17843 esac
17844 case $ac_var in #(
17845 _ | IFS | as_nl) ;; #(
17846 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17847 *) { eval $ac_var=; unset $ac_var;} ;;
17848 esac ;;
17849 esac
17850 done
17852 (set) 2>&1 |
17853 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17854 *${as_nl}ac_space=\ *)
17855 # `set' does not quote correctly, so add quotes: double-quote
17856 # substitution turns \\\\ into \\, and sed turns \\ into \.
17857 sed -n \
17858 "s/'/'\\\\''/g;
17859 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17860 ;; #(
17862 # `set' quotes correctly as required by POSIX, so do not add quotes.
17863 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17865 esac |
17866 sort
17868 sed '
17869 /^ac_cv_env_/b end
17870 t clear
17871 :clear
17872 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17873 t end
17874 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17875 :end' >>confcache
17876 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17877 if test -w "$cache_file"; then
17878 if test "x$cache_file" != "x/dev/null"; then
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17880 $as_echo "$as_me: updating cache $cache_file" >&6;}
17881 if test ! -f "$cache_file" || test -h "$cache_file"; then
17882 cat confcache >"$cache_file"
17883 else
17884 case $cache_file in #(
17885 */* | ?:*)
17886 mv -f confcache "$cache_file"$$ &&
17887 mv -f "$cache_file"$$ "$cache_file" ;; #(
17889 mv -f confcache "$cache_file" ;;
17890 esac
17893 else
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17895 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17898 rm -f confcache
17900 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17901 # Let make expand exec_prefix.
17902 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17904 DEFS=-DHAVE_CONFIG_H
17906 ac_libobjs=
17907 ac_ltlibobjs=
17909 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17910 # 1. Remove the extension, and $U if already installed.
17911 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17912 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17913 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17914 # will be set to the directory where LIBOBJS objects are built.
17915 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17916 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17917 done
17918 LIBOBJS=$ac_libobjs
17920 LTLIBOBJS=$ac_ltlibobjs
17924 : "${CONFIG_STATUS=./config.status}"
17925 ac_write_fail=0
17926 ac_clean_files_save=$ac_clean_files
17927 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17929 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17930 as_write_fail=0
17931 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17932 #! $SHELL
17933 # Generated by $as_me.
17934 # Run this file to recreate the current configuration.
17935 # Compiler output produced by configure, useful for debugging
17936 # configure, is in config.log if it exists.
17938 debug=false
17939 ac_cs_recheck=false
17940 ac_cs_silent=false
17942 SHELL=\${CONFIG_SHELL-$SHELL}
17943 export SHELL
17944 _ASEOF
17945 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17946 ## -------------------- ##
17947 ## M4sh Initialization. ##
17948 ## -------------------- ##
17950 # Be more Bourne compatible
17951 DUALCASE=1; export DUALCASE # for MKS sh
17952 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17953 emulate sh
17954 NULLCMD=:
17955 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17956 # is contrary to our usage. Disable this feature.
17957 alias -g '${1+"$@"}'='"$@"'
17958 setopt NO_GLOB_SUBST
17959 else
17960 case `(set -o) 2>/dev/null` in #(
17961 *posix*) :
17962 set -o posix ;; #(
17963 *) :
17965 esac
17969 as_nl='
17971 export as_nl
17972 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17973 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17974 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17975 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17976 # Prefer a ksh shell builtin over an external printf program on Solaris,
17977 # but without wasting forks for bash or zsh.
17978 if test -z "$BASH_VERSION$ZSH_VERSION" \
17979 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17980 as_echo='print -r --'
17981 as_echo_n='print -rn --'
17982 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17983 as_echo='printf %s\n'
17984 as_echo_n='printf %s'
17985 else
17986 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17987 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17988 as_echo_n='/usr/ucb/echo -n'
17989 else
17990 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17991 as_echo_n_body='eval
17992 arg=$1;
17993 case $arg in #(
17994 *"$as_nl"*)
17995 expr "X$arg" : "X\\(.*\\)$as_nl";
17996 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17997 esac;
17998 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18000 export as_echo_n_body
18001 as_echo_n='sh -c $as_echo_n_body as_echo'
18003 export as_echo_body
18004 as_echo='sh -c $as_echo_body as_echo'
18007 # The user is always right.
18008 if test "${PATH_SEPARATOR+set}" != set; then
18009 PATH_SEPARATOR=:
18010 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18011 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18012 PATH_SEPARATOR=';'
18017 # IFS
18018 # We need space, tab and new line, in precisely that order. Quoting is
18019 # there to prevent editors from complaining about space-tab.
18020 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18021 # splitting by setting IFS to empty value.)
18022 IFS=" "" $as_nl"
18024 # Find who we are. Look in the path if we contain no directory separator.
18025 as_myself=
18026 case $0 in #((
18027 *[\\/]* ) as_myself=$0 ;;
18028 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18029 for as_dir in $PATH
18031 IFS=$as_save_IFS
18032 test -z "$as_dir" && as_dir=.
18033 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18034 done
18035 IFS=$as_save_IFS
18038 esac
18039 # We did not find ourselves, most probably we were run as `sh COMMAND'
18040 # in which case we are not to be found in the path.
18041 if test "x$as_myself" = x; then
18042 as_myself=$0
18044 if test ! -f "$as_myself"; then
18045 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18046 exit 1
18049 # Unset variables that we do not need and which cause bugs (e.g. in
18050 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18051 # suppresses any "Segmentation fault" message there. '((' could
18052 # trigger a bug in pdksh 5.2.14.
18053 for as_var in BASH_ENV ENV MAIL MAILPATH
18054 do eval test x\${$as_var+set} = xset \
18055 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18056 done
18057 PS1='$ '
18058 PS2='> '
18059 PS4='+ '
18061 # NLS nuisances.
18062 LC_ALL=C
18063 export LC_ALL
18064 LANGUAGE=C
18065 export LANGUAGE
18067 # CDPATH.
18068 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18071 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18072 # ----------------------------------------
18073 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18074 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18075 # script with STATUS, using 1 if that was 0.
18076 as_fn_error ()
18078 as_status=$1; test $as_status -eq 0 && as_status=1
18079 if test "$4"; then
18080 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18081 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18083 $as_echo "$as_me: error: $2" >&2
18084 as_fn_exit $as_status
18085 } # as_fn_error
18088 # as_fn_set_status STATUS
18089 # -----------------------
18090 # Set $? to STATUS, without forking.
18091 as_fn_set_status ()
18093 return $1
18094 } # as_fn_set_status
18096 # as_fn_exit STATUS
18097 # -----------------
18098 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18099 as_fn_exit ()
18101 set +e
18102 as_fn_set_status $1
18103 exit $1
18104 } # as_fn_exit
18106 # as_fn_unset VAR
18107 # ---------------
18108 # Portably unset VAR.
18109 as_fn_unset ()
18111 { eval $1=; unset $1;}
18113 as_unset=as_fn_unset
18114 # as_fn_append VAR VALUE
18115 # ----------------------
18116 # Append the text in VALUE to the end of the definition contained in VAR. Take
18117 # advantage of any shell optimizations that allow amortized linear growth over
18118 # repeated appends, instead of the typical quadratic growth present in naive
18119 # implementations.
18120 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18121 eval 'as_fn_append ()
18123 eval $1+=\$2
18125 else
18126 as_fn_append ()
18128 eval $1=\$$1\$2
18130 fi # as_fn_append
18132 # as_fn_arith ARG...
18133 # ------------------
18134 # Perform arithmetic evaluation on the ARGs, and store the result in the
18135 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18136 # must be portable across $(()) and expr.
18137 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18138 eval 'as_fn_arith ()
18140 as_val=$(( $* ))
18142 else
18143 as_fn_arith ()
18145 as_val=`expr "$@" || test $? -eq 1`
18147 fi # as_fn_arith
18150 if expr a : '\(a\)' >/dev/null 2>&1 &&
18151 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18152 as_expr=expr
18153 else
18154 as_expr=false
18157 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18158 as_basename=basename
18159 else
18160 as_basename=false
18163 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18164 as_dirname=dirname
18165 else
18166 as_dirname=false
18169 as_me=`$as_basename -- "$0" ||
18170 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18171 X"$0" : 'X\(//\)$' \| \
18172 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18173 $as_echo X/"$0" |
18174 sed '/^.*\/\([^/][^/]*\)\/*$/{
18175 s//\1/
18178 /^X\/\(\/\/\)$/{
18179 s//\1/
18182 /^X\/\(\/\).*/{
18183 s//\1/
18186 s/.*/./; q'`
18188 # Avoid depending upon Character Ranges.
18189 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18190 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18191 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18192 as_cr_digits='0123456789'
18193 as_cr_alnum=$as_cr_Letters$as_cr_digits
18195 ECHO_C= ECHO_N= ECHO_T=
18196 case `echo -n x` in #(((((
18197 -n*)
18198 case `echo 'xy\c'` in
18199 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18200 xy) ECHO_C='\c';;
18201 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18202 ECHO_T=' ';;
18203 esac;;
18205 ECHO_N='-n';;
18206 esac
18208 rm -f conf$$ conf$$.exe conf$$.file
18209 if test -d conf$$.dir; then
18210 rm -f conf$$.dir/conf$$.file
18211 else
18212 rm -f conf$$.dir
18213 mkdir conf$$.dir 2>/dev/null
18215 if (echo >conf$$.file) 2>/dev/null; then
18216 if ln -s conf$$.file conf$$ 2>/dev/null; then
18217 as_ln_s='ln -s'
18218 # ... but there are two gotchas:
18219 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18220 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18221 # In both cases, we have to default to `cp -pR'.
18222 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18223 as_ln_s='cp -pR'
18224 elif ln conf$$.file conf$$ 2>/dev/null; then
18225 as_ln_s=ln
18226 else
18227 as_ln_s='cp -pR'
18229 else
18230 as_ln_s='cp -pR'
18232 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18233 rmdir conf$$.dir 2>/dev/null
18236 # as_fn_mkdir_p
18237 # -------------
18238 # Create "$as_dir" as a directory, including parents if necessary.
18239 as_fn_mkdir_p ()
18242 case $as_dir in #(
18243 -*) as_dir=./$as_dir;;
18244 esac
18245 test -d "$as_dir" || eval $as_mkdir_p || {
18246 as_dirs=
18247 while :; do
18248 case $as_dir in #(
18249 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18250 *) as_qdir=$as_dir;;
18251 esac
18252 as_dirs="'$as_qdir' $as_dirs"
18253 as_dir=`$as_dirname -- "$as_dir" ||
18254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18255 X"$as_dir" : 'X\(//\)[^/]' \| \
18256 X"$as_dir" : 'X\(//\)$' \| \
18257 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18258 $as_echo X"$as_dir" |
18259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18260 s//\1/
18263 /^X\(\/\/\)[^/].*/{
18264 s//\1/
18267 /^X\(\/\/\)$/{
18268 s//\1/
18271 /^X\(\/\).*/{
18272 s//\1/
18275 s/.*/./; q'`
18276 test -d "$as_dir" && break
18277 done
18278 test -z "$as_dirs" || eval "mkdir $as_dirs"
18279 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18282 } # as_fn_mkdir_p
18283 if mkdir -p . 2>/dev/null; then
18284 as_mkdir_p='mkdir -p "$as_dir"'
18285 else
18286 test -d ./-p && rmdir ./-p
18287 as_mkdir_p=false
18291 # as_fn_executable_p FILE
18292 # -----------------------
18293 # Test if FILE is an executable regular file.
18294 as_fn_executable_p ()
18296 test -f "$1" && test -x "$1"
18297 } # as_fn_executable_p
18298 as_test_x='test -x'
18299 as_executable_p=as_fn_executable_p
18301 # Sed expression to map a string onto a valid CPP name.
18302 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18304 # Sed expression to map a string onto a valid variable name.
18305 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18308 exec 6>&1
18309 ## ----------------------------------- ##
18310 ## Main body of $CONFIG_STATUS script. ##
18311 ## ----------------------------------- ##
18312 _ASEOF
18313 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18316 # Save the log message, to keep $0 and so on meaningful, and to
18317 # report actual input values of CONFIG_FILES etc. instead of their
18318 # values after options handling.
18319 ac_log="
18320 This file was extended by Wine $as_me 1.7.32, which was
18321 generated by GNU Autoconf 2.69. Invocation command line was
18323 CONFIG_FILES = $CONFIG_FILES
18324 CONFIG_HEADERS = $CONFIG_HEADERS
18325 CONFIG_LINKS = $CONFIG_LINKS
18326 CONFIG_COMMANDS = $CONFIG_COMMANDS
18327 $ $0 $@
18329 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18332 _ACEOF
18334 case $ac_config_files in *"
18335 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18336 esac
18338 case $ac_config_headers in *"
18339 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18340 esac
18343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18344 # Files that config.status was made for.
18345 config_files="$ac_config_files"
18346 config_headers="$ac_config_headers"
18347 config_links="$ac_config_links"
18348 config_commands="$ac_config_commands"
18350 _ACEOF
18352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18353 ac_cs_usage="\
18354 \`$as_me' instantiates files and other configuration actions
18355 from templates according to the current configuration. Unless the files
18356 and actions are specified as TAGs, all are instantiated by default.
18358 Usage: $0 [OPTION]... [TAG]...
18360 -h, --help print this help, then exit
18361 -V, --version print version number and configuration settings, then exit
18362 --config print configuration, then exit
18363 -q, --quiet, --silent
18364 do not print progress messages
18365 -d, --debug don't remove temporary files
18366 --recheck update $as_me by reconfiguring in the same conditions
18367 --file=FILE[:TEMPLATE]
18368 instantiate the configuration file FILE
18369 --header=FILE[:TEMPLATE]
18370 instantiate the configuration header FILE
18372 Configuration files:
18373 $config_files
18375 Configuration headers:
18376 $config_headers
18378 Configuration links:
18379 $config_links
18381 Configuration commands:
18382 $config_commands
18384 Report bugs to <wine-devel@winehq.org>.
18385 Wine home page: <http://www.winehq.org>."
18387 _ACEOF
18388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18389 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18390 ac_cs_version="\\
18391 Wine config.status 1.7.32
18392 configured by $0, generated by GNU Autoconf 2.69,
18393 with options \\"\$ac_cs_config\\"
18395 Copyright (C) 2012 Free Software Foundation, Inc.
18396 This config.status script is free software; the Free Software Foundation
18397 gives unlimited permission to copy, distribute and modify it."
18399 ac_pwd='$ac_pwd'
18400 srcdir='$srcdir'
18401 test -n "\$AWK" || AWK=awk
18402 _ACEOF
18404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18405 # The default lists apply if the user does not specify any file.
18406 ac_need_defaults=:
18407 while test $# != 0
18409 case $1 in
18410 --*=?*)
18411 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18412 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18413 ac_shift=:
18415 --*=)
18416 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18417 ac_optarg=
18418 ac_shift=:
18421 ac_option=$1
18422 ac_optarg=$2
18423 ac_shift=shift
18425 esac
18427 case $ac_option in
18428 # Handling of the options.
18429 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18430 ac_cs_recheck=: ;;
18431 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18432 $as_echo "$ac_cs_version"; exit ;;
18433 --config | --confi | --conf | --con | --co | --c )
18434 $as_echo "$ac_cs_config"; exit ;;
18435 --debug | --debu | --deb | --de | --d | -d )
18436 debug=: ;;
18437 --file | --fil | --fi | --f )
18438 $ac_shift
18439 case $ac_optarg in
18440 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18441 '') as_fn_error $? "missing file argument" ;;
18442 esac
18443 as_fn_append CONFIG_FILES " '$ac_optarg'"
18444 ac_need_defaults=false;;
18445 --header | --heade | --head | --hea )
18446 $ac_shift
18447 case $ac_optarg in
18448 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18449 esac
18450 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18451 ac_need_defaults=false;;
18452 --he | --h)
18453 # Conflict between --help and --header
18454 as_fn_error $? "ambiguous option: \`$1'
18455 Try \`$0 --help' for more information.";;
18456 --help | --hel | -h )
18457 $as_echo "$ac_cs_usage"; exit ;;
18458 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18459 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18460 ac_cs_silent=: ;;
18462 # This is an error.
18463 -*) as_fn_error $? "unrecognized option: \`$1'
18464 Try \`$0 --help' for more information." ;;
18466 *) as_fn_append ac_config_targets " $1"
18467 ac_need_defaults=false ;;
18469 esac
18470 shift
18471 done
18473 ac_configure_extra_args=
18475 if $ac_cs_silent; then
18476 exec 6>/dev/null
18477 ac_configure_extra_args="$ac_configure_extra_args --silent"
18480 _ACEOF
18481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18482 if \$ac_cs_recheck; then
18483 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18484 shift
18485 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18486 CONFIG_SHELL='$SHELL'
18487 export CONFIG_SHELL
18488 exec "\$@"
18491 _ACEOF
18492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18493 exec 5>>config.log
18495 echo
18496 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18497 ## Running $as_me. ##
18498 _ASBOX
18499 $as_echo "$ac_log"
18500 } >&5
18502 _ACEOF
18503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18505 # INIT-COMMANDS
18507 wine_fn_output_makedep ()
18509 as_dir=tools; as_fn_mkdir_p
18510 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18512 wine_fn_output_makefile ()
18514 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18515 `cat $wine_rules_file`
18516 _WINE_EOF
18517 as_fn_error $? "could not create Makefile" "$LINENO" 5
18519 wine_fn_output_gitignore ()
18521 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18522 $GITIGNORE
18523 _WINE_EOF
18524 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18527 _ACEOF
18529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18531 # Handling of arguments.
18532 for ac_config_target in $ac_config_targets
18534 case $ac_config_target in
18535 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18536 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18537 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18538 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18539 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18540 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18541 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18542 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18543 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18544 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18545 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18546 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18547 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18548 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18550 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18551 esac
18552 done
18555 # If the user did not use the arguments to specify the items to instantiate,
18556 # then the envvar interface is used. Set only those that are not.
18557 # We use the long form for the default assignment because of an extremely
18558 # bizarre bug on SunOS 4.1.3.
18559 if $ac_need_defaults; then
18560 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18561 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18562 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18563 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18566 # Have a temporary directory for convenience. Make it in the build tree
18567 # simply because there is no reason against having it here, and in addition,
18568 # creating and moving files from /tmp can sometimes cause problems.
18569 # Hook for its removal unless debugging.
18570 # Note that there is a small window in which the directory will not be cleaned:
18571 # after its creation but before its name has been assigned to `$tmp'.
18572 $debug ||
18574 tmp= ac_tmp=
18575 trap 'exit_status=$?
18576 : "${ac_tmp:=$tmp}"
18577 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18579 trap 'as_fn_exit 1' 1 2 13 15
18581 # Create a (secure) tmp directory for tmp files.
18584 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18585 test -d "$tmp"
18586 } ||
18588 tmp=./conf$$-$RANDOM
18589 (umask 077 && mkdir "$tmp")
18590 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18591 ac_tmp=$tmp
18593 # Set up the scripts for CONFIG_FILES section.
18594 # No need to generate them if there are no CONFIG_FILES.
18595 # This happens for instance with `./config.status config.h'.
18596 if test -n "$CONFIG_FILES"; then
18599 ac_cr=`echo X | tr X '\015'`
18600 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18601 # But we know of no other shell where ac_cr would be empty at this
18602 # point, so we can use a bashism as a fallback.
18603 if test "x$ac_cr" = x; then
18604 eval ac_cr=\$\'\\r\'
18606 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18607 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18608 ac_cs_awk_cr='\\r'
18609 else
18610 ac_cs_awk_cr=$ac_cr
18613 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18614 _ACEOF
18618 echo "cat >conf$$subs.awk <<_ACEOF" &&
18619 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18620 echo "_ACEOF"
18621 } >conf$$subs.sh ||
18622 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18623 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18624 ac_delim='%!_!# '
18625 for ac_last_try in false false false false false :; do
18626 . ./conf$$subs.sh ||
18627 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18629 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18630 if test $ac_delim_n = $ac_delim_num; then
18631 break
18632 elif $ac_last_try; then
18633 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18634 else
18635 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18637 done
18638 rm -f conf$$subs.sh
18640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18641 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18642 _ACEOF
18643 sed -n '
18645 s/^/S["/; s/!.*/"]=/
18648 s/^[^!]*!//
18649 :repl
18650 t repl
18651 s/'"$ac_delim"'$//
18652 t delim
18655 s/\(.\{148\}\)..*/\1/
18656 t more1
18657 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18660 b repl
18661 :more1
18662 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18665 s/.\{148\}//
18666 t nl
18667 :delim
18669 s/\(.\{148\}\)..*/\1/
18670 t more2
18671 s/["\\]/\\&/g; s/^/"/; s/$/"/
18674 :more2
18675 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18678 s/.\{148\}//
18679 t delim
18680 ' <conf$$subs.awk | sed '
18681 /^[^""]/{
18683 s/\n//
18685 ' >>$CONFIG_STATUS || ac_write_fail=1
18686 rm -f conf$$subs.awk
18687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18688 _ACAWK
18689 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18690 for (key in S) S_is_set[key] = 1
18691 FS = "\a"
18695 line = $ 0
18696 nfields = split(line, field, "@")
18697 substed = 0
18698 len = length(field[1])
18699 for (i = 2; i < nfields; i++) {
18700 key = field[i]
18701 keylen = length(key)
18702 if (S_is_set[key]) {
18703 value = S[key]
18704 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18705 len += length(value) + length(field[++i])
18706 substed = 1
18707 } else
18708 len += 1 + keylen
18711 print line
18714 _ACAWK
18715 _ACEOF
18716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18717 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18718 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18719 else
18721 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18722 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18723 _ACEOF
18725 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18726 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18727 # trailing colons and then remove the whole line if VPATH becomes empty
18728 # (actually we leave an empty line to preserve line numbers).
18729 if test "x$srcdir" = x.; then
18730 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18732 s///
18733 s/^/:/
18734 s/[ ]*$/:/
18735 s/:\$(srcdir):/:/g
18736 s/:\${srcdir}:/:/g
18737 s/:@srcdir@:/:/g
18738 s/^:*//
18739 s/:*$//
18741 s/\(=[ ]*\).*/\1/
18743 s/\n//
18744 s/^[^=]*=[ ]*$//
18748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18749 fi # test -n "$CONFIG_FILES"
18751 # Set up the scripts for CONFIG_HEADERS section.
18752 # No need to generate them if there are no CONFIG_HEADERS.
18753 # This happens for instance with `./config.status Makefile'.
18754 if test -n "$CONFIG_HEADERS"; then
18755 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18756 BEGIN {
18757 _ACEOF
18759 # Transform confdefs.h into an awk script `defines.awk', embedded as
18760 # here-document in config.status, that substitutes the proper values into
18761 # config.h.in to produce config.h.
18763 # Create a delimiter string that does not exist in confdefs.h, to ease
18764 # handling of long lines.
18765 ac_delim='%!_!# '
18766 for ac_last_try in false false :; do
18767 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18768 if test -z "$ac_tt"; then
18769 break
18770 elif $ac_last_try; then
18771 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18772 else
18773 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18775 done
18777 # For the awk script, D is an array of macro values keyed by name,
18778 # likewise P contains macro parameters if any. Preserve backslash
18779 # newline sequences.
18781 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18782 sed -n '
18783 s/.\{148\}/&'"$ac_delim"'/g
18784 t rset
18785 :rset
18786 s/^[ ]*#[ ]*define[ ][ ]*/ /
18787 t def
18789 :def
18790 s/\\$//
18791 t bsnl
18792 s/["\\]/\\&/g
18793 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18794 D["\1"]=" \3"/p
18795 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18797 :bsnl
18798 s/["\\]/\\&/g
18799 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18800 D["\1"]=" \3\\\\\\n"\\/p
18801 t cont
18802 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18803 t cont
18805 :cont
18807 s/.\{148\}/&'"$ac_delim"'/g
18808 t clear
18809 :clear
18810 s/\\$//
18811 t bsnlc
18812 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18814 :bsnlc
18815 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18816 b cont
18817 ' <confdefs.h | sed '
18818 s/'"$ac_delim"'/"\\\
18819 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18822 for (key in D) D_is_set[key] = 1
18823 FS = "\a"
18825 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18826 line = \$ 0
18827 split(line, arg, " ")
18828 if (arg[1] == "#") {
18829 defundef = arg[2]
18830 mac1 = arg[3]
18831 } else {
18832 defundef = substr(arg[1], 2)
18833 mac1 = arg[2]
18835 split(mac1, mac2, "(") #)
18836 macro = mac2[1]
18837 prefix = substr(line, 1, index(line, defundef) - 1)
18838 if (D_is_set[macro]) {
18839 # Preserve the white space surrounding the "#".
18840 print prefix "define", macro P[macro] D[macro]
18841 next
18842 } else {
18843 # Replace #undef with comments. This is necessary, for example,
18844 # in the case of _POSIX_SOURCE, which is predefined and required
18845 # on some systems where configure will not decide to define it.
18846 if (defundef == "undef") {
18847 print "/*", prefix defundef, macro, "*/"
18848 next
18852 { print }
18853 _ACAWK
18854 _ACEOF
18855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18856 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18857 fi # test -n "$CONFIG_HEADERS"
18860 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18861 shift
18862 for ac_tag
18864 case $ac_tag in
18865 :[FHLC]) ac_mode=$ac_tag; continue;;
18866 esac
18867 case $ac_mode$ac_tag in
18868 :[FHL]*:*);;
18869 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18870 :[FH]-) ac_tag=-:-;;
18871 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18872 esac
18873 ac_save_IFS=$IFS
18874 IFS=:
18875 set x $ac_tag
18876 IFS=$ac_save_IFS
18877 shift
18878 ac_file=$1
18879 shift
18881 case $ac_mode in
18882 :L) ac_source=$1;;
18883 :[FH])
18884 ac_file_inputs=
18885 for ac_f
18887 case $ac_f in
18888 -) ac_f="$ac_tmp/stdin";;
18889 *) # Look for the file first in the build tree, then in the source tree
18890 # (if the path is not absolute). The absolute path cannot be DOS-style,
18891 # because $ac_f cannot contain `:'.
18892 test -f "$ac_f" ||
18893 case $ac_f in
18894 [\\/$]*) false;;
18895 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18896 esac ||
18897 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18898 esac
18899 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18900 as_fn_append ac_file_inputs " '$ac_f'"
18901 done
18903 # Let's still pretend it is `configure' which instantiates (i.e., don't
18904 # use $as_me), people would be surprised to read:
18905 # /* config.h. Generated by config.status. */
18906 configure_input='Generated from '`
18907 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18908 `' by configure.'
18909 if test x"$ac_file" != x-; then
18910 configure_input="$ac_file. $configure_input"
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18912 $as_echo "$as_me: creating $ac_file" >&6;}
18914 # Neutralize special characters interpreted by sed in replacement strings.
18915 case $configure_input in #(
18916 *\&* | *\|* | *\\* )
18917 ac_sed_conf_input=`$as_echo "$configure_input" |
18918 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18919 *) ac_sed_conf_input=$configure_input;;
18920 esac
18922 case $ac_tag in
18923 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18924 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18925 esac
18927 esac
18929 ac_dir=`$as_dirname -- "$ac_file" ||
18930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18931 X"$ac_file" : 'X\(//\)[^/]' \| \
18932 X"$ac_file" : 'X\(//\)$' \| \
18933 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18934 $as_echo X"$ac_file" |
18935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18936 s//\1/
18939 /^X\(\/\/\)[^/].*/{
18940 s//\1/
18943 /^X\(\/\/\)$/{
18944 s//\1/
18947 /^X\(\/\).*/{
18948 s//\1/
18951 s/.*/./; q'`
18952 as_dir="$ac_dir"; as_fn_mkdir_p
18953 ac_builddir=.
18955 case "$ac_dir" in
18956 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18958 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18959 # A ".." for each directory in $ac_dir_suffix.
18960 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18961 case $ac_top_builddir_sub in
18962 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18963 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18964 esac ;;
18965 esac
18966 ac_abs_top_builddir=$ac_pwd
18967 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18968 # for backward compatibility:
18969 ac_top_builddir=$ac_top_build_prefix
18971 case $srcdir in
18972 .) # We are building in place.
18973 ac_srcdir=.
18974 ac_top_srcdir=$ac_top_builddir_sub
18975 ac_abs_top_srcdir=$ac_pwd ;;
18976 [\\/]* | ?:[\\/]* ) # Absolute name.
18977 ac_srcdir=$srcdir$ac_dir_suffix;
18978 ac_top_srcdir=$srcdir
18979 ac_abs_top_srcdir=$srcdir ;;
18980 *) # Relative name.
18981 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18982 ac_top_srcdir=$ac_top_build_prefix$srcdir
18983 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18984 esac
18985 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18988 case $ac_mode in
18991 # CONFIG_FILE
18994 _ACEOF
18996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18997 # If the template does not know about datarootdir, expand it.
18998 # FIXME: This hack should be removed a few years after 2.60.
18999 ac_datarootdir_hack=; ac_datarootdir_seen=
19000 ac_sed_dataroot='
19001 /datarootdir/ {
19005 /@datadir@/p
19006 /@docdir@/p
19007 /@infodir@/p
19008 /@localedir@/p
19009 /@mandir@/p'
19010 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19011 *datarootdir*) ac_datarootdir_seen=yes;;
19012 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19014 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19015 _ACEOF
19016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19017 ac_datarootdir_hack='
19018 s&@datadir@&$datadir&g
19019 s&@docdir@&$docdir&g
19020 s&@infodir@&$infodir&g
19021 s&@localedir@&$localedir&g
19022 s&@mandir@&$mandir&g
19023 s&\\\${datarootdir}&$datarootdir&g' ;;
19024 esac
19025 _ACEOF
19027 # Neutralize VPATH when `$srcdir' = `.'.
19028 # Shell code in configure.ac might set extrasub.
19029 # FIXME: do we really want to maintain this feature?
19030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19031 ac_sed_extra="$ac_vpsub
19032 $extrasub
19033 _ACEOF
19034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19036 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19037 s|@configure_input@|$ac_sed_conf_input|;t t
19038 s&@top_builddir@&$ac_top_builddir_sub&;t t
19039 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19040 s&@srcdir@&$ac_srcdir&;t t
19041 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19042 s&@top_srcdir@&$ac_top_srcdir&;t t
19043 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19044 s&@builddir@&$ac_builddir&;t t
19045 s&@abs_builddir@&$ac_abs_builddir&;t t
19046 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19047 $ac_datarootdir_hack
19049 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19050 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19052 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19053 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19054 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19055 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19057 which seems to be undefined. Please make sure it is defined" >&5
19058 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19059 which seems to be undefined. Please make sure it is defined" >&2;}
19061 rm -f "$ac_tmp/stdin"
19062 case $ac_file in
19063 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19064 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19065 esac \
19066 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19070 # CONFIG_HEADER
19072 if test x"$ac_file" != x-; then
19074 $as_echo "/* $configure_input */" \
19075 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19076 } >"$ac_tmp/config.h" \
19077 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19078 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19080 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19081 else
19082 rm -f "$ac_file"
19083 mv "$ac_tmp/config.h" "$ac_file" \
19084 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19086 else
19087 $as_echo "/* $configure_input */" \
19088 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19089 || as_fn_error $? "could not create -" "$LINENO" 5
19094 # CONFIG_LINK
19097 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19099 else
19100 # Prefer the file from the source tree if names are identical.
19101 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19102 ac_source=$srcdir/$ac_source
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19106 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19108 if test ! -r "$ac_source"; then
19109 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19111 rm -f "$ac_file"
19113 # Try a relative symlink, then a hard link, then a copy.
19114 case $ac_source in
19115 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19116 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19117 esac
19118 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19119 ln "$ac_source" "$ac_file" 2>/dev/null ||
19120 cp -p "$ac_source" "$ac_file" ||
19121 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19124 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19125 $as_echo "$as_me: executing $ac_file commands" >&6;}
19127 esac
19130 case $ac_file$ac_mode in
19131 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19132 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19133 "Makefile":C) wine_fn_output_makefile Makefile ;;
19134 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19136 esac
19137 done # for ac_tag
19140 as_fn_exit 0
19141 _ACEOF
19142 ac_clean_files=$ac_clean_files_save
19144 test $ac_write_fail = 0 ||
19145 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19148 # configure is writing to config.log, and then calls config.status.
19149 # config.status does its own redirection, appending to config.log.
19150 # Unfortunately, on DOS this fails, as config.log is still kept open
19151 # by configure, so config.status won't be able to write to it; its
19152 # output is simply discarded. So we exec the FD to /dev/null,
19153 # effectively closing config.log, so it can be properly (re)opened and
19154 # appended to by config.status. When coming back to configure, we
19155 # need to make the FD available again.
19156 if test "$no_create" != yes; then
19157 ac_cs_success=:
19158 ac_config_status_args=
19159 test "$silent" = yes &&
19160 ac_config_status_args="$ac_config_status_args --quiet"
19161 exec 5>/dev/null
19162 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19163 exec 5>>config.log
19164 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19165 # would make configure fail if this is the last instruction.
19166 $ac_cs_success || as_fn_exit 1
19168 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19170 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19174 if test "$no_create" = "yes"
19175 then
19176 exit 0
19179 ac_save_IFS="$IFS"
19180 if test "x$wine_notices != "x; then
19181 echo >&6
19182 IFS="|"
19183 for msg in $wine_notices; do
19184 IFS="$ac_save_IFS"
19185 if ${msg:+false} :; then :
19187 else
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19189 $as_echo "$as_me: $msg" >&6;}
19191 done
19193 IFS="|"
19194 for msg in $wine_warnings; do
19195 IFS="$ac_save_IFS"
19196 if ${msg:+false} :; then :
19198 else
19199 echo >&2
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19201 $as_echo "$as_me: WARNING: $msg" >&2;}
19203 done
19204 IFS="$ac_save_IFS"
19206 $as_echo "
19207 $as_me: Finished. Do '${ac_make}' to compile Wine.
19208 " >&6